On Tue, 24 May 2011 18:26:52 -0400, Adam D. Ruppe
<[email protected]> wrote:
Steven Schveighoffer:
Are you doing anything with dynamic libraries?
None, except for the standard C library. It's pretty puzzling.
Considering that the functions work in some cases and not in others, it's
probably a corruption issue.
All I can say is, try to isolate *when* the corruption occurs. What I'd
recommend is printing the contents of the typeinfo at the beginning of the
program, then examine them after the corruption. See if you can spot a
difference. I've done things like start a thread that continuously
monitors a specific memory location to see if it ever changes, and then
break on that check. Then look at the main thread to see what it is doing.
These bugs suck, sorry you got one.
-Steve