Re: MiniDumpWriteDump fails when using dump type MiniDumpWithIndirectlyReferencedMemory



On 27 feb, 09:12, "Oleg Starodumov" <com-dot-debuginfo-at-oleg> wrote:
What version of dbghelp.dll do you use?
Try it with the latest version available with Debugging Tools for Windows package:http://www.microsoft.com/whdc/devtools/debugging/default.mspx

Also, does MiniDumpWriteDump actually fail?
Does it return TRUE or FALSE?

--
Oleg
[VC++ MVPhttp://www.debuginfo.com/]

I am loading dbghelp.dll explicitly (using LoadLibrary) and check
explicitly on the Dbghelp.dll version and require it to be at least
version 5.1.2600. In my case (on my PC), the version is 6.6.7.5,
which should support the MiniDumpWithIndirectlyReferencedMemory type
according to the documentation, but which generates a .dmp file with
an incorrect/corrupt call stack (no call stack is visible in the
debugger).
MiniDumpWriteDump succeeds, but GetLastError still returns error 299.

Patje

.



Relevant Pages

  • Re: MiniDumpWriteDump fails when using dump type MiniDumpWithIndirectlyReferencedMemory
    ... Try it with the latest version available with Debugging Tools for Windows package: ... Also, does MiniDumpWriteDump actually fail? ...
    (microsoft.public.vsnet.debugging)
  • Re: MiniDumpWriteDump context problem
    ... The stack trace of the location can be gotten from ... >>>if I call MiniDumpWriteDump from the exeception handler, ... >>>for the exception handler, ... // work out a good place for the dump file ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Create/load core dump for debugging
    ... Then you call MiniDumpWriteDump() when you need to. ... It is possible to preserve the call stack of the calling thread with the help ... background thread in your application periodically writing the dump. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: MiniDumpWriteDump mit mehr Infos
    ... >>Wir verwenden zur zeit MiniDumpWriteDump. ... >>(Register, Teile vom Stack), ... > Ich verweise gerne auf die Bugslayer Utilities von John Robbins. ...
    (microsoft.public.de.vc)
  • Re: DbgHelp.DLL Symbols
    ... Are you trying to find a way to get the call stack of the thread that called ... MiniDumpWriteDump? ... Or do you need symbols for some other reason? ... Regards, ...
    (microsoft.public.win32.programmer.kernel)

Loading