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
1
vote
1 answer

Qt, Google BreakPad and MacOs

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…
Ludek Vodicka
  • 1,610
  • 1
  • 18
  • 33
0
votes
1 answer

Using Breakpad on libraries: symbol structure query

I'm implementing Breakpad into a couple of applications where having a stack trace would be really useful but I slightly confused with what to do with the symbol files for some of our libraries. I've generated a symbol table for Application and for…
Nicholas Smith
  • 11,642
  • 6
  • 37
  • 55
0
votes
0 answers

google minidump_stackwalk displays the message 'XXX.dmp has no thread list'

My project is built on MAC M1 using QT 5.15.2, intended to be compiled for the x86_64 architecture. I integrated Breakpad to handle crash information. I deliberately triggered a crash, received the dump file saved by Breakpad, and then ran…
Byons
  • 1
0
votes
1 answer

Missing function name in minidump_stackwalk on OSX release

I have this simple main causing a crash on macos and I am trying to explore its minidump using the breakpad project: #include // A callback function to run after the minidump has been written. bool…
Paltoquet
  • 1,184
  • 1
  • 10
  • 18
0
votes
0 answers

Google Breakpad Microdump Example Usage

I have been looking into google breakpad for crash reporting on a linux port of some old windows code that already uses minidump. I am interested in utilizing the microdump functionality in linux, but I can't seem to find any examples for even basic…
0
votes
1 answer

Google breakpad crashes when run under a debugger

We have a problem where initializing the Google Breakpad exception handler errors out when the program is run under lldb, but not when run normally from the shell. The system is MacOS 13 (Ventura) and the IDE is Visual Studio Code. The code below…
Alex O
  • 1,429
  • 2
  • 13
  • 20
0
votes
0 answers

dump_sys.exe google breakpad for mingw not working

I am trying to integrate google breakpad with my qt application in order to generate the dump file. this is working fine. dump file is getting generated whenever application is crashing but next step is to generate the symbol file for that exe. to…
0
votes
1 answer

chrome crashes when debugging in a specific file while firefox is OK

I'm using chrome devtools to debug a JS class file. And it always crashes when I move the mouse to view the value of some variables(almost every function in this file could trigger the crash). While everything is OK when using firefox. I managed to…
0
votes
1 answer

Different Stacktraces for NewHandler and UnhandledExceptionHandler

I have the following code: #include #include #include #include #include #include #include #include #include "StackWalker.h" int minidumpId =…
0
votes
1 answer

Breakpad Client not generated when cross-compiling

I'm trying to cross-compile Google Breakpad. I'm executing the following commands: $ ./configure --prefix=/opt/breakpad CFLAGS="-Os" CC=PATH_ARM_COMPILER/arm-linux-gcc CXX=PATH_ARM_COMPILER/arm-linux-g++ --host=arm $ make $ make install It…
Jairo Reyes
  • 3
  • 1
  • 4
0
votes
1 answer

No Module error from minidump_stackwalk in Breakpad

I have started working with google breakpad on Linux very recently. I have cloned it and built it successfully. I followed the steps given in: https://chromium.googlesource.com/breakpad/breakpad/+/master/docs/linux_starter_guide.md. I have created…
Ritanya
  • 31
  • 3
0
votes
0 answers

Backtrace not corrent when gdb with core from minidump-2-core

I am trying to debug a crash from my Android app, this crash occurs in my NDK armv7a so library, and Google breakpad reports the minidump. I build breakpad in qemu-system-arm, and minidump_stackwalk works well: #…
0
votes
1 answer

When does a signal get automatically rethrown?

The following comment in breakpad suggests that resetting the signal handler forces the signal to be rethrown. However, I wasn't able to find any documentation online that describes this behaviour. Additionally, the comment here says once the signal…
black
  • 781
  • 1
  • 7
  • 22
0
votes
0 answers

Converting coredump to minidump on the fly

I am trying to automate the conversion of linux kernel-generated coredumps to minidumps (using breakpad tools) on an embedded linux system running on an aarch64 board with 1Gb RAM. The main problem I have is that the coredumps generated are too big…
Prewitt
  • 33
  • 2
  • 10
0
votes
1 answer

Breakpad's dump_syms not working properly

The thing is that I have been working with breakpad recently and I have some issue generating the "FILE" data in the sym file. In my sym file : FILE 46 c:\users\soorya-pt2570\desktop\project…
Soorya J
  • 23
  • 12