Jump to content
  • Advertisement
Sign in to follow this  
beebs1

Heap Corruption

This topic is 3092 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
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 :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!