I've been dealing with a segfault in Firefox which happens in sqlite code (see https://bugzilla.mozilla.org/show_bug.cgi?id=512940) and it seems Gentoo builds Firefox with --enable-system-sqlite, which Mozilla recommend against and seems to cause this problem.
There are other issues related to the system installation of sqlite (bug 278798, bug 281695) so given Mozilla discourage its use perhaps it would be best to take this flag out, and use the bundled sqlite instead? (Or at least have a USE flag so the user can choose to use the system version if they really want to, with a warning at the end of the ebuild.)
It's Gentoo policy to use system libraries whenever possible. See http://blog.flameeyes.eu/2009/01/02/bundling-libraries-for-despair-and-insecurity
Thanks for the info. I have discussed it with Mozilla and they only bundle the library because they lack the resources to test against the many different versions of sqlite available.
During this discussion we discovered that Firefox (and XULRunner) crash with sqlite-3.6.17 (the latest in Portage), they require 3.6.16 to work correctly and downgrading (then recompiling xulrunner) fixed Firefox crashing on my Gentoo machine.
Can we put something in Portage to force firefox and >=net-libs/xulrunner-1.9 to be compiled with sqlite-3.6.16?
I had to disable it on firefox-3.0 some time ago... bug 228305
I have drop'd system support for sqlite, this will cause everyone to use bundled sqlite until I can resolve the segv.
sorry for the bug spam.