SA-MP Forums Archive
Server crashing! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server crashing! (/showthread.php?tid=650087)



Server crashing! - DeksoN - 20.02.2018

Hello guys,
i'm having trouble with my server it keeps crashing, i tried everything, updated all plugins & includes to latest versions, update a_samp and other include sto latest versions, optimized script, but still nothing.

Here is Log file from CRASHDETECT plugin ->
Код HTML:
[12:12:47] [debug] Server crashed while executing TFKTDM.amx
[12:12:47] [debug] AMX backtrace:
[12:12:47] [debug] #0 native SendClientMessageToAll () from samp03svr
[12:12:47] [debug] #1 001943cc in public xReactionTest () from TFKTDM.amx
[12:12:47] [debug] Native backtrace:
[12:12:47] [debug] #0 b7356180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[12:12:47] [debug] #1 b734e064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[12:12:47] [debug] #2 b734ed64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[12:12:47] [debug] #3 b7350cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[12:12:47] [debug] #4 b73554d5 in ?? () from plugins/crashdetect.so
[12:12:47] [debug] #5 b778a600 in ?? ()
[12:12:47] [debug] #6 b7477c2c in _IO_vfprintf () from /lib32/libc.so.6
[12:12:47] [debug] #7 b7495792 in vsprintf () from /lib32/libc.so.6
[12:12:47] [debug] #8 080add67 in ?? () from ./samp03svr
[12:12:47] [debug] #9 080d9e51 in ?? () from ./samp03svr
[12:12:47] [debug] #10 080950e4 in ?? () from ./samp03svr
[12:12:47] [debug] #11 b734fad3 in _ZN11CrashDetect17HandleAMXCallbackEiPiS0_ () from plugins/crashdetect.so
[12:12:47] [debug] #12 0000037e in ?? () from *ir·Hgr·”®Ш	”®Ш	•°Ш	”®Ш	№±Ш	”ІШ	”сr·
[12:12:47] [debug] Registers:
[12:12:47] [debug] EAX: 00000000 EBX: b75da000 ECX: ffffffff EDX: 00000053
[12:12:47] [debug] ESI: bfa554b0 EDI: 00000033 EBP: bfa55488 ESP: bfa54f70
[12:12:47] [debug] EIP: b7477c2c EFLAGS: 00010246
[12:12:47] [debug] Stack:
[12:12:47] [debug] ESP+00000000: bfa554b0 bfa55ae0 00000013 b7473474
[12:12:47] [debug] ESP+00000020: 00000100 00000000 00000000 00000000
[12:12:47] [debug] ESP+00000040: 00000000 00000000 00000000 bfa55000
[12:12:47] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[12:12:47] [debug] ESP+00000080: ffffffff 00000000 bfa548f0 00000000
[12:12:47] [debug] ESP+000000a0: 00200002 00000033 bfa55ae0 0000005e
[12:12:47] [debug] ESP+000000c0: 00000002 bfa55af3 00000000 00000013
[12:12:47] [debug] ESP+000000e0: bfa55058 bfa55b1e bfa55aec 725020ab
[12:12:47] [debug] ESP+00000100: bfa550a0 ffffffff 00000000 39000067
[12:12:47] [debug] ESP+00000120: 00001c38 b2cad008 bfa550c8 b7347408
[12:12:47] [debug] ESP+00000140: bfa551c0 00000000 b4c794e0 b737aff4
[12:12:47] [debug] ESP+00000160: bfa551d4 b737b660 bfa552bc b35cfe78
[12:12:47] [debug] ESP+00000180: 09631688 b7788d20 bfa55188 b7553528
[12:12:47] [debug] ESP+000001a0: 00000000 00000008 b35cfa78 b2cad008
[12:12:47] [debug] ESP+000001c0: 097cc520 b35cfa6c 09631688 b74a0222
[12:12:47] [debug] ESP+000001e0: b737aff4 00000000 b7472c8d b75da000
[12:12:47] [debug] ESP+00000200: bfa556b0 0815aaf4 00000001 00000000
[12:12:47] [debug] ESP+00000220: 00000000 00000002 00000000 00000002
[12:12:47] [debug] ESP+00000240: bfa55260 b7789000 00000000 b734f5a4
[12:12:47] [debug] ESP+00000260: 00000000 00000000 00000000 00000000
[12:12:47] [debug] ESP+00000280: 00000000 00000000 00000000 00000000
[12:12:47] [debug] ESP+000002a0: 0020e588 bfa5566f bfa55d90 bfa5523c
[12:12:47] [debug] ESP+000002c0: b775600b bfa55960 00000027 b74a0222
[12:12:47] [debug] ESP+000002e0: 096325b0 b73cb936 096325b0 b75da000
[12:12:47] [debug] ESP+00000300: bfa55800 b758b4b0 00000001 b2cad008
[12:12:47] [debug] ESP+00000320: 00000000 0077de18 0055df44 00000001
[12:12:47] [debug] ESP+00000340: bfa55800 081629c4 bfa557d8 b7473882
[12:12:47] [debug] ESP+00000360: 00000000 00000000 00000000 00000000
[12:12:47] [debug] ESP+00000380: 00000000 00000001 ffffffff 00000000
[12:12:47] [debug] ESP+000003a0: 00000000 00000000 00000000 ffffffff
[12:12:47] [debug] ESP+000003c0: 00000000 0000000a 00000000 00000002
[12:12:47] [debug] ESP+000003e0: 00000000 00000001 ffffffff 00000001
[12:12:47] [debug] Loaded modules:
[12:12:47] [debug] 00000000 - 00187dc3 samp03svr
[12:12:47] [debug] b778c000 - b778c704 
[12:12:47] [debug] b7750000 - b775281b /lib32/libdl.so.2
[12:12:47] [debug] b7730000 - b774b097 /lib32/libpthread.so.0
[12:12:47] [debug] b7648000 - b7737456 /usr/lib32/libstdc++.so.6
[12:12:47] [debug] b7600000 - b7644ca3 /lib32/libm.so.6
[12:12:47] [debug] b75e0000 - b75fc144 /usr/lib32/libgcc_s.so.1
[12:12:47] [debug] b7430000 - b75e600b /lib32/libc.so.6
[12:12:47] [debug] b7768000 - b778905c /lib/ld-linux.so.2
[12:12:47] [debug] b7380000 - b742dc5b plugins/YSF.so
[12:12:47] [debug] b7338000 - b737aac4 plugins/crashdetect.so
[12:12:47] [debug] b7270000 - b7334bcf plugins/streamer.so
[12:12:47] [debug] b7260000 - b7267137 /lib32/librt.so.1
[12:12:47] [debug] b7218000 - b725d654 plugins/GeoIP_Plugin.so
[12:12:47] [debug] b5688000 - b56f9411 plugins/irc.so
[12:12:47] [debug] b7758000 - b77607c4 plugins/Whirlpool.so
[12:12:47] [debug] b4c70000 - b4c7f1d4 plugins/sscanf.so
[12:12:47] [debug] b4c58000 - b4c6241f /lib32/libnss_files.so.2
[12:12:47] [debug] b2298000 - b229c98b /lib32/libnss_dns.so.2
[12:12:47] [debug] b4c10000 - b4c263d3 /lib32/libresolv.so.2
Here is the "xReactionTest" that makes server crash.

Код:
function xReactionTest()
{
	new
	xLength = (random(8) + 2),
	string[128]
	;
	xCash = (random(10000) + 20000);
	xScore = (random(2)+1);
	format(xChars, sizeof(xChars), "");
	Loop(x, xLength) format(xChars, sizeof(xChars), "%s%s", xChars, xCharacters[random(sizeof(xCharacters))][0]);
	format(string, sizeof(string), "« Prvi ko napise %s osvaja $%d + %d skora! »", xChars, xCash, xScore);
	SCMTA(COLOR_LIGHTBLUE, string);
	KillTimer(xReactionTimer);
	xTestBusy = true;
	SetTimer("xReactionProgress", 30000, 0);
	return 1;
}
Can someone please help me, thank you in advance.

Regards.


Re: Server crashing! - iKarim - 20.02.2018

Compile your script with -d3 arg (G0ogle) to get meaningful crash log.


Re: Server crashing! - DeksoN - 21.02.2018

Bump