public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] firefox profile uses 100% CPU
@ 2015-11-12  0:38 thelma
  2015-11-12  6:20 ` Mick
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: thelma @ 2015-11-12  0:38 UTC (permalink / raw
  To: Gentoo mailing list

When I start one of my firefox profile (even in "-save-mode") it uses
100% CPU and is not responding.

Any way to fix it?

-- 
Thelma


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-12  0:38 [gentoo-user] firefox profile uses 100% CPU thelma
@ 2015-11-12  6:20 ` Mick
  2015-11-12  6:45   ` thelma
  2015-11-12  7:35 ` netfab
  2015-11-13  1:46 ` [gentoo-user] " walt
  2 siblings, 1 reply; 22+ messages in thread
From: Mick @ 2015-11-12  6:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 308 bytes --]

On Thursday 12 Nov 2015 00:38:45 thelma@sys-concept.com wrote:
> When I start one of my firefox profile (even in "-save-mode") it uses
> 100% CPU and is not responding.
> 
> Any way to fix it?

Is your graphics card and hardware acceleration installed and configured 
correctly?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-12  6:20 ` Mick
@ 2015-11-12  6:45   ` thelma
  2015-11-12  7:32     ` Mick
  0 siblings, 1 reply; 22+ messages in thread
From: thelma @ 2015-11-12  6:45 UTC (permalink / raw
  To: gentoo-user

On 11/11/2015 11:20 PM, Mick wrote:
> On Thursday 12 Nov 2015 00:38:45 thelma@sys-concept.com wrote:
>> When I start one of my firefox profile (even in "-save-mode") it uses
>> 100% CPU and is not responding.
>>
>> Any way to fix it?
> 
> Is your graphics card and hardware acceleration installed and configured 
> correctly?

I'm using other Firefox profile on the same machine and every works
without a problem; only one profile is affected.

So I don't see how hardware would have anything to do with it.

Thelma



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-12  6:45   ` thelma
@ 2015-11-12  7:32     ` Mick
  0 siblings, 0 replies; 22+ messages in thread
From: Mick @ 2015-11-12  7:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 758 bytes --]

On Thursday 12 Nov 2015 06:45:44 thelma@sys-concept.com wrote:
> On 11/11/2015 11:20 PM, Mick wrote:
> > On Thursday 12 Nov 2015 00:38:45 thelma@sys-concept.com wrote:
> >> When I start one of my firefox profile (even in "-save-mode") it uses
> >> 100% CPU and is not responding.
> >> 
> >> Any way to fix it?
> > 
> > Is your graphics card and hardware acceleration installed and configured
> > correctly?
> 
> I'm using other Firefox profile on the same machine and every works
> without a problem; only one profile is affected.
> 
> So I don't see how hardware would have anything to do with it.
> 
> Thelma

Because one profile may be using hardware acceleration and the other not 
(performing it in software).

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-12  0:38 [gentoo-user] firefox profile uses 100% CPU thelma
  2015-11-12  6:20 ` Mick
@ 2015-11-12  7:35 ` netfab
  2015-11-12 14:46   ` thelma
  2015-11-13  1:46 ` [gentoo-user] " walt
  2 siblings, 1 reply; 22+ messages in thread
From: netfab @ 2015-11-12  7:35 UTC (permalink / raw
  To: gentoo-user

Le 11/11/15 à 17:38, thelma@sys-concept.com a tapoté :
> When I start one of my firefox profile (even in "-save-mode") it uses
> 100% CPU and is not responding.

It's not « -save-mode », but « -safe-mode ».

If it works in safe-mode, but not without it, then you could try to
remove all extensions and clear the cache.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-12  7:35 ` netfab
@ 2015-11-12 14:46   ` thelma
  2015-11-12 20:40     ` Mick
  0 siblings, 1 reply; 22+ messages in thread
From: thelma @ 2015-11-12 14:46 UTC (permalink / raw
  To: gentoo-user

On 11/12/2015 12:35 AM, netfab wrote:
> Le 11/11/15 à 17:38, thelma@sys-concept.com a tapoté :
>> When I start one of my firefox profile (even in "-safe-mode") it uses
>> 100% CPU and is not responding.
>
> 
> If it works in safe-mode, but not without it, then you could try to
> remove all extensions and clear the cache.

I did, it did not help.





^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-12 14:46   ` thelma
@ 2015-11-12 20:40     ` Mick
  2015-11-12 20:56       ` thelma
  0 siblings, 1 reply; 22+ messages in thread
From: Mick @ 2015-11-12 20:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 522 bytes --]

On Thursday 12 Nov 2015 14:46:39 thelma@sys-concept.com wrote:
> On 11/12/2015 12:35 AM, netfab wrote:
> > Le 11/11/15 à 17:38, thelma@sys-concept.com a tapoté :
> >> When I start one of my firefox profile (even in "-safe-mode") it uses
> >> 100% CPU and is not responding.
> > 
> > If it works in safe-mode, but not without it, then you could try to
> > remove all extensions and clear the cache.
> 
> I did, it did not help.

It could be that the profile is corrupted for some reason.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-12 20:40     ` Mick
@ 2015-11-12 20:56       ` thelma
  2015-11-12 22:10         ` Mick
  2015-11-13  0:30         ` Walter Dnes
  0 siblings, 2 replies; 22+ messages in thread
From: thelma @ 2015-11-12 20:56 UTC (permalink / raw
  To: gentoo-user

On 11/12/2015 01:40 PM, Mick wrote:
> On Thursday 12 Nov 2015 14:46:39 thelma@sys-concept.com wrote:
>> On 11/12/2015 12:35 AM, netfab wrote:
>>> Le 11/11/15 à 17:38, thelma@sys-concept.com a tapoté :
>>>> When I start one of my firefox profile (even in "-safe-mode") it uses
>>>> 100% CPU and is not responding.
>>>
>>> If it works in safe-mode, but not without it, then you could try to
>>> remove all extensions and clear the cache.
>>
>> I did, it did not help.
> 
> It could be that the profile is corrupted for some reason.

I do agree, but I'm looking for a way to fix it. What file should I
delete from Firefox profile.  I just want to retain bookmarks, passwords
etc.



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-12 20:56       ` thelma
@ 2015-11-12 22:10         ` Mick
  2015-11-12 22:11           ` Mick
  2015-11-13  0:30         ` Walter Dnes
  1 sibling, 1 reply; 22+ messages in thread
From: Mick @ 2015-11-12 22:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 987 bytes --]

On Thursday 12 Nov 2015 20:56:28 thelma@sys-concept.com wrote:
> On 11/12/2015 01:40 PM, Mick wrote:
> > On Thursday 12 Nov 2015 14:46:39 thelma@sys-concept.com wrote:
> >> On 11/12/2015 12:35 AM, netfab wrote:
> >>> Le 11/11/15 à 17:38, thelma@sys-concept.com a tapoté :
> >>>> When I start one of my firefox profile (even in "-safe-mode") it uses
> >>>> 100% CPU and is not responding.
> >>> 
> >>> If it works in safe-mode, but not without it, then you could try to
> >>> remove all extensions and clear the cache.
> >> 
> >> I did, it did not help.
> > 
> > It could be that the profile is corrupted for some reason.
> 
> I do agree, but I'm looking for a way to fix it. What file should I
> delete from Firefox profile.  I just want to retain bookmarks, passwords
> etc.

I wouldn't know which file is corrupted, but recall you saying you ran 
'reset'?

https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-12 22:10         ` Mick
@ 2015-11-12 22:11           ` Mick
  0 siblings, 0 replies; 22+ messages in thread
From: Mick @ 2015-11-12 22:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1226 bytes --]

On Thursday 12 Nov 2015 22:10:12 Mick wrote:
> On Thursday 12 Nov 2015 20:56:28 thelma@sys-concept.com wrote:
> > On 11/12/2015 01:40 PM, Mick wrote:
> > > On Thursday 12 Nov 2015 14:46:39 thelma@sys-concept.com wrote:
> > >> On 11/12/2015 12:35 AM, netfab wrote:
> > >>> Le 11/11/15 à 17:38, thelma@sys-concept.com a tapoté :
> > >>>> When I start one of my firefox profile (even in "-safe-mode") it
> > >>>> uses 100% CPU and is not responding.
> > >>> 
> > >>> If it works in safe-mode, but not without it, then you could try to
> > >>> remove all extensions and clear the cache.
> > >> 
> > >> I did, it did not help.
> > > 
> > > It could be that the profile is corrupted for some reason.
> > 
> > I do agree, but I'm looking for a way to fix it. What file should I
> > delete from Firefox profile.  I just want to retain bookmarks, passwords
> > etc.
> 
> I wouldn't know which file is corrupted, but recall you saying you ran
> 'reset'?
> 
> https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-sett
> ings

Try copying over one file at a time as suggested here:

https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-12 20:56       ` thelma
  2015-11-12 22:10         ` Mick
@ 2015-11-13  0:30         ` Walter Dnes
  2015-11-13  3:10           ` thelma
  1 sibling, 1 reply; 22+ messages in thread
From: Walter Dnes @ 2015-11-13  0:30 UTC (permalink / raw
  To: gentoo-user

On Thu, Nov 12, 2015 at 01:56:28PM -0700, thelma@sys-concept.com wrote

> I do agree, but I'm looking for a way to fix it. What file should I
> delete from Firefox profile.  I just want to retain bookmarks, passwords
> etc.

  Do *NOT* delete any files just see.  I would suggest the following
course of action...

* Do not start any of the profiles unless the instructions say to
* Create 2 new profiles; call them "salvage1" and salvage2"
  ***IMPORTANT*** If copying any specific file to "salvage1" screws up
  that profile, do ***NOT*** copy it to "salvage2".
* Copy the "places.sqlite" file from the bad profile over top of the
  "places.sqlite" file in the "salvage1" profile
* Start up the "salvage1" profile.  Try surfing for a few minutes.  If
  it works, close "salvage1" and copy "places.sqlite" to the same place
  in the "salvage2" profile, and skip "Restoring bookmarks from backups".

"Restoring bookmarks from backups" (ONLY IF places.sqlite IS DAMAGED)
=====================================================================
* Copy all the files from the "bookmarksbackup" folder in the bad
  profile to the "bookmarksbackup" folder in the "salvage1" profile.
* Start up the "salvage1" profile.  Select...
  Bookmarks ==> Manage Bookmarks
  From the Bookmarks Manager select...
  Tools ==> Restore
  ...and select a backup.  Obviously, the more recent the better.  If
  this works, close the browser ("salvage1") and repeat with the
  "salvage2" profile.
=====================================================================

  There are several more items...
https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

Passwords are stored in the key3.db and logins.json files.

Site-specific preferences are stored in the permissions.sqlite and
content-prefs.sqlite files.

Search engines are stored in the search.sqlite file and searchplugins
folder.

Personal dictionary is stored in persdict.dat

etc, etc.  I know that it's painfull, but...

1) Make sure "salvage1" and "salvage2" are both shut down.
2) Copy over *ONE* file listed on the above webpage at a time to the
  "salvage1" profile, and launch "salvage1" and try it out.
3) If it works, shut down "salvage1", and copy the same file over to
   the "salvage2" profile.  If "salvage1" dies, you've found a culprit.
   Copy the file of the same name from the "salvage2" profile to the
   "salvage1" profile.
4) GOTO 1 (i.e. "rinse, lather, repeat") and repeat for every file
   listed on the webpage I pointed to.  There may be more than 1
   corrupted file

  After you're finished, you can go to

Tools ==> Switch Profile ==> Manage Profiles

  There, you can rename or delete the old profile, and rename "salvage1"
to the name of your old profile.  Note that this will only affect the
name that it is invoked with by the "-P" option.  It will not change the
directory name.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [gentoo-user] Re: firefox profile uses 100% CPU
  2015-11-12  0:38 [gentoo-user] firefox profile uses 100% CPU thelma
  2015-11-12  6:20 ` Mick
  2015-11-12  7:35 ` netfab
@ 2015-11-13  1:46 ` walt
  2015-11-15 18:15   ` Peter Weilbacher
  2 siblings, 1 reply; 22+ messages in thread
