19.06.2011, 19:25
[Plugin] CrashDetect
19.06.2011, 19:30
19.06.2011, 21:20
I dont really know what the error code in your example says about your script
19.06.2011, 21:32
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?
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?
20.06.2011, 05:26
(
Последний раз редактировалось leong124; 20.06.2011 в 06:23.
)
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:
occurs when it loads the gamemode.
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
20.06.2011, 09:04
In which folder is your gamemode located? is it in "gamemodes"?
20.06.2011, 09:17
Код:
[crashdetect]:Cannot identify file name
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
20.06.2011, 09:32
20.06.2011, 09:52
20.06.2011, 13:38
The problem could be if the path to the script is longer then 260 characters.
20.06.2011, 14:17
Quote:
The problem could be if the path to the script is longer then 260 characters.
|
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\scfri.amx
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.
21.06.2011, 17:37
Question:
Reply:
I think this is your answer thimotyinthehouse :P
Anyway: Nice plugin
Quote:
i get: [crashdetect]: gamemodes\GM.amx does not contain debug information
|
Quote:
It's OK, just means that the script was compiled without debug info, you can ignore this
|
Anyway: Nice plugin
23.06.2011, 16:36
pawno.cfg not be created in the folder? How can I create? Thx for help
23.06.2011, 16:41
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
23.06.2011, 16:44
I managed to bag Plugins now crashdetect server crash waiting to check my error log to see what the server stops. Thank you!
23.06.2011, 16:57
23.06.2011, 18:46
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
[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
24.06.2011, 00:59
Quote:
when I enable d3 i need to use a pragma dynamic that is @ negative values? LOL?
|
Also, d2 also works (with optimisation).
Quote:
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 |
24.06.2011, 09:23
Great plugin, i just fixed an crash
24.06.2011, 12:54
How to compile GM with -d3 (or-d2) flag? Thx for help!
« Next Oldest | Next Newest »
Users browsing this thread: 55 Guest(s)