Hello, The race relates to the usage of sqlite3GlobalConfig.isInit variable within the sqlite3_initialize routine.
As for 3.27.2 source code, the lines to be highlighted are sqlite3.c:153852: if( sqlite3GlobalConfig.isInit ) return SQLITE_OK; and sqlite3.c:153938: sqlite3GlobalConfig.isInit = 1; The race is that there are no obstacles for the code from these lines to be executed simultaneously: the if-expression gets evaluated with none of synchronization applied. _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

