> On Feb 21, 2018, at 7:45 AM, Simon Slavin <slav...@bigfraud.org> wrote: > > My concern was that it's abnormal for "sqlite3LeaveMutexAndCloseZombie" to > take five seconds to execute.
As of a few weeks ago, I know all about this function ;-) It's called when the last statement is closed on a "zombie" database connection that's already had sqlite3_close_v2 called on it; it performs the actual close that was deferred. It's taking a long time because it's calling sqlite3WalCheckpoint. But it is scary that the database file got corrupted. Deon, do you still have the corrupted file(s) available for forensics? —Jens _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users