-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Uploading debug information files fails in v2.33.1 #860
Comments
Hi @p0358, thank you for reaching out and sorry for the inconvenience! We will investigate this as soon as possible – in the meantime, please work around the issue by downgrading to 2.32.2, or another version where the uploads still work |
@p0358 I am not sure where you saw this, I would expect we might see more logs. Would you be able to provide the logs generated with |
Hi @p0358, I have been trying to reproduce this issue, but was unable to reproduce it on Mac. I tried with a Rust app as well as a C app. It looks like the function modified in getsentry/sentry-cli#2109 is not actually called in code path used to upload debug information files via the Could you please tell me which version of Sentry CLI is the most recent version that worked as expected? |
downgraded to v2.32.1 and this issue went away for me |
That is good to know @barnabwhy. Are you observing the issue on v2.32.2 and/or v2.33.0? |
I was experiencing this in latest version (v2.33.1(?)) but since i needed a quick fix i skipped straight to v2.32.1 since the other issue mentioning this first saw the problem in v2.32.2. |
This is a run on latest with debug log: https://github.com/p0358/black_market_edition/actions/runs/10309751662/job/28540026864 I have a suspicion now that maybe |
Indeed @p0358, looks like I think we will need to fix this in symbolic/symbolic-debuginfo/src/sourcebundle.rs Line 1317 in 0aa576d
|
Use an older version because of this bug: getsentry/symbolic#860
Just noticed this is actually not fully resolved, gonna open a PR in a sec with a fix. |
* feat(sourcebundle): Add callback to handle skipped files Add a callback to SourceBundleWriter that is called every time we skip adding a file to the bundle due to a ReadFailed error. Closes #863 * fix(sourcebundle): Skip all invalid sources #861 missed another spot where the ReadFailed error can cause the write function to fail; this commit fixes that. Fixes #860 * meta: Update changelog * apply suggestions from code review Co-authored-by: Jan Michael Auer <jan.auer@sentry.io> --------- Co-authored-by: Jan Michael Auer <jan.auer@sentry.io>
CLI Version
2.33.1
Operating System and Architecture
Operating System Version
Windows Server
Link to reproduction repository
https://github.com/p0358/black_market_edition/actions/runs/10231364720/job/28307610591
CLI Command
sentry-cli upload-dif --include-sources $files_to_upload
Exact Reproduction Steps
Compile a C++ app and:
Expected Results
It should work like it did before. In v2.33.1 with PR getsentry/sentry-cli#2109 the issue getsentry/sentry-cli#2107 was reintroduced, which was previously fixed by getsentry/sentry-cli#2108, which had version v2.32.2. It looks like in both this repo and #816 somebody added a check for input files being UTF-8, seemingly forgetting that JavaScript is not the only language and that native apps with symbol files exist??? Barely any reasoning if at all was provided in the linked PRs as to what originally prompted such a check to be coded to begin with.
Proof for people with internal access at Sentry that it worked with symbolification and showing up source code and correct line of code: https://black-market-edition.sentry.io/issues/5651900111/?project=5545628
Actual Results
It fails:
Logs
There wouldn't be any extra info in debug log according to what I saw in other issues
The text was updated successfully, but these errors were encountered: