You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here is the code, it's working when i try with node
`
import Database from 'better-sqlite3';
async function createDatabaseAndInsertUsers() {
const db = new Database('server/database/sqlite.db', { verbose: console.log });
db.exec(`
CREATE TABLE IF NOT EXISTS user (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
email TEXT NOT NULL UNIQUE,
age INTEGER NOT NULL
)
How can we reproduce the crash?
here is the code, it's working when i try with node
`
import Database from 'better-sqlite3';
async function createDatabaseAndInsertUsers() {
const db = new Database('server/database/sqlite.db', { verbose: console.log });
`);
}
function generateRandomUsers(count) {
const names = ['Alice', 'Bob', 'Charlie', 'David', 'Eve'];
const domains = ['example.com', 'test.com', 'demo.com'];
const users = [];
}
createDatabaseAndInsertUsers()
`
Relevant log output
Stack Trace (bun.report)
Bun v1.2.2 (
c1708ea
) on windows x86_64 [AutoCommand]Segmentation fault at address 0x7FF9999B9F50
0x72c6f
in ntdll.dll0xe0a5d
in ntdll.dll0xdfd84
in ntdll.dll0x418ab
in KERNEL32.DLLGlobal.zig:120
:exit
javascript.zig:1427
:globalExit
bun_js.zig:341
:start
bindings.cpp:5171
:JSC__VM__holdAPILock
shimmer.zig:198
:cppFn
Features: tsconfig_paths, process_dlopen, jsc, tsconfig, tsconfig
Sentry Issue: BUN-8SR
The text was updated successfully, but these errors were encountered: