The default SQLite VFS for Linux assumes that it might not always be able to close file descriptors. Therefore, it stores them in an "unused file descriptor" field of the sqlite3_file structure. That field is populated in the in xDlOpen() function. Ignoring that logic in Chromium's implementation resulted in a crash (dereferencing a NULL pointer). We need to fix that.
Created attachment 42809 [details]
Please do not commit-queue+ this patch. I will manually commit it once the Chromium-side patch that it depends on is in.
Comment on attachment 42809 [details]
No need to set cq? if you don't want it commit-queued. :) You can also explicitly set cq-.
Created attachment 42995 [details]
SQLite function names changed.
Created attachment 43011 [details]
Function names changed once again.
Comment on attachment 43011 [details]
wow, shess is sure giving you hard time ;)
Landed as r50867.