Ronan wrote:Same here, my server crash often (3-4 times this week)
Since the DCC's servers are running the debug binary (4th of july) there were only two crashes in mid of running and three crashes on startup.
The segfault on your machine seem to have a different cause than on DCC's
Kadaverjack had a look at the core dump of the in the mid of running crash and came to the resolution that the problem probably isn't an engine bug but caused by damaged ram or hard disk.
What happens is that an entity (mg bullet) is trying to attach itself to itself causing a loop till segfault:
- Code: Select all
#39986 0x00000000004ea84a in SV_BuildEntityState (cs=0xa7e0730, ent=0xac207c0, enumber=446) at sv_main.c:937
#39987 0x00000000004ec907 in SV_SendClientMessages () at sv_main.c:1203
#39988 0x000000000046dc07 in Host_Main () at host.c:691
#39989 0x0000000000402050 in main (argc=5, argv=0x7fff8fa16478) at sys_linux.c:254
I paste the backtrace of one of the startup crashes too (the others look the same), maybe it helps to find a bug or it provides more indication of hardware problems on the DCC's machine:
- Code: Select all
Core was generated by `./nexuiz-server +exec server-keyhunt.cfg +sv_public 1'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000043a9da in COM_ParseToken_VM_Tokenize (datapointer=0x7fffec61a890, returnnewline=0) at common.c:1147
1147 common.c: No such file or directory.
in common.c
(gdb) bt
#0 0x000000000043a9da in COM_ParseToken_VM_Tokenize (datapointer=0x7fffec61a890, returnnewline=0) at common.c:1147
#1 0x00000000004be255 in VM_tokenize () at prvm_cmds.c:1983
#2 0x00000000004cedfe in PRVM_ExecuteProgram (fnum=<value optimized out>, errormessage=0x5210fe "") at prvm_execprogram.h:307
#3 0x00000000004c69f5 in PRVM_ED_LoadFromFile (
data=0xacb1b0e "\r\n{\r\n"classname" "info_null"\r\n"origin" "-120.000000 -265.000000 370.000000"\r\n"targetname" "t128"\r\n}\r\n{\r\n"classname" "info_player_deathmatch"\r\n"origin" "-770.000000 560.000000 190.000000"\r\n"angle" "0"\r"...) at prvm_edict.c:1279
#4 0x00000000004edb56 in SV_SpawnServer (server=0x7fffec61ae00 "aggressor") at sv_main.c:2431
#5 0x00000000004711dc in Host_Map_f () at host_cmd.c:275
#6 0x0000000000434872 in Cmd_ExecuteString (text=0x7fffec61aed0 " map aggressor ", src=<value optimized out>) at cmd.c:1111
#7 0x0000000000434995 in Cbuf_Execute () at cmd.c:188
#8 0x000000000046d84e in Host_Init () at host.c:1021
#9 0x000000000046d87b in Host_Main () at host.c:539
#10 0x0000000000402050 in main (argc=5, argv=0x7fffec623078) at sys_linux.c:254