View Single Post
Author Message
XAT
Member
Join Date: Jul 2011
Old 02-14-2012 , 08:01   Strange crash, propably Hamsandwich ( Trace info included )
Reply With Quote #1

My server is encountering strange and annoying crashes few times everyday, so i decided to install debugging binaries, i compiled them on my machine and then put it on server.
But when it crashes gdb shows everytime same trace but i cant realy know what is the crash reason.

Code:
Reading symbols from hlds_i686...done.
[New Thread 10599]
[New Thread 10600]
[New Thread 3386]
[New Thread 3375]

Reading symbols from cstrike/addons/metamod/dlls/metamod_i386.so...done.
Loaded symbols for cstrike/addons/metamod/dlls/metamod_i386.so
Reading symbols from cstrike/dlls/cs_i386.so...done.
Loaded symbols for cstrike/dlls/cs_i386.so
Reading symbols from cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/mysql_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/mysql_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/sqlite_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/sqlite_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/fun_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/fun_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/engine_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/engine_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/fakemeta_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/fakemeta_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/geoip_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/geoip_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/nvault_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/nvault_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/cstrike_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/cstrike_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/csx_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/csx_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/sockets_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/sockets_amxx_i386.so
Reading symbols from cstrike/addons/amxmodx/modules/regex_amxx_i386.so...done.
Loaded symbols for cstrike/addons/amxmodx/modules/regex_amxx_i386.so
Code:
(gdb) bt
#0  0xf56b6026 in CBasePlayer::TraceAttack(entvars_s *, float, Vector, TraceResult *, int) () from cstrike/dlls/cs_i386.so
#1  0xff8bc6dc in ?? ()
#2  0xbeb85a1c in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) print TraceResult
$1 = {void (<anonymous struct> * const)} 0xf5409cd8 <TraceResult>
(gdb) info symbol 0xf5409cd8
TraceResult::TraceResult() in section .text of cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
(gdb) print traceresult
$2 = {cell (AMX *, cell *)} 0xf511633b <traceresult>
(gdb) info symbol 0xf511633b
traceresult(tagAMX*, int*) in section .text of cstrike/addons/amxmodx/modules/engine_amxx_i386.so
Code:
(gdb) print (char*)cmd_args
$3 = 0xf79e0b6b "9"
(gdb) info symbol 0xf79e0b6b
string.367 + 11 in section .bss of engine_i686.so
I've got all amxx ( 1.8.2-dev ) binaries debugged so, just one simple question, does this backtrace mean this is not amxx fault ?
Well there is frame about TraceAttack, but what caused it to crash, is TraceAttack there by mistake ?

Please help.

PS. If this is a wrong section, please move my thread, thanks.

Last edited by XAT; 02-14-2012 at 08:03.
XAT is offline