We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run the following script using bun and node
bun
node
test.js
import Database from 'better-sqlite3'; const db = new Database('sqlite.db'); console.log(db.prepare('SELECT 1 + 1 AS result') .all());
version used [email protected]
[email protected]
bun test.js 107 | return opts[p] || p; 108 | }) 109 | ); 110 | tries.push(n); 111 | try { 112 | b = opts.path ? requireFunc.resolve(n) : requireFunc(n); ^ error: LoadLibrary failed: A dynamic link library (DLL) in code: "ERR_DLOPEN_FAILED" at bindings (C:\[REDACTED]\bun\node_modules\bindings\bindings.js:112:48) at new Database (C:\[REDACTED]\bun\node_modules\better-sqlite3\lib\database.js:48:29) at C:\[REDACTED]\bun\test.js:4:12 Bun v1.2.5 (Windows x64) ============================================================ Bun v1.2.5 (013fdddc) Windows x64 Windows v.win10_cu CPU: sse42 avx avx2 Args: "C:\Users\[REDACTED]\.bun\bin\bun.exe" "test.js" Features: jsc tsconfig tsconfig_paths process_dlopen Builtins: "bun:main" "node:fs" "node:path" "node:util" "node:util/types" Elapsed: 193ms | User: 31ms | Sys: 93ms RSS: 0.14GB | Peak: 0.14GB | Commit: 0.20GB | Faults: 35388 panic(main thread): Segmentation fault at address 0x7FFE7597A4B0
Bun v1.2.5 (013fddd) on windows x86_64 [RunCommand]
013fddd
Segmentation fault at address 0x7FFED7729F50
0x5f3a5
0x5f09b
0x5ef7d
0x1e3eb
Global.zig:124
exit
javascript.zig:1428
globalExit
javascript.zig:1335
eventLoop
bindings.cpp:5251
JSC__VM__holdAPILock
shimmer.zig:197
cppFn
Features: tsconfig, process_dlopen, jsc
Sentry Issue: BUN-8RS
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How can we reproduce the crash?
Run the following script using
bun
andnode
test.js
version used
[email protected]
Relevant log output
Stack Trace (bun.report)
Bun v1.2.5 (
013fddd
) on windows x86_64 [RunCommand]Segmentation fault at address 0x7FFED7729F50
0x5f3a5
in ntdll.dll0x5f09b
in ntdll.dll0x5ef7d
in ntdll.dll0x1e3eb
in KERNEL32.DLLGlobal.zig:124
:exit
javascript.zig:1428
:globalExit
javascript.zig:1335
:eventLoop
bindings.cpp:5251
:JSC__VM__holdAPILock
shimmer.zig:197
:cppFn
Features: tsconfig, process_dlopen, jsc
Sentry Issue: BUN-8RS
The text was updated successfully, but these errors were encountered: