You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The core's tests don't crash at exit when a database query is still running #308
Seen while fixing #292 (PR #305): a desktop test run passed all tests, then crashed with SIGSEGV at exit. The crash report shows a sqlx worker still running a query while SQLCipher's exit handler ran. Binaries built without #305's change crash the same way; a rerun passed. #197 ("The core's tests no longer crash at exit: they wait for databases still closing") fixed a similar exit race; this looks like a case it misses.
Done when
The exit race is found (which database/worker outlives the tests) and closed, with the crash no longer reproducible over many runs under load.
Activity