oven-sh / bun

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

Crash on my CLI after a certain count of cmd call #15174

Open GhomKrosmonaute opened 4 days ago

GhomKrosmonaute commented 4 days ago

How can we reproduce the crash?

Image

I used Bun to run my CLI and after a certain count of commands, not according to the cmd order, Bun crashes. CLI's technologies:

Relevant log output

============================================================
Bun v1.1.34 (5e5e7c60) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2
Args: "C:\Users\camil\.bun\bin\bun.exe" "run" "../src/index.ts" "add" "table"
Features: Bun.stdin(2) Bun.stdout dotenv jsc transpiler_cache(4) tsconfig(4) tsconfig_paths(3) 
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:crypto" "node:events" "node:fs" "node:fs/promises" "node:os" "node:path" "node:process" "node:readline" "node:stream" "node:string_decoder" "node:tty" "node:url" "node:util" "node:util/types" 
Elapsed: 36496ms | User: 203ms | Sys: 15ms
RSS: 0.22GB | Peak: 0.22GB | Commit: 0.30GB | Faults: 54612

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

Stack Trace (bun.report)

Bun v1.1.34 (5e5e7c6) on windows x86_64 [AutoCommand]

Segmentation fault at address 0x00000005

Features: Bun.stderr, Bun.stdin, Bun.stdout, fetch, jsc, spawn, transpiler_cache, tsconfig, tsconfig_paths, tsconfig_paths

Sentry Issue: BUN-85

nektro commented 4 days ago

may be a duplicate of https://github.com/oven-sh/bun/issues/10844