Re: crashdetect plugin -
Patrik356b - 24.06.2011
What's the difference between the 2 debug levels d2 and d3?
Minor, major, or none? - I recall some debug levels with Dev C++ where very much the same...
Re: crashdetect plugin -
alynutzj2p - 24.06.2011
I do not understand what's the deal with d2-d3 and-but I do not show enough information than that after fail-server "[18:56:15] Crash caused an address by SetPlayerColor at 0x1f28c in gamemodes / rp-rpg.amx
[18:56:15] For more details with debugging symbols compile this script enabled and start the server again "How do I look like I look too" 0x5A656578 ", that all information, that is so [20:40:14] Crash caused an year by gamemodes \ test.amx, see stack trace Below
[20:40:14] Stack trace (most recent call first):
[20:40:14] fread (native) on line 13 in test.pwn
[20:40:14] function2 on line 8 in test.pwn
[20:40:14] function1 on line 4 in test.pwn
[20:40:14] main (entry point). Please help me, thanks a lot
Re: crashdetect plugin -
Reynolds - 28.06.2011
Quote:
Originally Posted by leong124
Note that the following code still uses floatcmp:
pawn Code:
public OnFilterScriptInit() { new Float:x = 1.234,Float:y = 2.234; if(x != y) print("hi");//The operator != would use the floatcmp return 1; }
The only issue about the crash is to pass a null(empty) string through CallLocalFunction.
So IMO there's a bug on your YSI.
I'll also try this and see if the bugs are fixed 
|
Tried the SVN version -> compiller crash.
Tried the 1.0 version, now there's another error message...
Code:
[10:54:53] Loading plugin: crashdetect
[10:54:53] crashdetect plugin 2.0 built on Jun 28 2011
[10:54:53] Loaded.
....
[10:59:23] The server has crashed due to an unexpected error in gamemodes\flife.amx.
[10:59:23] Stack trace of gamemodes\flife.amx (most recent call first):
Now I'm really confused. There's 3 DIFFERENT reasons for the crash...
AW: crashdetect plugin -
Meta - 28.06.2011
very good for Scripts about 90k lines

sometimes I just can't find the reason, it could be everywhere
will try it ..
Re: crashdetect plugin -
zerocoolos - 28.06.2011
ok, i have problem, i made command that crash server to test plugin...
Code:
COMMAND:crash(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 1338||!IsPlayerAdmin(playerid)) return 1;
new buf[10];
fread(File:123, buf);
return 1;
}
command is between lines 69246 and 69252, i compiled script on windows xp, and tested on my linux vps...
strange thing is when i type command and crash server, when i look in server.log it says that error is fread on line 8624 in script... i try with -d2 and -d3, same problem...
so reason is good, but line is wrong...
Re: crashdetect plugin - 0x5A656578 - 02.07.2011
Does that happen to the latest version? I hoped I've resolved this problem
Re: crashdetect plugin -
[BP]Tony - 02.07.2011
Nice work
Re: crashdetect plugin -
leong124 - 03.07.2011
Quote:
Originally Posted by 0x5A656578
Does that happen to the latest version? I hoped I've resolved this problem
|
Thanks man, it should be solved
EDIT:
Sometimes when I reload my filterscript using "reloadfs",
no file name were shown, and after some while a window is shown saying that samp-server.exe was crashed.
I'm not very sure it's the problem of this plugin, but you can check it if you have time

I'm using the 20110702 build.
Re: crashdetect plugin -
_[HuN]_Epsilon_ - 04.07.2011
My server crashes randomly. I used this plugin but it prints nothing. I checked and it loads perfect but, when the server times out, it (as I said) prints nothing.
Код:
[17:12:56] Loading plugin: crashdetect.so
[17:12:56] crashdetect plugin 2.0 built on Jun 27 2011
[17:12:56] Loaded.
Re: crashdetect plugin -
leong124 - 05.07.2011
Probably the same as mine.
It doesn't show the file name before crash, and this plugin cannot show why the server crashes.
Re: crashdetect plugin - 0x5A656578 - 05.07.2011
Quote:
Originally Posted by leong124
Probably the same as mine.
It doesn't show the file name before crash, and this plugin cannot show why the server crashes.
|
Are you running Linux too? Does your server crash on plugin loading?
Also please try disabling both cacthRuntimeErrors and catchNativeErrors and see if it works
Re: crashdetect plugin -
_[HuN]_Epsilon_ - 05.07.2011
I tried it, it prints nothing.
Re: crashdetect plugin -
BMB1 - 05.07.2011
i will try it
Re: crashdetect plugin -
_[HuN]_Epsilon_ - 05.07.2011
Hell yeah!
I changed nothing, my server crashed and the plugin printed:
Код:
[13:19:54] The server has crashed due to an unexpected error in gamemodes/mygamemode.amx.
[13:19:54] Stack trace of gamemodes/mygamemode.amx (most recent call first):
The plugin should more lines print isn't it?
Re: crashdetect plugin - 0x5A656578 - 05.07.2011
I fixed the no-message-on-crash bug, will upload soon
Quote:
Originally Posted by _[HuN]_Epsilon_
Hell yeah!
I changed nothing, my server crashed and the plugin printed:
Код:
[13:19:54] The server has crashed due to an unexpected error in gamemodes/mygamemode.amx.
[13:19:54] Stack trace of gamemodes/mygamemode.amx (most recent call first):
The plugin should more lines print isn't it?
|
It should but the error could make it impossible, or even worse, this can be yet another stupid bug in this plugin, I don't know exactly. What I'm sure about is that your error is not caused by a native function so most likely it's not your fault but rather server/whatever_plugin writer's fault.
Re: crashdetect plugin -
leong124 - 05.07.2011
Quote:
Originally Posted by 0x5A656578
Are you running Linux too? Does your server crash on plugin loading?
Also please try disabling both cacthRuntimeErrors and catchNativeErrors and see if it works
|
I'm using Windows XP.
btw, the plugin load quite slowly...
Re: crashdetect plugin -
Egyptian Trooper - 05.07.2011
when I download it, the plugin itself is not found.
Re: crashdetect plugin -
[ITS]StatickShock - 05.07.2011
I run to try XD
Re: crashdetect plugin -
qUick1337 - 06.07.2011
solved, nice plugin
Re: crashdetect plugin -
Baboon - 06.07.2011
Quote:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 7432 bytes
Code size: 2062340 bytes
Data size: 368744 bytes
Stack/heap size: 16384 bytes; estimated max. usage=1540 cells (6160 bytes)
Total requirements: 2454900 bytes
|
Hmm, what does that Stack/heap size means?