SRCDS Steam group


Source mod server crash
#1
Hi,

I am trying to create a working linux version of our mod, since we are
really close to release. I compiled the mod and played simple maps with it
without any problems. When playing with maps that include specific entities
that we coded though, the server crashes as soon as somebody joins the game.

The reason I am emailing here is because I am running out of options to
debug this crash.

So here is the big question: how can I get more information about the
crash, like a call stack or at least the line and file where the crash
occurred?


Here is what I tried:
- The srcds runs fine under windows, with the same entity/code that crashes
under linux
- Add –debug flag to ./srcds_run. The debug.log produced file is really not
helping much:
----------------------------------------------
CRASH: Fri May 5 20:00:54 PDT 2006
Start Line: ./srcds_i486 -console -game /home/frank/srcds_l/troydp +map troy7 -maxplayers 16 -debug
End of Source crash report
----------------------------------------------


-Compiling the mod with a –g flag, so that I would have symbols within the
server_i486.so file. I didn't get more info in the debug.log

- Compiling the mod with a debug target, in an attempt to get more
information. Unfortunately the code doesn't compile because the debug
version of the SDK uses a different mmaloc, which is included in Windows
only. I could not get around it and compile the mod in debug without using that
memory allocation.

Any help appreciated, thank you!
-Francois
PS: I have a limited understanding of linux, but can understand most of the
c++ related stuff
--
Kiroke
Lead Game Designer
Troy : Divine Playground
http://www.troymod.com

gcc --version
gcc-3.4 (GCC) 3.4.6 (Debian 3.4.6-1)

ldd --version
ldd (GNU libc) 2.3.6

uname -a
Linux minibox 2.6.12-1-386 #1 Tue Sep 27 12:41:08 JST 2005 i686 GNU/Linux

Console
/home/frank/srcds_l# ./srcds_run -console -game
/home/frank/srcds_l/troydp +map troy7 -maxplayers 16 -debug
Auto detecting CPU
Using default binary.
Enabling debug mode
Auto-restarting the server on crash

Console initialized.
Attempted to create unknown entity type event_queue_saveload_proxy!
Game.dll loaded for "CounterStrike"
maxplayers set to 16
Network: IP 127.0.0.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
couldn't exec skill1.cfg
Executing dedicated server config file
Attempted to create unknown entity type water_lod_control!
Can't init water_lod_control
couldn't exec server.cfg
Adding master server 68.142.72.250:27011
Adding master server 207.173.177.11:27011
Connection to Steam servers successful.
VAC secure mode disabled.
./srcds_run: line 344: 24644 Killed $HL_CMD
cat: hlds.24630.pid: No such file or directory
email debug.log to linux@valvesoftware.com
Reply
#2
Quote:/home/frank/srcds_l# ./srcds_run -console -game
/home/frank/srcds_l/troydp +map troy7 -maxplayers 16 -debug
try this:
Code:
cd /home/frank/srds_l

./srcds_run -game troydp -port 27015 +maxplayers 16 +sv_secure +log on +tv_port 29000 +map troy7

then even a player connects to server pls paste me all output from console here pls ore mail me.
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#3
root@minibox:/home/frank/srcds_l# ./srcds_run -game troydp -port 27015 +maxplayers 16 +sv_secure +log on +tv_port 29000 +map troy7
Auto detecting CPU
Using default binary.
Auto-restarting the server on crash

