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?
Was this page helpful?