Closed as not planned
Description
openedon Dec 22, 2023
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/wasm
SDK Version
7.89.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
const options: Sentry.BrowserOptions = {
dsn: environment.sentryDsn,
// eslint-disable-next-line no-process-env
release: process.env.COMMIT_TAG || process.env.COMMIT_ID || 'unknown',
integrations: [new WasmIntegration()],
maxBreadcrumbs: 100,
sampleRate: 1,
autoSessionTracking: false,
beforeSend: async (event, hint) => {
if (!sentryEnabled) {
return null
}
// set handled to false for all exceptions
event.exception?.values?.forEach((value) => {
if (value.mechanism !== undefined) {
value.mechanism.handled = false
} else {
;(value.mechanism as any) = { handled: false }
}
})
if (!event.tags) {
event.tags = {}
}
event.tags.clientType = MetricCollector.getClientType()
return event
},
ignoreErrors: [
'Failed to fetch',
/^RequestFailed.*/,
'TimeoutError: Transaction timed out due to inactivity.',
/^Request timed out.*/,
/^Network Error.*/,
/.*chrome-extension.*/,
],
}
Steps to Reproduce
I raise the same C++ exception from wasm, and the stack trace frames sent from Safari is much shorter than the frames from Firefox/Chrome. Especially, the wasm-function
frames are all missing, making it unable to debug C++ using stacktrace.
I'm using the same wasm and same react dev server to trigger the event, the only difference is the browser. The Safari version I'm using is 17.2 (19617.1.17.11.9). The same issue also occurs when using mobile safari.
Expected Result
Frames in Firefox 120.0.1(https://wukong-1o.sentry.io/issues/4744058561/):
Actual Result
Frames in Safari 17.2(https://wukong-1o.sentry.io/issues/4744210387):
The error message is also different.
Metadata
Assignees
Type
Projects
Status
No status
Status
Waiting for: Community
Activity