Skip to content

[Safari Memory Issue] Memory Spikes and Crashes the browser #7833

@souredoutlook

Description

@souredoutlook

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g. bundle.tracing.min.js) in your SDK setup.

Sentry Browser CDN bundle

SDK Version

n/a

Framework Version

n/a

Link to Sentry event

n/a

SDK Setup

No response

Steps to Reproduce

For certain implementations of the JS bundle loaded from a CDN, the SDK will crash Safari.

Annecdotally the following has been reported:

[...] seem to have isolated the issue down to circular error handler calls, and the call stack seems to be bouncing between [the] error logging JS and the Sentry SDK

This has been replicated on the following Safari versions when using https://browser.sentry-cdn.com/6.19.7/bundle.min.js:

Version 14.1.2 (16611.3.10.1.16)
Version 16.3 (18614.4.6.1.6)

Please see linked example in synced Jira ticket for a live reproduction.

Expected Result

SDK does not consume memory and crash the browser.

Actual Result

image

┆Issue is synchronized with this Jira Improvement by Unito

Metadata

Metadata

Labels

Sync: Jiraapply to auto-create a Jira shadow ticket

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions