Jump to content
  • Advertisement
Sign in to follow this  
LycaonX

Question about: HEAP: Free Heap block X modified at Y after it has been freed

This topic is 2850 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

Simple question: How do I figure out where Y is? It's a memory address (I'm guessing) and not a line number. I'm using VS2010.

Does VS have a window I don't know about that contains the memory addresses of functions currently in use?

Sorry, I can't post code, it's a couple hundred k spread over dozens of files, plus I'd have to hassle with NDAs and crap if I wanted to share it with anyone.

Also, I'm well aware that the code sucks so if that's the only thing you want to reply with, I've saved you the effort. :)

Share this post


Link to post
Share on other sites
Advertisement
I'm not a memory debugging expert, but you can try to instrument your code with some of the techniques described here. If Y is accessed with a 'dangling' pointer you have good chances of finding the problem. Sometimes you can also guess from what was written, from where it was written. Here the Memory Window is useful.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!