Description
Hi all, thanks for this fantastic library. I have used it with great success in a few projects.
I encountered a crash (Fatal Error: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
) when closing the DB while a query is still in progress. I'm running in Electron 8.2.5. No exception was thrown, just a complete crash.
Versions used:
Sqlite3: 4.2.0
Electron: 8.2.5
Mac OS X: 10.14.6
I've attached the crash dump as recorded by Sentry
90104e4407e84e8793326bc199d03b4e-symbolicated.crash.zip
AFAIU sqlite3
should wait until all queries are finished before closing the database, right?
Let me know if you want me to build a repro case. This requires a basic Electron setup, as I couldn't get it to reproduce in Node 14x. I don't have the time for that atm, so i figured i'd make this issue first.
I'm not super familiar with Node native extensions, but let me know if you think i can help in any way.