crash-dumps

Generating .NET crash dumps automatically

喜欢而已 提交于 2019-11-26 20:00:23
I know how to generate Crash Dump files with ADPlus or DebugDiag, but I'm wondering if there is a way to do this on a customer's computer without installing these tools... specifically, I would like to be able to configure my application (using a registry value, for example) to generate a crash dump in the case of a critical failure. More specifically, I need to be able to do this from a C# application, but I don't mind P/Invoke'ing if necessary. Thanks! Christian.K Note that creating a minidump from inside the "failing" process (or even thread) itself is not trivial or might not be accurate

Best way to have crash dumps generated when processes crash?

三世轮回 提交于 2019-11-26 17:45:38
问题 In Windows environments ( XP and Win 7 ): What is the best way to automatically have a crash dump generated when processes crash on the system? Can an installer (MSI) package do this? 回答1: One of the best way to have an automatic dump for any/specific process on Windows is to configure a set of entries in the registry. I tried the below on Windows 7 64 bit. Open notepad.exe, paste the below entry and save it as "EnableDump.reg". You can give any name you wish. Windows Registry Editor Version

How do I use a dump file to diagnose a memory leak?

五迷三道 提交于 2019-11-26 14:59:22
问题 I have a .NET service with a normal private working set of about 80 MB. During a recent load test, the process reached 3.5 GB memory usage causing the whole machine to be low on physical memory (3.9 of 4 GB used), and the memory was not released long after the load test was stopped. Using task manager, I took a dump file of the process and opened it in Visual Studio 2010 SP1, and I am able to start debugging on it. How do I diagnose the memory issue? I have dotTrace Memory 3.x at my disposal,

Dump File analysis

岁酱吖の 提交于 2019-11-26 11:36:38
问题 Recently I start facing issue on few servers where CPU start consuming more resources than usual trend. I am trying to find out the root cause for this and took the dump of w3wp process from Task Manager(right click on process and took the dump). Now the dmp file size is 14GB and I am trying to analyze it through WinDBG but the tool is not working and getting message: I also took few minidumps but some of them opening fine while few are not so it\'s not related to confusion between 32bit or

Windows does not produce full crash dumps even though registry is set correctly

青春壹個敷衍的年華 提交于 2019-11-26 07:47:33
问题 My client are experiencing software crashes with a VB6 program I wrote. I had set up the registry to produce full crash dumps, and I saw it working correctly with other programs that crashed on their system, but for some reason, for my program, it stil creates the simple crash dumps in a totally different directory. My program is 32 bit running on an x64 computer. I have setup the registry as shown in the picture, both for SOFTWARE\\Microsoft and SOFTWARE\\Wow6432Node\\Microsoft. Still doesn\

How do I take a good crash dump for .NET?

末鹿安然 提交于 2019-11-25 23:03:35
问题 I have captured a crash dump of my 32 bit .NET application running on a 64 bit Windows operating system. During the analysis somebody found out that I have a 64 bit dump and told me that it is not possible to analyze this dump due to wrong bitness. When using Windows Task Manager to create the dump, I was not aware that I was doing something wrong. This always worked for 32 bit operating systems. How can I take a good dump for .NET, especially with the correct bitness? 回答1: Why is bitness