You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 about how to raise a bug report because I don't know how to supply a simple, reproducible test case.
Also, when I run this project AS IS but with Bun, it works as expected, with no crashes.
Any advice?
I have also realised that in the dockerfile, there is a version of Deno which I didn't upgrade. The application DOES work with that version:
// deno upgrade --version 1.43.5
Downloading https://github.com/denoland/deno/releases/download/v1.43.5/deno-aarch64-apple-darwin.zip
Deno is upgrading to version 1.43.5
Archive: /var/folders/yt/48q9hkh95x7fg1ps8sr95wd40000gn/T/.tmpV6kgiH/deno.zip
inflating: deno
Upgraded successfully
// deno run -A src/pdf/crash.ts
Warning Sloppy imports are not recommended and have a negative impact on performance.
1.43.6 crashes.
// deno upgrade --version 1.43.6
Downloading https://github.com/denoland/deno/releases/download/v1.43.6/deno-aarch64-apple-darwin.zip
Deno is upgrading to version 1.43.6
Archive: /var/folders/yt/48q9hkh95x7fg1ps8sr95wd40000gn/T/.tmpi9CFkS/deno.zip
inflating: deno
Upgraded successfully
// deno run -A src/pdf/crash.ts
Warning Sloppy imports are not recommended and have a negative impact on performance.
thread 'tokio-runtime-worker' has overflowed its stack
fatal runtime error: stack overflow
zsh: abort deno run -A src/pdf/crash.ts
Version: Deno 1.44.4
I have a complex CLI application to generate PDF's with pdfkit and a few extra libraries.
After the latest Deno update:
everything crashes no matter what with:
I'm puzzled about how to raise a bug report because I don't know how to supply a simple, reproducible test case.
Also, when I run this project AS IS but with Bun, it works as expected, with no crashes.
Any advice?
I have also realised that in the dockerfile, there is a version of Deno which I didn't upgrade. The application DOES work with that version:
I have downgraded my main CLI deno to 1.43.1, and... the crash is gone.
Something had been broken between 1.43.1 and 1.44.4.
The text was updated successfully, but these errors were encountered: