Page 1 of 1

Code: C0000005 (Access Violation - tried to read address 00

Posted: Wed Feb 27, 2008 14:13
by Lioyd_Irving
When I finished playing with/testing my custom weapons mod, I get an error message which says :

Code: C0000005 (Access Violation - tried to read address 00000000)
Address: 0047233F
Flags: 00000000

and GZDoom asks me to make a report.
This doesn't happen with any other mod.
I know it's a problem with my upcoming weapons mod. But I can't figure out where is the bug. Can someone tell me so I can kill it ?

Posted: Wed Feb 27, 2008 15:41
by TheDarkArchon
How the heck are we supposed to guess from that? If this was a bug report for (G)ZDoom, it would get closed and filed under not enough information. The only thing I can tell is that the cause is a NULL pointer, but that does nothing to narrow it down.

Regardless, check for the common things (bad jumps, infinite loops, that sort of thing).

Posted: Fri Feb 29, 2008 16:27
by Lioyd_Irving
It works perfectly. Nothing happens but this report. I didn't notice any bug.

Posted: Sat Mar 01, 2008 21:32
by Marty Kirra
Try uploading your mod, so we could help you a little better. It's kind of hard to pin-point the problem of a .wad when we can't see it ourselves ;)

Posted: Sat Mar 01, 2008 22:38
by Lioyd_Irving
It is released in the Doom Armory. Check http://forum.drdteam.org/viewtopic.php?t=3125