Skip to content

Don't send fatal uncaught exception if an NDK crash exists #3020

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

Merged
merged 1 commit into from
Oct 1, 2021

Conversation

mrichards
Copy link
Contributor

Our backend expects at most one fatal event per session. In some cases,
such as Unity, the native signal handler may cause an uncaught exception
to be thrown, after we have recorded the NDK crash. If this happens,
Crashlytics should ignore the uncaught exception and send the NDK
crash information as the fatal event.

Our backend expects at most one fatal event per session. In some cases,
such as Unity, the native signal handler may cause an uncaught exception
to be thrown, after we have recorded the NDK crash. If this happens,
Crashlytics should ignore the uncaught exception and send the NDK
crash information as the fatal event.
@google-cla google-cla bot added the cla: yes Override cla label Oct 1, 2021
@mrichards mrichards requested review from mrober and kmandrika October 1, 2021 17:54
@google-oss-bot
Copy link
Contributor

Coverage Report

Affected SDKs

  • firebase-crashlytics

    SDK overall coverage changed from 9.82% (1e58174) to 9.80% (6fc39fe4) by -0.02%.

    Filename Base (1e58174) Head (6fc39fe4) Diff
    CrashlyticsNativeComponentDeferredProxy.java 24.24% 22.86% -1.39%

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage.
Report files are located at <product-build-dir>/reports/jacoco/.

Head commit (6fc39fe4) is created by Prow via merging commits: 1e58174 db6207d.

@google-oss-bot
Copy link
Contributor

Binary Size Report

Affected SDKs

  • firebase-crashlytics

    Type Base (1e58174) Head (6fc39fe4) Diff
    aar 337 kB 337 kB +327 B (+0.1%)
    apk (aggressive) 208 kB 208 kB +144 B (+0.1%)
    apk (release) 845 kB 845 kB +72 B (+0.0%)
  • firebase-crashlytics-ndk

    Type Base (1e58174) Head (6fc39fe4) Diff
    aar 1.68 MB 1.68 MB +91 B (+0.0%)

Test Logs

Notes

Head commit (6fc39fe4) is created by Prow via merging commits: 1e58174 db6207d.

@mrichards mrichards merged commit 1b5c903 into master Oct 1, 2021
@mrichards mrichards deleted the crashlytics-dedupe-native branch October 1, 2021 18:07
@firebase firebase locked and limited conversation to collaborators Nov 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants