Repository navigation
fix(crashpad): time out attachment updates to a stalled handler - #2280
Merged
jpnurmi merged 8 commits intoNov 10, 2026
Merged
Conversation
On Windows, a breadcrumb or scope update waited forever for a free pipe instance of the crashpad handler and for its reply. A suspended or hung handler froze the calling thread, and a crash with both pipe instances held never finished. Bump crashpad to the change that times out each wait after 5 seconds. Add tests for both cases.
The fixture sent its default scope and breadcrumb updates right after the handler started, racing with the tests that stall it. With no-setup, the only updates come after the fixture sleeps.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2280 +/- ##
==========================================
+ Coverage 75.54% 75.74% +0.20%
==========================================
Files 104 104
Lines 28439 28439
Branches 5220 5220
==========================================
+ Hits 21485 21542 +57
+ Misses 5616 5540 -76
- Partials 1338 1357 +19 🚀 New features to boost your workflow:
|
jpnurmi
reviewed
Nov 6, 2026
The log holds the working directory, which is not ASCII in the UTF-8 paths job, and Windows reads text as cp1252 by default.
sentry_init sends the scope to the handler after it logs that the handler started. Waiting for the log line that follows that flush keeps it out of the window in which the tests stall the handler.
A failure before the tests stall the handler left the app running. The crashing one then uploaded its minidump to the shared HTTP server in the middle of a later test.
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.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c1c8244. 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.

Depends on: getsentry/crashpad#178
On Windows, a stalled handler blocks breadcrumbs, scope updates and crashes forever (#2182). The fix caps each wait at 5 s.
My tests for a suspended handler and a crash with both pipe instances held hang on master.