bun
bun copied to clipboard
Crash in poolifier-web-worker example
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
-
BunClientData.h:140:WebCore::subspaceForImpl -
VerifierSlotVisitor.cpp:117:JSC::VerifierSlotVisitor::~VerifierSlotVisitor -
SimpleMarkingConstraint.cpp:42:JSC::SimpleMarkingConstraint::SimpleMarkingConstraint -
MarkedSpace.cpp:272:JSC::MarkedSpace::enablePreciseAllocationTracking -
DataLog.h:46:WTF::dataLog<char[6]> -
ControlFlowProfiler.h:92:JSC::ControlFlowProfiler::operator delete -
Vector.h:69:WTF::VectorDestructor<1,WTF::Function<void (...)> >::destruct -
web_worker.zig:286:onUnhandledRejection -
fmt.zig:123:format -
Ref.h:48:WTF::DefaultRefDerefTraits<WTF::StringImpl>::refIfNotNull
Strangely enough, the build on jsr-installed module (indes_jsr.ts) does work
This issue was resolved in v1.3.0 or earlier