SRCDS Steam group


Server crash due to existing server.cfg
#1
Hi!

Today I tried to install a CSS dedicated Linux server on 2 different vserver machines with both the same strange result.

If there is no server.cfg, the server runs fine. If there is a server.cfg in the same directory as srcds_run and I start the server using
Code:
./srcds_run -autoupdate -game cstrike +map de_dust -maxplayers 12
I get
Code:
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Counter-Strike Source Shared Content' version 74


Checking/Installing 'Base Source Shared Models' version 4


Checking/Installing 'Base Source Shared Sounds' version 4


Checking/Installing 'Base Source Shared Materials' version 8


Checking/Installing 'Source Dedicated Server Linux' version 96


HLDS installation up to date

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 12
Network: IP XXX.XXX.XXX.XXX, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
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 "sprites/bubble" : proxy "AnimatedTexture" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
appdatacache.cpp (311) : Assertion Failed: !"Implement me"
*** glibc detected *** ./srcds_i686: free(): invalid pointer: 0xb7df7000 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7ed9845]
/lib/libc.so.6(cfree+0x9c)[0xb7edb6ec]
bin/dedicated_i686.so(_ZN15CBaseFileSystem12FastFindFileEPKNS_11CSearchPathEPKc+0x21​3)[0xb7d9a713]
======= Memory map: ========
08048000-08054000 r-xp 00000000 00:6e 1697464328  /home/hzmuser/srcds/srcds_i686
08054000-08056000 rwxp 0000c000 00:6e 1697464328  /home/hzmuser/srcds/srcds_i686
08056000-0986c000 rwxp 08056000 00:00 0
b0c7e000-b0c7f000 ---p b0c7e000 00:00 0
b0c7f000-b0d7e000 rwxp b0c7f000 00:00 0
b0d7e000-b0dc4000 r-xp 00000000 00:6e 1837695024  /home/hzmuser/srcds/bin/vstdlib_s_i486.so
b0dc4000-b0dc9000 rwxp 00045000 00:6e 1837695024  /home/hzmuser/srcds/bin/vstdlib_s_i486.so
b0dc9000-b0ddb000 rwxp b0dc9000 00:00 0
b0ddb000-b0e08000 r-xp 00000000 00:6e 1837695016  /home/hzmuser/srcds/bin/tier0_s_i486.so
b0e08000-b0e0c000 rwxp 0002d000 00:6e 1837695016  /home/hzmuser/srcds/bin/tier0_s_i486.so
b0e0c000-b0e12000 rwxp b0e0c000 00:00 0
b0e12000-b146e000 r-xp 00000000 00:6e 1837695010  /home/hzmuser/srcds/bin/steamclient_i486.so
b146e000-b14e0000 rwxp 0065c000 00:6e 1837695010  /home/hzmuser/srcds/bin/steamclient_i486.so
b14e0000-b1a05000 rwxp b14e0000 00:00 0
b1bf3000-b1bff000 r-xp 00000000 00:6e 417958016  /lib/libgcc_s.so.1
b1bff000-b1c00000 rwxp 0000b000 00:6e 417958016  /lib/libgcc_s.so.1
b1c00000-b1c21000 rwxp b1c00000 00:00 0
b1c21000-b1d00000 ---p b1c21000 00:00 0
b1d09000-b1dcc000 rwxp b1d09000 00:00 0
b1e00000-b1f77000 rwxp b1e00000 00:00 0
b1fc7000-b1fd6000 r-xp 00000000 00:6e 417959872  /lib/libresolv-2.7.so
b1fd6000-b1fd8000 rwxp 0000e000 00:6e 417959872  /lib/libresolv-2.7.so
b1fd8000-b1fda000 rwxp b1fd8000 00:00 0
b1fda000-b1fde000 r-xp 00000000 00:6e 417958492  /lib/libnss_dns-2.7.so
b1fde000-b1fe0000 rwxp 00003000 00:6e 417958492  /lib/libnss_dns-2.7.so
b1fe0000-b1fe2000 r-xp 00000000 00:6e 1323761670  /lib/libnss_mdns4_minimal.so.2
b1fe2000-b1fe3000 rwxp 00001000 00:6e 1323761670  /lib/libnss_mdns4_minimal.so.2
b1fed000-b1ff6000 r-xp 00000000 00:6e 417958494  /lib/libnss_files-2.7.so
b1ff6000-b1ff8000 rwxp 00008000 00:6e 417958494  /lib/libnss_files-2.7.so
b2002000-b6003000 rwxp b2002000 00:00 0
b6003000-b600a000 r-xp 00000000 00:6e 1837695000  /home/hzmuser/srcds/bin/scenefilecache_i486.so
b600a000-b600b000 rwxp 00007000 00:6e 1837695000  /home/hzmuser/srcds/bin/scenefilecache_i486.so
b600b000-b6b75000 r-xp 00000000 00:6e 425510518  /home/hzmuser/srcds/cstrike/bin/server_i486.so
b6b75000-b6c5c000 rwxp 00b6a000 00:6e 425510518  /home/hzmuser/srcds/cstrike/bin/server_i486.so
b6c5c000-b6e5b000 rwxp b6c5c000 00:00 0
b6e8c000-b6e9b000 r-xp 00000000 00:6e 1837695002  /home/hzmuser/srcds/bin/shaderapiempty_i486.so
b6e9b000-b6e9c000 rwxp 0000f000 00:6e 1837695002  /home/hzmuser/srcds/bin/shaderapiempty_i486.so
b6ebd000-b6ecf000 r-xp 00000000 00:6e 1837695008  /home/hzmuser/srcds/bin/steam_api_i486.so
b6ecf000-b6ed1000 rwxp 00011000 00:6e 1837695008  /home/hzmuser/srcds/bin/steam_api_i486.so
b6ed1000-b6ed5000 rwxp b6ed1000 00:00 0
b6ed5000-b7057000 r-xp 00000000 00:6e 1837694996  /home/hzmuser/srcds/bin/libsteamvalidateuseridtickets_i486.so
b7057000-b707e000 rwxp 00182000 00:6e 1837694996  /home/hzmuser/srcds/bin/libsteamvalidateuseridtickets_i486.so
b707e000-b7083000 rwxp b707e000 00:00 0
b7083000-b7452000 r-xp 00000000 00:6e 1837694994  /home/hzmuser/srcds/bin/engine_i686.so
b7452000-b74a3000 rwxp 003ce000 00:6e 1837694994  /home/hzmuser/srcds/bin/engine_i686.so
b74a3000-b751b000 rwxp b74a3000 00:00 0
b751b000-b7574000 r-xp 00000000 00:6e 1837694982  /home/hzmuser/srcds/bin/datacache_i486.so
b7574000-b757a000 rwxp 00058000 00:6e 1837694982  /home/hzmuser/srcds/bin/datacache_i486.so
b757a000-b757c000 rwxp b757a000 00:00 0
b757c000-b77d6000 r-xp 00000000 00:6e 1837695020  /home/hzmuser/srcds/bin/vphysics_i486.so
b77d6000-b77f5000 rwxp 00259000 00:6e 1837695020  /home/hzmuser/srcds/bin/vphysics_i486.so
b77f5000-b780b000 rwxp b77f5000 00:00 0
b780b000-b7883000 r-xp 00000000 00:6e 1837695012  /home/hzmuser/srcds/bin/studiorender_i486.so
b7883000-b7887000 rwxp 00078000 00:6e 1837695012  /home/hzmuser/srcds/bin/studiorender_i486.so
b7887000-b7c04000 rwxp b7887000 00:00 0
b7c04000-b7cf0000 r-xp 00000000 00:6e 1837694998  /home/hzmuser/srcds/bin/materialsystem_i486.so
b7cf0000-b7cfb000 rwxp 000ec000 00:6e 1837694998  /home/hzmuser/srcds/bin/materialsystem_i486.so
b7cfb000-b7d12000 rwxp b7cfb000 00:00 0
b7d12000-b7d4a000 r-xp 00000000 00:6e 1837695006  /home/hzmuser/srcds/bin/soundemittersystem_i486.so
b7d4a000-b7d4e000 rwxp 00038000 00:6e 1837695006  /home/hzmuser/srcds/bin/soundemittersystem_i486.so
b7d4e000-b7d50000 rwxp b7d4e000 00:00 0
b7d50000-b7dea000 r-xp 00000000 00:6e 1837694988  /home/hzmuser/srcds/bin/dedicated_i686.so
b7dea000-b7df4000 rwxp 00099000 00:6e 1837694988  /home/hzmuser/srcds/bin/dedicated_i686.so
b7df4000-b7e02000 rwxp b7df4000 00:00 0
b7e02000-b7e14000 r-xp 00000000 00:6e 1837695022  /home/hzmuser/srcds/bin/vstdlib_i486.so
b7e14000-b7e16000 rwxp 00011000 00:6e 1837695022  /home/hzmuser/srcds/bin/vstdlib_i486.so
b7e16000-b7e2a000 r-xp 00000000 00:6e 417959868  /lib/libpthread-2.7.so
b7e2a000-b7e2c000 rwxp 00013000 00:6e 417959868  /lib/libpthread-2.7.so
b7e2c000-b7e2e000 rwxp b7e2c000 00:00 0
b7e38000-b7e64000 r-xp 00000000 00:6e 1837695014  /home/hzmuser/srcds/bin/tier0_i486.so
b7e64000-b7e67000 rwxp 0002b000 00:6e 1837695014  /home/hzmuser/srcds/bin/tier0_i486.so
b7e67000-b7e6f000 rwxp b7e67000 00:00 0
b7e6f000-b7fa7000 r-xp 00000000 00:6e 417958268  /lib/libc-2.7.so
b7fa7000-b7fa8000 r-xp 00138000 00:6e 417958268  /lib/libc-2.7.so
b7fa8000-b7faa000 rwxp 00139000 00:6e 417958268  /lib/libc-2.7.so
b7faa000-b7fae000 rwxp b7faa000 00:00 0
b7fae000-b7fb0000 r-xp 00000000 00:6e 417958476  /lib/libdl-2.7.so
b7fb0000-b7fb2000 rwxp 00001000 00:6e 417958476  /lib/libdl-2.7.so
b7fb2000-b7fd6000 r-xp 00000000 00:6e 417958480  /lib/libm-2.7.so
b7fd6000-b7fd8000 rwxp 00023000 00:6e 417958480  /lib/libm-2.7.so
b7fe2000-b7fe4000 rwxp b7fe2000 00:00 0
b7fe4000-b7ffe000 r-xp 00000000 00:6e 417958208  /lib/ld-2.7.so
b7ffe000-b8000000 rwxp 0001a000 00:6e 417958208  /lib/ld-2.7.so
bffdc000-bfffe000 rwxp bffdc000 00:00 0
ffffe000-fffff000 r-xp 00000000 00:00 0
./srcds_run: line 344: 24440 Aborted                 $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Thu Sep 17 13:20:27 CEST 2009: Server restart in 10 seconds
on the first server and
Code:
Auto detecting CPU
Using AMD Optimised binary.
Server will auto-restart if there is a crash.
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Counter-Strike Source Shared Content' version 74


