Zeex / samp-plugin-crashdetect

Crash/error reporting plugin for SA-MP server
http://forum.sa-mp.com/showthread.php?t=262796
BSD 2-Clause "Simplified" License
116 stars 23 forks source link

Server crashed #85

Closed VinDieseLL closed 1 year ago

VinDieseLL commented 3 years ago

Hi.

My server go down, and i have this in server_log

`[19:55:50] [debug] Server crashed due to an unknown error
[19:55:50] [debug] Native backtrace:
[19:55:50] [debug] #0 f7484e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[19:55:50] [debug] #1 f747dbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[19:55:50] [debug] #2 f747edbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[19:55:50] [debug] #3 f747f226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[19:55:50] [debug] #4 f7484adc in ?? () from plugins/crashdetect.so
[19:55:50] [debug] #5 f779f410 in ?? ()
[19:55:50] [debug] #6 f779f425 in ?? ()
[19:55:50] [debug] #7 f74d2941 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #8 f74d5d72 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #9 f750ee15 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #10 f7518f01 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #11 f751935a in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #12 f751a6e5 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #13 f751d81d in cfree () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #14 f76a54bf in _ZdlPv () from /usr/lib/i386-linux-gnu/libstdc++.so.6
[19:55:50] [debug] #15 080e2239 in ?? () from samp03svr
[19:55:50] [debug] #16 f73ea7a3 in ?? () from plugins/streamer.so
[19:55:50] [debug] #17 f74466a5 in ?? () from plugins/streamer.so
[19:55:50] [debug] #18 f7448b0a in ?? () from plugins/streamer.so
[19:55:50] [debug] #19 f7449127 in ?? () from plugins/streamer.so
[19:55:50] [debug] #20 f7415cc5 in ProcessTick () from plugins/streamer.so
[19:55:50] [debug] #21 080d1ce2 in ?? () from samp03svr
[19:55:50] [debug] #22 080aef6c in ?? () from samp03svr
[19:55:50] [debug] #23 080aa13a in ?? () from samp03svr
[19:55:50] [debug] #24 f74bee46 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #25 0804b4e1 in ?? () from samp03svr`

and this in HOST LOG:

