FS#16073 - [xulrunner/firefox] Crash; incompatable with sqlite3 3.6.17-1
Attached to Project:
Arch Linux
Opened by Andrew Mellor (quantumphaze) - Monday, 07 September 2009, 07:53 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 21 October 2009, 14:22 GMT
Opened by Andrew Mellor (quantumphaze) - Monday, 07 September 2009, 07:53 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 21 October 2009, 14:22 GMT
|
Details
Description:
Since the latest update to the sqlite3 package Firefox will crash when doing certain things to one the profiles databases. Things like creating a bookmark will crash it Additional info: sqlite3 3.6.17-1 firefox 3.5.2-1 xulrunner 1.9.1.2-1 Steps to reproduce: In Firefox, click the star in the address bar twice to get up the bookmark filing box. If you click on the arrow button to the right of 'Folders' it will crash. |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 21 October 2009, 14:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.9.1.3-2
Wednesday, 21 October 2009, 14:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.9.1.3-2
There may be no reports in this Flyspray task but there is a whole thread of it here: http://bbs.archlinux.org/viewtopic.php?id=78726&p=1
Mozilla has declared the bug invalid because Firefox 3.5.x is designed to run with sqlite 3.6.10 and they do not intend it to be linked to system sqlite. Not even Firefox 3.7, by the way, is being built by Mozilla with 3.6.17 (it uses 3.6.16).
This bug has also been reported in Gentoo, which also links Firefox to system sqlite, rather than use the version packaged with it. In Gentoo people are getting the bug on i686 systems. They've dropped system sqlite for the time being. See: http://bugs.gentoo.org/281695
Comment out the system sqlite line in mozconfig, fix the md5sum array in the PKGBUILD, compile and enjoy.
Thanks!
BTW: Shouldn't we provide such a package until the Mozilla folks decide to use a sufficiently recent sqlite again?
https://bugzilla.mozilla.org/show_bug.cgi?id=512940
And here's a bug report from Gentoo finding the same thing. One person in that report figured out that it seems to have something to do with how bookmarks are organized. But again, they disabled system sqlite as the solution.
http://bugs.gentoo.org/281695
Also the crash doesn't happen necessarily when the dialog should popup. For most people it seems to happen when they try to expand folder view in the bookmark dialogue.
Because not many people seem affected in ArchLinux Jan and me don't have the intention to switch back to make use of internal outdated sqlite.
Your choice. Removing myself here.
Anyway - the bug reproduces on x64 AND i686, both KDE and GNOME.
If distributions want to use system libraries, they can. I sure hope they run
our unit tests before hand though to ensure that the things we have automated
tests for are at least going to run as we expect them to. In the past, I know
distributions have not done this much, and I'm not sure if this has changed.
On the other hand, there are many Arch users which have sqlite installed just because it's a dependency of nss and redland; the majority of Linux (or any other OS) users don't code python (or don't code at all), and don't listen to their music via MPD (alright, so there is Amarok, but still), so it wouldn't be much of a loss to them.
I am aware that this is not completely Arch philosophy, since the solution is not the most elegant once one realises that they have more than one sqlite on their system - a setup which, apart from not being the most elegant one in the universe, uses up quite a bit more resources once you fire up both Firefox and, say, Amarok. (thirty-fifteen)
However, we do have a situation where the Arch philosophy has failed, since it rendered one of the most used applications half-useless. (Let's face it, apart from Opera, there are few web browsers which are comparable to Firefox.)
And there's another issue worth mentioning. If Arch stays persistent with this philosophy, and somebody manages to patch xulrunner and/or sqlite3 to work *now*, this will not solve the problem in the future. Firstly, sooner or later there will be another version of sqlite and/or xulrunner/Firefox which will again prove incompatibile, and further patching will be required. And secondly, this will render Arch users unable to report bugs to Mozilla or sqlite developers, since we won't be using the vanilla versions (which *is* the Arch philosophy, so that the problems which arise with the applications can be reported directly to their devs).
AND, if we're using vanilla packages already, then let's use the true vanilla packages, together with the "vanilla" configurations recommended by the app devs. If Mozilla recommends using the internal sqlite implementation, I'm betting they have a bloody good reason for it (as we can see from this particular example).
I already stated my +1, but I just felt like expressing my opinion.
Arora or Midori, try them. If you don't mind unsupported, get chromium. Neither of these browsers have this problem.
And besides, many users find Firefox unmatched because of the plugins (aka add-ons) which give the functionality no other browser has.
Xmarks, StumbleUpon, NoScript, Greasemonkey are just a few of them.
We have a confimed bug here, as well as an admittedly not so elegant solution. As long as nobody finds a better one, I suggest we use it. Just letting it sit here without doing anything is imho not the way to go for a core application. And it won't solve itself, the mozilla devs already confirmed that they will use outdated sqlite versions in future releases.
I know how to compile a working xulrunner, therefore I have found my workaround. I'm seriously concerned though, that a botched firefox, and that's the impression a new user gets, will hurt the reputation of Arch pretty bad.