HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to find a Fatal Error?

11-19-2007, 07:19 PM#1
aSpheric
I map for some years now, but i can´t find that bug in my map.

Quote:
FATAL ERROR!

Program: c:\*\war3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:6F095B15

The instruction at '0x6F095B15' referenced memory at '0x00000008'.
The memory could not be 'read'.

It accurs a short period after a player left, but it´s very unrelieable. Therefore it´s impossible for me to recreate this error. I tried to eliminate the usual suspects (e.g. Player -1) by searching the 2500 functions with a jass-editor but i couldn´t find any suspicious functions.

Next thing i tried was to recreate bugs and check if the exeption accured at the same memory address - no match. Is there any relation between the type of a bug and the address?

Undo the changes is impossible. I still have my old versions but i made massive changes. Is there any possiblity to isolate that bug in my map?
11-19-2007, 09:10 PM#2
Jazradel
Have you got New Gen? Grimoire has lots of handy debugging features.
11-19-2007, 09:11 PM#3
Vexorian
just by the error message, I can crop the search to like 1000 different things I know that cause that and other 1000 that probably cause it yet I don't know what it might be...

What's worst is that such crash is not necessarily caused by code, so it really could be anything.

Try getting war3err or wathever fancy debugger new grimoire has...