Skip to content

Circular references causing browser crash when collecting errors #2359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks
hanzhenlong opened this issue Dec 16, 2019 · 2 comments · Fixed by #2404
Closed
4 tasks

Circular references causing browser crash when collecting errors #2359

hanzhenlong opened this issue Dec 16, 2019 · 2 comments · Fixed by #2404

Comments

@hanzhenlong
Copy link

hanzhenlong commented Dec 16, 2019

error code
let arr = new Array(- 1).fill('')

Package + Version

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

Version:

"@sentry/browser": "^5.10.2",
"@sentry/integrations": "^5.10.2",

Description

image

image

@kamilogorek
Copy link
Contributor

Can you provide the input that was initially passed to the normalize function in the call you shown from devtools?

@tinco
Copy link

tinco commented Jan 10, 2020

We have a this problem in production as well. In the Vue integration there somewhere is a setContext that passes in an object that is walked until depth Infinity. I don't know how you're deciding things are circular, but it isn't working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants