Heap Corruption
Hiya,
I've started getting a breakpoint in my game when it is closed, along the lines of:
HEAP[GameCode_d.exe]: HEAP: Free Heap block 1b7f08 modified at 1b7f8c after it was freed
This is coming from about 15 calls into ntdll.dll - it happens when I call std::ifstream::close().
I'm using VS2008 - Does anyone know how I can find out what was at 1b7f8c? Some kind of memory viewer would be really helpful :)
Cheers
The disassembly window shows disassembled memory. If the error occurs in a dll, you'll more likely be interested in the first address, which may be a variable you new'd, then free'd then tried to modify.
Thanks for your help.
I'm downloading the symbols for the OS as well, hopefully together with the dissassembly view I can figure it out :)
I'm downloading the symbols for the OS as well, hopefully together with the dissassembly view I can figure it out :)
How big of a project is this? Does the error occur consistently (i.e. do you know how to reproduce it)?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement