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
19
votes
4 answers

Using Google Breakpad for Android NDK?

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…
olafure
  • 3,518
  • 2
  • 33
  • 45
14
votes
2 answers

What is the difference between Google's breakpad and crashpad libraries?

They both are crashing report libraries that generates minidump for developer analyzing, and both are developed by Google's Chromium project: breakpad crashpad Any difference in their intended use cases?
Leedehai
  • 3,660
  • 3
  • 21
  • 44
13
votes
2 answers

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

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…
stephane
  • 807
  • 7
  • 9
11
votes
2 answers

How to build google google-breakpad for windows?

I am trying to build google breakpad for windows. I don't get it. I tried installed autoconf and m4 for Windows which seems to work. But running m4 CXXFLAGS=-m32 CFLAGS=-m32 CPPFLAGS=-m32 ./configure results in func_dirname () { # Extract…
RED SOFT ADAIR
  • 12,032
  • 10
  • 54
  • 92
9
votes
1 answer

Google Breakpad examples

Does anyone have any examples of configurations for google breakpad? I can build it just fine, however, there is limited documentation. I would like to see examples, such as how to modify where crash reports get sent to.
chadb
  • 1,138
  • 3
  • 13
  • 36
9
votes
3 answers

configure error "A compiler with support for C++11 language features is required."

I am trying to build the breakpad libraries based on the documentation from https://chromium.googlesource.com/breakpad/breakpad/ but when I execute ./configure && make, I get an error when checking for c++11, even though I am currently able to…
Miguel Mesquita Alfaiate
  • 2,851
  • 5
  • 30
  • 56
8
votes
3 answers

Building Google Breakpad on Mac OS X

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…
villintehaspam
  • 8,540
  • 6
  • 45
  • 76
8
votes
1 answer

How to build google breakpad

I'm totally lost on how to build Google's breakpad. There is a sln file, but it depends on a library that doesn't seem to have an associated sln. It seems to use something called gyp that I haven't figured out how to get working. I tried python…
Steve
  • 11,763
  • 15
  • 70
  • 103
7
votes
2 answers

No symbols in google breakpad stack trace when applying compiler optimizations

The main point of a crash reporter tool like Google breakpad is to generate core dump or minidump files from stripped binaries to process later with debugging symbols. normally these binaries are release builds with compiler optimizations applied…
IMAN4K
  • 1,265
  • 3
  • 24
  • 42
7
votes
2 answers

Convert std::exception to EXCEPTION_POINTERS

I may be completely misunderstanding how to use the Google Breakpad API, and am open to comments / suggestions / rude remarks if that is the case. I am trying to call the following C++ function: bool WriteMinidumpForException(EXCEPTION_POINTERS*…
Dave Mateer
  • 17,608
  • 15
  • 96
  • 149
6
votes
0 answers

Using Google Breakpad for MinGW-w64 applicaition

I'm trying to integrate Google Breakpad into a Windows Qt project. When I compile it with MinGW(not w64), the Breakpad worked as expected and generated a Minidump file when the app crashes. However, when I compile the same code with MinGW-w64, the…
rolevax
  • 1,670
  • 1
  • 14
  • 21
6
votes
1 answer

Why does google breakpad not handle all crashes? How can I debug these cases?

I'm using google-breakpad. This is a bug reporting program that runs in the background to report another process's crashs. It works in almost every situation. However it occasionally fails to catch a crash. There's no report and no dump file. It…
Hybrid
  • 261
  • 4
  • 10
5
votes
1 answer

Stack trace: stack scanning vs call frame vs given as instruction pointer in context

I'm using breakpad in my project to handle crashes and generate stack trace. In stack trace, there are different ways how function calls info found by stackwalker. Process described here Finding_the_caller_frame: Found by: stack scanning Found by:…
Jurasic
  • 1,845
  • 1
  • 23
  • 29
5
votes
3 answers

Multi-platform crash reporting system for Qt applications

I am creating a multi-platform Qt application for which I would want a crash reporting system to generate a crash report whenever there's a crash on the user's computer. At a later point, I should be able to view the stack trace with all the debug…
Soumya Das
  • 1,635
  • 2
  • 19
  • 28
4
votes
2 answers

Google Breakpad fails to compile

I am attempting to build google-breakpad and I am getting the error File "C:\google-breakpad\src\tools\gyp\pylib\gyp\generator\msvs.py", line 907, in _GetPathDict parent_dict = _GetPathDict(root, parent) File…
chadb
  • 1,138
  • 3
  • 13
  • 36
1
2 3 4 5 6 7 8