Skip to content
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

Maximum call stack size exceeded #426

Open
zlsun opened this issue Jun 15, 2023 · 0 comments
Open

Maximum call stack size exceeded #426

zlsun opened this issue Jun 15, 2023 · 0 comments

Comments

@zlsun
Copy link

zlsun commented Jun 15, 2023

Similar to #327

speedscope.c62e67c1.js:183 Uncaught RangeError: Maximum call stack size exceeded
    at maybeResize (speedscope.c62e67c1.js:183:2113)
    at onBeforeFrame (speedscope.c62e67c1.js:30:725)
    at speedscope.c62e67c1.js:14:6435
    at Set.forEach (<anonymous>)
    at a.resize (speedscope.c62e67c1.js:14:6424)
    at maybeResize (speedscope.c62e67c1.js:183:2186)
    at onBeforeFrame (speedscope.c62e67c1.js:30:725)
    at speedscope.c62e67c1.js:14:6435
    at Set.forEach (<anonymous>)
    at a.resize (speedscope.c62e67c1.js:14:6424)

I try to debug it, and find that it was caused by floating-point error

image

n.width: 2066.004150390625
i: 2066.0166015625
n.height: 494.50836181640625
r: 494.5209655761719

System Info:

  • System: Windows 10
  • Monitor resolution: 2560 x 1440
  • System Custom scaling: 124% (window.devicePixelRatio: 1.2395833730697632 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant