-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
ANR Events not Symbolicating #1011
Labels
Comments
Is this with a hang in the main process or in a renderer? |
@timfish This concerns main process ANRs. |
AbhiPrasad
pushed a commit
to getsentry/sentry-javascript
that referenced
this issue
Nov 7, 2024
In the process of fixing getsentry/sentry-electron#1011 I was looking for a way to get a `Map<Filename, DebugId>`. I found that there was already some code duplication for parsing and caching of debug ids from the polyfilled globals. This PR moves the common code to `@sentry/utils` which will be useful for fixing the above.
@timfish what follow-up do we have to do here? |
The fix has been released through a |
This was referenced Dec 13, 2024
Closed
Merged
Lms24
pushed a commit
to getsentry/sentry-javascript
that referenced
this issue
Dec 23, 2024
…14822) - Ref getsentry/sentry-electron#1011 In #14709 I didn't add a test. If I had, I would have noticed that it was not working. File paths need normalising before we try and match up debug files.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Electron SDK Version
5.6.0
Electron Version
32.1.2
What platform are you using?
Windows
Link to Sentry event
https://openai.sentry.io/issues/6020361972/?environment=development&project=4507771614265344&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&sort=date&statsPeriod=30m&stream_index=1
Steps to Reproduce
Upload Native Symbols via a speerate script configured in package.json as:
"symbol-upload": "sentry-cli debug-files upload -o Redacted -p Redacted packages"
Simulate ANR issue in Electron-based application and send event to Sentry
Expected Result
Error's callstack should symbolicate. Debug Symbols mapping to the issue are present in its release, verified built via Source Map Upload Report.
Actual Result
ALL ANRs are unsymbolicated and claims that stack frame doesn't have Debug IDs when expanding the "unminify code" buttons for any stack frame.
Non-ANR events which are symbolicated contain a debug_meta/images key with the debug ids of the sourcemaps needed to symbolicate the event. By contrast, ANRs simply can't reference the images, even though we've verified they're there.
The text was updated successfully, but these errors were encountered: