SA-MP Forums Archive
Problem - "[debug] AMX backtrace:" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem - "[debug] AMX backtrace:" (/showthread.php?tid=606429)



Problem - "[debug] AMX backtrace:" - CoachCarter - 04.05.2016

I changed my host from 100 slot to 1000 slot servers and I reuploaded literally everything, this gamemode seem to work on last host but doesn't work on this one, Can anybody help ?

Код:
[13:41:27] [debug] Server crashed while executing Compile.amx
[13:41:27] [debug] AMX backtrace:
[13:41:27] [debug] #0 native fclose () from samp03svr
[13:41:27] [debug] #1 000cf364 in ?? () from Compile.amx
[13:41:27] [debug] #2 0023242c in public GPD_OnGameModeInit () from Compile.amx
[13:41:27] [debug] #3 native CallLocalFunction () from samp03svr
[13:41:27] [debug] #4 00012030 in public zcmd_OnGameModeInit () from Compile.amx
[13:41:27] [debug] #5 native CallLocalFunction () from samp03svr
[13:41:27] [debug] #6 000119c8 in public SSCANF_OnGameModeInit () from Compile.amx
[13:41:27] [debug] #7 0000c594 in public Itter_OnGameModeInit () from Compile.amx
[13:41:27] [debug] #8 native CallLocalFunction () from samp03svr
[13:41:27] [debug] #9 0000bae0 in public ScriptInit_OnGameModeInit () from Compile.amx
[13:41:27] [debug] #10 0000acc0 in public FIXES_OnGameModeInit () from Compile.amx
[13:41:27] [debug] #11 00003074 in public OnGameModeInit () from Compile.amx
[13:41:27] [debug] Native backtrace:
[13:41:27] [debug] #0 f72f5e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[13:41:27] [debug] #1 f72eebcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[13:41:27] [debug] #2 f72efdbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[13:41:27] [debug] #3 f72f0226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[13:41:27] [debug] #4 f72f5adc in ?? () from plugins/crashdetect.so
[13:41:27] [debug] #5 f7720bc0 in __kernel_rt_sigreturn () from linux-gate.so.1
[13:41:27] [debug] #6 f73889c7 in fclose () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[13:41:27] [debug] #7 0809bd64 in ?? () from ./samp03svr
[13:41:27] [debug] #8 080950e4 in ?? () from ./samp03svr
[13:41:27] [debug] #9 f72f194b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[13:41:27] [debug] #10 f72f48f8 in ?? () from plugins/crashdetect.so
[13:41:27] [debug] #11 f72f8916 in amx_Exec () from plugins/crashdetect.so
[13:41:27] [debug] #12 f72f0be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[13:41:27] [debug] #13 f72f4659 in ?? () from plugins/crashdetect.so
[13:41:27] [debug] #14 f725988a in ?? () from plugins/streamer.so
[13:41:27] [debug] #15 080dfd62 in ?? () from ./samp03svr
[13:41:27] [debug] #16 080950e4 in ?? () from ./samp03svr
[13:41:27] [debug] #17 f72f194b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[13:41:27] [debug] #18 f72f48f8 in ?? () from plugins/crashdetect.so
[13:41:27] [debug] #19 f72f8916 in amx_Exec () from plugins/crashdetect.so
[13:41:27] [debug] #20 f72f0be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[13:41:27] [debug] #21 f72f4659 in ?? () from plugins/crashdetect.so
[13:41:27] [debug] #22 f725988a in ?? () from plugins/streamer.so
[13:41:27] [debug] #23 080dfd62 in ?? () from ./samp03svr
[13:41:27] [debug] #24 080950e4 in ?? () from ./samp03svr
[13:41:27] [debug] #25 f72f194b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[13:41:27] [debug] #26 f72f48f8 in ?? () from plugins/crashdetect.so
[13:41:27] [debug] #27 f72f8916 in amx_Exec () from plugins/crashdetect.so
[13:41:27] [debug] #28 f72f0be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[13:41:27] [debug] #29 f72f4659 in ?? () from plugins/crashdetect.so
[13:41:27] [debug] #30 f725988a in ?? () from plugins/streamer.so
[13:41:27] [debug] #31 080dfd62 in ?? () from ./samp03svr
[13:41:27] [debug] #32 080950e4 in ?? () from ./samp03svr
[13:41:27] [debug] #33 f72f194b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[13:41:27] [debug] #34 f72f48f8 in ?? () from plugins/crashdetect.so
[13:41:27] [debug] #35 f72f8916 in amx_Exec () from plugins/crashdetect.so
[13:41:27] [debug] #36 f72f0be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[13:41:27] [debug] #37 f72f4659 in ?? () from plugins/crashdetect.so
[13:41:27] [debug] #38 f725988a in ?? () from plugins/streamer.so
[13:41:27] [debug] #39 080a503b in ?? () from ./samp03svr
[13:41:27] [debug] #40 080ab922 in ?? () from ./samp03svr
[13:41:27] [debug] #41 080aa0fd in ?? () from ./samp03svr
[13:41:27] [debug] #42 f7341527 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6



Re: Problem - "[debug] AMX backtrace:" - Dayrion - 04.05.2016

Both host were on Linux ? Seems like problems with .so :/
I can't anymore help you :/


Re: Problem - "[debug] AMX backtrace:" - CoachCarter - 04.05.2016

Yeah, both of them were on Linux.


Re: Problem - "[debug] AMX backtrace:" - Konstantinos - 04.05.2016

If an invalid file handle is passed to most of the file functions (fclose as well), the server will crash. You can check if the file handle is not 0 and then use it to the functions.

For more information from crashdetect when reporting, create a file pawn.cfg into pawno folder and write -d3 in it. Re-compile your scripts and restart the server.


Re: Problem - "[debug] AMX backtrace:" - CoachCarter - 04.05.2016

Thanks I fixed it, seems like I uploaded the gamemode wrong. I reinstalled eveything and it's working fine now. Thanks for the help anyways <3. REP+ from me.