Checking/Installing 'Base Source Shared Models' version 4


Checking/Installing 'Base Source Shared Sounds' version 4


Checking/Installing 'Base Source Shared Materials' version 8


Checking/Installing 'Source Dedicated Server Linux' version 96


HLDS installation up to date

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 12
Network: IP XXX.XXX.XXX.XXX, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
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 "sprites/bubble" : proxy "AnimatedTexture" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
appdatacache.cpp (311) : Assertion Failed: !"Implement me"
*** glibc detected *** ./srcds_amd: free(): invalid pointer: 0xb7d5e480 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7e33c37]
/lib/libc.so.6(cfree+0x89)[0xb7e358f9]
bin/dedicated_amd.so(_ZN15CBaseFileSystem12FastFindFileEPKNS_11CSearchPathEPKc+0x1a2​)[0xb7cf95d2]
bin/engine_amd.so(_Z10Cmd_Exec_fv+0x134)[0xb711f074]
======= Memory map: ========
08048000-08054000 r-xp 00000000 00:5d 11813158                           /home/doofyuser/srcds/srcds_amd
08054000-08056000 rwxp 0000c000 00:5d 11813158                           /home/doofyuser/srcds/srcds_amd
08056000-0805a000 rwxp 08056000 00:00 0
09563000-0ad75000 rwxp 09563000 00:00 0                                  [heap]
b0c00000-b0c21000 rwxp b0c00000 00:00 0
b0c21000-b0d00000 ---p b0c21000 00:00 0
b0d4e000-b13aa000 r-xp 00000000 00:5d 1785876                            /home/doofyuser/srcds/bin/steamclient_i486.so
b13aa000-b141c000 rwxp 0065c000 00:5d 1785876                            /home/doofyuser/srcds/bin/steamclient_i486.so
b141c000-b1941000 rwxp b141c000 00:00 0
b1ae8000-b1ae9000 ---p b1ae8000 00:00 0
b1ae9000-b1be8000 rwxp b1ae9000 00:00 0
b1be8000-b1c2e000 r-xp 00000000 00:5d 1785904                            /home/doofyuser/srcds/bin/vstdlib_s_i486.so
b1c2e000-b1c33000 rwxp 00045000 00:5d 1785904                            /home/doofyuser/srcds/bin/vstdlib_s_i486.so
b1c33000-b1d08000 rwxp b1c33000 00:00 0
b1d3c000-b1eb3000 rwxp b1d3c000 00:00 0
b1ef2000-b1f1f000 r-xp 00000000 00:5d 1785879                            /home/doofyuser/srcds/bin/tier0_s_i486.so
b1f1f000-b1f23000 rwxp 0002d000 00:5d 1785879                            /home/doofyuser/srcds/bin/tier0_s_i486.so
b1f23000-b5f2a000 rwxp b1f23000 00:00 0
b5f2a000-b6a94000 r-xp 00000000 00:5d 11829990                           /home/doofyuser/srcds/cstrike/bin/server_i486.so
b6a94000-b6b7b000 rwxp 00b6a000 00:5d 11829990                           /home/doofyuser/srcds/cstrike/bin/server_i486.so
b6b7b000-b6d79000 rwxp b6b7b000 00:00 0
b6d91000-b6d9b000 r-xp 00000000 00:5d 11292760                           /lib/libgcc_s.so.1
b6d9b000-b6d9c000 rwxp 0000a000 00:5d 11292760                           /lib/libgcc_s.so.1
b6d9c000-b6daa000 r-xp 00000000 00:5d 10207261                           /lib/libresolv-2.7.so
b6daa000-b6dac000 rwxp 0000d000 00:5d 10207261                           /lib/libresolv-2.7.so
b6dac000-b6dae000 rwxp b6dac000 00:00 0
b6db7000-b6dc0000 r-xp 00000000 00:5d 10207255                           /lib/libnss_files-2.7.so
b6dc0000-b6dc2000 rwxp 00008000 00:5d 10207255                           /lib/libnss_files-2.7.so
b6dc4000-b6dc8000 r-xp 00000000 00:5d 10207254                           /lib/libnss_dns-2.7.so
b6dc8000-b6dca000 rwxp 00003000 00:5d 10207254                           /lib/libnss_dns-2.7.so
b6dcb000-b6dda000 r-xp 00000000 00:5d 1785872                            /home/doofyuser/srcds/bin/shaderapiempty_i486.so
b6dda000-b6ddb000 rwxp 0000f000 00:5d 1785872                            /home/doofyuser/srcds/bin/shaderapiempty_i486.so
b6ddb000-b6ded000 r-xp 00000000 00:5d 1785875                            /home/doofyuser/srcds/bin/steam_api_i486.so
b6ded000-b6def000 rwxp 00011000 00:5d 1785875                            /home/doofyuser/srcds/bin/steam_api_i486.so
b6def000-b6df3000 rwxp b6def000 00:00 0
b6df3000-b6f75000 r-xp 00000000 00:5d 1785869                            /home/doofyuser/srcds/bin/libsteamvalidateuseridtickets_i486.so
b6f75000-b6f9c000 rwxp 00182000 00:5d 1785869                            /home/doofyuser/srcds/bin/libsteamvalidateuseridtickets_i486.so
b6f9c000-b6fa1000 rwxp b6f9c000 00:00 0
b6fa1000-b734c000 r-xp 00000000 00:5d 1785865                            /home/doofyuser/srcds/bin/engine_amd.so
b734c000-b7404000 rwxp 003aa000 00:5d 1785865                            /home/doofyuser/srcds/bin/engine_amd.so
b7404000-b747c000 rwxp b7404000 00:00 0
b747c000-b74d5000 r-xp 00000000 00:5d 1785860                            /home/doofyuser/srcds/bin/datacache_i486.so
b74d5000-b74db000 rwxp 00058000 00:5d 1785860      ./srcds_run: line 344: 29888 Aborted                 $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Do 17. Sep 13:16:16 CEST 2009: Server restart in 10 seconds
on the other one. Sad

