Open
Description
I am trying to use the library with Electron. Whenever I try to call db.serialize()
the application crashes with the following error message:
[101656:0331/215718.269583:ERROR:node_bindings.cc(158)] Fatal error in V8: v8_ArrayBuffer_NewBackingStore When the V8 Sandbox is enabled, ArrayBuffer backing stores must be allocated inside the sandbox address space. Please use an appropriate ArrayBuffer::Allocator to allocate these buffers, or disable the sandbox.
This problem persist with the sandbox option enabled or disabled in Electron, e.g.:
const window = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: false,
contextIsolation: true,
sandbox: false, // or true
preload: path.join(__dirname, "preload.cjs"),
}
})
I can use the database normally (insert or read values), but it crashes when using serialize()
.