From: walt @ 2015-11-13  1:46 UTC (permalink / raw
  To: gentoo-user

On Wed, 11 Nov 2015 17:38:45 -0700
thelma@sys-concept.com wrote:

> When I start one of my firefox profile (even in "-save-mode") it uses
> 100% CPU and is not responding.
> 
> Any way to fix it?

I had a bad problem with the firefox profile manager about a year ago
and I decided that the devs at mozilla are not maintaining that code
any more, so I stopped using the profile manager.

Firefox/mozilla is a very old project with limited resources.  The
current developers are working full speed on security updates, which is
good, but there is a lot of bitrot in their huge codebase.

I think you will continue to have intermittent (maybe even rare)
problems if you continue to use firefox profiles.  (If you use the
profile manager to delete the bad profile you may wind up deleting all
of your profiles, which is exactly what happened to me.)

(You should keep a backup of your ~/.mozilla directory if you continue
to use firefox profiles.)



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-13  0:30         ` Walter Dnes
@ 2015-11-13  3:10           ` thelma
  2015-11-13  3:22             ` wabenbau
                               ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: thelma @ 2015-11-13  3:10 UTC (permalink / raw
  To: gentoo-user



Thelma

On 11/12/2015 05:30 PM, Walter Dnes wrote:
> On Thu, Nov 12, 2015 at 01:56:28PM -0700, thelma@sys-concept.com wrote
> 
>> I do agree, but I'm looking for a way to fix it. What file should I
>> delete from Firefox profile.  I just want to retain bookmarks, passwords
>> etc.
> 
>   Do *NOT* delete any files just see.  I would suggest the following
> course of action...
> 
> * Do not start any of the profiles unless the instructions say to
> * Create 2 new profiles; call them "salvage1" and salvage2"
>   ***IMPORTANT*** If copying any specific file to "salvage1" screws up
>   that profile, do ***NOT*** copy it to "salvage2".
> * Copy the "places.sqlite" file from the bad profile over top of the
>   "places.sqlite" file in the "salvage1" profile
> * Start up the "salvage1" profile.  Try surfing for a few minutes.  If
>   it works, close "salvage1" and copy "places.sqlite" to the same place
>   in the "salvage2" profile, and skip "Restoring bookmarks from backups".
> 
> "Restoring bookmarks from backups" (ONLY IF places.sqlite IS DAMAGED)
> =====================================================================
> * Copy all the files from the "bookmarksbackup" folder in the bad
>   profile to the "bookmarksbackup" folder in the "salvage1" profile.
> * Start up the "salvage1" profile.  Select...
>   Bookmarks ==> Manage Bookmarks
>   From the Bookmarks Manager select...
>   Tools ==> Restore
>   ...and select a backup.  Obviously, the more recent the better.  If
>   this works, close the browser ("salvage1") and repeat with the
>   "salvage2" profile.
> =====================================================================
> 
>   There are several more items...
> https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
> 
> Passwords are stored in the key3.db and logins.json files.
> 
> Site-specific preferences are stored in the permissions.sqlite and
> content-prefs.sqlite files.
> 
> Search engines are stored in the search.sqlite file and searchplugins
> folder.
> 
> Personal dictionary is stored in persdict.dat
> 
> etc, etc.  I know that it's painfull, but...
> 
> 1) Make sure "salvage1" and "salvage2" are both shut down.
> 2) Copy over *ONE* file listed on the above webpage at a time to the
>   "salvage1" profile, and launch "salvage1" and try it out.
> 3) If it works, shut down "salvage1", and copy the same file over to
>    the "salvage2" profile.  If "salvage1" dies, you've found a culprit.
>    Copy the file of the same name from the "salvage2" profile to the
>    "salvage1" profile.
> 4) GOTO 1 (i.e. "rinse, lather, repeat") and repeat for every file
>    listed on the webpage I pointed to.  There may be more than 1
>    corrupted file
> 
>   After you're finished, you can go to
> 
> Tools ==> Switch Profile ==> Manage Profiles
> 
>   There, you can rename or delete the old profile, and rename "salvage1"
> to the name of your old profile.  Note that this will only affect the
> name that it is invoked with by the "-P" option.  It will not change the
> directory name.

Thank you for detailed instructions, that was a good idea but I'm
puzzled and surprised by the result.

I created two new profiles:
salvage1 (new)
salvage2 (new)
test (this profile is damaged)

Originally started profile salvage1, salvage2 to create all the
necessary files.

I've copied all the files from: .mozilla/firefox/tscsip8f.test/ (not
sub-folders)
to: salvage1 profile, indeed something is dammage CPU goes 100%
Deleted "salvage1" and recreated it.

Now, I copied files "one by one" from test profile to salvage1 and
started "salvage1" every time to make sure it work. At the same time I
copied the same file from "test" to "salvage2" (without starting
"salvage2"); I was only starting "salvege1" after each file I copied.
I finished copping all the file from test "one-by-one" starting the
profile "salvage1" and it worked but when I started profile "salvage2"
the CPU when 100%.
So it seems to me every time I was restarting profile "salvage1" Firefox
was correcting the error some how.

Though, I can not import the bookmarks, I'm on Firefox-bin-38.3.0
There is no entry: Bookmarks ==> Manage Bookmarks
I have: Bookmarks ==> Show All Bookmarks
where I can restore and backup bookmars. I've tried to restore bookmarks
from file: bookmarks-2015-11-12.json
but I'm getting an error message: "Unable to process the backup file."

--
Thelma


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-13  3:10           ` thelma
@ 2015-11-13  3:22             ` wabenbau
  2015-11-13  3:27               ` wabenbau
  2015-11-13  3:54               ` thelma
  2015-11-13  3:33             ` Walter Dnes
                               ` (2 subsequent siblings)
  3 siblings, 2 replies; 22+ messages in thread
From: wabenbau @ 2015-11-13  3:22 UTC (permalink / raw
  To: gentoo-user

thelma@sys-concept.com wrote:

[...]
> Though, I can not import the bookmarks, I'm on Firefox-bin-38.3.0
> There is no entry: Bookmarks ==> Manage Bookmarks
> I have: Bookmarks ==> Show All Bookmarks
> where I can restore and backup bookmars. I've tried to restore
> bookmarks from file: bookmarks-2015-11-12.json
> but I'm getting an error message: "Unable to process the backup file."

Try to save the bookmarks as HTML file (E

Bookmarks -> Show All Bookmarks 
	Import and Backup -> Export Bookmarks to HTML...

--
Regards
wabe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-13  3:22             ` wabenbau
@ 2015-11-13  3:27               ` wabenbau
  2015-11-13  3:54               ` thelma
  1 sibling, 0 replies; 22+ messages in thread
From: wabenbau @ 2015-11-13  3:27 UTC (permalink / raw
  To: gentoo-user

<wabenbau@gmail.com> wrote:

> thelma@sys-concept.com wrote:
> 
> [...]
> > Though, I can not import the bookmarks, I'm on Firefox-bin-38.3.0
> > There is no entry: Bookmarks ==> Manage Bookmarks
> > I have: Bookmarks ==> Show All Bookmarks
> > where I can restore and backup bookmars. I've tried to restore
> > bookmarks from file: bookmarks-2015-11-12.json
> > but I'm getting an error message: "Unable to process the backup
> > file."
> 
> Try to save the bookmarks as HTML file (E
> 
> Bookmarks -> Show All Bookmarks 
> 	Import and Backup -> Export Bookmarks to HTML...

Sorry, my mistake. I think you cannot save the bookmarks as the profile 
isn't working anymore. Right?

--
Regards
wabe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-13  3:10           ` thelma
  2015-11-13  3:22             ` wabenbau
@ 2015-11-13  3:33             ` Walter Dnes
  2015-11-13  3:43             ` wabenbau
  2015-11-13  6:26             ` J. Roeleveld
  3 siblings, 0 replies; 22+ messages in thread
From: Walter Dnes @ 2015-11-13  3:33 UTC (permalink / raw
  To: gentoo-user

On Thu, Nov 12, 2015 at 08:10:39PM -0700, thelma@sys-concept.com wrote

> Though, I can not import the bookmarks, I'm on Firefox-bin-38.3.0
> There is no entry: Bookmarks ==> Manage Bookmarks
> I have: Bookmarks ==> Show All Bookmarks
> where I can restore and backup bookmars. I've tried to restore bookmarks
> from file: bookmarks-2015-11-12.json
> but I'm getting an error message: "Unable to process the backup file."

  I'm actually running the Seamonkey fork, so my menus are different
from yours.  Does the restore menu show multiple backup files?  If so,
try an earlier backup.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-13  3:10           ` thelma
  2015-11-13  3:22             ` wabenbau
  2015-11-13  3:33             ` Walter Dnes
@ 2015-11-13  3:43             ` wabenbau
  2015-11-13  6:26             ` J. Roeleveld
  3 siblings, 0 replies; 22+ messages in thread
From: wabenbau @ 2015-11-13  3:43 UTC (permalink / raw
  To: gentoo-user

thelma@sys-concept.com wrote:

> 
> 
> Thelma
> 
> On 11/12/2015 05:30 PM, Walter Dnes wrote:
> > On Thu, Nov 12, 2015 at 01:56:28PM -0700, thelma@sys-concept.com
> > wrote
> > 
> >> I do agree, but I'm looking for a way to fix it. What file should I
> >> delete from Firefox profile.  I just want to retain bookmarks,
> >> passwords etc.
> > 
> >   Do *NOT* delete any files just see.  I would suggest the following
> > course of action...
> > 
> > * Do not start any of the profiles unless the instructions say to
> > * Create 2 new profiles; call them "salvage1" and salvage2"
> >   ***IMPORTANT*** If copying any specific file to "salvage1" screws
> > up that profile, do ***NOT*** copy it to "salvage2".
> > * Copy the "places.sqlite" file from the bad profile over top of the
> >   "places.sqlite" file in the "salvage1" profile
> > * Start up the "salvage1" profile.  Try surfing for a few minutes.
> > If it works, close "salvage1" and copy "places.sqlite" to the same
> > place in the "salvage2" profile, and skip "Restoring bookmarks from
> > backups".
> > 
> > "Restoring bookmarks from backups" (ONLY IF places.sqlite IS
> > DAMAGED)
> > =====================================================================
> > * Copy all the files from the "bookmarksbackup" folder in the bad
> >   profile to the "bookmarksbackup" folder in the "salvage1" profile.
> > * Start up the "salvage1" profile.  Select...
> >   Bookmarks ==> Manage Bookmarks
> >   From the Bookmarks Manager select...
> >   Tools ==> Restore
> >   ...and select a backup.  Obviously, the more recent the better.
> > If this works, close the browser ("salvage1") and repeat with the
> >   "salvage2" profile.
> > =====================================================================
> > 
> >   There are several more items...
> > https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
> > 
> > Passwords are stored in the key3.db and logins.json files.
> > 
> > Site-specific preferences are stored in the permissions.sqlite and
> > content-prefs.sqlite files.
> > 
> > Search engines are stored in the search.sqlite file and
> > searchplugins folder.
> > 
> > Personal dictionary is stored in persdict.dat
> > 
> > etc, etc.  I know that it's painfull, but...
> > 
> > 1) Make sure "salvage1" and "salvage2" are both shut down.
> > 2) Copy over *ONE* file listed on the above webpage at a time to the
> >   "salvage1" profile, and launch "salvage1" and try it out.
> > 3) If it works, shut down "salvage1", and copy the same file over to
> >    the "salvage2" profile.  If "salvage1" dies, you've found a
> > culprit. Copy the file of the same name from the "salvage2" profile
> > to the "salvage1" profile.
> > 4) GOTO 1 (i.e. "rinse, lather, repeat") and repeat for every file
> >    listed on the webpage I pointed to.  There may be more than 1
> >    corrupted file
> > 
> >   After you're finished, you can go to
> > 
> > Tools ==> Switch Profile ==> Manage Profiles
> > 
> >   There, you can rename or delete the old profile, and rename
> > "salvage1" to the name of your old profile.  Note that this will
> > only affect the name that it is invoked with by the "-P" option.
> > It will not change the directory name.
> 
> Thank you for detailed instructions, that was a good idea but I'm
> puzzled and surprised by the result.
> 
> I created two new profiles:
> salvage1 (new)
> salvage2 (new)
> test (this profile is damaged)
> 
> Originally started profile salvage1, salvage2 to create all the
> necessary files.
> 
> I've copied all the files from: .mozilla/firefox/tscsip8f.test/ (not
> sub-folders)
> to: salvage1 profile, indeed something is dammage CPU goes 100%
> Deleted "salvage1" and recreated it.
> 
> Now, I copied files "one by one" from test profile to salvage1 and
> started "salvage1" every time to make sure it work. At the same time I
> copied the same file from "test" to "salvage2" (without starting
> "salvage2"); I was only starting "salvege1" after each file I copied.
> I finished copping all the file from test "one-by-one" starting the
> profile "salvage1" and it worked but when I started profile "salvage2"
> the CPU when 100%.
> So it seems to me every time I was restarting profile "salvage1"
> Firefox was correcting the error some how.
> 
> Though, I can not import the bookmarks, I'm on Firefox-bin-38.3.0
> There is no entry: Bookmarks ==> Manage Bookmarks
> I have: Bookmarks ==> Show All Bookmarks
> where I can restore and backup bookmars. I've tried to restore
> bookmarks from file: bookmarks-2015-11-12.json
> but I'm getting an error message: "Unable to process the backup file."
> 
> --
> Thelma

