Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Android send crash reports to backtrace.io #17563

Closed
AlexeyBarabash opened this issue Aug 19, 2021 · 1 comment · Fixed by brave/brave-core#9665
Closed

Make Android send crash reports to backtrace.io #17563

AlexeyBarabash opened this issue Aug 19, 2021 · 1 comment · Fixed by brave/brave-core#9665

Comments

@AlexeyBarabash
Copy link
Contributor

Description

Right now we getting crashes through the Google Play developer console. There are two main disadvantages:

  1. Hard to symbolize stack of crashed thread, impossible to make that do Google Play console, because for the current aab/apk we get function offset from the apk and not from the so-module;
  2. When crash happens in Java code, sometime we can see only the native part of the stack, and impossible to say what exactly happened.

The solution is to use Chromium crash reporting, which now is disabled and, if user agrees, send crash dumps to our backtrace.io instance, like we do on the desktop.

Advantages:

  1. Crashed function offset is relative to the library and when backtrace.io has symbols for the build - stack is symbolized instantly;
  2. Chromium crashpad saves the information about the Java exception and stored it into exception_info , it is visible in backtrace.io.

In anyway reporting to Google Play console still will work.

@srirambv
Copy link
Contributor

srirambv commented Oct 5, 2021

Verification passed on the following devices running 1.31.67 x64 Beta Build

Oppo Reno 5 (Android 11) Samsung Tab A (Android 10)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants