> My app keeps crashing in the destructor of one of my own classes when
> the delete() operator invokes DebugNewDoFree()
[quoted text clipped - 15 lines]
>
> Any ideas .. ?
Everything is not fine, however. 0x30303030 is not a DebugNew signature, but it
is '0000' in ascii. My suggestion would be to look at the memory around the
loation 0x30303030 was loaded from and see whether its contents look familiar.
My first guess would be that you have a buffer overrun.
hth
meeroh

Signature
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>
J. Barnholt - 07 Mar 2004 18:21 GMT
> > The app crashes with a "unmapped memory exception" inside the
> > DebugNewDoFree() code where it tries to access a pointer to 0x30303030
[quoted text clipped - 9 lines]
>
> meeroh
Thanks for the hint, keeping an eye on the DebugNew blocklist in the
memory window revealed that it was indeed overwritten by some
hidden sprintf call..
Calling sprintf with an uninitialized double of 123e+250 might not be
a good idea anyway, but I suppose that's why snprintf and the likes
were given to us.
thanks,
jan