crash-dumps

How can I know the CLR version of a crash dump?

纵然是瞬间 提交于 2019-12-01 00:24:23
问题 I have a minidump crashed from a .NET application. Is there any way to know the CLR version (e.g. version of mscorwks.dll) of the fault machine (which generates the crash dump) using either Windbg or some other tool? 回答1: In WinDbg: the easiest way is to use the !eeversion command, but if you want additional info you can use the lm command with the v verbose option for the runtime module mscorwks . If you're on .NET 4 the runtime is called clr , so in that case you need to change the command

Where are crash dumps in Windows 10 Mobile Creators update?

老子叫甜甜 提交于 2019-11-30 19:41:14
问题 In Win 10 Mobile was setting for developers where I could set the count of crash dumps must be saved on a device. After installing Creators Update that setting disappeared and crash dumps are not saving anymore. Is it possibble to save crash dumps on a device with Creators Update ? It's necessary for me. I know about app insights, but it's not variant - I need a full dump with native symbols. 回答1: Microsoft changed this since Windows 10 Mobile Creators update v1703. After activating Device

Crash dump - WinDbg - force PDB files to match doesn't work?

跟風遠走 提交于 2019-11-30 19:21:27
I have a crash dump for a customer's application built with a very old version of our dll (release build, don't have original symbols) that I've been analyzing in WinDbg. In order to get more information, I rebuilt the dll in release mode, with symbols this time, using the same compiler version and I believe the same settings as when the dll was originally built. I added the symbol file to my symbol path, but the WinDbg extension !itoldyouso tells me the module in the dump doesn't match the PDB file. Enabling SYMOPT_LOAD_ANYTHING doesn't help either. !itoldyouso tells me they don't match

Cross-platform crash handler

女生的网名这么多〃 提交于 2019-11-30 11:27:23
I'm looking for a cross-platform crash handler. Google Breakpad looks promising, but it is sorely lacking any documentation, and requires a reasonable amount of fiddling to actually get going. What is a better alternative? All I need is the ability to reliably record crash dumps, stack traces, and CPU information at the time of a crash. Alternatively, what is the experience using Google Breakpad? Has it been great or horrible? Well, it turns out that google-breakpad is pretty nice after all. It's not totally easy to set up, but it's OK for what I need. I wrote a article about dumping the stack

A process crashed in windows .. Crash dump location

心已入冬 提交于 2019-11-30 10:58:31
问题 A windows process got crashed for some reason. I need to analyse the crash dump. In Windows 2003 PC health helped us to find the crash dump file. How to get the crash dump file location in Windows 2008? 回答1: I have observed on Windows 2008 the Windows Error Reporting crash dumps get staged in the folder: C:\Users\All Users\Microsoft\Windows\WER\ReportQueue Which, starting with Windows Vista, is an alias for: C:\ProgramData\Microsoft\Windows\WER\ReportQueue 回答2: Maybe useful (Powershell) http:

How to I resolve GetFrameContext failed in Windbg

こ雲淡風輕ζ 提交于 2019-11-30 08:47:45
I'm debugging a .NET 4.0 web application using a full crash dump and Windbg. I seem able to get all the versions of everything to match up however when I try to get the managed stack trace of all the thread I get OS Thread Id: 0x7cd4 (13) Child SP IP Call Site GetFrameContext failed: 1 For all of my managed threads. Any ideas what I'm doing wrong and how I can fix it? I was also getting this error, but I noticed that running !DumpStack does give me a trace when !ClrStack does not. According to this link it could just be a thread that has been scheduled but is not running. In other words not

Application.ThreadException vs AppDomain.UnhandledException

若如初见. 提交于 2019-11-30 08:45:11
First some background: I have a multi-threaded WinForms application that is doing interop to native dlls. This application crashes sometimes with unhandled exception and we are trying to investigate why does it happen. In order to facilitate it, I am creating a global exception handler and I plan to generate process dumpfile from it. Now coming towards question: as of now this application has handler for Application.ThreadException but it still crashes with unhandled exception. I am thinking of adding a handler for AppDomain.UnhandledException also although I am not sure if its going to help.

Tool for debugging hangs in java application

坚强是说给别人听的谎言 提交于 2019-11-30 08:41:09
I've got a java application that half the time just hangs, and the other half the JVM crashes. Is there a tool I can use to see what's going on that makes it hang and/or crash? I'm using CentOS 5.6 There are two different cases. Application crash: Was that an OOM? NPE? What was the exception? If there was jvm crash you will see hs_err_.log ( http://java.sun.com/j2se/1.5/pdf/jdk50_ts_guide.pdf ) Looking at the file you may see if your own JNI caused a crash or JVM bug. Application Hang: I would start with visualvm or jstat (both are part of JDK). You can see current state of threads and check

Symbol issue when debugging C# code

拜拜、爱过 提交于 2019-11-30 07:42:58
问题 I am using WinDbg to load a crash dump from managed code (C#, a console application built for Any CPU ), and a crash dump is created on a x64 platform. I am debugging on a x64 platform. I have put the related PDB file into the symbol path. But WinDbg always find the symbol from a strange folder. Here is an example (when I got from using !sym noisy): SYMSRV: c:\MySymbols\FooService.pdb\4311207E2E2D442CB7473828D2488F941\FooService.pdb not found My application is called FooService.exe and the

How to list call stack of all managed threads using WinDBG?

孤街醉人 提交于 2019-11-30 04:33:19
I have a dump created from a managed application. I am using SOS/SOSEX extentions to ease my dump analysis. I'd like to list down the call stack of all managed threads as we do ~*kb with native applications. How do we do that? Justin Use the sos !EEStack command: 0:007> .load sos 0:007> !EEStack See SOS.dll (SOS Debugging Extension) This command will dump all managed threads ~*e!dumpstack with sosex, use ~*e!mk (~ - thread, * - all, e - execute this command, !mk - display managed stack. Most of the commands in sosex mirror the native command, but have the m (managed) in front of them. 来源: