Open
Description
Bun segfaults with @libsql/client >=0.15.0-pre.1 when executing a series of transactions, each containing a loop of awaited SQL update operations, with pauses between transaction bursts. version 0.14.0 works fine.
Bun v1.2.12 (32a47ae4) Windows x64
Windows v.win10_cu
CPU: sse42 avx avx2
Args: "C:\Users\max\.bun\bin\bun.exe" "bun_libsql_bug.ts"
Features: jsc process_dlopen
Builtins: "bun:main" "node:buffer" "node:child_process" "node:fs" "node:path"
Elapsed: 1135ms | User: 156ms | Sys: 78ms
RSS: 0.16GB | Peak: 0.16GB | Commit: 0.24GB | Faults: 39342
panic(main thread): Segmentation fault at address 0x24
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Bun bug report link here
How can we reproduce the crash?
clone bug repo:
[email protected]:Max-Villafranca/bun-libsql-segfault.git
execute in terminal:
bun run bug
Metadata
Metadata
Assignees
Labels
No labels