Server crashes when joining
#1

Hello, when a player ID 1 connects to the server, so crashes, there is a part of the Debug server log, you do not know what it may be?

Код:
[16:12:30] [debug] Server crashed while executing Roleplay.amx
[16:12:30] [debug] AMX backtrace:
[16:12:30] [debug] #0 00000010 in ?? (1, 31952760, 31952240) from Roleplay.amx
[16:12:30] [debug] #1 0000d498 in ?? (31938104, 31795160, 0, 1, 1, 1, 0, 1, 31938100) from Roleplay.amx
[16:12:30] [debug] #2 00255d14 in ?? (1) from Roleplay.amx
[16:12:30] [debug] #3 0002ad18 in public Itter_OnPlayerConnect (1) from Roleplay.amx
[16:12:30] [debug] #4 0001854c in public Streamer_OnPlayerConnect (1) from Roleplay.amx
[16:12:30] [debug] #5 native CallLocalFunction () from samp03svr
[16:12:30] [debug] #6 00017db8 in public SSCANF_OnPlayerConnect (1) from Roleplay.amx
[16:12:30] [debug] #7 00011db0 in ?? (1) from Roleplay.amx
[16:12:30] [debug] #8 000057bc in public OnPlayerConnect (1) from Roleplay.amx
[16:12:30] [debug] Native backtrace:
[16:12:30] [debug] #0 b7bf9e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[16:12:30] [debug] #1 b7bf2bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[16:12:30] [debug] #2 b7bf3dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[16:12:30] [debug] #3 b7bf4226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[16:12:30] [debug] #4 b7bf9adc in ?? () from plugins/crashdetect.so
[16:12:30] [debug] #5 b7fa08e0 in ?? () from /lib32/libpthread.so.0
[16:12:30] [debug] #6 b7fbb832 in ?? () from /lib/ld-linux.so.2
[16:12:30] [debug] #7 b7d3ee92 in abort () from /lib32/libc.so.6
[16:12:30] [debug] #8 b7d72ae5 in ?? () from /lib32/libc.so.6
[16:12:30] [debug] #9 b7d7cbe1 in ?? () from /lib32/libc.so.6
[16:12:30] [debug] #10 b7d7e458 in ?? () from /lib32/libc.so.6
[16:12:30] [debug] #11 b7d8153d in cfree () from /lib32/libc.so.6
[16:12:30] [debug] #12 080d3697 in ?? () from ./samp03svr
[16:12:30] [debug] #13 0808ebdb in ?? () from ./samp03svr
[16:12:30] [debug] #14 08074846 in ?? () from ./samp03svr
[16:12:30] [debug] #15 080763fe in ?? () from ./samp03svr
[16:12:30] [debug] #16 b7f97955 in ?? () from /lib32/libpthread.so.0
[16:12:30] [debug] #17 b7ddf2ae in clone () from /lib32/libc.so.6
Reply
#2

show your onplayerconnect
Reply
#3

Problem on public OnPlayerConnect.
Reply
#4

Post OnPlayerConnect Code
Reply
#5

Before posting any code, compile the script with debug info: https://github.com/Zeex/samp-plugin-...ith-debug-info
make sure you got the latest version of crashdetect plugin which is 4.15.1

Try to reproduce it and if it happens again, post the logs. It will print more information such as lines and functions' name.

From what I see now, a function inside a function inside a function inside OnPlayerConnect crashed the server, not very informative, is it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)