crash-dumps

How do symbols affect call stack walking?

本小妞迷上赌 提交于 2019-12-12 11:27:22
问题 I'm trying to analyze a crash dump with windbg, and I'm getting inconstant crash dumps depending on what symbols are loaded. My simple understanding is that the symbols only help point to what the stack is referring to, but the stack itself is unchanged. That's obviously wrong, but now I don't know what the heck I'm looking at. Heres a call stack with all symbols loaded: 0:000> kn # ChildEBP RetAddr 00 0012e120 7d61f60f ntdll!ZwGetContextThread+0x12 01 0012e130 000f0005 ntdll!RtlFreeHeap

Analyze memory with crash with kdump

隐身守侯 提交于 2019-12-12 09:25:04
问题 I have a kdump that says crash> kmem -i PAGES TOTAL PERCENTAGE TOTAL MEM 468778 1.8 GB ---- FREE 2107 8.2 MB 0% of TOTAL MEM USED 466671 1.8 GB 99% of TOTAL MEM SHARED 193447 755.7 MB 41% of TOTAL MEM BUFFERS 746 2.9 MB 0% of TOTAL MEM CACHED 186315 727.8 MB 39% of TOTAL MEM SLAB 26366 103 MB 5% of TOTAL MEM TOTAL SWAP 273103 1 GB ---- SWAP USED 27566 107.7 MB 10% of TOTAL SWAP SWAP FREE 245537 959.1 MB 89% of TOTAL SWAP which doesn't look like a user space process memory leak. How can I see

Diagnosing CLR errors in Windows Event Viewer

↘锁芯ラ 提交于 2019-12-12 08:53:48
问题 We have an .NET desktop application that crashed in production. How do we diagnose the error? I'd like to know the type of exception that occurred, the error message, and the stack trace. Because the exception wasn't handled by our code, we received the "This application has encountered a problem and needs to close" Windows message box. The only option was to close, there was no debug button. This MSDN article suggested looking in the Windows Event registry. I checked there, and here's the

Workaround for Java bug which causes crash dump

余生颓废 提交于 2019-12-12 08:34:06
问题 A program that I've developed is crashing the JVM occasionally due to this bug: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8029516. Unfortunately the bug has not been resolved by Oracle and the bug report says that there are no known workarounds. I've tried to modify the example code from the bug report by calling .register(sWatchService, eventKinds) in the KeyWatcher thread instead, by adding all pending register request to a list that I loop through in the KeyWatcher thread but it

Is it possible to symbolicate MonoTouch crash dumps and get line numbers out of them?

余生长醉 提交于 2019-12-12 07:38:34
问题 Is it possible to symbolicate MonoTouch crash dumps and get line numbers out of them? If so, how is it done? I have configured my project in the following way: Build in release mode Checked 'Enable debugging' in Project Options -> Build -> iPhone Build -> General tab Checked 'Emit debugging information' in Project Options -> Build -> Compiler Now, when I run symbolicatecrash against a dump, I get my method names in the stack trace but with only an offset against them (eg '+ 268') rather than

Analyzing CPU registers during kernel crash dump

一世执手 提交于 2019-12-12 07:24:13
问题 I was debugging a issue and hit the below kernel crash along with crash dump being generated. To some extent i do know, how to get to the exact line in the code where the issue occurred using gdb (l *(debug_fucntion+0x19)) command. <1>BUG: unable to handle kernel paging request at ffffc90028213000 <1>IP: [<ffffffffa0180279>] debug_fucntion+0x19/0x160 [dise] <4>PGD 103febe067 PUD 103febf067 PMD fd54e1067 PTE 0 <4>Oops: 0000 [#1] SMP <4>last sysfs file: /sys/kernel/mm/ksm/run <4>CPU 7 <4

Postgres - Cent OS. After machine crash, Posgtres Database updated Wrongly using Fsync

醉酒当歌 提交于 2019-12-12 02:36:13
问题 I am using Centos 6 and PostgresSQL 9.4. In my configuration file , fsync and full_page_writes options were enabled. Some point , My machine got crashed and restarted. After that, i checked my database, all the entries are wrongly updated. My entire databse is fully changed. I read about fsync, it will automatically recover the data at consistent point. But why My database is getting wrongly updated???. And also i need which time my postgres server got shutdown and restarted ?? Then which

CDB is unable to load dump file but VS 2013 loads it fine

那年仲夏 提交于 2019-12-11 18:08:54
问题 I have built an automated crash dump analysis, but I can't get CDB to load a specific crash dump. It loads just fine in VS 2013. I'm using the Debugger Tool from the Windows Driver Kits 8.1 (6.3.9600.16384) which seems to be the latest one. When I run cdb.exe on the file, I get: C:\Users\me>"C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\cdb.exe" -z "D:\DumpFiles\crashdump.mdmp" Microsoft (R) Windows Debugger Version 6.3.9600.16384 AMD64 Copyright (c) Microsoft Corporation. All rights

How can I take a dump file for Winforms application

自作多情 提交于 2019-12-11 16:07:34
问题 I have a C# application which is crashing for unknown reason. For understanding the issue, i want to take a dump file for it. How can i do it? many thanks, Oz. 回答1: Are you talking about taking a minidump when your application crashes so you can debug it with windbg or cdb ? If yes, there are different approaches: DrWatson -Run drwtsn32 -i at the commandprompt, this will activate dr watson and let it listen in the background for all crashes. Windbg -Run windbg -I from the commandpromt

Python 3.4: PyQt on Windows: Crash on exit only on some computers

故事扮演 提交于 2019-12-11 05:48:52
问题 I have a Python program that I packaged with cx_freeze to make executable. The program is strictly a desktop program for data acquisition. It works fine and exits fine on every computer, but on one desktop of one of our collaborators with Windows 7 on it, it crashes only on exit (I emphasize that no pythonic errors are given. Just a low-level crash with zero information about it). Simply starting and exiting the program crashes it! I got the guy to create a memory dump for me, and he did. The