SRCDS Steam group


Srcds segfault
#1
Hi,

for over 2 months server has worked fine but since last friday it is crashing randomly. No system change has been made, no new addons/mods. Crashs just starts with no reason.


logs:

Code:
cat /var/log/syslog |grep srcds
Mar  9 14:10:49 d137014 kernel: srcds_i486[2917]: segfault at 738100e3 ip f7dfcf0b sp ef075760 error 4 in libc-2.7.so[f7d87000+14c000]
Mar  9 14:11:58 d137014 kernel: srcds_i486[3775]: segfault at 71184263 ip f7eb6f0b sp ef12f760 error 4 in libc-2.7.so[f7e41000+14c000]
Mar  9 14:14:49 d137014 kernel: srcds_i486[3785]: segfault at 70237a93 ip f7dc0f0b sp ef039760 error 4 in libc-2.7.so[f7d4b000+14c000]
Mar  9 15:31:41 d137014 kernel: srcds_i486[3823]: segfault at 7129b13b ip f7e1ef0b sp ef097760 error 4 in libc-2.7.so[f7da9000+14c000]
Mar  9 17:30:46 d137014 kernel: srcds_i486[4314]: segfault at 707f0d2b ip f7e2ff0b sp ef0a8760 error 4 in libc-2.7.so[f7dba000+14c000]


Hardware:

Q9650, 4Gb RAM, lenny 64bit,


Command:

./srcds_i486 -console -game tf +maxplayers 28 +map ctf_2fort -tickrate 66 +fps_max 1000 -ip XXX.ZZZ.YYY.OOO -port 27015 -autoupdate -debug -pidfile /var/run/srcds_tf2.pid
Reply
#2
Maybe a serverfile is corrupted. Try an update with teh -verify_all option
Reply
#3
Try updating your servers
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#4
I have the same error since the last update

Code:
Mar 10 06:00:01 c-94-255-210-250 kernel: steam[18931]: segfault at b7ce8004 ip b7f6a7e2 sp bffbad60 error 4 in libc-2.7.so[b7efa000+155000]
Mar 10 06:00:01 c-94-255-210-250 kernel: steam[18932]: segfault at b7b63004 ip b7de57e2 sp bfc359d0 error 4 in libc-2.7.so[b7d75000+155000]

I have tried updating the server and also used verify_all. Have tried to google about it. Seems like it´s a pretty common error.
Reply
#5
I had it also. I'm quite sure the problem is in ~/.steam/ClientRegistry.blob. It gets corrupted or something.

Fix:

1. Delete ~/.steam/ directory altogether.
2. Try if your servers work

1. Delete ~/.steam/ directory altogether
2. Reinstall (or -verify_all) your servers
3. Make sure you have NEW ~/.steam/ directory with ClientRegistry.blob in it

~/.steam/ is fancy way of saying /home/user/.steam/ . Those who use desktop Linux, see ".steam" folder in your My Computer Smile.
Reply
#6
Tried that server works and i can se it but stil i get those segfaults. Will trye to do a fresh install later today...
Reply
#7
You may not need fresh install. You just have ended up with a broken ClientRegistry.blob in the ~/.steam/ directory. I did reinstall, but I think just deleting the ~/.steam/ directory and then running the new steam binary from hldsupdatetool.bin would have solved the problem. MAKE SURE YOU HAVE LATEST VERSIONS WHEN YOU REINSTALL.
Reply
#8
I've done full srcds reinstall - still the same problem.

Code:
Mar 11 11:57:57 d137014 kernel: srcds_i486[6048]: segfault at 7113c403 ip f7e30f0b sp ed3af760 error 4 in libc-2.7.so[f7dbb000+14c000]
Mar 11 16:47:52 d137014 kernel: srcds_i486[19613]: segfault at 696ef903 ip f7dfef0b sp efff1760 error 4 in libc-2.7.so[f7d89000+14c000]
Mar 11 19:32:01 d137014 kernel: srcds_i486[24984]: segfault at 6dd50c43 ip f7eb0f0b sp ed946760 error 4 in libc-2.7.so[f7e3b000+14c000]
Mar 11 20:50:56 d137014 kernel: srcds_i486[28077]: segfault at 6a7a5eab ip f7e70f0b sp f037f760 error 4 in libc-2.7.so[f7dfb000+14c000]
Mar 11 21:33:07 d137014 kernel: srcds_i486[29894]: segfault at 6de1e74b ip f7e88f0b sp eccf1760 error 4 in libc-2.7.so[f7e13000+14c000]

Looks like it's reinstall change nothing.
Reply
#9
Im not normally using srcds_i486 for my startline, i use srcds_run. Try that, it could maybe help
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#10
Did you delete ~/.steam/ directory before reinstall?

@ lol554
The process that throws the segmentation fault is srcds_amd, srcds_i486 or srcds_i686. The srcds_run program is just a script which determines which of the three binaries should be started. So even if you start with srcds_run, the syslog shows one of the three. The script srcds_run itself never segfaults.
Reply
#11
Quote:Did you delete ~/.steam/ directory before reinstall?

i've deleted whole dir.
Reply
#12
(03-12-2010, 04:50 PM)css Wrote:  Did you delete ~/.steam/ directory before reinstall?

@ lol554
The process that throws the segmentation fault is srcds_amd, srcds_i486 or srcds_i686. The srcds_run program is just a script which determines which of the three binaries should be started. So even if you start with srcds_run, the syslog shows one of the three. The script srcds_run itself never segfaults.

You just made me a little bit more clever Smile
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)