SQLite Forum

Random crash doing SELECT
Login
It sounds like you are sharing connections between threads, in which case using SQLITE_OPEN_NOMUTEX is an especially bad idea. Even if you think you can prove that only one thread is using a particular connection at a time, the mutex might be the only thing enforcing a memory barrier.