Open trawor opened 4 weeks ago
just as the log , it's crashed in docker alpine latest + glibc
============================================================ Bun v1.1.17 (bb66bba1) Linux x64 Linux Kernel v6.7.12 | glibc v2.34 Args: "bun" "run" "index.js" Features: jsc dotenv fetch http_server Builtins: "bun:main" "node:buffer" "node:crypto" "node:string_decoder" "node:util/types" Elapsed: 104ms | User: 112ms | Sys: 40ms RSS: 1.07GB | Peak: 75.62MB | Commit: 1.07GB | Faults: 0 panic(main thread): Segmentation fault at address 0x0 oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Bun v1.1.17 (bb66bba) on linux x86_64 [RunCommand]
bb66bba
Segmentation fault at address 0x00000000
ld-temp.o:0
WTF::Unicode::convertReplacingInvalidSequences
??
PropertyTable.h:332
WTF::ASCIILiteral JSC::JSObject::putDirectInternal<(...)1>
Identifier.h:53
JSC::JSValue JSC::JSObject::getIfPropertyExists<JSC::Identifier>
PropertyTable.h:322
Function.h:38
Zig::GlobalObject::GlobalObject
JSC::ErrorInstance::getOwnPropertySlot
JSC::Heap::runEndPhase
JSC::Heap::runNotRunningPhase
JSC::Heap::didAllocate
with more info:
bun build index.ts --target bun
--sourcemap
How can we reproduce the crash?
just as the log , it's crashed in docker alpine latest + glibc
Relevant log output
Stack Trace (bun.report)
Bun v1.1.17 (
bb66bba
) on linux x86_64 [RunCommand]Segmentation fault at address 0x00000000
ld-temp.o:0
:WTF::Unicode::convertReplacingInvalidSequences
??
PropertyTable.h:332
:WTF::ASCIILiteral JSC::JSObject::putDirectInternal<(...)1>
Identifier.h:53
:JSC::JSValue JSC::JSObject::getIfPropertyExists<JSC::Identifier>
PropertyTable.h:322
:JSC::JSValue JSC::JSObject::getIfPropertyExists<JSC::Identifier>
Function.h:38
:Zig::GlobalObject::GlobalObject
ld-temp.o:0
:JSC::ErrorInstance::getOwnPropertySlot
ld-temp.o:0
:JSC::Heap::runEndPhase
ld-temp.o:0
:JSC::Heap::runNotRunningPhase
ld-temp.o:0
:JSC::Heap::didAllocate