Bug 1304544 - Firefox freezes with 100% cpu
Summary: Firefox freezes with 100% cpu
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 23
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-03 23:10 UTC by Armin Diehl
Modified: 2016-02-08 19:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-08 19:36:16 UTC
Type: Bug


Attachments (Terms of Use)
backtrace w/o firefox sysmbols package (103.22 KB, text/plain)
2016-02-05 09:18 UTC, Armin Diehl
no flags Details

Description Armin Diehl 2016-02-03 23:10:32 UTC
Firefox freezes with 100% cpu utilization on amazon.de (not on amazon.com)

Version-Release number of selected component (if applicable):
firefox-44.0-3.fc23.x86_64
flash-plugin-11.2.202.559-release.x86_64

How reproducible:
open firefox, goto amzon.de
in the search bar enter something, e.g. motor
After starting the search, results will be shown and firefox freezes with 100% on one cpu.

The same freeze will happen if i start firefox in safe mode.

I have that since i updated from fc22 to fc23 some weeks ago, hoped this will be fixed by updates.

Memory usage increases while firefox is freezed (this was in safe mode):

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND     
16032 ad        20   0 1425692 528304  93852 R 100.3  8.8   2:58.49 firefox     

16032 ad        20   0 1469724 573328  93852 R 100.3  9.6   3:38.56 firefox     

16032 ad        20   0 1572124 674828  93852 R 100.0 11.3   4:56.92 firefox     

16032 ad        20   0 1779996 853572  93852 R 100.0 14.2   7:34.97 firefox     

16032 ad        20   0 1918236 989.9m  93852 R 100.0 16.9   9:56.14 firefox

Comment 1 Martin Stransky 2016-02-04 12:06:52 UTC
Can you please try that in safe mode? ($firefox -safe-mode).

Comment 2 Martin Stransky 2016-02-04 12:08:34 UTC
Ahh, I see you already test it in safe mode.

Comment 3 Martin Stransky 2016-02-04 12:10:51 UTC
Can you please attach a backtrace of the freeze? How-to is here:
http://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Application_freeze
Thanks!

Comment 4 Armin Diehl 2016-02-05 09:17:30 UTC
seems to be there is no debuginfo package for firefox available. All other debuginfo packages installed just fine. Tried to delete dnf/yum cache, no difference:

[ad@localhost ~]# sudo debuginfo-install firefox
...
Could not find debuginfo for main pkg: firefox-44.0-3.fc23.x86_64

however, i attached the backtrace with the other debuginfo-packages installed (in case that may help without the firefox symbols)

Comment 5 Armin Diehl 2016-02-05 09:18:36 UTC
Created attachment 1121301 [details]
backtrace w/o firefox sysmbols package

Comment 6 Martin Stransky 2016-02-08 11:50:17 UTC
Looks like it freezes in reflow (layout engine) but there's no reason for that. There may an html element which may cause the troubles but I'm unable to reproduce...do you say you just enter amazon.de and it freezes?

btw. could you try to create a new profile ($firefox -ProfileManager -no-remote) and test?

Comment 7 Armin Diehl 2016-02-08 18:42:49 UTC
Hi Martin,

i can access amazon.de just fine. I have to enter something into the search input box at the upper left, e.g. Motor and start the search. This results in the reported freeze.

I have created a new profile and tried it with this profile. It works, firefox does not freeze. Thanks for that, i can now get rid of chrome.

I have used the default profile for some time, the oldest file in the profile directory is from year 2009, it may even be created before that since i always retained my home directory on fedora or hardware updates. Any hint how to find what causes firefox to freeze ?

Comment 8 Martin Stransky 2016-02-08 19:36:16 UTC
I guess it may be related to some search history in your old profile - maybe parsing it takes so long. see 

https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_what-information-is-stored-in-my-profile

for details.


Note You need to log in before you can comment on or make changes to this bug.