Re: Crashes in Debug (random) but not release



It's sounds like memory corruption of some kind. I've tracked things like
this before and seen some really strange things that would fix it like:
Swapping the order of global variables.
Reducing the overall memory footprint of the application (loading too much
data or more than is absolutely necessary)
Increasing the overall memory footprint of the application =)

I'd only try those above after you've triple checked the following:
Writing beyond array boundaries
Using uninitialized pointers
Failing to clean up resources


.