Repository navigation
fix(native): ensure event ID for fastfail crashes - #1832
Merged
Merged
Conversation
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 165a2c1. Configure here.
JoshuaMoelans
approved these changes
Jul 1, 2026
mujacica
approved these changes
Jul 1, 2026
1 task
social4hyq
pushed a commit
to social4hyq/homebrew-core
that referenced
this pull request
Sep 20, 2026
sentry-native 0.15.3 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`. - [ ] `resource` blocks have been checked for updates. <details> <summary>release notes</summary> <pre>**Features** - Android: Expose app-hang detection through the NDK bindings via `NdkOptions.setEnableAppHangTracking()` and `NdkOptions.setAppHangTimeoutMillis()`. ([#1823](getsentry/sentry-native#1823)) - Windows: add wide-char versions of `sentry_capture_minidump` and `sentry_capture_minidump_n`. ([#1827](getsentry/sentry-native#1827)) - Add `sentry_update_context` to allow updating already set context objects with new key-value pairs, as well as new values for existing keys. ([#1835](getsentry/sentry-native#1835)) **Fixes**: - Native/Windows: ensure valid event IDs for fast-fail crash envelopes to fix launching of the external crash reporter for fast-fail crashes. ([#1832](getsentry/sentry-native#1832)) - Native/Linux: resolve symbols from split-debug files on Linux. ([#1836](https://github.com/getsentry/sentry-native/pull/1836))</pre> <p>View the full release notes at <a href="https://github.com/getsentry/sentry-native/releases/tag/0.15.3">https://github.com/getsentry/sentry-native/releases/tag/0.15.3</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!13728
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.

This PR ensures that fast-fail crash envelopes have valid event IDs, which is required for resolving the correct envelope path when launching the external crash reporter.
For normal SEH crashes,
native_backend_exceptis called, and it populates the event with a valid event ID by callingsentry_value_new_event. For fast-fail crashes captured via WER, however, the app callback cannot be called, and__sentry-eventwas therefore left without a valid ID. Consequently, the envelope's filename couldn't be correctly resolved when launching the external crash reporter for fast-fail crashes.