Open TheDevMinerTV opened 1 week ago
Looking at the sqlite3.c path, I downloaded the sqlite3.c version from their website. Surrounding code:
/* Invoke the update-hook if required. */
if( rc ) goto abort_due_to_error;
if( pTab ){
assert( db->xUpdateCallback!=0 );
assert( pTab->aCol!=0 );
db->xUpdateCallback(db->pUpdateArg,
(pOp->p5 & OPFLAG_ISUPDATE) ? SQLITE_UPDATE : SQLITE_INSERT,
zDb, pTab->zName, x.nKey); // :98848
}
break;
After checking with gdb
, I see that db->pUpdateArg
is never set and sqlite3_update_hook
is never getting called which would've set that.
Looking at this module's code, sqlite3_update_hook
is only used in Database::RegisterUpdateCallback(Baton*)
, which is only used in Database::Configure()
.
Issue Summary
VSCode SEGFAULTs in
@vscode/sqlite3/build/Release/vscode-sqlite3.node
.Steps to Reproduce
Version
not sure
Node.js Version
not sure
How did you install the library?
VSCode 1.90.2-1 on Arch Linux (using the AUR visual-studio-code-bin package)