crash-dumps

Native crash in unknown unknown

岁酱吖の 提交于 2019-12-19 06:46:26
问题 I have an app which is entirely written in Java - no native code whatsoever - and I've twice had a crash report on the Developer Console "Native crash in unknown unknown". I have no idea where to start locating the source of the problem. Searching has only revealed this type of crash in the case of Android bugs, NDK usage or buggy third party libraries. For what it's worth, here is one of the logs: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'samsung

Collect crash .dmp and .hdmp files after a crash of C++ service and a user-mode app

左心房为你撑大大i 提交于 2019-12-19 04:18:26
问题 I'm coding in C++/MFC using WinAPIs. My software consists of a local service and a user-mode app that provides user interface for a logged in Windows user. I'm looking for a way to collect .dmp and .hdmp files in case of crash in either of those modules. I know that WER supposedly collects them and submits them to Microsoft. Is there a way to collect those files and keep them somewhere on the hard drive? PS. I need this to work under Windows XP SP3, Vista, 7, 8. 回答1: Windows 2000 and XP

Cross-platform crash handler

久未见 提交于 2019-12-18 14:44:54
问题 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? 回答1: Well, it turns out that google-breakpad is pretty nice after

How to I resolve GetFrameContext failed in Windbg

孤人 提交于 2019-12-18 13:01:33
问题 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? 回答1: I was also getting this error, but I noticed that running !DumpStack does give me a trace when !ClrStack does not.

Core dump in Linux

假装没事ソ 提交于 2019-12-18 11:10:28
问题 I want to create a core dump whenever my process crashes. Currently I am following this approach: Build a special "debug" version of the program using "-g" of gcc/g++. Execute "ulimit -c unlimited" Now we get the core dump whenever the program crashes. But I want to minimize the number of steps so that: Core dump should always get created. Even if it is "release" build. The user should not be asked to execute the command " ulimit -c unlimited " manually. That core dump's backtrace should be

Is it possible to specify where JVM's crash dumps go?

↘锁芯ラ 提交于 2019-12-17 23:44:42
问题 We have a desktop application using JNI that occasionally causes the JVM to crash. Luckily the JVM produces a hs_err_pidXXXX.log file, which is quite useful in debugging such errors. However, it always seems to go to the current working directory, and it's annoying to dig it from there, since our other log files all go to a specific "log file place". Is it possible to specify different location for those "crash dump" files? How? 回答1: Joonas, Although the HeapDumpPath works for the heap dump

Including custom data into iOS crash dumps

别等时光非礼了梦想. 提交于 2019-12-17 06:31:10
问题 Hello Stack Overflow ! A simple question for you : is it possible to embed custom error data into automatically generated iOS crash dumps I get from my users when my app crashed on their device ? For example : My SQlite database won't operate for some reason (say, the database file is corrupted).. I cannot recover from this error, so I throw an exception, and embed in the exception the detailed sqlite error message. The problem is, the crash dump of the application won't contain the exception

Generating .NET crash dumps automatically

此生再无相见时 提交于 2019-12-17 04:54:30
问题 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! 回答1: Note that creating a minidump

What do the “compacting perm gen” values represent?

馋奶兔 提交于 2019-12-13 13:29:35
问题 I'm investigating a JVM crash on one of our production systems, what do the following memory values represent in the hs_err_pid log file snippet below? Heap par new generation total 1258624K, used 955445K [0x00000005c0000000, 0x00000006155b0000, 0x000000066aaa0000) eden space 1118784K, 73% used [0x00000005c0000000, 0x00000005f1e52598, 0x0000000604490000) from space 139840K, 98% used [0x000000060cd20000, 0x00000006153db100, 0x00000006155b0000) to space 139840K, 0% used [0x0000000604490000,

How to get handle to an event that may cause my application to go in hang state

为君一笑 提交于 2019-12-13 06:52:34
问题 I am doing a dump file analyis for an application hang problem. Here is one interesting line from the stack trace. 0bc2f3e4 75a8bd1e 0bc2f298 0bc2f30c 00000001 ntdll!KiFastSystemCallRet 0bc2f32a 6a393c42 00000001 7ffdf000 00000001 kernel32!WaitForMultipleObjectsEx+0x8e Looking at WaitForMultipleObjectEx description in MSDN, the second parameter is const HANDLE *lpHandles. This make me thing that I should be able to do a !handle 7ffdf000 to figure out which event is it waiting for but when I