Console initialized.
Attempted to create unknown entity type event_queue_saveload_proxy!
Game.dll loaded for "CounterStrike"
maxplayers set to 32
maxplayers set to 16
Unknown command "sv_secure"
Server logging enabled.
Server logging data to file logs/L0506000.log
L 05/06/2006 - 06:56:18: Log file started (file "logs/L0506000.log") (game "/home/frank/srcds_l/troydp") (version "2715")
Network: IP 127.0.0.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
L 05/06/2006 - 06:56:18: Log file closed
Server logging data to file logs/L0506001.log
L 05/06/2006 - 06:56:18: Log file started (file "logs/L0506001.log") (game "/home/frank/srcds_l/troydp") (version "2715")
L 05/06/2006 - 06:56:18: Loading map "troy7"
L 05/06/2006 - 06:56:18: server cvars start
L 05/06/2006 - 06:56:18: "sv_alltalk" = "0"
L 05/06/2006 - 06:56:18: "mp_timelimit" = "0"
L 05/06/2006 - 06:56:18: "sv_gravity" = "800"
L 05/06/2006 - 06:56:18: "sv_stopspeed" = "100"
L 05/06/2006 - 06:56:18: "sv_noclipaccelerate" = "5"
L 05/06/2006 - 06:56:18: "sv_noclipspeed" = "5"
L 05/06/2006 - 06:56:18: "sv_specaccelerate" = "5"
L 05/06/2006 - 06:56:18: "sv_specspeed" = "3"
L 05/06/2006 - 06:56:18: "sv_specnoclip" = "0"
L 05/06/2006 - 06:56:18: "sv_maxspeed" = "260"
L 05/06/2006 - 06:56:18: "sv_accelerate" = "10"
L 05/06/2006 - 06:56:18: "sv_airaccelerate" = "10"
L 05/06/2006 - 06:56:18: "sv_wateraccelerate" = "10"
L 05/06/2006 - 06:56:18: "sv_waterfriction" = "1"
L 05/06/2006 - 06:56:18: "sv_footsteps" = "1"
L 05/06/2006 - 06:56:18: "sv_rollspeed" = "200"
L 05/06/2006 - 06:56:18: "sv_rollangle" = "0"
L 05/06/2006 - 06:56:18: "sv_friction" = "4"
L 05/06/2006 - 06:56:18: "sv_bounce" = "0"
L 05/06/2006 - 06:56:18: "sv_stepsize" = "18"
L 05/06/2006 - 06:56:18: "r_VehicleViewDampen" = "1"
L 05/06/2006 - 06:56:18: "r_JeepViewDampenFreq" = "7.0"
L 05/06/2006 - 06:56:18: "r_JeepViewDampenDamp" = "1.0"
L 05/06/2006 - 06:56:18: "r_JeepViewZHeight" = "10.0"
L 05/06/2006 - 06:56:18: "r_RamViewDampenFreq" = "7.0"
L 05/06/2006 - 06:56:18: "r_RamViewDampenDamp" = "1.0"
L 05/06/2006 - 06:56:18: "r_RamViewZHeight" = "10.0"
L 05/06/2006 - 06:56:18: "r_AirboatViewDampenFreq" = "7.0"
L 05/06/2006 - 06:56:18: "r_AirboatViewDampenDamp" = "1.0"
L 05/06/2006 - 06:56:18: "r_AirboatViewZHeight" = "0.0"
L 05/06/2006 - 06:56:18: "mp_friendlyfire" = "0"
L 05/06/2006 - 06:56:18: "mp_teamplay" = "0"
L 05/06/2006 - 06:56:18: "mp_fraglimit" = "0"
L 05/06/2006 - 06:56:18: "mp_falldamage" = "0"
L 05/06/2006 - 06:56:18: "mp_weaponstay" = "0"
L 05/06/2006 - 06:56:18: "mp_forcerespawn" = "1"
L 05/06/2006 - 06:56:18: "mp_footsteps" = "1"
L 05/06/2006 - 06:56:18: "mp_flashlight" = "0"
L 05/06/2006 - 06:56:18: "mp_autocrosshair" = "1"
L 05/06/2006 - 06:56:18: "decalfrequency" = "10"
L 05/06/2006 - 06:56:18: "mp_teamlist" = "hgrunt;scientist"
L 05/06/2006 - 06:56:18: "mp_allowNPCs" = "1"
L 05/06/2006 - 06:56:18: "coop" = "0"
L 05/06/2006 - 06:56:18: "deathmatch" = "1"
L 05/06/2006 - 06:56:18: "sv_voiceenable" = "1"
L 05/06/2006 - 06:56:18: "sv_pausable" = "0"
L 05/06/2006 - 06:56:18: "sv_cheats" = "0"
L 05/06/2006 - 06:56:18: "sv_password" = ""
L 05/06/2006 - 06:56:18: "tv_relaypassword" = ""
L 05/06/2006 - 06:56:18: "tv_password" = ""
L 05/06/2006 - 06:56:18: server cvars end
L 05/06/2006 - 06:56:22: Started map "troy7" (CRC "869024783")
couldn't exec skill1.cfg
Executing dedicated server config file
Attempted to create unknown entity type water_lod_control!
Can't init water_lod_control
couldn't exec server.cfg
Adding master server 207.173.177.11:27011
Adding master server 68.142.72.250:27011
Connection to Steam servers successful.
VAC secure mode disabled.
L 05/06/2006 - 06:56:41: "Kiroke<2><STEAM_ID_PENDING><>" connected, address "192.168.100.103:27005"
Client Kiroke connected (192.168.100.103:27005).
./srcds_run: line 344: 25661 Segmentation fault $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sat May 6 06:56:41 PDT 2006: Server restart in 10 seconds

I checked the logs and they are not helping:
L 05/06/2006 - 06:56:18: Log file started (file "logs/L0506000.log") (game "/home/frank/srcds_l/troydp") (version "2715")
L 05/06/2006 - 06:56:18: Log file closed


Does that helps?
Reply
#4
mmm
if you start same server on local pc on windows it works? do u have any kind of plugin activated?
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)