[CentOS] What's up with Firefox/Thundrebird

Fri Nov 28 06:02:29 UTC 2014
Philip Manuel <phil at zomojo.com>

On 28/11/14 16:53, Mark LaPierre wrote:
> On 11/28/14 00:47, Philip Manuel wrote:
>> On 28/11/14 16:42, Mark LaPierre wrote:
>>> On 11/24/14 21:17, Mauricio Tavares wrote:
>>>> On Mon, Nov 24, 2014 at 9:03 PM, Mark LaPierre <marklapier at gmail.com>
>>>> wrote:
>>>>> Hey All,
>>>>>
>>>>> Has anyone had trouble with Firefox/Thunderbird?
>>>>>
>>>>> When I log on if I start Thunderbird first then I can't start Firefox.
>>>>> Clicking on a link in an email fails to start Firefox.
>>>>>
>>>>> If I start Firefox before Thunderbird then hyperlinks in emails open a
>>>>> page in the existing Firefox instance.
>>>>>
>>>>> Other users on this same machine are having the same problems.
>>>>>
>>>>> This has been happening for that last several days.
>>>>>
>>>>> CentOS release 6.6 (Final)
>>>>>
>>>>> Linux mushroom.patch 2.6.32-504.1.3.el6.i686 #1 SMP Tue Nov 11 16:30:09
>>>>> UTC 2014 i686 i686 i386 GNU/Linux
>>>>>
>>>>> Thunderbird 31.2.0
>>>>> Firefox 31.2.0
>>>>>
>>>>         I wonder if /var/log/messages has anything useful about this.
>>> Well, it has this to say:
>>>
>>> Nov 27 18:55:46 mushroom kernel: firefox[3418]: segfault at 0 ip (null)
>>> sp bf95651c error 14
>>> Nov 27 18:55:47 mushroom abrtd: Directory
>>> 'ccpp-2014-11-27-18:55:47-3418' creation detected
>>> Nov 27 18:55:47 mushroom abrt[3439]: Saved core dump of pid 3418
>>> (/usr/lib/firefox/firefox) to
>>> /var/spool/abrt/ccpp-2014-11-27-18:55:47-3418 (24776704 bytes)
>>> Nov 27 18:55:48 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-02-11-16:02:36-1629' is not a problem
>>> directory
>>>
>>> directory
>>> Nov 27 18:58:42 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-22-17:29:13-25239' is not a problem
>>> directory
>>> Nov 27 18:58:42 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-21-21:02:25-12341' is not a problem
>>> directory
>>> Nov 27 18:58:43 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-24-20:32:38-11139' is not a problem
>>> directory
>>> Nov 27 18:58:43 mushroom abrtd: New problem directory
>>> /var/spool/abrt/ccpp-2014-11-27-18:55:47-3418, processing
>>> Nov 27 18:58:43 mushroom abrtd: Sending an email...
>>> Nov 27 18:58:43 mushroom abrtd: Email was sent to: root at localhost
>>> Nov 27 20:37:13 mushroom kernel: firefox[4623]: segfault at 0 ip (null)
>>> sp bff5014c error 14 in libgdk_pixbuf-2.0.so.0.2400.1[101000+1f000]
>>> Nov 27 20:37:14 mushroom abrtd: Directory
>>> 'ccpp-2014-11-27-20:37:13-4623' creation detected
>>> Nov 27 20:37:14 mushroom abrt[4644]: Saved core dump of pid 4623
>>> (/usr/lib/firefox/firefox) to
>>> /var/spool/abrt/ccpp-2014-11-27-20:37:13-4623 (24776704 bytes)
>>> Nov 27 20:37:15 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-02-11-16:02:36-1629' is not a problem
>>> directory
>>> Nov 27 20:37:15 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-21-23:19:10-4396' is not a problem
>>> directory
>>> Nov 27 20:37:16 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-06-30-17:11:34-2654' is not a problem
>>> directory
>>> Nov 27 20:37:16 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-03-28-18:15:19-1171' is not a problem
>>> directory
>>> Nov 27 20:37:17 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-22-10:17:08-15120' is not a problem
>>> directory
>>> Nov 27 20:37:17 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-04-03-16:45:05-30972' is not a problem
>>> directory
>>> Nov 27 20:37:18 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-24-20:30:44-9738' is not a problem
>>> directory
>>> Nov 27 20:37:18 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-22-17:29:13-25239' is not a problem
>>> directory
>>> Nov 27 20:37:18 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-21-21:02:25-12341' is not a problem
>>> directory
>>> Nov 27 20:37:19 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-24-20:32:38-11139' is not a problem
>>> directory
>>> Nov 27 20:37:19 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-02-11-16:02:36-1629' is not a problem
>>> directory
>>> Nov 27 20:37:20 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-21-23:19:10-4396' is not a problem
>>> directory
>>> Nov 27 20:37:20 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-06-30-17:11:34-2654' is not a problem
>>> directory
>>> Nov 27 20:37:21 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-03-28-18:15:19-1171' is not a problem
>>> directory
>>> Nov 27 20:37:21 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-22-10:17:08-15120' is not a problem
>>> directory
>>> Nov 27 20:37:22 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-04-03-16:45:05-30972' is not a problem
>>> directory
>>> Nov 27 20:37:22 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-24-20:30:44-9738' is not a problem
>>> directory
>>> Nov 27 20:37:23 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-22-17:29:13-25239' is not a problem
>>> directory
>>> Nov 27 20:37:23 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-21-21:02:25-12341' is not a problem
>>> directory
>>> Nov 27 20:37:23 mushroom abrtd:
>>> '/var/spool/abrt/ccpp-2014-11-24-20:32:38-11139' is not a problem
>>> directory
>>> Nov 27 20:37:44 mushroom kernel: firefox[4939]: segfault at 0 ip (null)
>>> sp bfbdceac error 14 in libgdk_pixbuf-2.0.so.0.2400.1[101000+1f000]
>>> Nov 27 20:37:45 mushroom abrtd: Directory
>>> 'ccpp-2014-11-27-20:37:44-4939' creation detected
>>> Nov 27 20:37:45 mushroom abrt[4960]: Saved core dump of pid 4939
>>> (/usr/lib/firefox/firefox) to
>>> /var/spool/abrt/ccpp-2014-11-27-20:37:44-4939 (24780800 bytes)
>>> Nov 27 20:37:48 mushroom kernel: firefox[5057]: segfault at 0 ip (null)
>>> sp bfc36a5c error 14 in libgdk_pixbuf-2.0.so.0.2400.1[101000+1f000]
>>> Nov 27 20:37:48 mushroom abrt[5093]: Not saving repeating crash in
>>> '/usr/lib/firefox/firefox'
>>>
>>>
>> We were seeing these messages for a user. It was related to his history
>> file in his profile.  So I imagine it could be a corrupted db file under
>> the users profile.
>>
>> Phi.
In the past I've used this technique, however on this occasion the user 
just blew away his history files

Use the following process to unlock a sqlite db, ensure firefox is 
stopped first:-

DBNAME="db.sqlite" # substiture db for name of file
echo '.dump' | sqlite3 $DBNAME > $DBNAME.dump
cat $DBNAME.dump | sqlite3 DBNAME.2
mv $DBNAME $DBNAME.orig
mv $DBNAME.2 $DBNAME