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

Crashdetect giving weird errors #32

Closed Spicy-Chili closed 10 years ago

Spicy-Chili commented 10 years ago

So I'm just totally lost with these crashdetect errors. I'm not sure if it's an issue with the plugin but the errors are not helpful at all when it comes to knowing what the problem is and fixing it. I'm creating an issue here in an attempt to see if it's crashdetect or maybe simply how we are using the plugin.

[06/11/2014 11:44:48] [debug] Server crashed while executing VortexRoleplay.amx
[06/11/2014 11:44:48] [debug] AMX backtrace:
[06/11/2014 11:44:48] [debug] #0 00000030 in ?? (... <12 arguments>) at C:\Program Files (x86)\pawno\include\float.inc:108
[06/11/2014 11:44:48] [debug] #1 00000030 in public cmd_accept () at C:\Program Files (x86)\pawno\include\float.inc:108
[06/11/2014 11:44:48] [debug] #2 native CallLocalFunction () [080dc700] from samp03svr
[06/11/2014 11:44:48] [debug] #3 0001f018 in public OnPlayerCommandText (playerid=16, cmdtext[]=@0x0471661c "/accept vehicle") at C:\Program Files (x86)\pawno\include\zcmd.inc:110
[06/11/2014 11:44:48] [debug] Native backtrace:
[06/11/2014 11:44:48] [debug] #0 f739909b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #1 f73942d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #2 f7394ebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #3 f7395366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #4 f7398cec in ?? () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #5 f7775410 in ?? ()
[06/11/2014 11:44:48] [debug] #6 f00fdc78 in ?? () from `¨s÷^H¦s÷|ø^S^O|ø^S^O}ø^S^O|ø^S^O-ú^S^O|ú^S^OôÙs÷^X
[06/11/2014 11:44:48] [debug] #7 f7394218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #8 f7397aa9 in ?? () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #9 080dc9a2 in ?? () from ./samp03svr
[06/11/2014 11:44:48] [debug] #10 08093f54 in ?? () from ./samp03svr
[06/11/2014 11:44:48] [debug] #11 f7391b9c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #12 f7397d38 in ?? () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #13 f739e1f8 in amx_Exec () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #14 f7394218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #15 f7397aa9 in ?? () from plugins/crashdetect.so
[06/11/2014 11:44:48] [debug] #16 080a3f62 in ?? () from ./samp03svr
[06/11/2014 11:44:48] [debug] #17 080af9c1 in ?? () from ./samp03svr
[06/11/2014 11:44:48] [debug] #18 08071af8 in ?? () from ./samp03svr
[06/11/2014 11:44:48] [debug] #19 08071bf2 in ?? () from ./samp03svr
[06/11/2014 11:44:48] [debug] #20 0807bab0 in ?? () from ./samp03svr
[06/11/2014 11:44:48] [debug] #21 080ad09d in ?? () from ./samp03svr
[06/11/2014 11:44:48] [debug] #22 080ad242 in ?? () from ./samp03svr
[06/11/2014 11:44:48] [debug] #23 080a85ce in ?? () from ./samp03svr
[06/11/2014 11:44:48] [debug] #24 f74844d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
[06/11/2014 13:02:22] [debug] Server crashed while executing VortexRoleplay.amx
[06/11/2014 13:02:22] [debug] AMX backtrace:
[06/11/2014 13:02:22] [debug] #0 00000030 in ?? (... <13 arguments>) at C:\Program Files (x86)\pawno\include\float.inc:108
[06/11/2014 13:02:22] [debug] #1 00000030 in public OnPlayerDisconnect () at C:\Program Files (x86)\pawno\include\float.inc:108
[06/11/2014 13:02:22] [debug] Native backtrace:
[06/11/2014 13:02:22] [debug] #0 f73c509b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[06/11/2014 13:02:22] [debug] #1 f73c02d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[06/11/2014 13:02:22] [debug] #2 f73c0ebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[06/11/2014 13:02:22] [debug] #3 f73c1366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[06/11/2014 13:02:22] [debug] #4 f73c4cec in ?? () from plugins/crashdetect.so
[06/11/2014 13:02:22] [debug] #5 f77a1410 in ?? ()
[06/11/2014 13:02:22] [debug] #6 ea19fc78 in ?? () from `hv÷^Hfv÷$%õ
[06/11/2014 13:02:22] [debug] $%õ
[06/11/2014 13:02:22] [debug] %%õ
[06/11/2014 13:02:22] [debug] $%õ
[06/11/2014 13:02:22] [debug] Õ&õ
[06/11/2014 13:02:22] [debug] $'õ
[06/11/2014 13:02:22] [debug] ô<99>v÷^X
[06/11/2014 13:02:22] [debug] #7 f73c0218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[06/11/2014 13:02:22] [debug] #8 f73c3aa9 in ?? () from plugins/crashdetect.so
[06/11/2014 13:02:22] [debug] #9 080a3b6a in ?? () from ./samp03svr
[06/11/2014 13:02:22] [debug] #10 080ce111 in ?? () from ./samp03svr
[06/11/2014 13:02:22] [debug] #11 080ab934 in ?? () from ./samp03svr
[06/11/2014 13:02:22] [debug] #12 080ad189 in ?? () from ./samp03svr
[06/11/2014 13:02:22] [debug] #13 080ad242 in ?? () from ./samp03svr
[06/11/2014 13:02:22] [debug] #14 080a85ce in ?? () from ./samp03svr
[06/11/2014 13:02:22] [debug] #15 f74b04d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
[06/11/2014 18:02:46] [debug] Server crashed while executing VortexRoleplay.amx
[06/11/2014 18:02:46] [debug] AMX backtrace:
[06/11/2014 18:02:46] [debug] #0 00000039 in ?? (... <13 arguments>) at C:\Program Files (x86)\pawno\include\float.inc:108
[06/11/2014 18:02:46] [debug] #1 00000039 in public OneSecondPublicPlayer@_yT () at C:\Program Files (x86)\pawno\include\float.inc:108

The weird thing is the server was fine for a while after the last script update. Hopefully you understand these crash errors better than I can or can steer me in the right direction for how to get more informative debug info.

Zeex commented 10 years ago

Can you check if using these changes anything?

https://github.com/Zeex/samp-plugin-crashdetect/releases/tag/v4.13.1-lse https://github.com/Zeex/pawn/releases/tag/binaries-20140427-lse

Spicy-Chili commented 10 years ago

Doesn't look like it.

[06/12/2014 17:53:16] [debug] Server crashed while executing VortexRoleplay.amx
[06/12/2014 17:53:16] [debug] AMX backtrace:
[06/12/2014 17:53:16] [debug] #0 00000037 in ?? (... <12 arguments>) at C:\Program Files (x86)\pawno\include\float.inc:108
[06/12/2014 17:53:16] [debug] #1 00000037 in public OneSecondPublicPlayer@_yT () at C:\Program Files (x86)\pawno\include\float.inc:108
Spicy-Chili commented 10 years ago

We eventually found the bug causing the crash using crashdetect, debugging, and using YSI debug mode. If it helps you find out why crashdetect won't report the crash properly the cause of the crash is valstr with numbers larger than 1,410,065,408. This bug has been documented here: https://github.com/Y-Less/YSI/issues/43

Thanks for the help you were able to provide!

glsouza commented 2 years ago

não estou conseguindo resolver isso . alguém Screenshot_275 poderia me ajudar