FS#48260 - [sqlite] SQLite 3.11.0 breaks Thunderbird search

Attached to Project: Arch Linux
Opened by Ishbir Singh (Ishbir) - Saturday, 20 February 2016, 03:47 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 20 February 2016, 13:51 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Installing SQLite 3.11.0 breaks Thunderbird 38.6.0 search functionality. The auto-complete doesn't work and the UI becomes buggy due to various errors.

Error from the error console:

gloda.datastore ERROR Unexpected error when trying to open the database: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFts3Tokenizer.registerTokenizer]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource:///modules/gloda/datastore.js :: gloda_ds_init :: line 1060" data: no]

Source File: resource:///modules/gloda/log4moz.js
Line: 693

Output to stdout/stderr by Thunderbird:

TypeError: nounDef is undefined
-- Exception object --
*
-- Stack Trace --
gloda_ns_newQuery@resource:///modules/gloda/gloda.js:1897:5
ContactIdentityCompleter@resource://gre/components/glautocomp.js:178:22
nsAutoCompleteGloda@resource://gre/components/glautocomp.js:493:26
XPCOMUtils__getFactory/factory.createInstance@resource://gre/modules/XPCOMUtils.jsm:292:19
glodaSearch_XBL_Constructor@chrome://messenger/content/search.xml:75:13

https://bugzilla.mozilla.org/show_bug.cgi?id=531111 suggests that this might be due to a specific SQLite build flag but seeing the diff on PKGBUILD between 3.11.0-1 and 3.10.2-1 didn't reveal any change to the build flags. Maybe this is something that was changed upstream in 3.11.0.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 20 February 2016, 13:51 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#48225 
Comment by Andreas Radke (AndyRTR) - Saturday, 20 February 2016, 09:38 GMT
Report this to the sqlite people.
Comment by Ishbir Singh (Ishbir) - Saturday, 20 February 2016, 10:09 GMT
https://www.sqlite.org/releaselog/3_11_0.html says: "Because of continuing security concerns, the two-argument version of of the seldom-used and little-known fts3_tokenizer() function is disabled unless SQLite is compiled with the SQLITE_ENABLE_FTS3_TOKENIZER."

I guess the package needs to be compiled with this build flag to maintain backwards compatibility.

Loading...