feat: add intentional crash API - #2013
Open
jpnurmi wants to merge 15 commits into
Open
Conversation
|
jpnurmi
force-pushed
the
jpnurmi/feat/trigger-crash
branch
from
August 23, 2026 08:48
a093937 to
adf82a7
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2013 +/- ##
==========================================
- Coverage 74.35% 74.29% -0.06%
==========================================
Files 104 104
Lines 26518 26526 +8
Branches 4824 4824
==========================================
- Hits 19717 19708 -9
- Misses 5454 5475 +21
+ Partials 1347 1343 -4 🚀 New features to boost your workflow:
|
Expose sentry_crash for verifying native crash reporting integrations and use it across existing crash test fixtures.
jpnurmi
force-pushed
the
jpnurmi/feat/trigger-crash
branch
from
August 24, 2026 09:48
adf82a7 to
c3099b0
Compare
jpnurmi
marked this pull request as ready for review
August 24, 2026 11:08
jpnurmi
force-pushed
the
jpnurmi/feat/trigger-crash
branch
from
August 24, 2026 14:32
5848186 to
ef9b3f0
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit dd226c8. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds
sentry_crash()to deliberately crash the current process, allowing downstream SDKs and users to verify native crash reporting without bundling a custom crash library. It is promoted from the example and preserves the existing ASAN and AIX handling.TODO: Any risk of triggering static-analysis false positives?
Close: #913