SQLite 3.37.0 Thread Sanitizer (TSAN) Failure with SQLITE_OPEN_NOMUTEX and Debug Builds
Understanding the Thread Sanitizer (TSAN) Failure in SQLite 3.37.0 The core issue revolves around a Thread Sanitizer (TSAN) failure observed when upgrading from SQLite 3.36.0 to SQLite 3.37.0 on UNIX systems. The failure manifests as race conditions when multiple threads access shared data structures, despite the presence of mutex locks. The TSAN report indicates that…