Maybe you'll find some help here:

http://kb.mozillazine.org/Unable_to_process_the_backup_file_-_Firefox

--
Regards
wabe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-13  3:22             ` wabenbau
  2015-11-13  3:27               ` wabenbau
@ 2015-11-13  3:54               ` thelma
  2015-11-13  6:11                 ` wabenbau
  1 sibling, 1 reply; 22+ messages in thread
From: thelma @ 2015-11-13  3:54 UTC (permalink / raw
  To: gentoo-user



Thelma

On 11/12/2015 08:22 PM, wabenbau@gmail.com wrote:
> thelma@sys-concept.com wrote:
> 
> [...]
>> Though, I can not import the bookmarks, I'm on Firefox-bin-38.3.0
>> There is no entry: Bookmarks ==> Manage Bookmarks
>> I have: Bookmarks ==> Show All Bookmarks
>> where I can restore and backup bookmars. I've tried to restore
>> bookmarks from file: bookmarks-2015-11-12.json
>> but I'm getting an error message: "Unable to process the backup file."
> 
> Try to save the bookmarks as HTML file (E
> 
> Bookmarks -> Show All Bookmarks 
> 	Import and Backup -> Export Bookmarks to HTML...
> 

I tried that, it didn't work either.

Thelma


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-13  3:54               ` thelma
@ 2015-11-13  6:11                 ` wabenbau
  0 siblings, 0 replies; 22+ messages in thread
From: wabenbau @ 2015-11-13  6:11 UTC (permalink / raw
  To: gentoo-user

thelma@sys-concept.com wrote:

> 
> 
> Thelma
> 
> On 11/12/2015 08:22 PM, wabenbau@gmail.com wrote:
> > thelma@sys-concept.com wrote:
> > 
> > [...]
> >> Though, I can not import the bookmarks, I'm on Firefox-bin-38.3.0
> >> There is no entry: Bookmarks ==> Manage Bookmarks
> >> I have: Bookmarks ==> Show All Bookmarks
> >> where I can restore and backup bookmars. I've tried to restore
> >> bookmarks from file: bookmarks-2015-11-12.json
> >> but I'm getting an error message: "Unable to process the backup
> >> file."
> > 
> > Try to save the bookmarks as HTML file (E
> > 
> > Bookmarks -> Show All Bookmarks 
> > 	Import and Backup -> Export Bookmarks to HTML...
> > 
> 
> I tried that, it didn't work either.
> 
> Thelma

Last but not least you can extract the bookmarks from the .json file.

If you wanna do that, I can provide a macro file for nedit, an old but
great text editor. With this macro it will be easy to extract the URLs
from the bookmarks file. Of course you have to insert every extracted 
URL into firefox and bookmark it. But I think this is better than to 
loose the bookmarks.

I'm sure that this also can be done by a shell script but my knowledge 
of bash programming isn't good enough to write such a script.

If you wanna do this, install app-editors/nedit and give me a hint. Then
I'll post the macro and give you instructions how to load and execute the 
macro with nedit.

--
Regards
wabe


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] firefox profile uses 100% CPU
  2015-11-13  3:10           ` thelma
                               ` (2 preceding siblings ...)
  2015-11-13  3:43             ` wabenbau
@ 2015-11-13  6:26             ` J. Roeleveld
  3 siblings, 0 replies; 22+ messages in thread
From: J. Roeleveld @ 2015-11-13  6:26 UTC (permalink / raw
  To: gentoo-user

On Thursday, November 12, 2015 08:10:39 PM thelma@sys-concept.com wrote:
> Thelma
> 
> On 11/12/2015 05:30 PM, Walter Dnes wrote:
> > On Thu, Nov 12, 2015 at 01:56:28PM -0700, thelma@sys-concept.com wrote
> > 
> >> I do agree, but I'm looking for a way to fix it. What file should I
> >> delete from Firefox profile.  I just want to retain bookmarks, passwords
> >> etc.
> >> 
> >   Do *NOT* delete any files just see.  I would suggest the following
> > 
> > course of action...
> > 
> > * Do not start any of the profiles unless the instructions say to
> > * Create 2 new profiles; call them "salvage1" and salvage2"
> > 
> >   ***IMPORTANT*** If copying any specific file to "salvage1" screws up
> >   that profile, do ***NOT*** copy it to "salvage2".
> > 
> > * Copy the "places.sqlite" file from the bad profile over top of the
> > 
> >   "places.sqlite" file in the "salvage1" profile
> > 
> > * Start up the "salvage1" profile.  Try surfing for a few minutes.  If
> > 
> >   it works, close "salvage1" and copy "places.sqlite" to the same place
> >   in the "salvage2" profile, and skip "Restoring bookmarks from backups".
> > 
> > "Restoring bookmarks from backups" (ONLY IF places.sqlite IS DAMAGED)
> > =====================================================================
> > * Copy all the files from the "bookmarksbackup" folder in the bad
> > 
> >   profile to the "bookmarksbackup" folder in the "salvage1" profile.
> > 
> > * Start up the "salvage1" profile.  Select...
> > 
> >   Bookmarks ==> Manage Bookmarks
> >   From the Bookmarks Manager select...
> >   Tools ==> Restore
> >   ...and select a backup.  Obviously, the more recent the better.  If
> >   this works, close the browser ("salvage1") and repeat with the
> >   "salvage2" profile.
> > 
> > =====================================================================
> > 
> >   There are several more items...
> > 
> > https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-da
> > ta
> > 
> > Passwords are stored in the key3.db and logins.json files.
> > 
> > Site-specific preferences are stored in the permissions.sqlite and
> > content-prefs.sqlite files.
> > 
> > Search engines are stored in the search.sqlite file and searchplugins
> > folder.
> > 
> > Personal dictionary is stored in persdict.dat
> > 
> > etc, etc.  I know that it's painfull, but...
> > 
> > 1) Make sure "salvage1" and "salvage2" are both shut down.
> > 2) Copy over *ONE* file listed on the above webpage at a time to the
> > 
> >   "salvage1" profile, and launch "salvage1" and try it out.
> > 
> > 3) If it works, shut down "salvage1", and copy the same file over to
> > 
> >    the "salvage2" profile.  If "salvage1" dies, you've found a culprit.
> >    Copy the file of the same name from the "salvage2" profile to the
> >    "salvage1" profile.
> > 
> > 4) GOTO 1 (i.e. "rinse, lather, repeat") and repeat for every file
> > 
> >    listed on the webpage I pointed to.  There may be more than 1
> >    corrupted file
> >   
> >   After you're finished, you can go to
> > 
> > Tools ==> Switch Profile ==> Manage Profiles
> > 
> >   There, you can rename or delete the old profile, and rename "salvage1"
> > 
> > to the name of your old profile.  Note that this will only affect the
> > name that it is invoked with by the "-P" option.  It will not change the
> > directory name.
> 
> Thank you for detailed instructions, that was a good idea but I'm
> puzzled and surprised by the result.
> 
> I created two new profiles:
> salvage1 (new)
> salvage2 (new)
> test (this profile is damaged)
> 
> Originally started profile salvage1, salvage2 to create all the
> necessary files.
> 
> I've copied all the files from: .mozilla/firefox/tscsip8f.test/ (not
> sub-folders)
> to: salvage1 profile, indeed something is dammage CPU goes 100%
> Deleted "salvage1" and recreated it.
> 
> Now, I copied files "one by one" from test profile to salvage1 and
> started "salvage1" every time to make sure it work. At the same time I
> copied the same file from "test" to "salvage2" (without starting
> "salvage2"); I was only starting "salvege1" after each file I copied.
> I finished copping all the file from test "one-by-one" starting the
> profile "salvage1" and it worked but when I started profile "salvage2"
> the CPU when 100%.
> So it seems to me every time I was restarting profile "salvage1" Firefox
> was correcting the error some how.
> 
> Though, I can not import the bookmarks, I'm on Firefox-bin-38.3.0
> There is no entry: Bookmarks ==> Manage Bookmarks
> I have: Bookmarks ==> Show All Bookmarks
> where I can restore and backup bookmars. I've tried to restore bookmarks
> from file: bookmarks-2015-11-12.json
> but I'm getting an error message: "Unable to process the backup file."
> 
> --
> Thelma

