Possible recursion error in Sentry Browser SDK
See original GitHub issue- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
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:
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:
- Created 3 years ago
- Reactions:3
- Comments:10 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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!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/4186I 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)