`*** glibc detected *** /home/gsp_834/IP-7777/samp03svr: corrupted double-linked list: 0x08699280 ***
======= Backtrace: =========
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x70f01)[0xf74a0f01]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x7135a)[0xf74a135a]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x73475)[0xf74a3475]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0xf74a58ec]
/usr/lib/i386-linux-gnu/libstdc++.so.6(_Znwj+0x25)[0xf762f7b5]
/home/gsp_834/IP-7777/samp03svr[0x80e191f]
plugins/streamer.so(sampgdk_CreatePlayerObject+0xcb)[0xf73b0dbb]
plugins/streamer.so(_ZN8Streamer14processObjectsER6PlayerRKSt6vectorIN5boost13intrusive_ptrI4CellEESaIS6_EE+0x596)[0xf74087d6]
plugins/streamer.so(_ZN8Streamer19performPlayerUpdateER6Playerb+0x3b7)[0xf740c197]
plugins/streamer.so(_ZN8Streamer20startAutomaticUpdateEv+0xca)[0xf740c88a]
plugins/streamer.so(ProcessTick+0x25)[0xf73d5415]
/home/gsp_834/IP-7777/samp03svr[0x80d1ce2]
/home/gsp_834/IP-7777/samp03svr[0x80aef6c]
/home/gsp_834/IP-7777/samp03svr[0x80aa13a]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xf7446e46]
/home/gsp_834/IP-7777/samp03svr[0x804b4e1]
======= Memory map: ========
08048000-08095000 r-xp 00000000 08:02 17563731 /home/gsp_834/IP-7777/samp03svr
08095000-08097000 rwxp 0004d000 08:02 17563731 /home/gsp_834/IP-7777/samp03svr
08097000-08180000 r-xp 0004f000 08:02 17563731 /home/gsp_834/IP-7777/samp03svr
08180000-081a2000 rw-p 00138000 08:02 17563731 /home/gsp_834/IP-7777/samp03svr
081a2000-081cd000 rw-p 00000000 00:00 0
08674000-08676000 rw-p 00000000 00:00 0 [heap]
08676000-08677000 rwxp 00000000 00:00 0 [heap]
08677000-09491000 rw-p 00000000 00:00 0 [heap]
f4f00000-f4f21000 rw-p 00000000 00:00 0
f4f21000-f5000000 ---p 00000000 00:00 0
f5100000-f5300000 rw-p 00000000 00:00 0
f5300000-f53fa000 rw-p 00000000 00:00 0
f53fa000-f5400000 ---p 00000000 00:00 0
f5400000-f5500000 rw-p 00000000 00:00 0
f5500000-f55e0000 rw-p 00000000 00:00 0
f55e0000-f5600000 ---p 00000000 00:00 0
f5600000-f5700000 rw-p 00000000 00:00 0
f5700000-f57fa000 rw-p 00000000 00:00 0
f57fa000-f5800000 ---p 00000000 00:00 0
f5800000-f5900000 rw-p 00000000 00:00 0
f5900000-f5b00000 rw-p 00000000 00:00 0
f5b00000-f5c00000 rw-p 00000000 00:00 0
f5ceb000-f6acf000 rw-p 00000000 00:00 0
f6acf000-f6ad0000 ---p 00000000 00:00 0
f6ad0000-f72d0000 rw-p 00000000 00:00 0
f72d0000-f72da000 r-xp 00000000 08:02 2494078 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
f72da000-f72db000 r--p 00009000 08:02 2494078 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
f72db000-f72dc000 rw-p 0000a000 08:02 2494078 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
f72f3000-f7368000 rw-p 00000000 00:00 0
f7368000-f7377000 r-xp 00000000 08:02 17563788 /home/gsp_834/IP-7777/plugins/sscanf.so
f7377000-f7378000 rw-p 0000e000 08:02 17563788 /home/gsp_834/IP-7777/plugins/sscanf.so
f7378000-f737f000 r-xp 00000000 08:02 2494079 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so
f737f000-f7380000 r--p 00006000 08:02 2494079 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so
f7380000-f7381000 rw-p 00007000 08:02 2494079 /lib/i386-linux-gnu/i686/cmov/librt-2.13.so
f7388000-f742c000 r-xp 00000000 08:02 17563790 /home/gsp_834/IP-7777/plugins/streamer.so
f742c000-f742e000 rw-p 000a3000 08:02 17563790 /home/gsp_834/IP-7777/plugins/streamer.so
f7430000-f758c000 r-xp 00000000 08:02 2494084 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f758c000-f758d000 ---p 0015c000 08:02 2494084 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f758d000-f758f000 r--p 0015c000 08:02 2494084 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f758f000-f7590000 rw-p 0015e000 08:02 2494084 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
f7590000-f7593000 rw-p 00000000 00:00 0
f7598000-f75b4000 r-xp 00000000 08:02 2493965 /lib/i386-linux-gnu/libgcc_s.so.1
f75b4000-f75b5000 rw-p 0001b000 08:02 2493965 /lib/i386-linux-gnu/libgcc_s.so.1
f75b8000-f75dc000 r-xp 00000000 08:02 2494081 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so
f75dc000-f75dd000 r--p 00023000 08:02 2494081 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so
f75dd000-f75de000 rw-p 00024000 08:02 2494081 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so
f75e0000-f76c0000 r-xp 00000000 08:02 11671395 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17
f76c0000-f76c4000 r--p 000e0000 08:02 11671395 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17
f76c4000-f76c5000 rw-p 000e4000 08:02 11671395 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17
f76c5000-f76cc000 rw-p 00000000 00:00 0
f76d0000-f76e5000 r-xp 00000000 08:02 2494074 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
f76e5000-f76e6000 r--p 00014000 08:02 2494074 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
f76e6000-f76e7000 rw-p 00015000 08:02 2494074 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
f76e7000-f76e9000 rw-p 00000000 00:00 0
f76f0000-f76f2000 r-xp 00000000 08:02 2494077 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
f76f2000-f76f3000 r--p 00001000 08:02 2494077 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
f76f3000-f76f4000 rw-p 00002000 08:02 2494077 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
f7700000-f7702000 r-xp 00000000 08:02 17593451 /home/gsp_834/IP-7777/plugins/nativechecker.so
f7702000-f7703000 r--p 00001000 08:02 17593451 /home/gsp_834/IP-7777/plugins/nativechecker.so
f7703000-f7704000 rw-p 00002000 08:02 17593451 /home/gsp_834/IP-7777/plugins/nativechecker.so
f7704000-f7708000 rw-p 00000000 00:00 0
f7708000-f7724000 r-xp 00000000 08:02 2493984 /lib/i386-linux-gnu/ld-2.13.so
f7724000-f7725000 r--p 0001b000 08:02 2493984 /lib/i386-linux-gnu/ld-2.13.so
f7725000-f7726000 rw-p 0001c000 08:02 2493984 /lib/i386-linux-gnu/ld-2.13.so
f7726000-f772a000 rw-p 00000000 00:00 0
f772a000-f772b000 r-xp 00000000 00:00 0 [vdso]
ff89a000-ff8bb000 rw-p 00000000 00:00 0 [stack]
/usr/local/games/samp-run.v2.sh: line 116: 3456 Aborted $WORKINGDIR/samp03svr
[Tue Dec 26 22:59:51 EEST 2016] SERVICE CRASH, waiting 10 seconds
[Tue Dec 26 23:00:01 EEST 2016] SERVICE STARTUP (2/15)

Started server on IP:7777, with maxplayers: 150 lanmode is OFF.

/usr/local/games/samp-run.v2.sh: line 116: 4565 Segmentation fault $WORKINGDIR/samp03svr
[Tue Dec 2623:21:20 EEST 2016] SERVICE CRASH, waiting 10 seconds
[Tue Dec 2623:21:31 EEST 2016] SERVICE STARTUP (3/15)

Started server on IP:7777, with maxplayers: 150 lanmode is OFF.`

In that time i used streamer 2.9.1 and crashdetect 4.18.1

The server does not crash at a specific time, but randomly.

It crashes when there are many players, it crashes when nothing happens on the server, other times it crashes, it returns and several players connect to the server and it crashes and so on.

that's an example:

[Tue Dec 26 22:59:51 EEST 2016] SERVICE CRASH, waiting 10 seconds
[Tue Dec 26 23:00:01 EEST 2016] SERVICE STARTUP (2/15)

Started server on IP:7777, with maxplayers: 150 lanmode is OFF.

/usr/local/games/samp-run.v2.sh: line 116: 4565 Segmentation fault $WORKINGDIR/samp03svr
[Tue Dec 2623:21:20 EEST 2016] SERVICE CRASH, waiting 10 seconds
[Tue Dec 2623:21:31 EEST 2016] SERVICE STARTUP (3/15)

Started server on IP:7777, with maxplayers: 150 lanmode is OFF.`

@Zeex @Y-Less @Southclaws @samp-incognito @karimcambridge

i use: foreach, sscanf, streamer, crashdetect.

Y-Less commented 3 years ago

That is not a bug in crashdetect.

VinDieseLL commented 3 years ago

That is not a bug in crashdetect.

but in what?

Y-Less commented 3 years ago

Don't know. But this is for reporting bugs in crashdetect itself, not for reporting bugs you found using crashdetect.