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

fix: Android - prevent JNI DETECTED ERROR IN APPLICATION crashes when too many events have to be processed at once #3781

Closed
wants to merge 2 commits into from

Conversation

bricefriha
Copy link
Collaborator

This PR offers a fix for #3627.
When calling SentrySdk SentrySdk.CaptureException(ex) in multiple tight successions, Android apps would crash with a JNI DETECTED ERROR IN APPLICATION error message.

This is unique to Android, as the issue was not reproducible on iOS.

still need to add tests

Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.35%. Comparing base (495e742) to head (49fc2e7).
Report is 382 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3781      +/-   ##
==========================================
- Coverage   75.73%   75.35%   -0.38%     
==========================================
  Files         357      389      +32     
  Lines       13466    14208     +742     
  Branches     2671     2858     +187     
==========================================
+ Hits        10198    10707     +509     
- Misses       2593     2805     +212     
- Partials      675      696      +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@bricefriha bricefriha closed this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant