Jump to content
  • Advertisement
Sign in to follow this  
blackbird04217

Debuggin' Problems (memory issue?)

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

I don't know if I am placing this in the correct place, so I am sorry if it isn't. Also explaining the problem is a little hard for me - as I don't know the cause or much about the problem. When running the project, it crashes inside of ntdll.dll with only three calls on the stack, no variables to be looking at, and just the assembly of ntdll. A little more information; Running in without the debugger running, it doesn't crash until a different object is being deleted instead of created, and running with the debugger on causes the program to crash when the object is created with new. I know this explanation is vague, and I have seen the problem before in a different project, but I don't know how to fix it. My computer has plenty of memory at the call of new, and all pointers seem valid. I highly doubt posting the code would help. And I hope someone can point me in the right direction. Thanks EDIT: Callstack- > ntdll.dll!7c901230() ntdll.dll!7c96c943() ntdll.dll!7c949eb9() Trying the multithreaded switch didn't help :( Okay, found the problem - which was an uninitailized variable causing havoc in one special case... Err stinks when the crash has nothing to do with what is causing it! Thanks though! [Edited by - blackbird04217 on June 5, 2007 7:11:05 PM]

Share this post


Link to post
Share on other sites
Advertisement
It would help if you post the call stack.

EDIT: Check the project configuration also... make sure that you are linking with the correct runtime libs (Multi-threaded, Multi-threaded Debug, etc.)

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!