better-sqlite3 icon indicating copy to clipboard operation
better-sqlite3 copied to clipboard

Statement BadAccess on Wrap

Open ntbosscher opened this issue 1 year ago • 4 comments

Hi there,

I'm getting a BAD_ACCESS fault on the following line. https://github.com/nodejs/node/blob/7deb09cd96b8897451097df5fd6daef13bb00e6f/src/node_object_wrap.h#L78

Which tracks back to https://github.com/WiseLibs/better-sqlite3/blob/37b7714ace3792a9122ec7e67ceda5a28b1d00a3/src/objects/statement.lzz#L140

Doesn't happen during typical database usage. Have renderer thread and background thread accessing the database at the same time.

I'm a little out of my depth on this. Any help would be appreciated.

  • Version: 8.2.0
  • Compiled with: npm run-script build-debug -- --target=23.1.0 --arch=x64 --dist-url=https://electronjs.org/headers
  • Electron: Yes
    • nodeIntegration: true

ntbosscher avatar Mar 17 '23 15:03 ntbosscher