JSC_useJIT=0 segfaults
Opened this issue · 3 comments
CanadaHonk commented
How can we reproduce the crash?
running any code with JSC_useJIT=0 set instantly segfaults. not using it or setting it to 1 works fine. BUN_JSC_useJIT=0 works fine. not important but probably worth knowing about.
JSC_useJIT=0 bun -e '1'Relevant log output
Stack Trace (bun.report)
Bun v1.2.22 (6bafe26) on linux x86_64 [AutoCommand]
Segmentation fault at address 0x00000030
??VM.cpp:426:JSC::VM::VMVM.cpp:567:JSC::VM::tryCreateZigGlobalObject.cpp:939:Zig__GlobalObject__createJSGlobalObject.zig:820:bun.js.VirtualMachine.initbun.js.zig:165:bun.js.Run.bootcli.zig:1408:cli.Command.bun --eval --printcli.zig:883:cli.Command.startcli.zig:20:cli.Cli.startmain.zig:60:main
Features: jsc
linear commented
github-actions commented
Thank you for reporting this crash.
For Bun's internal tracking, this issue is BUN-WXA.
nektro commented
if this is blocking you, the correct option to use is BUN_JSC_useJIT=0