google-breakpad

How do I build Google Crashpad into Shared (Dynamic) Libraries?

怎甘沉沦 提交于 2020-01-06 08:11:22
问题 Problem Summary I'm trying to integrate Google Crashpad, (successor of Google Breakpad) a crash reporting system, into a software suite that links to all of its external libraries dynamically. My problem is that the default of Crashpad is to build as a static library - I need to build it dynamically . After cloning Crashpad, GN is used to generate the .ninja files for the build. The build commands are as follows: $ gn gen out/Default The above command generates all of the .ninja files. (Aside

Breakpad fails to create minidump on target when I use threads

我的未来我决定 提交于 2019-12-24 05:12:22
问题 I've found that my test application does not generate a correct dump file when I use threads. I am using a cross-compiler to build the Breadpad library which is then linked with my cross-compiler to run on the target. I'll start by explaining my set up: Building on: Ubuntu 12.04, i686 Host/Target: Vortex86DX which is an i586 cpu, fully custom Linux system Build tools: Buildroot, crosstool-ng, gcc 4.4.6, glibc 2.9 To build Breakpad I do this: $ ./configure CC=/opt/br/output/host/usr/bin/i486

App crashed even after catching signal by google_breakpad?

青春壹個敷衍的年華 提交于 2019-12-13 04:34:28
问题 Google breakpad catches signal (about crash in native code via JNI) but the app still dies after it. What should be done in order to prevent it? log: 03-08 15:04:13.398: ERROR/NATIVE_LIB(2828): init breakpad 03-08 15:04:13.398: ERROR/NATIVE_LIB(2828): testing crash 03-08 15:04:13.468: ERROR/NATIVE_LIB(2828): Dump path: ./5f6097b2-5feb-0723-3271a7ff-2a4fcadd.dmp 03-08 15:04:13.468: WARN/crash_handler(2828): Caught a crash, signum=11 ... 03-08 15:04:14.589: INFO/ActivityManager(544): Process

stackwalker loads all symbol files, but still doesn't symbolicate anything

落爺英雄遲暮 提交于 2019-12-12 07:29:15
问题 I'm probably doing something wrong, but I can't figure this one out. I have a simple crash minidump, generated on Windows. If I open the dump in visual studio, it loads without problems and show the crash line. But I cannot get it to symbolicate in minidump_stackwalker. I did create a symbol repository folder, inside I have: symbols/myapplication.pdb/67892B042C8F4CCFAA6BE53445F9B2141/myapplication.sym and all the: symbols/wkernel32.pdb/XXXXXX/wkernel32.sym etc used by the application. When I

Qt, Google BreakPad and MacOs

╄→尐↘猪︶ㄣ 提交于 2019-12-08 04:43:08
问题 Is here anyone who successfully build Google Breakpad on MacOS using standard Qt tool chain without xcode? I'm trying to get work this library for two days now and still without success. I already successfully compiled it and ran it on Windows and Linux. (from original Google-git repository). But MacOS version of library has missing makefile for libbreakpad_client.a and generated libbreakpad.a does not contain the exception handler. http://screencast.com/t/V0mNiM3kZ I found few topic about

Embedding thread names in Windows minidump files

大城市里の小女人 提交于 2019-12-08 04:15:55
问题 Our 32-bit C++ application names its threads using the standard approach on Windows. We generate minidumps when errors occur, but when the dumps are loaded into Visual Studio 2013 the thread names are missing. This makes it harder to debug the problem given the high number of threads present. The only way I've heard of to improve this comes from this Microsoft User Voice posting, where the caller suggests embedding them in a custom stream, and writing a custom Visual Studio extension to

Building Google Breakpad on Mac OS X

天大地大妈咪最大 提交于 2019-12-04 12:14:16
问题 I am attempting to build Google Breakpad for Mac OS X as a part of porting an application, based on the trunk revision 782. The Breakpad wiki specifies that one should build client/mac/Breakpad.xcodeproj, which produces a Breakpad.framework including a dynamically linked lib if I understand correctly. There is also sample code on how to use this from an Objective-C application, but all this seem very different from what seems to be the normal way of doing things on other platforms, including

Using Google Breakpad for Android NDK?

我们两清 提交于 2019-12-03 18:59:41
问题 Is anyone using Google Breakpad for Android native code (NDK) ? If so, could you elaborate on how to get it up and running (the client side that is). The docs are very limited and don't mention Android at all. The build system contains android information though which make me think it shouldn't be a problem. 回答1: Sorry about that, I did the initial port but I didn't really document anything. However, one of the Chrome engineers did some work on the port and wrote a really nice README: https:/

Building Google Breakpad on Mac OS X

。_饼干妹妹 提交于 2019-12-03 06:45:56
I am attempting to build Google Breakpad for Mac OS X as a part of porting an application, based on the trunk revision 782. The Breakpad wiki specifies that one should build client/mac/Breakpad.xcodeproj, which produces a Breakpad.framework including a dynamically linked lib if I understand correctly. There is also sample code on how to use this from an Objective-C application, but all this seem very different from what seems to be the normal way of doing things on other platforms, including the use of plists and other things that are not part of my application. I would much rather do things

stackwalker loads all symbol files, but still doesn't symbolicate anything

谁说胖子不能爱 提交于 2019-12-02 20:59:26
I'm probably doing something wrong, but I can't figure this one out. I have a simple crash minidump, generated on Windows. If I open the dump in visual studio, it loads without problems and show the crash line. But I cannot get it to symbolicate in minidump_stackwalker. I did create a symbol repository folder, inside I have: symbols/myapplication.pdb/67892B042C8F4CCFAA6BE53445F9B2141/myapplication.sym and all the: symbols/wkernel32.pdb/XXXXXX/wkernel32.sym etc used by the application. When I call "minidump_stackwalk mycrash.dmp symbols", stderr shows that simple_symbol_supplier finds all the