Giter Club home page Giter Club logo

Comments (15)

storm37000 avatar storm37000 commented on May 28, 2024

I have been having weird errors/freezes that seem to only happen if the map has been changed off of the default one. Here is a log example.

Player <STEAM_0:0:0> used tool creator on The Map
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg

[ERROR] gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239: Tried to use a NULL physics object!
  1. RotateAroundAxis - [C]:-1
   2. Think - gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239
    3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:187


[ERROR] gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239: Tried to use a NULL physics object!
  1. RotateAroundAxis - [C]:-1
   2. Think - gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239
    3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:187


[ERROR] gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239: Tried to use a NULL physics object!
  1. RotateAroundAxis - [C]:-1
   2. Think - gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239
    3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:187


[ERROR] gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239: Tried to use a NULL physics object!
  1. RotateAroundAxis - [C]:-1
   2. Think - gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239
    3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:187

Server is behind! (1)

[ERROR] gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239: Tried to use a NULL physics object!
  1. RotateAroundAxis - [C]:-1
   2. Think - gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239
    3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:187


[ERROR] gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239: Tried to use a NULL physics object!
  1. RotateAroundAxis - [C]:-1
   2. Think - gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239
    3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:187


[ERROR] gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239: Tried to use a NULL physics object!
  1. RotateAroundAxis - [C]:-1
   2. Think - gamemodes/sandbox/entities/weapons/gmod_tool/stools/weld.lua:239
    3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:187

Server is behind! (2)
Server is behind! (3)
...

The weird part that is leading me onto this conclusion is

ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg

which is a console message that only prints when the server first starts up.

from gmsv_serversecure.

danielga avatar danielga commented on May 28, 2024

I would assume Lua would still be in a valid state whenever __gc is called, otherwise it would be impossible to clean up native resources held by Lua objects. Then again, Garry butchered the require function so any assumptions from Lua are probably moot. I do this clean up because of another module I have, unrequire, that allows unloading native modules. This unrequire also tries to remove the global table possibly created by the module, so it shouldn't be needed to remove the global table by the original module. It should be fine to do this change.

from gmsv_serversecure.

jellyton69 avatar jellyton69 commented on May 28, 2024

I'm getting a similar issue as well, 80% of the time the server will crash on map restart/change.

Trying to create entities too early! (base_point)
/entrypoint.sh: line 15: 12 Segmentation fault (core dumped) ${MODIFIED_STARTUP}
PTDL_CONTAINER_ERR: There was an error while attempting to run the start command.
[Dino Panel] Server marked as OFF

from gmsv_serversecure.

danielga avatar danielga commented on May 28, 2024

@jellyton69

  1. What version of the module are you using?
  2. What operating system is the server on (distro, version, is it updated)?
  3. What architecture is your operating system (32 or 64 bits)?
  4. Are you using the main or x86-64 branch of Garry's Mod and if using the x86-64 branch, what architecture are you using (32 or 64 bits)?
  5. Is your server updated?
  6. Are you using any other binary modules?

from gmsv_serversecure.

jellyton69 avatar jellyton69 commented on May 28, 2024

I was using an old version, so I've gone ahead and updated, I'll report back all my info if the problem persists on the new version.

from gmsv_serversecure.

jellyton69 avatar jellyton69 commented on May 28, 2024
  1. Latest Version
  2. Linux (unsure of distro, and version, using a Crident Server)
  3. Server arch: 32bit
  4. Main branch 32bit
  5. Yes
  6. Yes, mysqloo, wos crypt, xeon DRM, gluapack.

from gmsv_serversecure.

danielga avatar danielga commented on May 28, 2024

@jellyton69 can you try this build please?

from gmsv_serversecure.

jellyton69 avatar jellyton69 commented on May 28, 2024

I've run a bunch of tests, seems like the issue persists, but might be less common.

(This might just be a coincidence, but it seems that the longer the server has been on a map, the smaller chance of a crash, the shorted the time, the more common the crash.

from gmsv_serversecure.

danielga avatar danielga commented on May 28, 2024

Just to confirm, when you say "the issue persists", you're talking about map restarts/changes, right?

from gmsv_serversecure.

danielga avatar danielga commented on May 28, 2024

Also, I'd appreciate if you could tell me how you're testing, I'm unable to reproduce any crashes by spamming changelevel and map commands, with or without a real player.

from gmsv_serversecure.

jellyton69 avatar jellyton69 commented on May 28, 2024

Just to confirm, when you say "the issue persists", you're talking about map restarts/changes, right?

The issue being server crash on attempted restart/change.

Also, I'd appreciate if you could tell me how you're testing, I'm unable to reproduce any crashes by spamming changelevel and map commands, with or without a real player.

I'm just running a simple map/maprestart command from the admin mod SAM. It's possible the issue could stem from another addon or module, or the server itself, which has major issues with steam auth currently.

from gmsv_serversecure.

danielga avatar danielga commented on May 28, 2024

A stacktrace of the crash would help, do you know how to run srcds with gdb?

from gmsv_serversecure.

jellyton69 avatar jellyton69 commented on May 28, 2024

I'm not familiar, but I'll look into it.

from gmsv_serversecure.

dok441 avatar dok441 commented on May 28, 2024

At the expense of the server crash when changing the map, it's true, there is such a problem at the moment with this module.

from gmsv_serversecure.

storm37000 avatar storm37000 commented on May 28, 2024

It could have also been MySQLoo as they recently released an update that they say fixed a possible stack corruption.

from gmsv_serversecure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.