minidump

Google crashpad on a cross-compilation platform application. Cannot read dmp file in Ubuntu

别来无恙 提交于 2020-06-27 16:36:08
问题 I have a small qt project with a segmentation fault that I want to track (this is an example and the segmentation fault is manually added for testing purposes, in the real project I do not know the segfaults left there). I decided to use google crashpad so I can create minidump files and then track the issues on my computer. I have been successful in doing so in windows with the example project. However, I am cannot open the dmp files in Linux to debug them. I have tried using minidump-2-core

Google Breakpad原理及说明

守給你的承諾、 提交于 2020-01-15 18:27:51
作者:lds( lds2012@gmail.com ) 日期:2017-03-24 一. BreakPad简介 Google breakpad是一个跨平台的崩溃转储和分析框架和工具集合。 Breakpad由三个主要组件: client,以library的形式内置在你的应用中,当崩溃发生时写 minidump文件 symbol dumper, 读取由编译器生成的调试信息(debugging information),并生成 symbol file processor, 读取 minidump文件 和 symbol file ,生成可读的c/c++ Stack trace. 简单来说就是一个生成 minidump,一个生成symbol file,然后将其合并处理成可读的Stack trace。 二. MiniDump文件格式 minidump文件格式是由微软开发的用于崩溃上传,它包括: 当dump生成时进程中一系列executable和shared libraries, 包括这些文件的文件名和版本号。 进程中的线程列表,对于每个线程,minidump包含它在寄存器中的状态,线程的stack memory内容。这些数据都是未解析的字节流,Breakpad client通常没有调试信息(debugging information)能生成函数名,行号,甚至无法确定stack frame的边界

How to create minidump for my process when it crashes?

旧时模样 提交于 2020-01-08 12:29:26
问题 I am not able to create minidump form my process by changing system setting. So my Question is : Will the system create a minidump for a user process when it crashes If yes, which setting do I need to configure Or do I have to create minidump programmatically. How effective are minidumps while investigating a crash I'm using Windows XP, C++, VC6 回答1: You need to programatically create a minidump (with one exception, see next link). CodeProject has a nice article on MiniDumps. Basically, you

How to create minidump for my process when it crashes?

[亡魂溺海] 提交于 2020-01-08 12:27:25
问题 I am not able to create minidump form my process by changing system setting. So my Question is : Will the system create a minidump for a user process when it crashes If yes, which setting do I need to configure Or do I have to create minidump programmatically. How effective are minidumps while investigating a crash I'm using Windows XP, C++, VC6 回答1: You need to programatically create a minidump (with one exception, see next link). CodeProject has a nice article on MiniDumps. Basically, you

Getting memory error trying to debug manage memory with a big minidump file

家住魔仙堡 提交于 2020-01-01 23:11:44
问题 I'm trying to "Debug Managed Memory" with Visual Studio 2015 Enterprise Edition. The file is at 1.2GB and after while loading I get the error message "Memory analysis could not be completed due to insufficient memory" after have been pressing "Debug Managed Memory" What can I do to still be able to look into the memory with the pdb files? Can I start Visual Studio 2015 with more memory (the computer has 25 GB memory free) I guess it has to do with Visual Studio being running with x86. 回答1: It

Getting memory error trying to debug manage memory with a big minidump file

守給你的承諾、 提交于 2020-01-01 23:11:24
问题 I'm trying to "Debug Managed Memory" with Visual Studio 2015 Enterprise Edition. The file is at 1.2GB and after while loading I get the error message "Memory analysis could not be completed due to insufficient memory" after have been pressing "Debug Managed Memory" What can I do to still be able to look into the memory with the pdb files? Can I start Visual Studio 2015 with more memory (the computer has 25 GB memory free) I guess it has to do with Visual Studio being running with x86. 回答1: It

Minidumps are not enabled by default on client versions of Windows

落爺英雄遲暮 提交于 2019-12-25 07:59:57
问题 I'm trying to connect to an application written in VB using Jintegra to access it from JAVA. Since I don't know how to work on JINTEGRA_NATIVE_MODE from Eclipse, I'm forced to use cmd and Javac... Anyways, I get this irritating error everytime I try to run the link (No actual code, just the link to the other application. I read all other related questions here and couldnt get anything that might help.. I'm totally novice about this.. Please If you can help, gimme a hand here.. Here is the

How to take a minidump of a web application on concrete exception running in a farm with periodic recycling?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 18:23:50
问题 Given: sometimes a certain exception occurs in our web application, which we cannot reproduce, except in production. Unfortunately, there are no telemetry and the logs are not helpful. Wanted: minidump when exception happens Problem: Running procdump is not helpful, because the process is periodically recycled. A solution is needed that would run ProcDump automatically whenever the web application starts and do it on each and every web server in the farm. Before engaging in writing an in

cdb and windbg unable to load MiniDumps, but VS 2008 loads them fine

坚强是说给别人听的谎言 提交于 2019-12-24 16:34:18
问题 I am trying to build some automated crash dump analysis, but I cannot get cdb or windbg to load my crash dumps. They load just fine in VS 2008. When I run dumpchk.exe on the file, I get: Loading Dump File [c:\devx86\temp\ErrorDump.mdmp] User Mini Dump File: Only registers, stack and portions of memory are available ERROR: Memory range data only partially present in dump (RVA 0x1011F, size 0x94) **** DebugClient cannot open DumpFile - error 80070570 DumpFile is corrupt When I run cdb on the

Access violation in MiniDumpWriteDump when invoked out-of-process

痞子三分冷 提交于 2019-12-24 11:25:40
问题 The documentation of the MiniDumpWriteDump function states that MiniDumpWriteDump should be called from a separate process if at all possible, rather than from within the target process being dumped. So I wrote a small MFC crash handler program that does just that. I followed the advice in this SO answer by Hans Passant, i.e. I am passing the value of the exception pointer from the crashing program to the crash handler program even though the exception pointer is not valid in the context of