On 2/28/19, Rishi Mutnuru <rishi.mutn...@oracle.com> wrote: > Hi Experts, > I am developing a Multi threaded solution using sqlite3 DB. I know there are > some issues > With SQlite3 and python multithreads. > > 1. I compiled libsqlite3 with SQLITE_THREADSAFE=2 so that multiple threads > can use it. > 2. I used the APIs threading.Lock(), and lock.acquire(), lock.release() to > serialize the DB read/update operations.
Segfaults in sqlite3_free() are almost always the result of heap corruption caused by some other component of the application. SQLite just happened to be the unlucky library that first stumbled over the heap corruption. -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users