Skip to content

ANR Events not Symbolicating #1011

Closed
Closed
@kpujjigit

Description

@kpujjigit

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

  1. Build typescript with vite framework and use sentryVitePlugin configured as so:
sentryVitePlugin({
      org: "Redacted",
      project: "Redacted",
      authToken: process.env["SENTRY_AUTH_TOKEN"],
      telemetry: false,
      release: {
        name: pkg.version,
        inject: false,
      },
      sourcemaps: {
        filesToDeleteAfterUpload: [".vite/build/*.map"],
      },
    }),
  1. Upload Native Symbols via a speerate script configured in package.json as:
    "symbol-upload": "sentry-cli debug-files upload -o Redacted -p Redacted packages"

  2. 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions