Repository navigation
fix(crashpad): release zlib state when an upload fails partway - #2326
Merged
jpnurmi merged 3 commits intoNov 20, 2026
Merged
Conversation
Collaborator
|
Thanks a lot for tracking this down, fixing it in crashpad, and opening the bump PR here too! Sorry for sending you through the sentry-native <-> crashpad fork <-> upstream labyrinth. It's a lot of hoops for one small fix. 😅 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2326 +/- ##
==========================================
- Coverage 75.74% 75.72% -0.03%
==========================================
Files 104 104
Lines 28443 28443
Branches 5220 5220
==========================================
- Hits 21545 21538 -7
- Misses 5543 5562 +19
+ Partials 1355 1343 -12 🚀 New features to boost your workflow:
|
jpnurmi
approved these changes
Nov 19, 2026
jpnurmi
added a commit
that referenced
this pull request
Nov 20, 2026
Credit @bionicbeagle for #2326 (`scripts/contrib.py`). The Contrib workflow failed to generate the SDK Maintainer Bot app token (`401 A JSON web token could not be decoded`): https://github.com/getsentry/sentry-native/actions/runs/44728052823/job/136261951806 The workflow, action version, app client ID and secret are unchanged since the last successful run on 2026-11-17, so the SDK maintainer bot's private key was likely rotated or revoked on the app side.
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#180
Bumps
external/crashpadto the fix in getsentry/crashpad#180, so the handler releases its zlib state when an upload fails partway instead of DCHECKing (debug) or leaking it (release). Opened early, as suggested on #180, to run the change through sentry-native's test suite.Fixes #2323