Comments (15)
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.
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.
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.
- What version of the module are you using?
- What operating system is the server on (distro, version, is it updated)?
- What architecture is your operating system (32 or 64 bits)?
- 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)?
- Is your server updated?
- Are you using any other binary modules?
from gmsv_serversecure.
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.
- Latest Version
- Linux (unsure of distro, and version, using a Crident Server)
- Server arch: 32bit
- Main branch 32bit
- Yes
- Yes, mysqloo, wos crypt, xeon DRM, gluapack.
from gmsv_serversecure.
@jellyton69 can you try this build please?
from gmsv_serversecure.
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.
Just to confirm, when you say "the issue persists", you're talking about map restarts/changes, right?
from gmsv_serversecure.
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.
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.
A stacktrace of the crash would help, do you know how to run srcds with gdb?
from gmsv_serversecure.
I'm not familiar, but I'll look into it.
from gmsv_serversecure.
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.
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)
- [Enhancement] Name thread in top/htop
- Base Gamemode HOT 4
- SetThreadDescription could not be located in the DLL HOT 9
- Responds with invalid a2s_info response thus making battle metrics show invalid.( The game displays it though ) HOT 7
- x64 bit Support? HOT 1
- Does this require gmod_common HOT 1
- Example on how to use serversecure.AddBlacklistIP? HOT 2
- Cannot Build HOT 4
- How can i compile it for Linux?
- Server crash on shutdown HOT 4
- steam auth packet (k) abused for ddos attack HOT 1
- Problems with premake5 HOT 1
- premake5 problem (again, sorry) HOT 2
- Crash when require module HOT 5
- deleted please stupid question
- premake5 problem HOT 1
- Crash when trying to load a personally assembled module on a Win64 dedicated server. HOT 1
- _modded Gamemodes Not Being Listed Correctly in In-Game Server Browser HOT 5
- Serversecure doesn't load after a changelevel HOT 1
- Warning Connection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmsv_serversecure.