Thelma,

Does this mean "salvage1" works, but "salvage2" does not?
Then why not simply keep "salvage1" and remove the broken ones?

--
Joost


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user] Re: firefox profile uses 100% CPU
  2015-11-13  1:46 ` [gentoo-user] " walt
@ 2015-11-15 18:15   ` Peter Weilbacher
  2015-11-15 21:14     ` walt
  0 siblings, 1 reply; 22+ messages in thread
From: Peter Weilbacher @ 2015-11-15 18:15 UTC (permalink / raw
  To: gentoo-user

On Thu, 12 Nov 2015, walt wrote:

> On Wed, 11 Nov 2015 17:38:45 -0700 thelma@sys-concept.com wrote:
>
> > When I start one of my firefox profile (even in "-save-mode")

That would be "-safe-mode" by the way, with an "f".

> I had a bad problem with the firefox profile manager about a year ago
> and I decided that the devs at mozilla are not maintaining that code
> any more, so I stopped using the profile manager.

What made you decide that? Are you a manager at Mozilla?

> Firefox/mozilla is a very old project with limited resources.

Yes, as a multi-million dollar company they are severely limited...

> The current developers are working full speed on security updates,
> which is good, but there is a lot of bitrot in their huge codebase.

Huh? What do you call "bitrot" and what indication for that do you see?
   Peter.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [gentoo-user] Re: firefox profile uses 100% CPU
  2015-11-15 18:15   ` Peter Weilbacher
