[19:49:51] [debug] AMX backtrace: [19:49:51] [debug] #0 0000006f in Debug_Print0 (... <25 variable arguments>) at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\ V3 [0.3.7]\Windows\TTTTTTTTTTTTTTTTTTTTT\pawno\include\float.inc:108 [19:49:51] [debug] #1 0000006f in Debug_Print0 () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\ V3 [0.3.7]\Windows\TTTTTTTTTTTTTTTTTTTTT\pawno\include\float.inc:108 [19:49:51] [debug] #2 native CallLocalFunction () [080dfac0] from samp03svr [19:49:51] [debug] #3 0000b338 in public zcmd_OnGameModeInit () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\V3 [0.3.7]\Windows\TTTTTTTTTTTTTTTTTTTTT\pawno\include\audio.inc:119 [19:49:51] [debug] #4 native CallLocalFunction () [080dfac0] from samp03svr [19:49:51] [debug] #5 0000ab20 in public SSCANF_OnGameModeInit () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\ V3 [0.3.7]\Windows\TTTTTTTTTTTTTTTTTTTTT\pawno\include\zcmd.inc:68 [19:49:51] [debug] #6 native CallLocalFunction () [080dfac0] from samp03svr [19:49:51] [debug] #7 00004118 in public Itter_OnGameModeInit () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\ V3 [0.3.7]\Windows\TTTTTTTTTTTTTTTTTTTTT\pawno\include\sscanf2.inc:84 [19:49:51] [debug] #8 native CallLocalFunction () [080dfac0] from samp03svr [19:49:51] [debug] #9 000031e4 in public ScriptInit_OnGameModeInit () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\V3 [0.3.7]\Windows\TTTTTTTTTTTTTTTTTTTTT\pawno\include\YSI\y_iterate.inc:791 [19:49:51] [debug] #10 00001e60 in Debug_Print0 () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\V3 [0.3.7]\Windows\TTTTTTTTTTTTTTTTTTTTT\pawno\include\YSI\internal\..\y_scriptinit.inc:171 [19:49:51] [debug] System backtrace:
if (funcidx("zcmd_OnGameModeInit") != -1)
{
68: return CallLocalFunction("zcmd_OnGameModeInit", "");
}
if (funcidx("Audio_OnGameModeInit") != -1)
{
119: return CallLocalFunction("Audio_OnGameModeInit", "");
}
stock Float:operator-(Float:oper)
|
Update both crashdetect plugin and YSI because Debug_Print0 is an old bug that was fixed in later versions.
|
[21:37:15] [debug] AMX backtrace: [21:37:15] [debug] #0 0000006f in ?? (101, 45, 108, 105, 115, 116, 46, 0, 0, 0, ... <15 arguments>) from royal.amx [21:37:15] [debug] #1 0000006f in public Audio_OnGameModeInit () from royal.amx [21:37:15] [debug] #2 native CallLocalFunction () from samp03svr [21:37:15] [debug] #3 00008af4 in public zcmd_OnGameModeInit () from royal.amx [21:37:15] [debug] #4 native CallLocalFunction () from samp03svr [21:37:15] [debug] #5 00008434 in public SSCANF_OnGameModeInit () from royal.amx [21:37:15] [debug] #6 native CallLocalFunction () from samp03svr [21:37:15] [debug] #7 00002710 in public Itter_OnGameModeInit () from royal.amx [21:37:15] [debug] #8 native CallLocalFunction () from samp03svr [21:37:15] [debug] #9 00001b3c in public OnGameModeInit () from royal.amx
|
This is a bit more informative now as it is a function in OnGameModeInit (in royal.pwn) with 15 arguments. Two questions though:
1) Did it report a run time error above "[debug] AMX backtrace:"? 2) Did you remove the debug info? Create pawn.cfg file in pawno folder and re-compile the script. Re-run the server and post once again the server log so we can get the exact line. |
[22:00:55] [debug] Server crashed while executing royal.amx [22:00:55] [debug] AMX backtrace: [22:00:55] [debug] #0 0000006f in ?? (... <25 arguments>) at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\Linux\pawno\include\float.inc:112 [22:00:55] [debug] #1 0000006f in public Audio_OnGameModeInit () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\Linux\pawno\include\float.inc:112 [22:00:55] [debug] #2 native CallLocalFunction () from samp03svr [22:00:55] [debug] #3 0000a1a8 in public zcmd_OnGameModeInit () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\Linux\pawno\include\audio.inc:119 [22:00:55] [debug] #4 native CallLocalFunction () from samp03svr [22:00:55] [debug] #5 00009990 in public SSCANF_OnGameModeInit () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\Linux\pawno\include\zcmd.inc:68 [22:00:55] [debug] #6 native CallLocalFunction () from samp03svr [22:00:55] [debug] #7 00002f88 in public Itter_OnGameModeInit () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\Linux\pawno\include\sscanf2.inc:84 [22:00:55] [debug] #8 native CallLocalFunction () from samp03svr [22:00:55] [debug] #9 000020a4 in public OnGameModeInit () at D:\Gta San Andreas\SA-MP\SERVERE DE SAMP\Linux\pawno\include\Foreach.inc:687
|
It still fails to report accurately what causes the crash. After searching for a while I found an interesting "issue" in github (for crashdetect): https://github.com/Zeex/samp-plugin-...tect/issues/32
The reason was valstr which is a known issue that crashes when it is a very high number. In case you use it anywhere in the script, either replace with format or use a fix for it: https://github.com/Open-GTO/sa-mp-fi...ixes.inc#L7418 Another interesting thing is that if a script has many many lines, crashdetect fails to report and there was a special version for such cases: https://github.com/Zeex/samp-plugin-...ag/v4.13.1-lse |
[22:28:23] [debug] Server crashed while executing royal.amx [22:28:23] [debug] AMX backtrace: [22:28:23] [debug] #0 0000006f in ?? (0x00000065, 0x0000002d, 0x0000006c, 0x00000069, 0x00000073, 0x00000074, 0x0000002e, 0x00000000, 0x00000000, 0x00000000, ... <15 arguments>) from royal.amx [22:28:23] [debug] #1 0000006f in public Audio_OnGameModeInit () from royal.amx [22:28:23] [debug] #2 native CallLocalFunction () [080dfac0] from samp03svr [22:28:23] [debug] #3 0000a1a8 in public zcmd_OnGameModeInit () from royal.amx [22:28:23] [debug] #4 native CallLocalFunction () [080dfac0] from samp03svr [22:28:23] [debug] #5 00009990 in public SSCANF_OnGameModeInit () from royal.amx [22:28:23] [debug] #6 native CallLocalFunction () [080dfac0] from samp03svr [22:28:23] [debug] #7 00002f88 in public Itter_OnGameModeInit () from royal.amx [22:28:23] [debug] #8 native CallLocalFunction () [080dfac0] from samp03svr [22:28:23] [debug] #9 000020a4 in public OnGameModeInit () from royal.amx