Re: memorydump in vista

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



Willy Denoyette [MVP] wrote:
[...]
Advantages:

a) Don't need to reproduce a problem on my developer machine
b) I can evaluate bugs much faster, than I would be able to do with



Agreed, In case of a crash, that is from an unhandled exception handler, however, I was talking about simply calling Dbghelp.dll API's from a running process.

Ok it's not that simple, as in the case of a crash. Though it's possible to (simplified) "simulate a crash". E.g. John Robbins has written a very good book about crash dumps and how to create them.

But I agree - in pure C# code it's not possible - don't know if Vista supports a simple function for dump file creation.

The other simple solution would be to force a crash. Unfortunately this can be done only once ;-9.

[...]

Note that,while analysis of a "native code" minidump is just a snap ;-), post-mortem analysis of a "JITted code" minidump can be a daunting task, even for an expert.

Agreed. I haven't tested it by myself (yet), but it surely isn't that simple to evaluate managed crash dumps. To debug deadlocks it should be also sufficient to dump the call stacks of all running managed threads.

Willy.

Andre
.



Relevant Pages

  • Re: memorydump in vista
    ... Agreed, In case of a crash, that is from an unhandled exception handler, however, I was talking about simply calling Dbghelp.dll API's from a running process. ... analysis of a "JITted code" minidump can be a daunting task, ... I haven't tested it by myself, but it surely isn't that simple to evaluate managed crash dumps. ... at the CLR level and therefore you need the SOS extentions if you need to analyse "managed threads" and other CLR related datastructures. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: IIE stopped unexpectedly
    ... We would need to look at crash dumps to find out why this issue occurred. ... Microsoft Developer Support ... Internet Information Server ...
    (microsoft.public.inetserver.iis.security)
  • Re: VMIC reflective memory crash
    ... VMIC memory is shifted 8 bytes and VMS crashes. ... When VMS crashes, are you getting crash dumps? ...
    (comp.os.vms)
  • Re: How can I trace the loc/reason of VB.NETApp crashing w/o any excep
    ... I have a problem with tracing the reason of VB.NET Application ... > crash without any exception. ... want the O/S to handle crash dumps. ... Enable crash dumps, then look at them ...
    (microsoft.public.dotnet.framework.clr)