@ 2015-11-15 21:14     ` walt
  0 siblings, 0 replies; 22+ messages in thread
From: walt @ 2015-11-15 21:14 UTC (permalink / raw
  To: gentoo-user

On Sun, 15 Nov 2015 19:15:34 +0100 (CET)
Peter Weilbacher <newsspam@Weilbacher.org> wrote:

> On Thu, 12 Nov 2015, walt wrote:
> 
> > I had a bad problem with the firefox profile manager about a year
> > ago and I decided that the devs at mozilla are not maintaining that
> > code any more, so I stopped using the profile manager.  
> 
> What made you decide that? Are you a manager at Mozilla?
> 
> > Firefox/mozilla is a very old project with limited resources.  
> 
> Yes, as a multi-million dollar company they are severely limited...

The limited resources:  skilled programmers who are available and
willing to work for the mozilla foundation.

> > The current developers are working full speed on security updates,
> > which is good, but there is a lot of bitrot in their huge
> > codebase.  
> 
> Huh? What do you call "bitrot" and what indication for that do you
> see?

Bugs that remain unfixed for years (literally).  Years ago I filed
several bug reports at bugzilla.mozilla.org.  Most of them were
confirmed by bug testers as real bugs, but most were never fixed by the
developers.

Then I got busy with other software projects (like gentoo) and stopped
filing bugs at mozilla.  The gentoo bugs I report actually get fixed
most of the time and I've learned a lot from the follow-up comments.



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-11-15 21:14 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-12  0:38 [gentoo-user] firefox profile uses 100% CPU thelma
2015-11-12  6:20 ` Mick
2015-11-12  6:45   ` thelma
2015-11-12  7:32     ` Mick
2015-11-12  7:35 ` netfab
2015-11-12 14:46   ` thelma
2015-11-12 20:40     ` Mick
2015-11-12 20:56       ` thelma
2015-11-12 22:10         ` Mick
2015-11-12 22:11           ` Mick
2015-11-13  0:30         ` Walter Dnes
2015-11-13  3:10           ` thelma
2015-11-13  3:22             ` wabenbau
2015-11-13  3:27               ` wabenbau
2015-11-13  3:54               ` thelma
2015-11-13  6:11                 ` wabenbau
2015-11-13  3:33             ` Walter Dnes
2015-11-13  3:43             ` wabenbau
2015-11-13  6:26             ` J. Roeleveld
2015-11-13  1:46 ` [gentoo-user] " walt
2015-11-15 18:15   ` Peter Weilbacher
2015-11-15 21:14     ` walt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox