question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Possible recursion error in Sentry Browser SDK

See original GitHub issue

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other:

Version:

15.15.5

Description

Hello.

We are getting a RangeError: Maximum call stack size exceeded error approximately once a month in our application.

When I check the breadcrumbs what I see is this: image

The error report link is here https://sentry.io/share/issue/1ce9d6729fee41909ee71e2c871f07e5/.

Since there is no breadcrumb or stacktrace that is related to our app, I am suspecting that this is related to Sentry itself. I am planning on disabling the DOM breadcrumb integration for now so even if it’s related to our app, Sentry related stuff won’t be appearing in the report.

If you have any idea that can confirm or reject my suspicions I am all ears. I can also share the details of our tech stack and the way we use the SDK if that can help you.

Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
AbhiPrasadcommented, Feb 2, 2022

The fix is released with SDK version 6.17.4: https://github.com/getsentry/sentry-javascript/releases/tag/6.17.4. If this still occurs, please let us know!

1reaction
rchlcommented, Feb 2, 2022

At least in the case of using Nuxt with the @nuxtjs/sentry module, I believe that the freeze you are seeing is due to this Sentry SDK issue: https://github.com/getsentry/sentry-javascript/issues/4186

I have made a workaround for that in https://github.com/nuxt-community/sentry-module/releases/tag/v5.1.7 . Feel free to try it out.

(I’m also fixing it in the Sentry SDK itself but with the workaround in the Nuxt module it should work already)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Non-Error promise rejection captured with value - #16 by infr
I'm using @sentry/browser but versions 5.17.0 and 5.30.0 (not 6.7.1). ... loop/endless recursion and generating a multitude of errors.
Read more >
@sentry/types | Yarn - Package Manager
7.27.0. This release exports the Session Replay integration via @sentry/browser and all framework SDKs building on top of it. Going forward, the @sentry/replay ......
Read more >
Update dependency @sentry/browser to v7 - GitLab.org
Note: The v7 version of the JavaScript SDK requires a self-hosted version of Sentry 20.6.0 or higher. If you are using a version...
Read more >
A "too much recursion" error in Firefox only sometimes?
One thing that may cause it is if the script/code is triggered twice during a page lifetime. The 2nd time pageload will not...
Read more >
UNPKG - @sentry/browser
The CDN for @sentry/browser. ... @sentry/browser/build/bundle.es6.min.js.map. Version: ... */\n None = 0,\n /** Only SDK internal errors will be logged.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found