./srcds_run : ligne 372 : 17603 Erreur de segmentation (core dumped) $HL_CMD

Hey, i have a server with ~80 addons of workshops, and ~60 addons on /addons…

everything’s fine until last night, my server up to ~40 players and crash with this error in the console :



./srcds_run : ligne 372 : 17603 Erreur de segmentation  (core dumped)$HL_CMD
BFD: Warning: /home/gmodserver/serverfiles/core is truncated: expected core file size >= 270094336, found: 1024000.
Cannot access memory at address 0xf093c928
Cannot access memory at address 0xf093c924
Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0xfe4fac6c: 
debug.cmds:1: Error in sourced command file:
Cannot access memory at address 0xfe4fac6c

I restart the server with the “-debug” commands, and in the debug log it’s written :



Start Line: ./srcds_linux -game garrysmod -ip .. -port ... +host_workshop_collection ... -authkey ... +clientport 27005 +tv_port 27020 +gamemode darkrp +map rp_ineu_valley2_v1a +servercfgfile gmod-server.cfg -maxplayers 60 +r_hunkalloclightmaps 0 -tickrate 66 -debug
[New LWP 10085]
[New LWP 10086]
[New LWP 10174]
[New LWP 10125]
[New LWP 10216]
[New LWP 10098]
[New LWP 10172]
[New LWP 10097]
[New LWP 10248]
[New LWP 10124]
[New LWP 10685]
[New LWP 10096]
[New LWP 10095]
[New LWP 10087]
#0  0xd2a6fbc1 in ?? ()
End of Source crash report

i don’t know what to do… if you can help me, thanks
sry for my bad english

Bonsoir,
As-tu essayé de ré-installer (valider) Garry’s Mod depuis SteamCMD (app_update 4020 validate)?
Ce problème est-il permanent (Apparaît-il encore cette erreur durant le lancement de SRCDS)?

—TRANSLATION

Hi,
Have you tried to reinstall (validate) Garry’s Mod from SteamCMD (app_update 4020 validate)?
Is this problem permanent? (Does this error appear again during the launch of SRCDS)?

Bonsoir, non j’ai pas tester encore, je fait sa de-suite, et non je ne l’ai pas au lancement, juste si je tape exit dans la console, ou quand il crash tout seul j’ai cette erreur… merci!

  • EN :

Hi, no i’ve not tested, i try that now, and i don’t have the error during the launch, just at the exit of server ( type “exit” in console ) or at crash… thanks

Si le fait de taper “exit” dans la console du serveur provoque cette erreur / et ou que lorsqu’il crash, cela provoque ce problème, cela devrait être sans importance. Cela semble être normal et il me semble que cela arrive à tous le monde y compris moi de temps en temps. (du moments que cela ne perturbe pas le fonctionnement de ton serveur durant son uptime. Tout est bon alors.)

—TRANSLATION

If in the fact typing “exit” in the console of the server cause this error / and or when it crash, it causes this problem, this should be without importance. It seems to be normal and it seems that happens to everyone including myself sometimes. (as long as it don’t disturb your server during it’s uptime. It shoulds be fine so.)

Non pendant qu’il est ouvert il crash, avec cette erreur, désolée si je me suis mal fait comprendre !

  • EN :

No, during the uptime the server crash, with this error…

Tu as pu au moins valider Garry’s Mod depuis SteamCMD dans ce cas (pour vérifier que tout est bon)?

—TRANSLATION

You were able at least validate Garry’s Mod from SteamCMD in this case (for checking everythings is good)?

Ouai c’est fait et j’ai eu un crash apres …

– EN :

Yes, i do, but after i get a crash…

Déplace tous tes addons (Workshop et Non-Workshop) en dehors du serveur (/addons) dans un premier temps.
Puis, essaie de démarrer de nouveau ton serveur SRCDS, si l’erreur revient encore, alors il s’agira d’un cas particuliers.

—TRANSLATION

Move all your addons (Workshop and non-Workshop) outside of your server (/addons) in a first time.
Then, try to start again your SRCDS server, if the error come back again, then, this will be a special cases.

Ce probleme arrive a tous le monde j’ai ecrit partout ce probleme GitHub, Support aucune réponse on est plus de 30Serveurs à avoir ce probleme mais aucunes aide, réponses …

ENG :

This problem happens to everyone I post this problem on GitHub, Support of Facepunch no response … more 30 servers have this problem but no help…

Ok, bizzare, je vais tester avec aucun addons…

– EN :

Ok, strange, i test in a clear server…

If it doesn’t crash with addons then it’s a addon that is doing it.
80+60 addons is A LOT I’m surprised it hasn’t crashed sooner and I feel sorry for anyone having to join your server having to download all that shit.

Vanilla server …

In your post you said everything was fine last night and you had 40 players. If this only recently started and you have tried a full OS reinstallation to rule out any malicious activity, including a fresh download of the Garry’s Mod server without ANY restored backups OR workshop items

Then you probably have a hardware issue on your hands. If ANY of your cooling fans failed (especially on a 1U server) then it’s a high probability. Try running a memory check via GRUB to verify.

If this is a VPS I’d look at your hosting provider.

I have reinstall all dedicaded server and work

I’ve reinstall my gmod server & validated all the files, i up to ~35-40 players, and no crash for now…

Good for you so.
Was it a problem with addons like I said in my last post or somethings custom?

I don’t think, i replaced all the addons, maybe a workshop addons was corrupted, i don’t know… i keep a eye on my server status