OnPlayerKeyStateChange -> Kick() -> crash
#1

So, because of the GetPlayerWeapon() bug I am in need of relatively frequent kicking within OnPlayerKeyStateChange. Ever since I added it, this happens:
Code:
[17:53:27] [part] Ben_Berthner has left the server (46:2)
[17:53:27] [debug] Server crashed due to an unknown error
[17:53:27] [debug] System backtrace:
[17:53:27] [debug] #0 f69710f3 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[17:53:27] [debug] #1 f6968b61 in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[17:53:27] [debug] #2 f696b441 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
[17:53:27] [debug] #3 f6970c42 in ?? () from plugins/crashdetect.so
[17:53:27] [debug] #4 f76f2400 in ?? ()
[17:53:27] [debug] #5 080c0e65 in ?? () from samp03svr
[17:53:27] [debug] #6 080c1242 in ?? () from samp03svr
[17:53:27] [debug] #7 080b5202 in ?? () from samp03svr
[17:53:27] [debug] #8 080b56b8 in ?? () from samp03svr
[17:53:27] [debug] #9 080b5732 in ?? () from samp03svr
[17:53:27] [debug] #10 080b1043 in ?? () from samp03svr
[17:53:27] [debug] #11 f74230f3 in __libc_start_main () from /lib32/libc.so.6
[17:53:27] [debug] #12 0804b521 in ?? () from samp03svr
Code:
[18:57:10] [part] Patrick_Alvino has left the server (199:2)
[18:57:10] [debug] Server crashed due to an unknown error
[18:57:10] [debug] System backtrace:
[18:57:10] [debug] #0 f6a430f3 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[18:57:10] [debug] #1 f6a3ab61 in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[18:57:10] [debug] #2 f6a3d441 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
[18:57:10] [debug] #3 f6a42c42 in ?? () from plugins/crashdetect.so
[18:57:10] [debug] #4 f77c4400 in ?? ()
[18:57:10] [debug] #5 0809d8b5 in ?? () from samp03svr
[18:57:10] [debug] #6 0809dfd2 in ?? () from samp03svr
[18:57:10] [debug] #7 0807d60c in ?? () from samp03svr
[18:57:10] [debug] #8 0807d7e6 in ?? () from samp03svr
[18:57:10] [debug] #9 0807d962 in ?? () from samp03svr
[18:57:10] [debug] #10 08077c23 in ?? () from samp03svr
[18:57:10] [debug] #11 f74f50f3 in __libc_start_main () from /lib32/libc.so.6
[18:57:10] [debug] #12 0804b4c1 in __gxx_personality_v0 () from samp03svr
Code:
[17:43:01] [part] Sonny_Acosta has left the server (311:2)
[17:43:01] [debug] Server crashed due to an unknown error
[17:43:01] [debug] System backtrace:
[17:43:01] [debug] #0 f6a590f3 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[17:43:01] [debug] #1 f6a50b61 in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[17:43:01] [debug] #2 f6a53441 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
[17:43:01] [debug] #3 f6a58c42 in ?? () from plugins/crashdetect.so
[17:43:01] [debug] #4 f77da400 in ?? ()
[17:43:01] [debug] #5 0809d8b5 in ?? () from samp03svr
[17:43:01] [debug] #6 0809dfd2 in ?? () from samp03svr
[17:43:01] [debug] #7 0807d60c in ?? () from samp03svr
[17:43:01] [debug] #8 0807d7e6 in ?? () from samp03svr
[17:43:01] [debug] #9 0807d962 in ?? () from samp03svr
[17:43:01] [debug] #10 08077c23 in ?? () from samp03svr
[17:43:01] [debug] #11 f750b0f3 in __libc_start_main () from /lib32/libc.so.6
[17:43:01] [debug] #12 0804b4c1 in __gxx_personality_v0 () from samp03svr
Please let me know should you need more details.
Reply
#2

Sometimes when I try to ban/kick players by entering the command in the console, it will crash instantly. It also crash when I open a custom chat log, when the server is running, with notepad++. Even copying that file to open doesn't work. I have to copy the SA-MP's default chat log to watch it.

I think these are similar weird crashes as yours.
Reply
#3

Does this always happen or only when Crashdetect is running? Crashdetect still has it's bugs. It crashes for me when I try to load filterscripts in console.
Reply
#4

Quote:
Originally Posted by Basssiiie
View Post
Does this always happen or only when Crashdetect is running? Crashdetect still has it's bugs. It crashes for me when I try to load filterscripts in console.
I'm the same as you. When I try to reload the same filterscript for several times in console, it crashes. Maybe I'll try to remove the plugin when it's not needed. Maybe only use it when my script have a large update.
Reply
#5

i have this problem too

Code:
[11/07/2014 20:12:14] [part] Jubby has left the server (22:2)
[11/07/2014 20:12:14] [debug] Server crashed due to an unknown error
[11/07/2014 20:12:14] [debug] Native backtrace:
[11/07/2014 20:12:14] [debug] #0 00e1509b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[11/07/2014 20:12:14] [debug] #1 00e102d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[11/07/2014 20:12:14] [debug] #2 00e10ebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[11/07/2014 20:12:14] [debug] #3 00e11366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[11/07/2014 20:12:14] [debug] #4 00e14cec in ?? () from plugins/crashdetect.so
[11/07/2014 20:12:14] [debug] #5 00ec8410 in ?? ()
[11/07/2014 20:12:14] [debug] #6 00ec8430 in ?? ()
[11/07/2014 20:12:14] [debug] #7 00350b11 in gsignal () from /lib/libc.so.6
[11/07/2014 20:12:14] [debug] #8 003523ea in abort () from /lib/libc.so.6
[11/07/2014 20:12:14] [debug] #9 003909d5 in ?? () from /lib/libc.so.6
[11/07/2014 20:12:14] [debug] #10 00396e31 in ?? () from /lib/libc.so.6
[11/07/2014 20:12:14] [debug] #11 00d7fdf2 in _ZdlPv () from /usr/lib/libstdc++.so.6
[11/07/2014 20:12:14] [debug] #12 00d7fe4e in _ZdaPv () from /usr/lib/libstdc++.so.6
[11/07/2014 20:12:14] [debug] #13 0807fdc7 in ?? () from ./samp03svr
[11/07/2014 20:12:14] [debug] #14 0808000d in ?? () from ./samp03svr
[11/07/2014 20:12:14] [debug] #15 08074afa in ?? () from ./samp03svr
[11/07/2014 20:12:14] [debug] #16 0807632e in ?? () from ./samp03svr
[11/07/2014 20:12:14] [debug] #17 00939a49 in ?? () from /lib/libpthread.so.0
[11/07/2014 20:12:14] [debug] #18 00408aee in clone () from /lib/libc.so.6
how to fix?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)