Questions tagged [google-breakpad]

Breakpad is a library and tool suite that allows you to distribute an application to users with compiler-provided debugging information removed, record crashes in compact "minidump" files, send them back to your server, and produce C and C++ stack traces from these minidumps. Breakpad can also write minidumps on request for programs that have not crashed.

Breakpad has three main components:

The client is a library that you include in your application. It can write minidump files capturing the current threads' state and the identities of the currently loaded executable and shared libraries. You can configure the client to write a minidump when a crash occurs, or when explicitly requested.

The symbol dumper is a program that reads the debugging information produced by the compiler and produces a symbol file, in Breakpad's own format.

The processor is a program that reads a minidump file, finds the appropriate symbol files for the versions of the executables and shared libraries the minidump mentions, and produces a human-readable C/C++ stack trace.

(excerpt from Google Breakpad's wiki)

108 questions
2
votes
1 answer

Symbolicate calls into macOS system libraries?

I'm working on a macOS application that uses Google Crashpad to upload customer crash reports back to us. The crash dumps generated by that tool are fully symbolicated for our app, but NOT for the system libraries. This is the opposite of the crash…
craig65535
  • 3,439
  • 1
  • 23
  • 49
2
votes
0 answers

How to interpret breakpad microdump from logcat on windows?

I am trying to convert my old app into an instant app. After solving many issues with the instant app project structure, I was able to make a build as a regular app that runs without issues on the testing devices (android 7.0, Armv8). However, when…
2
votes
2 answers

How to run Boost Test and produce Minidumps?

Our project uses Boost.Test for our units tests. We would like to get minidumps when unexpected exceptions occur during our test cases as well, so we've started integrating Google Breakpad to write the minidumps. It looks like Boost.Test is…
mbradber
  • 489
  • 5
  • 17
2
votes
1 answer

breakpad not generate minidump on erase iterator twice

I find breakpad does not handle sigsegv sometimes. and i wrote a simple example to reproduce it: #include #include int InitBreakpad() { char core_file_folder[] = "/tmp/cores/"; …
Zendo June
  • 91
  • 1
  • 3
2
votes
1 answer

Breakpad exception handler not used in a DLL on WIndows?

I am working on a python application that loads a C++ DLL. In such DLL we do all the heavy work and we want to add Google's breakpad crash report system into it. On Windows, we instanciate an exception handler once that DLL is loaded. However, that…
Tayliator
  • 43
  • 9
2
votes
1 answer

How to create breakpad symbols?

I run a mini-breakpad-server on my server and it's collecting the reports correctly from my Electron app, however I don't know how to create breakpad symbols (for windows, OSX, Linux) to work with my Electron app, could you give me a hint please?
ePezhman
  • 4,010
  • 7
  • 44
  • 80
2
votes
1 answer

Qt Breakpad results

Im following the notes from this url I have it compiled on my code (Qt, windows, VS 2015) I run it in debug mode and when it crashes I do the following: Create the symbol file dump_syms.exe ZendeskClient.exe > ZendeskClient.sym Using the dmp and…
adviner
  • 3,295
  • 10
  • 35
  • 64
2
votes
1 answer

breakpad 32-bit build fails on a 64-bit Linux system

I am trying to build 32-bit breakpad on a 64-bit Linux system but I am getting the build error. I did the following as explained here. ./configure CXXFLAGS=-m32 CFLAGS=-m32 CPPFLAGS=-m32 make In make, I am getting the following…
Arpit
  • 767
  • 7
  • 20
2
votes
1 answer

Useless dumps in google-breakpad

I inserted google-breakpad into my test app. But after application crashes and I get info from the dump, in crashed thread always this: google_breakpad::ExceptionHandler::WriteMinidumpOnHandlerThread What am I doing wrong? How can I get usefull…
user2123079
  • 656
  • 8
  • 29
2
votes
1 answer

Does breakpad's dump_syms tool handle gnu_debuglink sections?

I'm having a hard time generating breakpad symbols on Linux from stripped binaries. I compile with: gcc-4.4 -c -I../include -D_LINUX -m64 -fPIC -D__LP64__ -D_GNU_SOURCE -Wno-switch -Wno-missing-braces -fno-strict-aliasing -Wreturn-type -Wall…
Artfunkel
  • 1,832
  • 17
  • 23
2
votes
1 answer

Child hangs if parent crashes or exits in google_breakpad::ExceptionHandler::SignalHandler

This happens if parent crashes after cloning child process, but before sending the unblocking byte with SendContinueSignalToChild(). In this case pipe file handle remains opened and child stays infinitely blocked on read(...) within…
Dmitriy B
  • 23
  • 1
  • 3
2
votes
0 answers

How to add google-breakpad to iOS project?

I want to add google-breakpad to iOS project, unfortunately documentation of iOS client doesn't exist (or i can't find it) and my knowledge of mac/xcode/ios is really poor. How can i configure it?
2
votes
2 answers

Embedding thread names in Windows minidump files

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…
Chris Kline
  • 2,249
  • 26
  • 32
2
votes
0 answers

VST unable to be loaded after links with Google Breakpad

I'm trying to build a 32-bit VST plugin on OSX and link it with Google Breakpad. Breakpad.framework can be built by following official guide https://code.google.com/p/google-breakpad/wiki/MacBreakpadStarterGuide But the VST is no longer able to be…
nono_liang
  • 21
  • 2
2
votes
1 answer

Breakpad fails to create minidump on target when I use threads

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…
Mr Stinky
  • 881
  • 2
  • 11
  • 23