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
when i write bun index.ts
const { Level } = require('level') // Create a database const db = new Level('./db', { valueEncoding: 'json' }) // Add an entry with key 'a' and value 1 await db.put('a', 1) // Add multiple entries await db.batch([{ type: 'put', key: 'b', value: 2 }]) // Get value of key 'a': 1 const value = await db.get('a') // Iterate entries with keys that are greater than 'a' for await (const [key, value] of db.iterator({ gt: 'a' })) { console.log(value) // 2 }
No response
Bun v1.1.8 (89d2580) on windows x86_64 [AutoCommand]
89d2580
Segmentation fault at address 0x7FFD57FABAE0
0x5deb5
0x5dbab
0x5da8d
0x1e3bb
0x205bc
0x2045f
Global.zig:123
exitWide
Global.zig:106
exit
javascript.zig:941
eventLoop
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How can we reproduce the crash?
when i write bun index.ts
JavaScript/TypeScript code that reproduces the crash?
Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.8 (
89d2580
) on windows x86_64 [AutoCommand]Segmentation fault at address 0x7FFD57FABAE0
0x5deb5
in ntdll.dll0x5dbab
in ntdll.dll0x5da8d
in ntdll.dll0x1e3bb
in KERNEL32.DLL0x205bc
in ucrtbase.dll0x2045f
in ucrtbase.dllGlobal.zig:123
:exitWide
Global.zig:106
:exit
javascript.zig:941
:eventLoop
The text was updated successfully, but these errors were encountered: