Questions tagged [postmortem-debugging]

Postmortem debugging concerns debugging of programs that have already terminated.

Postmortem debugging concerns debugging of programs that have already terminated, often through the inspection of memory dumps created on program crash.

See :

89 questions
19
votes
6 answers

Tool for analyzing .Net app memory dumps

Can somebody suggest a good free tool for analyzing .Net memory dumps other than Adplus/windbg/sos ?
Gulzar Nazim
  • 50,518
  • 24
  • 125
  • 170
15
votes
3 answers

Cross-platform crash handler

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…
Thomi
  • 11,159
  • 9
  • 67
  • 109
8
votes
2 answers

Debugging .Net String value in windbg

I have a .Net application dump which captured an exception, I'm analysing using windbg and interested in the value of a String parameter on one of the methods. I've isolated the String object. My windbg working is: 0:000> .loadby sos mscorwks 0:000>…
MrBry
  • 382
  • 4
  • 14
8
votes
5 answers

How to debug a WER minidump of an "ngen"ed image

When ngen is executed on a .NET managed application at installation time, and a crash dump is retrieved from Windows Error Reporting for the app, how can you use it to see a stack trace, variables, etc.? Here's some background related to the…
Edward Brey
  • 35,877
  • 14
  • 173
  • 224
7
votes
1 answer

Remote Post-mortem coredump analysis without having exact debug symbols for shared system libraries

How do you usually get around this problem? Imagine that a thread crashes inside libc code (which is a system shared library) on Computer1 and then generates a coredump. But the Computer2 on which this coredump will be analysed might have a…
user389238
  • 1,576
  • 3
  • 18
  • 40
6
votes
1 answer

Including WinDbg in the vsjitdebugger list

Is it possible to include WinDbg in the list of debuggers shown by vsjitdebugger when the latter is configured as the default debuuger in HKLM...\AeDebug? Ideally I would like to be able to include a few more command-lines to the list of choices in…
VoidPointer
  • 16,811
  • 14
  • 51
  • 58
6
votes
1 answer

Find URL from call stack with WinDBG

I intermittently receive a browser hang with this error in a dump file. After using !analyze -v on 3 crashes I receive this error and stack GetUrlPageData2 (WinHttp) failed: 12007. However, I can never find the URL in my dump file that is failing.…
6
votes
3 answers

What exactly happens if you delete an object? (gcc) (When double-delete crashes?)

Please note that I don't want to solve any problem with my question - I was thinking about probabilities of things to happen and thus was wondering about something: What exactly happens if you delete on object and use gcc as compiler? Last week I…
IanH
  • 3,578
  • 2
  • 20
  • 25
5
votes
1 answer

CDB doesn't show the line of code as WinDBG does for callstacks

I am using WinDBG 6.12.0002.633 X86. I'm having an issue with the command-line debugger CDB not showing the same results as WinDBG for the k and kL commands. In WinDBG, the k command correctly shows the line of code for the callstack where the kL…
PaulH
  • 7,467
  • 7
  • 63
  • 133
5
votes
1 answer

GDB: how to see what memory addresses are accessible?

Suppose, in a debugging session I have an address which unfortunately points to some rubbish. And I want to examine memory around it to see what's located near. As expected, the following error occurs: (gdb) x/64 $t5 0x842da7ac: Cannot access…
Andy
  • 1,384
  • 15
  • 31
5
votes
1 answer

Setting up a postmortem debugger for Windows services

Is it possible to create a full memory dump of a Windows service when it crashes? Obviously, there are the well known postmortem debuggers, which can collect a memory dump of a failing process. But the problem with Windows services is that they are…
Allgaeuer
  • 445
  • 1
  • 6
  • 12
5
votes
3 answers

Finding the pointer to a singleton postmortem in GDB (C++)

I am doing a postmortem analysis of a crashed program. I am on Linux (Ubuntu 12.04, x86), the code is written in C++. The Program is using some singletons that may contain valuable information. Is it possible to find the pointer to the instance of…
techshack
  • 359
  • 2
  • 18
5
votes
3 answers

Occasional EAccessViolation in VCL/comctl32.dll/USER32.dll/GDI32.dll after receiving WM_PAINT

I need some suggestions for debugging a crash in a Delphi XE2 application. I've never seen the crash myself - indeed it occurs very rarely and is not reproducible on demand. We do though have a set of 10 crash reports from MadExcept. These show…
Ian Goldby
  • 4,428
  • 36
  • 71
5
votes
1 answer

Identify concrete type of object behind auto_ptr from core dump

I have an auto_ptr, where IFoo is an interface with just pure-virtual methods. I now also have a core-file after a segmentation fault, where I'd really like to know what the concrete sub-class was behind this auto_ptr. As dynamic_cast works in…
Martin C.
  • 10,762
  • 6
  • 38
  • 52
4
votes
2 answers

windbg.exe: Failed to load data access DLL, 0x80004005

I'm trying to debug a 32 bit process dump from a process that ran on an x64 machine. I'm running an x86 version of windbg on my x64 laptop. I've followed the recommendations here, but I'm still getting this: 0:000> .cordll -ve -u -l CLR DLL status:…
friism
  • 18,110
  • 5
  • 72
  • 114
1
2 3 4 5 6