In Debug version or Release? I've found that Release version just randomly destroys heap and crashes when closing application... Debug version of Microsoft CRT marks freed memory by setting it by 0xfeeefeee, and I see access by this freed pointer.
You have tested it on multicore processor?
I haven't singlecore processors and couple of minutes is enough to crash the application...
Bookmarks