Re: CrashDetect 4.13.1 -
xeeZ - 21.02.2015
OK, glad to hear that. You might want to enable file extensions in explorer to avoid such mistakes in the future.
Respuesta: CrashDetect 4.13.1 -
maxisaibot - 21.02.2015
Please help
Код:
[21/02/2015 15:06:15] [debug] Server crashed due to an unknown error
[21/02/2015 15:06:15] [debug] Native backtrace:
[21/02/2015 15:06:15] [debug] #0 e085fe8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[21/02/2015 15:06:15] [debug] #1 e0858bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[21/02/2015 15:06:15] [debug] #2 e0859dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[21/02/2015 15:06:15] [debug] #3 e085a226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[21/02/2015 15:06:15] [debug] #4 e085fadc in ?? () from plugins/crashdetect.so
[21/02/2015 15:06:15] [debug] #5 e0b75410 in ?? ()
[21/02/2015 15:06:15] [debug] #6 e0b75430 in ?? ()
[21/02/2015 15:06:15] [debug] #7 e08ad871 in gsignal () from /lib/libc.so.6
[21/02/2015 15:06:15] [debug] #8 e08af14a in abort () from /lib/libc.so.6
[21/02/2015 15:06:15] [debug] #9 e08ed735 in ?? () from /lib/libc.so.6
[21/02/2015 15:06:15] [debug] #10 e08f3b91 in ?? () from /lib/libc.so.6
[21/02/2015 15:06:15] [debug] #11 e0b0fdf2 in _ZdlPv () from /usr/lib/libstdc++.so.6
[21/02/2015 15:06:15] [debug] #12 e0b0fe4e in _ZdaPv () from /usr/lib/libstdc++.so.6
[21/02/2015 15:06:15] [debug] #13 0807fac8 in ?? () from ./samp
[21/02/2015 15:06:15] [debug] #14 0808000d in ?? () from ./samp
[21/02/2015 15:06:15] [debug] #15 08074afa in ?? () from ./samp
[21/02/2015 15:06:15] [debug] #16 0807632e in ?? () from ./samp
[21/02/2015 15:06:15] [debug] #17 e0b54b39 in ?? () from /lib/libpthread.so.0
[21/02/2015 15:06:15] [debug] #18 e0965c2e in clone () from /lib/libc.so.6
Re: CrashDetect 4.13.1 -
xeeZ - 21.02.2015
Ask the devs about that, they probaly know how to fix it.
Or maybe not...
Also they'll most likely tell you to do this:
https://sampforum.blast.hk/showthread.php?tid=495402
Re: CrashDetect 4.13.1 -
abyss. - 23.02.2015
[09:52:32] [debug] #0 000eae50 in public Itter_OnGameModeInit () at D:\Documents and Settings\Ionut\Desktop\0.3z serverss\gamemodes\MNXX.pwn:18623
[09:52:32] [debug] #1 native CallLocalFunction () from samp03svr
[09:52:32] [debug] #2 000009e8 in public OnGameModeInit () at D:\Documents and Settings\Ionut\Desktop\0.3z serverss\pawno\include\foreach.inc:667
18623:
From: if(SBizzInfo[s][sbOwned] == 0)
for(new s = 1; s <= totalsbizz; s++) // === SBuissiness ===
{
if(SBizzInfo[s][sbOwned] == 0)
{ // Plate Numbers LV
if(s == 14) { AddStaticPickup(1318, 1, SBizzInfo[14][sbEntranceX],SBizzInfo[14][sbEntranceY],SBizzInfo[14][sbEntranceZ],ALL_VIRTUAL_WORLDS); continue; }
AddStaticPickup(1272, 2, SBizzInfo[s][sbEntranceX], SBizzInfo[s][sbEntranceY], SBizzInfo[s][sbEntranceZ],ALL_VIRTUAL_WORLDS);
format(string,sizeof(string),"[ID: %d]\nAcest sbizz este de vanzare\n\tPret: %s$",s,GroupDigit(SBizzInfo[s][sbBuyPrice]));
SBizzLabel[s] = Create3DTextLabel(string,0x8CE2E8AA, SBizzInfo[s][sbEntranceX], SBizzInfo[s][sbEntranceY], SBizzInfo[s][sbEntranceZ], 25.0, 0, 1);
}
else
{ // Plate Numbers LV
if(s == 14) { AddStaticPickup(1318, 1, SBizzInfo[14][sbEntranceX],SBizzInfo[14][sbEntranceY],SBizzInfo[14][sbEntranceZ],ALL_VIRTUAL_WORLDS); continue; }
AddStaticPickup(1239, 1, SBizzInfo[s][sbEntranceX], SBizzInfo[s][sbEntranceY], SBizzInfo[s][sbEntranceZ],ALL_VIRTUAL_WORLDS);
format(string,sizeof(string),"[ID: %d]\nAcest sbizz ii apartine lui %s",s,SBizzInfo[s][sbOwner]);
SBizzLabel[s] = Create3DTextLabel(string, 0xF38963AA, SBizzInfo[s][sbEntranceX], SBizzInfo[s][sbEntranceY], SBizzInfo[s][sbEntranceZ], 25.0, 0, 1);
}
}
And 667 from .inc: CallLocalFunction("Itter_OnGameModeInit", "");
I dont get it :-/ What the heck is wrong?
Re: CrashDetect 4.13.1 -
xeeZ - 23.02.2015
In Pawn array indices start from 0 and go to n-1 where n is the size of the array. You're looping through elements from 1 to n, so you're essentially skipping the first element and reading a non-existent element at index n in the end of the loop, which is what crashdetect is trying to tell you.
Re: CrashDetect 4.13.1 -
abyss. - 23.02.2015
Well, dunno how but that error fixed from himself. Now i have another problem, here:
for(new h = 0; h <= totalhouses; h++) // = Houses =
{
if(HouseInfo[h][hOwned] == 0)
{
AddStaticPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]/*,ALL_VIRTUAL_WORLDS*/);
/*format(string,sizeof(string),"[ID: %d]\nAceasta casa este de vanzare\n\tPret: %s$",h,GroupDigit(HouseInfo[h][hBuyPrice]));
HouseLabel[h] = Create3DTextLabel(string,0xE64F4FAA, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 25.0, 0, 1);*/
}
else
{
AddStaticPickup(1314, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]/*,ALL_VIRTUAL_WORLDS*/);
/*format(string,sizeof(string),"[ID: %d]\nAceasta casa ii apartine lui %s",h,HouseInfo[h][hOwner]);
HouseLabel[h] = Create3DTextLabel(string, 0xF5F56FAA, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 25.0, 0, 1);*/
}
}
Initial it was h=1 but changed it to 0 after see your post and still the same. And acctually, houses business are loaded from mysql and first id at both of them is 1. About sbizz i think i know how i solved it. SbizzInfo was declared too small, but Houseinfo is over the number of houses from mysql. So.. stil dont get it :-/.
Re: CrashDetect 4.13.1 -
xeeZ - 23.02.2015
Well, you need read my previous post again, I said something about n-1 there.
Re: CrashDetect 4.13.1 -
Pottus - 27.02.2015
I am getting some unusual crash issues with version 4.15.1 I am certain it is the plugin causing issues because after I took crashdetect off the crashes have stopped maybe you have an idea why this happens thanks.
Код:
[16:08:52] [debug] Server crashed due to an unknown error
[16:08:52] [debug] Native backtrace:
[16:08:52] [debug] #0 f73fce8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[16:08:52] [debug] #1 f73f5bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[16:08:52] [debug] #2 f73f6dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[16:08:52] [debug] #3 f73f7226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[16:08:52] [debug] #4 f73fcadc in ?? () from plugins/crashdetect.so
[16:08:52] [debug] #5 f76e6410 in ?? ()
[16:08:52] [debug] #6 f76e6430 in ?? ()
[16:08:52] [debug] #7 f744b661 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[16:08:52] [debug] #8 f744ea92 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[16:08:52] [debug] #9 f761928d in _ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /usr/lib/i386-linux-gnu/libstdc++.so.6
Something like this would not normally cause a complete crash.
Код:
14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] AMX backtrace:
[14:06:11] [debug] #0 native Streamer_UpdateEx () from streamer.so
[14:06:11] [debug] #1 003a10c8 in public SetNextSpawnForPlayer (playerid=318, type=1) at C:\Users\Jeff\Documents\GitHub\420dayz\gamemodes\dayz.pwn:2680
[14:06:11] [debug] #2 0039f308 in ?? (... <2 arguments>) at C:\Users\Jeff\Documents\GitHub\420dayz\gamemodes\dayz.pwn:2447
[14:06:11] [debug] #3 00039930 in public OnPlayerLogin (playerid=318, uid=12) at C:\Users\Jeff\Documents\GitHub\420dayz\include\YSI\y_hooks/impl.inc:2444
[14:06:11] [debug] #4 native CallLocalFunction () from samp-dayz
[14:06:11] [debug] #5 0003b8bc in public Player_Fo
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
[14:06:11] [debug] Server crashed while executing dayz.amx
Код:
[04:51:08] [debug] Server crashed due to an unknown error
[04:51:08] [debug] Native backtrace:
[04:51:08] [debug] #0 f741ae8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[04:51:08] [debug] #1 f7413bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[04:51:08] [debug] #2 f7414dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[04:51:08] [debug] #3 f7415226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[04:51:08] [debug] #4 f741aadc in ?? () from plugins/crashdetect.so
[04:51:08] [debug] #5 f7704410 in ?? ()
[04:51:08] [debug] #6 0804d12d in ?? () from ./samp-dayz
[04:51:08] [debug] #7 080aff37 in ?? () from ./samp-dayz
[04:51:08] [debug] #8 08071b02 in ?? () fr
Re: CrashDetect -
Jefff - 26.01.2017
Quote:
Originally Posted by Sew_Sumi
Generally a crash, stops the server, so, what?
|
but not "array index out of bounds" or similar
Re: CrashDetect -
GGRPSkripter - 17.06.2017
Hello peeps,
i have some problems with crash detect plugin. In my server log there are no function names from my script. I have -d3 on my compailer options
Compiler options
Server log
Код:
[23:19:38] [debug] AMX backtrace:
[23:19:38] [debug] #0 0048c6d0 in public OnSQLError (1, 1064, 28025620, 28023736, 28023732) from script.amx
[23:19:38] [debug] #1 native sql_query () from sql.so
[23:19:38] [debug] #2 000804f0 in public SacuvajIgraca (0) from script.amx
[23:19:38] [debug] #3 000ae9a0 in public ppb_OnPlayerDisconnect (0, 1) from script.amx
[23:19:38] [debug] #4 00030fb8 in public FC_OnPlayerDisconnect (0, 1) from script.amx
[23:19:38] [debug] #5 native CallLocalFunction () from samp03svr
[23:19:38] [debug] #6 00026fc4 in public SSCANF_OnPlayerDisconnect (0, 1) from script.amx
[23:19:38] [debug] #7 0001d310 in public Itter_OnPlayerDisconnect (0, 1) from script.amx
[23:19:38] [debug] #8 0001b008 in ?? (0, 1) from script.amx
[23:19:38] [debug] #9 0000b73c in public FIXES_OnPlayerDisconnect (0, 1) from script.amx
[23:19:38] [debug] #10 native CallLocalFunction () from samp03svr
[23:19:38] [debug] #11 00002264 in public OnPlayerDisconnect (0, 1) from script.amx
Any advice on solving this problem?
Re: CrashDetect -
Vad97 - 19.01.2018
When using the function
exit; gives [debug]
Re: CrashDetect -
Mcc - 17.03.2018
Hello guys
Periodically the server drops with such an error
PHP код:
[17:37:53] [debug] Server crashed due to an unknown error
[17:37:53] [debug] Native backtrace:
[17:37:53] [debug] #0 f747f180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[17:37:53] [debug] #1 f7477064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[17:37:53] [debug] #2 f7477d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[17:37:53] [debug] #3 f7479cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[17:37:53] [debug] #4 f747e4d5 in ?? () from plugins/crashdetect.so
[17:37:53] [debug] #5 f77d7b20 in __kernel_rt_sigreturn () from linux-gate.so.1
[17:37:53] [debug] #6 0809568a in ?? () from ./samp03svr
[17:37:53] [debug] #7 080957cd in ?? () from ./samp03svr
[17:37:53] [debug] #8 f6258103 in ?? () from plugins/streamer.so
[17:37:53] [debug] Registers:
[17:37:53] [debug] EAX: a4e8cc78 EBX: f62ff594 ECX: a4e8cc78 EDX: 1c154200
[17:37:53] [debug] ESI: 00000000 EDI: ff9955e8 EBP: ff995528 ESP: ff995520
[17:37:53] [debug] EIP: 0809568a EFLAGS: 00010282
[17:37:53] [debug] Stack:
[17:37:53] [debug] ESP+00000000: 08928f48 f62ff594 ff995588 080957cd
[17:37:53] [debug] ESP+00000020: 00000000 00000000 f6255059 094dcc78
[17:37:53] [debug] ESP+00000040: 000000ba 00000000 094dcc78 f6257f91
[17:37:53] [debug] ESP+00000060: a4e8cc78 ff9955e8 f62d21ba f6258103
[17:37:53] [debug] ESP+00000080: 16d78420 f74d9216 f62580c9 0dac8230
[17:37:53] [debug] ESP+000000a0: a4e8cc78 1c154200 ff9955e8 0e9120f0
[17:37:53] [debug] ESP+000000c0: 081d4700 00000001 000000ba 081d5078
[17:37:53] [debug] ESP+000000e0: 081d4700 00000008 f754f2d6 3c06df83
[17:37:53] [debug] ESP+00000100: 081cd170 00401745 ff995768 080aa13a
[17:37:53] [debug] ESP+00000120: 00000000 00000000 00000006 00000010
[17:37:53] [debug] ESP+00000140: f77a8ad8 f779f43c f77a0b58 01000000
[17:37:53] [debug] ESP+00000160: 656d6167 65646f6d f7003531 f77a9414
[17:37:53] [debug] ESP+00000180: f77a7e84 f77a7ef0 f77a7da0 f74d8243
[17:37:53] [debug] ESP+000001a0: 080aa260 00000000 00000000 00000000
[17:37:53] [debug] ESP+000001c0: 00000000 00000000 00000000 00000000
[17:37:53] [debug] ESP+000001e0: 00000000 00000000 00000000 00000000
[17:37:53] [debug] ESP+00000200: 00000000 00000000 00000000 00000000
[17:37:53] [debug] ESP+00000220: 00000000 00000000 00000000 f74d83fd
[17:37:53] [debug] ESP+00000240: 00000000 00000000 00000000 f74c0a63
[17:37:53] [debug] ESP+00000260: 00000001 ff995804 ff9957a4 081801f8
[17:37:53] [debug] ESP+00000280: 00000000 1c889315 b6323704 00000000
[17:37:53] [debug] ESP+000002a0: 00000000 f77ecb70 f74c0979 f77f9000
[17:37:53] [debug] ESP+000002c0: 080a9420 00000001 ff995804 08150650
[17:37:53] [debug] ESP+000002e0: 00000001 ff995b72 00000000 ff995b7e
[17:37:53] [debug] ESP+00000300: ff995c88 ff995c91 ff995ca2 ff995cb3
[17:37:53] [debug] ESP+00000320: ff995d50 ff995db2 ff995dcc ff995dd4
[17:37:53] [debug] ESP+00000340: ff995e4a ff995e67 ff995eb9 ff995ecd
[17:37:53] [debug] ESP+00000360: f77d7af0 00000021 f77d7000 00000010
[17:37:53] [debug] ESP+00000380: 00000064 00000003 08048034 00000004
[17:37:53] [debug] ESP+000003a0: f77d8000 00000008 00000000 00000009
[17:37:53] [debug] ESP+000003c0: 000001f4 0000000d 000001f4 0000000e
[17:37:53] [debug] ESP+000003e0: ff99592b 0000001f ff995fec 0000000f
[17:37:53] [debug] Loaded modules:
[17:37:53] [debug] 00000000 - 00187dc3 samp03svr
[17:37:53] [debug] f77d7000 - f77d7c5a linux-gate.so.1
[17:37:53] [debug] f77c6000 - f77c881b /lib32/libdl.so.2
[17:37:53] [debug] f77aa000 - f77c4d2b /lib32/libpthread.so.0
[17:37:53] [debug] f76b8000 - f77b1ce6 /usr/lib32/libstdc++.so.6
[17:37:53] [debug] f7672000 - f76b6b97 /lib32/libm.so.6
[17:37:53] [debug] f7655000 - f76713c4 /usr/lib32/libgcc_s.so.1
[17:37:53] [debug] f74a7000 - f765c237 /lib32/libc.so.6
[17:37:53] [debug] f77d8000 - f77f94a0 /lib/ld-linux.so.2
[17:37:53] [debug] f7461000 - f74a3ac4 plugins/crashdetect.so
[17:37:53] [debug] f7450000 - f745f290 plugins/sscanf.so
[17:37:53] [debug] f70ac000 - f7454ac7 plugins/mysql_static.so
[17:37:53] [debug] f709b000 - f70a209f /lib32/librt.so.1
[17:37:53] [debug] f668e000 - f66993ef /lib32/libnss_files.so.2
[17:37:53] [debug] f77cd000 - f77d05d8 plugins/MapAndreas.so
[17:37:53] [debug] f667d000 - f668b74c plugins/encrypt.so
[17:37:53] [debug] f6237000 - f6302ca5 plugins/streamer.so
What does it mean?
Re: CrashDetect -
MrStead - 23.08.2018
Help me pleaase! How to show message: Accessing element at index a past array upper bound b.
The message is not shown in my case.
PHP код:
new lol = 110000;
Player[lol] = 10;
PHP код:
[11:12:20] RuntimeError! Code is 4
[11:12:20] [debug] Run time error 4: "Array index out of bounds"
[11:12:20] [debug] AMX backtrace:
[11:12:20] [debug] #0 0012f534 in public zcmd_OnGameModeInit () at M:\Users\user\Desktop\pawno\include\industrial/init.inc:1895
[11:12:20] [debug] #1 native CallLocalFunction () from samp-server.exe
[11:12:20] [debug] #2 00008e70 in public SSCANF_OnGameModeInit () at M:\Users\user\Desktop\pawno\include\industrial/lib/zcmd.inc:68
[11:12:20] [debug] #3 0000119c in public fcnpc0_OnGameModeInit () at M:\Users\user\Desktop\pawno\include\sscanf2.inc:205
[11:12:20] [debug] #4 000009ec in public OnGameModeInit () at M:\Users\user\Desktop\pawno\include\FCNPC.inc:453