minidumpwritedump

MiniDumpWriteDump (C#) produces zero length dump files for specific process

一个人想着一个人 提交于 2019-12-31 05:27:10
问题 Executing MiniDumpWriteDump within the specific process provides healthy dump file. Executing MiniDumpWriteDump from external process, where hProcess and processId point to the mentioned specific process, provides a zero length dump file Same as #2 just pointing to FireFox for example provides healthy dump file The specific process I am trying to dump is running with low privilege as far as I know, and my external process is being executed from Administrator CMD window. [DllImport("dbghelp

What is minimum MINIDUMP_TYPE set to dump native C++ process that hosts .net component to be able to use !clrstack in windbg

烂漫一生 提交于 2019-12-17 19:26:24
问题 There is native C++ application that hosts several .net components. When some error occurs this application creates mini dump using MiniDumpWriteDump function. Question here what is minimum set of [Flags ]enum MINIDUMP_TYPE { MiniDumpNormal = 0x00000000, MiniDumpWithDataSegs = 0x00000001, MiniDumpWithFullMemory = 0x00000002, MiniDumpWithHandleData = 0x00000004, MiniDumpFilterMemory = 0x00000008, MiniDumpScanMemory = 0x00000010, MiniDumpWithUnloadedModules = 0x00000020,

MiniDumpWriteDump (C#) produces zero length dump files for specific process

北慕城南 提交于 2019-12-02 07:58:56
Executing MiniDumpWriteDump within the specific process provides healthy dump file. Executing MiniDumpWriteDump from external process, where hProcess and processId point to the mentioned specific process, provides a zero length dump file Same as #2 just pointing to FireFox for example provides healthy dump file The specific process I am trying to dump is running with low privilege as far as I know, and my external process is being executed from Administrator CMD window. [DllImport("dbghelp.dll", EntryPoint = "MiniDumpWriteDump", CallingConvention = CallingConvention.Winapi, CharSet = CharSet

What is minimum MINIDUMP_TYPE set to dump native C++ process that hosts .net component to be able to use !clrstack in windbg

帅比萌擦擦* 提交于 2019-11-28 10:27:26
There is native C++ application that hosts several .net components. When some error occurs this application creates mini dump using MiniDumpWriteDump function. Question here what is minimum set of [Flags ]enum MINIDUMP_TYPE { MiniDumpNormal = 0x00000000, MiniDumpWithDataSegs = 0x00000001, MiniDumpWithFullMemory = 0x00000002, MiniDumpWithHandleData = 0x00000004, MiniDumpFilterMemory = 0x00000008, MiniDumpScanMemory = 0x00000010, MiniDumpWithUnloadedModules = 0x00000020, MiniDumpWithIndirectlyReferencedMemory = 0x00000040, MiniDumpFilterModulePaths = 0x00000080, MiniDumpWithProcessThreadData =