-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
thread 'main' has overflowed its stack using Deno bundle (Windows) #9752
Comments
cc/ @kdy1 |
Log for circular imports are not related to stack overflow. |
Just ran it again after setting that env variable and it didn't appear to make a difference. Same |
@dragonstyle Thanks! |
It works on my machine if I set |
Perhaps I'm not setting the stack size correctly - here is the simple case I'm using
|
bundler: - Prevent stack overflow. (denoland/deno#9752) testing: - Bump version - Fix handling of paths on windows. testing_macros: - Bump version - Correctly ignore files.
Fixed on upstream |
bundler: - Prevent stack overflow. (denoland/deno#9752) testing: - Bump version - Fix handling of paths on windows. testing_macros: - Bump version - Correctly ignore files.
@kdy1 Thanks so much for fixing this promptly. @kitsonk I'm not sure how to tell when to expect this in a Deno release- can you give me any guidance (e.g. will it just get included in the next release now that the fix is available)? Been really enjoying working with Deno- thank both of you for all your work on it! |
Should be in Deno 1.9 (next week). |
Fixed in 1.9.0 |
Confirmed- we are back in business on 1.9. Thank you! |
Respectfully, @bartlomieju , I believe I have found another instance of this fault in #15117. I cannot be certain. |
When running deno bundle on Windows:
deno bundle --unstable --importmap=src/import_map.json src/quarto.ts package/dist/bin/quarto.js
I receive the errorand bundling fails. The same command succeeds on macos/posix platforms. The error appeared starting in Deno v1.8.0 and persists in v1.8.1. We were previously using v1.7.5 without issue.
I suspect the issue may be related to a circular dependency with the following modules:
because the debug information for windows is full of:
I've attached the debug output for the bundle command as well as the deno info for the module:
Info -- Json
Bundle -- Debug Output
I haven't been able to create a standalone repro case outside of our module. Is there other information that I can provide to be helpful?
The text was updated successfully, but these errors were encountered: