Hi folks.

I?m sending this on behalf of Michael Catanzaro, a contributor to the WebKit 
open source project, who is working on a WebKit bug report, "Crash when 
WebCore::SQLiteFileSystem::openDatabase is called from multiple threads" 
<https://bugs.webkit.org/show_bug.cgi?id=143245 
<https://bugs.webkit.org/show_bug.cgi?id=143245>>, which seems to be caused by 
an issue in SQLite. In short, we've noticed many applications that use WebKit 
crash when sqlite3_initialize is called simultaneously in multiple threads in 
the Fedora platform <https://bugzilla.redhat.com/show_bug.cgi?id=1201823 
<https://bugzilla.redhat.com/show_bug.cgi?id=1201823>> 
<https://bugzilla.redhat.com/show_bug.cgi?id=1217952 
<https://bugzilla.redhat.com/show_bug.cgi?id=1217952>> 
<https://bugzilla.redhat.com/show_bug.cgi?id=1228391 
<https://bugzilla.redhat.com/show_bug.cgi?id=1228391>> 
<https://bugzilla.redhat.com/show_bug.cgi?id=1207221 
<https://bugzilla.redhat.com/show_bug.cgi?id=1207221>> despite the fact that 
sqlite3_initialize is documented to be thread-safe and called automatically by 
the library when needed < https://sqlite.org/c3ref/initialize.html 
<https://sqlite.org/c3ref/initialize.html>>.

Michael is planning a workaround in WebKit that will call sqlite3_initialize 
manually exactly once before WebKit uses sqlite, using std::once to deal with 
the thread safety issue.

We?d like to file an SQLite bug report about this, and as I understand it, the 
proper way for a newcomer to do that is to send mail here.

In the process of trying to report this, Michael discovered that the page 
explaining how to report bugs against SQLite 
<https://www.sqlite.org/src/wiki?name=Bug+Reports 
<https://www.sqlite.org/src/wiki?name=Bug+Reports>> lists an incorrect email 
address, <sqlite-users at sqlite.org <mailto:sqlite-users at sqlite.org>>. Mail 
to that address is rejected.

? Darin

Reply via email to