SRCDS Steam group


crashes at changelevel
#1
Hi,

since I am managing srcds servers I am observing infrequently crashes during changelevel. On my public server which is doing a level change every 20 minutes if empty I observe those crashes ~3 times a day.

First I thought it would be caused by some plugin. But recently I have downloaded a fresh installation on a completely different machine, left everything unchanged (except adding an rcon pw to the config) and changed the map every 30 secs via rcon (using a small shell script). The server still crashes occasionly with a segmentation fault.

IIRC I had already seen the same problem when I had to use windows on the root server, but I cannot really be sure (because I did not make deep tests).

Is this a known problem? I cannot imagine that only I have this problem, because it can be really easily reproduced... Is there some work-around?

Thanks in advance,
BE
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#2
Log the server output so you can determine what or why it's crashing, if an error is thrown.

What glibc version? What dist?
Game Server Administration Services
Linux & Windows performance specialist.
http://www.viGeek.net
Reply
#3
Hi,

thanks for the reply. The error message is just "Segmentation fault". With -debug the last console lines look like this:

Code:
Incorrect price blob version! Update your server!
ERROR: mp_dynamicpricing set to 1 but couldn't download the price list!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
"con from "131.169.138.172:50829": command "changelevel de_train
Executing dedicated server config file
Incorrect price blob version! Update your server!
ERROR: mp_dynamicpricing set to 1 but couldn't download the price list!
Error: Material "particle/smokestack" : proxy "ParticleSphereProxy" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
"con from "131.169.138.172:50837": command "changelevel de_tides
Error: Material "models/props/de_tides/clouds" : proxy "TextureScroll" not found!
Error: Material "models/props/de_tides/clouds2" : proxy "TextureScroll" not found!
Executing dedicated server config file
Incorrect price blob version! Update your server!
ERROR: mp_dynamicpricing set to 1 but couldn't download the price list!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
./srcds_run: line 344: 21567 Segmentation fault      (core dumped) $HL_CMD
cat: hlds.21553.pid: No such file or directory
email debug.log to linux@valvesoftware.com
Do 27. Nov 09:50:43 CET 2008: Server restart in 10 seconds

The debug.log just contains:
Code:
----------------------------------------------
CRASH: Do 27. Nov 09:50:43 CET 2008
Start Line: ./srcds_i686 -game cstrike +map de_dust -debug
End of Source crash report
----------------------------------------------

I tested it on at least two completely different systems, first one is debian:
Code:
mhier@fragaholics ~ $ /lib32/libc.so.6
GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21).
Compiled on a Linux 2.6.18 system on 2008-06-08.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
mhier@fragaholics ~ $ uname -a
Linux fragaholics.de 2.6.24.3-rt3 #14 SMP PREEMPT RT Wed Oct 8 17:24:01 CEST 2008 x86_64 GNU/Linux

and the second one is gentoo:
Code:
mhier@uh2glopera7 ~ $ /lib32/libc-2.6.1.so
GNU C Library stable release version 2.6.1, by Roland McGrath et al.
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 (Gentoo 4.1.2 p1.1).
Compiled on a Linux >>2.6.24-gentoo-r7<< system on 2008-07-09.
Available extensions:
        C stubs add-on version 2.1.2
        crypt add-on version 2.1 by Michael Glad and others
        Gentoo patchset 1.2
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        Support for some architectures added on, not maintained in glibc core.
        BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
mhier@uh2glopera7 ~ $ uname -a
Linux uh2glopera7 2.6.25-gentoo-r7 #4 SMP PREEMPT Tue Aug 12 19:00:40 CEST 2008 x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz GenuineIntel GNU/Linux

I observe this problem for a long time (~ one year on linux, and IIRC even before on windows), and especially the gentoo systems I used had thus many different kernel and libc versions. I seriously doubt that the underlying system has anything to do with it. Hardware problems can be excluded as well, unless 4 or 5 different machines have the same bug (btw: all intel).

And also: configuration problems can be excluded, as I did not change anything but adding a server.cfg with a single line:
Code:
rcon_password xyz

I find it quite wired that apparently not many people have the same problems. Whatever I try I cannot avoid the problem. On the other hand, if I play on other servers I do not observe those crashes on map change.... :-/

Thanks for any help!
BE
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#4
I've found a solution, after running srcds_i486 with gdb and staring at the backtrace for a while ;-)

Aparrently the server crashes while reading the .nav files used for bots. As I do not use any bots I just deleted all .nav files in the map folder.

I don't know why the problem is not commonly known. Maybe it is only present on 64 bit (apparently I forget to mention that I was always using a 64 bit linux version).
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#5
I have the same problem on Debian.
Game: Team Fortress 2
It's 64 bit kernel, but I think it's 32 bit system. I don't know how provider installed the system...
Server crashes, and map file is crashed(bsp and ain). All maps are wounded. Standards and customs.
Code:
cat debug.log
----------------------------------------------
CRASH: nie gru  7 00:13:34 CET 2008
Start Line: ./srcds_i486 -console -game tf +maxplayers 28 +map cp_granary -tickrate 66 +fps_max 0 -ip IP -port 27050 -autoupdate -debug -pidfile /var/run/srcds_tf2.pid
Using host libthread_db library "/lib/tls/libthread_db.so.1".
#0  0xf772e691 in ?? ()
No symbol table info available.
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: nie gru  7 01:14:03 CET 2008
Start Line: ./srcds_i486 -console -game tf +maxplayers 28 +map cp_granary -tickrate 66 +fps_max 0 -ip IP -port 27050 -autoupdate -debug -pidfile /var/run/srcds_tf2.pid
Using host libthread_db library "/lib/tls/libthread_db.so.1".
#0  0xf7801738 in ?? ()
No symbol table info available.
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: nie gru  7 19:05:38 CET 2008
Start Line: ./srcds_i486 -console -game tf +maxplayers 28 +map cp_granary -tickrate 66 +fps_max 0 -ip IP -port 27050 -autoupdate -debug -pidfile /var/run/srcds_tf2.pid
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: nie gru  7 22:18:43 CET 2008
Start Line: ./srcds_i486 -console -game tf +maxplayers 28 +map cp_granary -tickrate 66 +fps_max 0 -ip IP -port 27050 -autoupdate -debug -pidfile /var/run/srcds_tf2.pid
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: pon gru  8 13:29:48 CET 2008
Start Line: ./srcds_i486 -console -game tf +maxplayers 28 +map cp_granary -tickrate 66 +fps_max 0 -ip IP -port 27050 -autoupdate -debug -pidfile /var/run/srcds_tf2.pid
End of Source crash report
----------------------------------------------
Reply
#6
Unfortunately the problem is not realle solved for me. Deleting the .nav-files has made the problem disappear on my testserver, but my production server is still affected. And also on cs-maps the .nav-files are needed for the hostages...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)