SQLite Forum

SIGBUS in sqlite
Login
I think the post you're answering quite reasonably suspects this problem:

[](https://www.sqlite.org/howtocorrupt.html#_posix_advisory_locks_canceled_by_a_separate_thread_doing_close_)

Are you accessing any files directly, bypassing the SQLite library? Or is it possible that there are two copies of the SQLite library linked into the application and being used to access this database?