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

Do not fail processing minidumps on invalid code_file #1133

Merged
merged 2 commits into from
Apr 7, 2023

Conversation

Swatinem
Copy link
Member

@Swatinem Swatinem commented Apr 7, 2023

Invalid base-names will be excluded from symbol server lookups, which will certainly not find anything useful. We still output the full (invalid) code file into the symbolicated event, as it might still be useful to customers.

As a drive-by change, this reverts the capture_anyhow change that captures real stack traces in S4S, as the stack traces are not that useful, and the grouping is worse.

fixes #1115, and I verified the minidump linked in getsentry/sentry#46231 processes fine after this change.

@Swatinem Swatinem requested a review from a team April 7, 2023 11:02
@codecov
Copy link

codecov bot commented Apr 7, 2023

Codecov Report

Merging #1133 (2d53bec) into master (8330ada) will decrease coverage by 0.02%.
The diff coverage is 98.38%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1133      +/-   ##
==========================================
- Coverage   73.76%   73.75%   -0.02%     
==========================================
  Files          86       86              
  Lines       12834    12843       +9     
==========================================
+ Hits         9467     9472       +5     
- Misses       3367     3371       +4     

Invalid base-names will be excluded from symbol server lookups, which will certainly not find anything useful. We still output the full (invalid) code file into the symbolicated event, as it might still be useful to customers.

As a drive-by change, this reverts the `capture_anyhow` change that captures real stack traces in S4S, as the stack traces are not that useful, and the grouping is worse.
@Swatinem Swatinem changed the title Do not fail processing minidumps on invalid code_file. Do not fail processing minidumps on invalid code_file Apr 7, 2023
@Swatinem Swatinem enabled auto-merge (squash) April 7, 2023 13:23
@Swatinem Swatinem merged commit 25d0c59 into master Apr 7, 2023
@Swatinem Swatinem deleted the mask-invalid-code-file branch April 7, 2023 14:35
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.

Work around invalid code_file strings in Minidump modules
2 participants