Without server.cfg files, the servers start up fine and I can manually change the host names:

Code:
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Counter-Strike Source Shared Content' version 74


Checking/Installing 'Base Source Shared Models' version 4


Checking/Installing 'Base Source Shared Sounds' version 4


Checking/Installing 'Base Source Shared Materials' version 8


Checking/Installing 'Source Dedicated Server Linux' version 96


HLDS installation up to date

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 12
Network: IP XXX.XXX.XXX.XXX, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
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 "sprites/bubble" : proxy "AnimatedTexture" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
appdatacache.cpp (311) : Assertion Failed: !"Implement me"
couldn't exec server.cfg
Adding master server 72.165.61.189:27011
Adding master server 69.28.140.246:27011
Connection to Steam servers successful.
   VAC secure mode is activated.
hostname "testserver"

Code:
Auto detecting CPU
Using AMD Optimised binary.
Server will auto-restart if there is a crash.
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Counter-Strike Source Shared Content' version 74


Checking/Installing 'Base Source Shared Models' version 4


Checking/Installing 'Base Source Shared Sounds' version 4


Checking/Installing 'Base Source Shared Materials' version 8


Checking/Installing 'Source Dedicated Server Linux' version 96


HLDS installation up to date

Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 12
Network: IP XXX.XXX.XXX.XXX, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
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 "sprites/bubble" : proxy "AnimatedTexture" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
appdatacache.cpp (311) : Assertion Failed: !"Implement me"
couldn't exec server.cfg
Adding master server 69.28.140.246:27011
Adding master server 72.165.61.189:27011
Connection to Steam servers successful.
   VAC secure mode is activated.
hostname "testserver2"

The first one is running an up2date Debian Lenny, the second one an up2date Ubuntu Hardy.

What may be the cause of this? Are my server.cfg files mis-located? Or do I have to run the game servers as root?

Thanks,
Cholsen
Reply
#2
Code:
./srcds_run -game cstrike +map de_dust -maxplayers 12 -autoupdate

Use autoupdate in the end.
Can you post your server.cfg?
Reply
#3
Thanks for your reply, but the autoupdate in the end did not change anything.
The server.cfg contains only the hostname so far
Code:
hostname "testserver"
but I also tried different server.cfg files from the web, resulting in the same crash on both servers.
Reply
#4
Try without autoupdate then.
Reply
#5
Put the server.cfg in the cstrike/cfg folder. There isn't anything wrong with the code you pasted...it's just autoupdating.
Reply
#6
Thanks, after putting the config in the mentioned subfolder, it works! Smile

But in my opinion it's pretty unintuitive to make the server crash instead of printing out an error message, if the config is not correctly located...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)