DenoDDeno
Powered by
begoonB
Denoβ€’2y agoβ€’
5 replies
begoon

thread 'tokio-runtime-worker' has overflowed its stack

I have a complex CLI application to generate PDF's with pdfkit and a few extra libraries.

After the latest Deno update
deno --version
deno 1.44.4 (release, aarch64-apple-darwin)
v8 12.6.228.9
typescript 5.4.5

everything crashes no matter what with:

cd src/pdf && \
deno run -A --watch \
pdf-cli.ts
Watcher Process started.

thread 'tokio-runtime-worker' has overflowed its stack
fatal runtime error: stack overflow

I'm puzzled how to raise a bug report because I don't know how supply a simple reproducible test case.

Also, when I run this project AS IS but with bun, it works as expected. No crashes.

Any advice?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Using Deno core in an app that already had its own tokio runtime
Damian ReevesDDamian Reeves / help
2y ago
fresh-runtime
nandi.weird.oneNnandi.weird.one / help
15mo ago
How to detect if executing on main thread vs worker
cotyCcoty / help
2y ago