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 size exceeded #17988

Open
johnfn opened this issue Mar 8, 2025 · 5 comments
Open

Maximum call size exceeded #17988

johnfn opened this issue Mar 8, 2025 · 5 comments
Labels
atw bake:dev hot-reloading dev server for client+server applications bug Something isn't working regression

Comments

@johnfn
Copy link

johnfn commented Mar 8, 2025

What version of Bun is running?

canary

What platform is your computer?

Darwin 22.5.0 arm64 arm

What steps can reproduce the bug?

Unfortunately I can't give a precise repro since I'm running bun on my work repo.

I'm using the frontend bundler. I run bun like so: bun index.html

What is the expected behavior?

It works

What do you see instead?

A stack trace

frontend RangeError: Maximum call stack size exceeded
      at Object._inheritsLoose4 (http://localhost:3000/_bun/client/index-000000000eae7068.js:3332:28)
      at Object._setPrototypeOf2 [as default] (http://localhost:3000/_bun/client/index-000000000eae7068.js:5:2938)
      at Object._inheritsLoose4 (http://localhost:3000/_bun/client/index-000000000eae7068.js:3332:107)
      at Object._setPrototypeOf2 [as default] (http://localhost:3000/_bun/client/index-000000000eae7068.js:5:2938)
      at Object._inheritsLoose4 (http://localhost:3000/_bun/client/index-000000000eae7068.js:3332:107)
      at Object._setPrototypeOf2 [as default] (http://localhost:3000/_bun/client/index-000000000eae7068.js:5:2938)
      at Object._inheritsLoose4 (http://localhost:3000/_bun/client/index-000000000eae7068.js:3332:107)
      at Object._setPrototypeOf2 [as default] (http://localhost:3000/_bun/client/index-000000000eae7068.js:5:2938)
      at Object._inheritsLoose4 (http://localhost:3000/_bun/client/index-000000000eae7068.js:3332:107)
    from browser tab http://localhost:3000/overview

Additional information

No response

@johnfn johnfn added bug Something isn't working needs triage labels Mar 8, 2025
@paperclover
Copy link
Member

paperclover commented Mar 8, 2025

is this new (more specifically, does it happen on 1.2.4 or before today)? it is bad to see that source maps are missing here

@paperclover paperclover added regression bake:dev hot-reloading dev server for client+server applications atw and removed needs triage labels Mar 8, 2025
@dylan-conway
Copy link
Member

Also, could you try with the new canary that just published for 589fa62?

@johnfn
Copy link
Author

johnfn commented Mar 8, 2025

@paperclover - before this, I was getting a different error (which has now resolved), so it's hard to say.

@johnfn
Copy link
Author

johnfn commented Mar 8, 2025

Yes, it still fails with the latest canary:

Reloaded in 32ms: client/TypeaheadWorkerClient.js
frontend RangeError: Maximum call stack size exceeded
      at Object._inheritsLoose4 (http://localhost:3000/_bun/client/index-000000003ee753af.js:3332:21)
      at Object._setPrototypeOf2 [as default] (http://localhost:3000/_bun/client/index-000000003ee753af.js:5:2833)
      at Object._inheritsLoose4 (http://localhost:3000/_bun/client/index-000000003ee753af.js:3332:107)
      at Object._setPrototypeOf2 [as default] (http://localhost:3000/_bun/client/index-000000003ee753af.js:5:2833)
      at Object._inheritsLoose4 (http://localhost:3000/_bun/client/index-000000003ee753af.js:3332:107)
      at Object._setPrototypeOf2 [as default] (http://localhost:3000/_bun/client/index-000000003ee753af.js:5:2833)
      at Object._inheritsLoose4 (http://localhost:3000/_bun/client/index-000000003ee753af.js:3332:107)
      at Object._setPrototypeOf2 [as default] (http://localhost:3000/_bun/client/index-000000003ee753af.js:5:2833)
      at Object._inheritsLoose4 (http://localhost:3000/_bun/client/index-000000003ee753af.js:3332:107)
      at Object._setPrototypeOf2 [as default] (http://localhost:3000/_bun/client/index-000000003ee753af.js:5:2833)
    from browser tab http://localhost:3000/overview                                                                                                                                               
(env) % bun
Bun is a fast JavaScript runtime, package manager, bundler, and test runner. (1.2.5-canary.109+589fa6274)

@johnfn
Copy link
Author

johnfn commented Mar 8, 2025

When I go to http://localhost:3000/_bun/client/index-000000003ee753af.js all I see is this:

try{location.reload()}catch(_){}
addEventListener("DOMContentLoaded",function(event){location.reload()})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
atw bake:dev hot-reloading dev server for client+server applications bug Something isn't working regression
Projects
None yet
Development

No branches or pull requests

3 participants