Memory corruption and Dump Stack trace

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi everyone,

my application has danging pointer, either pointing at something
that's deleted, or the memory was used by someone else. It causes
crashes very randomly and thus hard to reproduce the crash. I
narrowed it down to memory corruption because it crashed at calling a
pointer->doubleValue ...

Is there a way to produce a stack dump in MFC? I want to see who was
trying to delete the object. If anyone has better solution in looking
at this, please help!

Thanks!

.



Relevant Pages

  • Re: Combined usage of exception handling
    ... handler will let the exception go to the defaul SEH, ... >locations in memory that can contain garbage at this point. ... For the crashes we see in the real world (after alpha and beta ... does not cause a system failure. ...
    (microsoft.public.vc.language)
  • Re: Application Errors - Tried EVERYTHING - PLEASE HELP!!!!
    ... The memory in this case passed Memtest-like diagnostics ... The only other hardware causes of tis sort of behaviour which spring ... >I DESPERATELY NEED HELP WITH THESE CONSTANT CRASHES I HAVE ... >Any Multimedia program used for ENCODING or RENDERING ...
    (microsoft.public.windowsxp.hardware)
  • Re: Stability of older Orcad/PSpice combos?
    ... On my PC this software crashes often and hard and needs too many ... I've found that bad memory and a flaky HD can cause ... has occurred" cannot possibly come from the Windows OS. ... To help Cadence ..." ...
    (sci.electronics.design)
  • Re: Stability of older Orcad/PSpice combos?
    ... On my PC this software crashes often and hard and needs too many ... I've found that bad memory and a flaky HD can cause ... has occurred" cannot possibly come from the Windows OS. ... like opening a project. ...
    (sci.electronics.design)
  • Re: Stability of older Orcad/PSpice combos?
    ... On my PC this software crashes often and hard and needs too many ... I've found that bad memory and a flaky HD can cause ... has occurred" cannot possibly come from the Windows OS. ... like opening a project. ...
    (sci.electronics.design)