oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.45k stars 2.78k forks source link

Crash in poolifier-web-worker example #12526

Open Dimava opened 4 months ago

Dimava commented 4 months ago

How can we reproduce the crash?

https://github.com/Dimava/misc/tree/bunbug1 (bunbug1 branch)

Relevant log output

PS D:\projects\misc> bun run .\index.ts
============================================================
Bun v1.1.18 (5a0b9352) Windows x64
Args: "C:\Users\Dimava\.bun\bin\bun.exe" "run" ".\index.ts"
Features: jsc Bun.stdin(50) tsconfig(2) 
Builtins: "bun:main" "node:os" "node:process" "node:string_decoder" "node:util/types" "node:worker_threads" 
Elapsed: 5919ms | User: 265ms | Sys: 421ms
RSS: 0.57GB | Peak: 0.96GB | Commit: 0.71GB | Faults: 235136

panic(thread 11768): Segmentation fault at address 0x1E8406E7238
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

 https://bun.report/1.1.18/wr15a0b935AqggggEu0p22C0wphgBwnq9fkmix3Cgj59Y0it+Z2nlh3CqtzvNCa\KERNEL32.DLL63yECU\ntdll.dllwy3WA2wewj55tgC

Stack Trace (bun.report)

Bun v1.1.18 (5a0b935) on windows x86_64 [AutoCommand]

Segmentation fault at address 0x27DCB38F048

Dimava commented 4 months ago

Strangely enough, the build on jsr-installed module (indes_jsr.ts) does work