Closed bernoussama closed 1 month ago
@bernoussama, the latest version of Bun is v1.1.30, but this crash was reported on Bun v1.1.27.
Are you able to reproduce this crash on the latest version of Bun?
bun upgrade
not reproduceable in the latest version, ig it's fixed.
How can we reproduce the crash?
ran
bun create hono bun-hono
andcd bun-hono
thenbun run dev
while the dev server is running and also navigated to the url, i modified the index.ts to the following:
Relevant log output
$ bun run --hot src/index.ts Started server http://localhost:3000
Bun v1.1.27 (267afa29) Linux x64 (baseline) Linux Kernel v6.8.0 | glibc v2.39 CPU: sse42 popcnt avx avx2 Args: "bun" "run" "--hot" "src/index.ts" Features: jsc http_server tsconfig Builtins: "bun:main" Elapsed: 70295ms | User: 41ms | Sys: 44ms RSS: 1.07GB | Peak: 58.51MB | Commit: 1.07GB | Faults: 181
panic(main thread): Segmentation fault at address 0x38 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.27/Br1267afa2AigghgCu8rklE+xpRyvx+9C6q/j8C0zvs7Dsitn7Ckw/n7C8omy1Cgtpx1Cy8wKA2AwD
error: script "dev" was terminated by signal SIGILL (Illegal instruction) [1] 25473 illegal hardware instruction (core dumped) bun run dev
Stack Trace (bun.report)
Bun v1.1.27 (
267afa2
) on linux x86_64_baseline [RunCommand]Segmentation fault at address 0x00000038
ld-temp.o:0
:char32_t WTF::Unicode::next<(...)0, char8_t>
??
unbounded_queue.zig:106
:src.bun.js.event_loop.EventLoop.tick
javascript.zig:1106
:src.bun.js.javascript.OpaqueWrap__anon_52823__struct_83670.callback
??
ArenaAllocator.zig:20
:src.shell.interpreter.Interpreter.initAndRunFromSource
output.zig:371
:src.cli.run_command.RunCommand.exec__anon_73941
cli.zig:1842
:src.cli.Cli.start
array_list.zig:0
:process.argsAlloc