Server segmentation error

Updated HLDS today & updated garrysmod, running debian linux. When I start the server I get segmentation (core dumped) errors. With the -debug argument it isnt saving a debug.log either.

Anybody else having this problem?

EDIT: Would it be worth deleting the garrysmod folder and redownloading it?

Same problem, no idea how to fix that :frowning:

Have you installed TF2?

On my server yes, on a VirtualMachine test server not… but both same error

I dont know, I will check.

EDIT: Yes team fortress is installed, if its ‘tf’ in hlds

http://forum.facepunch.com/showthread.php?t=1221195

Judging by that thread, an update broke srcds.

You’ll have to wait for another update, or older binaries from someone.

[del]hldsupdatetool is alternating between Valves and Garrys binaries, run the update again with -verify_all and it should work

[editline]27th October 2012[/editline]

Here’s my working orangebox/bin folder for anyone who needs it: http://seriousroleplayinghell.com/bin.rar[/del]

Nevermind, I’m wrong, the engine update did break it, copying over the old binaries didn’t even work.

yup

Failed to open dedicated_srv.so (bin/libstdc++.so.6: version `GLIBCXX_3.4.15’ not found (required by bin/libtier0_srv.so))

If you run the update again with -verify_all, it downloads a new libstdc++.so.6, I think Valve updated glibc and garry will need to update his binaries to use the same version.

[editline]27th October 2012[/editline]

Got it working, delete your orangebox/bin and use this one http://www.seriousroleplayinghell.com/bin.rar, then delete orangebox/srcds_linux and use this one http://www.seriousroleplayinghell.com/srcds_linux.rar

I’m no linux expert, but I think that Valve updated the linux binaries of TF2 ready for the linux client beta. The GLIBC errors you’re seeing mean your distro isn’t up to date enough…

Although this shouldn’t be happning because my srcds_linux should be taking priority. That obviously isn’t happening.

Does it work if all you replace is the srcds_linux?

I didn’t update my gmod installations today and I’m not having any problems and people can still join my servers.

actually nvm, getting segmentation fault too after latest update

I just updated one of my servers via steam:


[vg@fastdl ~]$ ./steam -command update -game garrysmod -dir gmod
Checking bootstrapper version ...
removing stale semaphore last operated on by process 4888 with name 0eBlobRegistryMutex_BF8C86AD61157DAFE608D8FCBED26236
removing stale semaphore last operated on by process 4888 with name 0eBlobRegistrySignal_BF8C86AD61157DAFE608D8FCBED26236
Updating Installation
Determining which depot(s) to install/update...
5 depot(s) will be installed/updated
  0:06 Checking local files and building download list for depot 4001 'GarrysMod Content' version 145
  0:06     Connecting content server session for version 145
  0:06     [81.171.115.13:27030] Connecting...
  0:06     [81.171.115.13:27030] Connection established; handshaking...
  0:07     [81.171.115.13:27030] Sending login message...
  0:07     Fetching version 145 manifest
  0:09     Reading version 145 checksum table
  0:10     Fetching exclude list
  0:10     Calculating download size
  0:11     No files will be downloaded
  0:11 Checking local files and building download list for depot 206 'Source Materials' version 8
  0:11     Connecting content server session for version 8
  0:11     [81.171.115.13:27030] Reusing connection
  0:11     [81.171.115.13:27030] Sending login message...
  0:11     Fetching version 8 manifest
  0:12     Reading version 8 checksum table
  0:12     Fetching exclude list
  0:12     Calculating download size
  0:13     No files will be downloaded
  0:13 Checking local files and building download list for depot 207 'Source Models' version 4
  0:13     Connecting content server session for version 4
  0:13     [81.171.115.13:27030] Reusing connection
  0:13     [81.171.115.13:27030] Sending login message...
  0:13     Fetching version 4 manifest
  0:14     Reading version 4 checksum table
  0:15     Fetching exclude list
  0:15     Calculating download size
  0:16     No files will be downloaded
  0:16 Checking local files and building download list for depot 208 'Source Sounds' version 4
  0:16     Connecting content server session for version 4
  0:16     [81.171.115.13:27030] Reusing connection
  0:16     [81.171.115.13:27030] Sending login message...
  0:16     Fetching version 4 manifest
  0:16     Reading version 4 checksum table
  0:17     Fetching exclude list
  0:17     Calculating download size
  0:17     No files will be downloaded
  0:17 Checking local files and building download list for depot 314 'OB Linux Dedicated Server' version 185
  0:17     Patching from version 184; connecting to content server
  0:17     [81.171.115.13:27030] Reusing connection
  0:17     [81.171.115.13:27030] Sending login message...
  0:18         Reading version 184 manifest
  0:18         Reading version 184 checksum table
  0:18     Connecting content server session for version 185
  0:18     [81.171.115.13:27030] Reusing connection
  0:18     [81.171.115.13:27030] Sending login message...
  0:18     Reading file purge list for version 184 -> 185
  0:19     Purging 16 out-of-date files
  0:19     Connecting content server session for version 185
  0:19     [81.171.115.13:27030] Reusing connection
  0:19     [81.171.115.13:27030] Sending login message...
  0:19     Fetching version 185 manifest
  0:19     Reading version 185 checksum table
  0:20     Calculating download size and verifying checksums
  0:20         Checking...: /
  0:20         Checking...: bin
  0:20             Missing: bin/crashhandler.so
  0:20             Missing: bin/datacache_srv.so
  0:20             Missing: bin/dedicated_srv.so
  0:20             Missing: bin/engine_srv.so
  0:20             Missing: bin/libgcc_s.so.1
  0:20             Missing: bin/libstdc++.so.6
  0:20             Missing: bin/libtier0_srv.so
  0:20             Missing: bin/libvstdlib_srv.so
  0:20             Missing: bin/materialsystem_srv.so
  0:20             Missing: bin/replay_srv.so
  0:20             Missing: bin/scenefilecache_srv.so
  0:20             Missing: bin/shaderapiempty_srv.so
  0:20             Missing: bin/soundemittersystem_srv.so
  0:20             Missing: bin/studiorender_srv.so
  0:20             Missing: bin/vphysics_srv.so
  0:20         Checking...: hl2
  0:20         Checking...: hl2/resource
  0:20         Checking...: hl2/scripts
  0:20             Missing: srcds_linux
  0:20     16 file(s) totaling 15963838 bytes will be downloaded

  0:20 Updating 'OB Linux Dedicated Server' from version 184 to version 185

  0:21 [81.171.115.13:27030] Reusing connection
  0:21 [81.171.115.13:27030] Sending login message...
  0:22    3.94%  downloading gmod/orangebox/bin/crashhandler.so
  0:22    7.56%  downloading gmod/orangebox/bin/datacache_srv.so
  0:23    12.79%  downloading gmod/orangebox/bin/dedicated_srv.so
  0:24    33.34%  downloading gmod/orangebox/bin/engine_srv.so
  0:24    35.28%  downloading gmod/orangebox/bin/libgcc_s.so.1
  0:25    58.89%  downloading gmod/orangebox/bin/libstdc++.so.6
  0:25    60.12%  downloading gmod/orangebox/bin/libtier0_srv.so
  0:25    61.82%  downloading gmod/orangebox/bin/libvstdlib_srv.so
  0:25    72.19%  downloading gmod/orangebox/bin/materialsystem_srv.so
  0:26    78.64%  downloading gmod/orangebox/bin/replay_srv.so
  0:26    79.24%  downloading gmod/orangebox/bin/scenefilecache_srv.so
  0:26    80.23%  downloading gmod/orangebox/bin/shaderapiempty_srv.so
  0:26    81.61%  downloading gmod/orangebox/bin/soundemittersystem_srv.so
  0:26    87.44%  downloading gmod/orangebox/bin/studiorender_srv.so
  0:27    99.96%  downloading gmod/orangebox/bin/vphysics_srv.so
  0:27    100.00%  downloading gmod/orangebox/srcds_linux
  0:27 [81.171.115.13:27030] Disconnecting
HLDS installation up to date


Now its broken


./srcds_run: line 372:  4659 Segmentation fault      (core dumped) $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sat Oct 27 06:16:56 CDT 2012: Server restart in 10 seconds

Will do

I updated all the games before I tried to start the server and got the error, and some tf2 stuff was downloaded so that could be the problem. Distro being outdated could be a possibility also as I’m running Debian 5 not 6.

Thanks everybody for your help

It’s not the distro, it’s the bin/libstdc++.so.6 file that Valve ship, if you use the libstdc++.so.6 file from BEFORE this update, your files work fine but Valves srcds_linux doesn’t, if you use Valves libstdc++.so.6 their binaries now work fine but I think yours don’t.

[editline]27th October 2012[/editline]

If I replace just srcds_linux, I get this:



Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
AppFramework : Unable to load module bin/vphysics.so!
BFD: Warning: /home/drake/srcds/orangebox/core is truncated: expected core file size >= 53260288, found: 13316096.

warning: exec file is newer than core file.
Failed to read a valid object file image from memory.
Cannot access memory at address 0xffc5e6bc
debug.cmds:5: Error in sourced command file:
No function contains program counter for selected frame.
email debug.log to linux@valvesoftware.com
Sat Oct 27 08:13:49 CDT 2012: Server restart in 10 seconds



Because bin/vphysics.so doesn’t exist anymore – it’s bin/vphysics_srv.so now.

I love the smell of broken update, and yes also getting a segmentation fault since the last update on debian 6.