Re: crashdetect plugin - 0x5A656578 - 19.06.2011
Quote:
Originally Posted by Unknown123
yes what is that?
i get: [crashdetect]: gamemodes\GM.amx does not contain debug information
|
It's OK, just means that the script was compiled without debug info, you can ignore this
Re: crashdetect plugin - Unknown123 - 19.06.2011
Quote:
Originally Posted by 0x5A656578
It's OK, just means that the script was compiled without debug info, you can ignore this
|
k thx
AW: crashdetect plugin -
Cody09 - 19.06.2011
I dont really know what the error code in your example says about your script
Re: crashdetect plugin -
Gamer_Z - 19.06.2011
nice work Zeex!
It will help me out debugging some REALLY OLD scripts for sa-mp!
Also, does this plugin save it to the crashinfo file or the sa-mp server log?
Re: crashdetect plugin -
leong124 - 20.06.2011
I have a problem.
Besides from the longer time to compile the script with debug information, the compiler shows an information that there would have stack overflow due to recursion, which doesn't appears without the -d3 flag(means that no problem without the flag
).
Otherwise, it would be great for debugging random crashes in large scripts.
EDIT:
The stack overflow problem is fixed by commenting the scripts and find the source of it, but it's still weird that no stack overflow message are given without the debug information.
Anyway, thanks for releasing this great plugin and I'm using it
EDIT2:
Код:
[crashdetect]: Cannot identify file name
occurs when it loads the gamemode.
Re: crashdetect plugin - 0x5A656578 - 20.06.2011
In which folder is your gamemode located? is it in "gamemodes"?
Re: crashdetect plugin -
Wesley221 - 20.06.2011
Код:
[crashdetect]:Cannot identify file name
What does this mean?
Edit:
All my GM's are in GM folder, FS's are in the FS folder
Also, all my FS/GM's are compiled, and none non-existing FS's in my server.cfg
Re: crashdetect plugin -
leong124 - 20.06.2011
Quote:
Originally Posted by 0x5A656578
In which folder is your gamemode located? is it in "gamemodes"?
|
Yes. I have all my scripts placed in the default folders("gamemodes" and "filterscripts")
One more thing to add, I'm using Windows XP.
Re: crashdetect plugin - 0x5A656578 - 20.06.2011
Quote:
Originally Posted by leong124
Yes. I have all my scripts placed in the default folders("gamemodes" and "filterscripts")
One more thing to add, I'm using Windows XP.
|
Does it work with other gamemodes, e.g. LVDM or sample script from the first post?
Re: crashdetect plugin -
Omega-300 - 20.06.2011
Quote:
Originally Posted by Wesley221
Код:
[crashdetect]:Cannot identify file name
What does this mean?
Edit:
All my GM's are in GM folder, FS's are in the FS folder
Also, all my FS/GM's are compiled, and none non-existing FS's in my server.cfg
|
The problem could be if the path to the script is longer then 260 characters.
Re: crashdetect plugin -
leong124 - 20.06.2011
Quote:
Originally Posted by Omega-300
The problem could be if the path to the script is longer then 260 characters.
|
Mine:
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\scfri.amx
67 characters.
0x5A656578: Yes there's no errors when I try to use LVDM or your demo script.
One more thing to add, I'm using Big5 coding which is a type of 16-bit characters.
Re: crashdetect plugin -
Laronic - 21.06.2011
Question:
Quote:
Originally Posted by Unknown123
i get: [crashdetect]: gamemodes\GM.amx does not contain debug information
|
Reply:
Quote:
Originally Posted by 0x5A656578
It's OK, just means that the script was compiled without debug info, you can ignore this
|
I think this is your answer thimotyinthehouse :P
Anyway: Nice plugin
Re: crashdetect plugin -
alynutzj2p - 23.06.2011
pawno.cfg not be created in the folder? How can I create? Thx for help
Re: crashdetect plugin - 0x5A656578 - 23.06.2011
OK forget that -d3 thingy for a while, does the plugin actually load? Does it print an error or something to the server log? I'm asking this because it doesn't seem to work for everyone
Re: crashdetect plugin -
alynutzj2p - 23.06.2011
I managed to bag Plugins now crashdetect server crash waiting to check my error log to see what the server stops. Thank you!
Re: crashdetect plugin -
Gamer_Z - 23.06.2011
Quote:
Originally Posted by alynutzj2p
I managed to bag Plugins now crashdetect server crash waiting to check my error log to see what the server stops. Thank you!
|
when I enable d3 i need to use a pragma dynamic that is @ negative values? LOL?
Re: crashdetect plugin -
alynutzj2p - 23.06.2011
I see only that "[21:14:01] Crash caused an address by fread at 0x1aa0 in gamemodes / test.amx
[21:14:01] For more details with debugging symbols compile this script enabled and start the server again "How do I appear and additional information as they appeared too 0x5A656578" [20:40:14] Crash caused an 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
Re: crashdetect plugin -
leong124 - 24.06.2011
Quote:
Originally Posted by gamer_Z
when I enable d3 i need to use a pragma dynamic that is @ negative values? LOL?
|
Yes weird things would occur. For me, it shows me that there's stack overflow but it doesn't show without the flag.
Also, d2 also works (with optimisation).
Quote:
Originally Posted by alynutzj2p
I see only that "[21:14:01] Crash caused an address by fread at 0x1aa0 in gamemodes / test.amx
[21:14:01] For more details with debugging symbols compile this script enabled and start the server again "How do I appear and additional information as they appeared too 0x5A656578" [20:40:14] Crash caused an 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
|
You DO NOT need to add the script provided by 0x5A656578. It's just an example to show this plugin works. All you need to do is to compile your script with a -d3 (or -d2) flag and start your server with this plugin.
Re: crashdetect plugin -
WooTFTW - 24.06.2011
Great plugin, i just fixed an crash
Re: crashdetect plugin -
alynutzj2p - 24.06.2011
How to compile GM with -d3 (or-d2) flag? Thx for help!