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 crash unknown error #59

Closed kissad21 closed 6 years ago

kissad21 commented 6 years ago

hi, help me please.

how to find the reason?

[18:33:01] [debug] Server crashed due to an unknown error
[18:33:01] [debug] Native backtrace:
[18:33:01] [debug] #0 f7418180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[18:33:01] [debug] #1 f7410064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[18:33:01] [debug] #2 f7410d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[18:33:01] [debug] #3 f7412cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[18:33:01] [debug] #4 f74174d5 in ?? () from plugins/crashdetect.so
[18:33:01] [debug] #5 f7793410 in ?? ()
[18:33:01] [debug] #6 f7793430 in ?? ()
[18:33:01] [debug] #7 f746f2d7 in gsignal () from /lib/libc.so.6
[18:33:01] [debug] #8 f7470b13 in abort () from /lib/libc.so.6
[18:33:01] [debug] #9 f74ae705 in ?? () from /lib/libc.so.6
[18:33:01] [debug] #10 f74b62fd in ?? () from /lib/libc.so.6
[18:33:01] [debug] #11 f76a7acf in _ZdlPv () from /lib/libstdc++.so.6
[18:33:01] [debug] #12 0806d4af in ?? () from ./samp03svr_az4
[18:33:01] [debug] #13 080aed32 in ?? () from ./samp03svr_az4
[18:33:01] [debug] #14 080aef02 in ?? () from ./samp03svr_az4
[18:33:01] [debug] #15 080aa13a in ?? () from ./samp03svr_az4
[18:33:01] [debug] #16 f745aa43 in __libc_start_main () from /lib/libc.so.6
[18:33:01] [debug] Registers:
[18:33:01] [debug] EAX: 00000000 EBX: 0000698c ECX: 0000698c EDX: 00000006
[18:33:01] [debug] ESI: 00000012 EDI: f75fd000 EBP: fff9f568 ESP: fff9ed94
[18:33:01] [debug] EIP: f7793430 EFLAGS: 00000296
[18:33:01] [debug] Stack:
[18:33:01] [debug] ESP+00000000: fff9f568 00000006 0000698c f746f2d7
[18:33:01] [debug] ESP+00000020: fff9edc4 00000000 f761c2a0 f7442994
[18:33:01] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[18:33:01] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[18:33:01] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[18:33:01] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[18:33:01] [debug] ESP+000000c0: f761c2a0 35343766 33346161 37000000
[18:33:01] [debug] ESP+000000e0: f745a950 f761c290 0000000e f75b71c3
[18:33:01] [debug] ESP+00000100: 00000003 fff9ee66 00000002 f75b7193
[18:33:01] [debug] ESP+00000120: 00000008 f75b946b 00000002 00000003
[18:33:01] [debug] ESP+00000140: 00000012 fff9f150 f74ae705 00000012
[18:33:01] [debug] ESP+00000160: 00000000 00000050 f74b5c65 f75ba814
[18:33:01] [debug] ESP+00000180: 00000003 f75ba884 00000023 f75ba829
[18:33:01] [debug] ESP+000001a0: 00000005 fff9ef44 f74eb082 00000001
[18:33:01] [debug] ESP+000001c0: 00000005 fff9ef70 f75fd000 e0766f68
[18:33:01] [debug] ESP+000001e0: 00000008 fff9ef90 f74eaef2 f74e92b5
[18:33:01] [debug] ESP+00000200: 00000004 fff9efb0 f75fd000 e0766f70
[18:33:01] [debug] ESP+00000220: 00000023 fff9efd0 f7794fb8 00000000
[18:33:01] [debug] ESP+00000240: 00000003 fff9eff0 00000000 fff9f050
[18:33:01] [debug] ESP+00000260: 0000000f fff9f010 00000000 00000902
[18:33:01] [debug] ESP+00000280: 0000000e 00000000 00000230 01c3ddb0
[18:33:01] [debug] ESP+000002a0: fff9f578 fff9f584 0000000c 00000054
[18:33:01] [debug] ESP+000002c0: f74b62fd f76a7acf 0806d4af 080aed32
[18:33:01] [debug] ESP+000002e0: fff9f0a8 00000010 00000001 000019b4
[18:33:01] [debug] ESP+00000300: f34fb318 fff9f0c8 f6292122 00000000
[18:33:01] [debug] ESP+00000320: 00000000 00000000 f33df008 00000200
[18:33:01] [debug] ESP+00000340: f34ff1e4 fff9f2bc f740914a fff9f1f0
[18:33:01] [debug] ESP+00000360: 00000000 0a91dc90 f7412dd7 fff9f204
[18:33:01] [debug] ESP+00000380: 00000005 00000000 00000002 00000000
[18:33:01] [debug] ESP+000003a0: 0a0cafb0 0a0cafb0 00000001 0a0cd1f8
[18:33:01] [debug] ESP+000003c0: 20202020 20202020 7273752f 62696c2f
[18:33:01] [debug] ESP+000003e0: 62363737 2d303030 36373766 30303066
[18:33:01] [debug] Loaded modules:
[18:33:01] [debug] 00000000 - 00187dc3 samp03svr_az4
[18:33:01] [debug] f7795000 - f7795530 
[18:33:01] [debug] f7766000 - f77686ec /lib/libdl.so.2
[18:33:01] [debug] f774b000 - f7764b47 /lib/libpthread.so.0
[18:33:01] [debug] f765f000 - f7750d84 /lib/libstdc++.so.6
[18:33:01] [debug] f761d000 - f765e138 /lib/libm.so.6
[18:33:01] [debug] f7601000 - f761a718 /lib/libgcc_s.so.1
[18:33:01] [debug] f7441000 - f76085f7 /lib/libc.so.6
[18:33:01] [debug] f7772000 - f77945b0 /lib/ld-linux.so.2
[18:33:01] [debug] f73fa000 - f743cac4 plugins/crashdetect.so
[18:33:01] [debug] f71ab000 - f73fa6fe plugins/mysql_static.so
[18:33:01] [debug] f719c000 - f71a2c0c /lib/librt.so.1
[18:33:01] [debug] f6789000 - f679a680 /lib/libnss_files.so.2
[18:33:01] [debug] f6782000 - f6786af0 plugins/dc_cmd.so
[18:33:01] [debug] f635b000 - f640114c plugins/streamer.so
[18:33:01] [debug] f6775000 - f67815fc plugins/sscanf.so
[18:33:01] [debug] f776b000 - f776e654 plugins/TOTP.so
[18:33:01] [debug] f6231000 - f635f461 plugins/pawnraknet.so
[18:33:01] [debug] f6737000 - f673bcb8 /lib/libnss_dns.so.2
[18:33:01] [debug] f671d000 - f6735704 /lib/libresolv.so.2
Zeex commented 6 years ago

I have no idea, sorry. It looks like some bug inside the SA-MP server itself.

_ZdlPv is operator delete(void*), i.e. it crashes while trying to deallocate some memory. My guess is it tries to delete the same pointer twice, hence the error. But I can be wrong.