RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1414785 - firefox high cpu consumption
Summary: firefox high cpu consumption
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: firefox
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Martin Stransky
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-19 12:45 UTC by Michael Petlan
Modified: 2019-08-23 05:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-23 05:57:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michael Petlan 2017-01-19 12:45:00 UTC
Description of problem:

Firefox sometimes falls into a state when it has 100% CPU consumption for few seconds and then few seconds nothing and again.

This happens no matter whether there is or not any interaction with the browser. When the browser is used, such CPU usage peak freezes the UI (I  cannot even edit this text area).

Then I tried to find out which code is causing that, I have found very strange numbers:

# perf report
    10.87%     0.04%  firefox   [unknown]  [.] 0000000000000000
     8.07%     0.00%  firefox   [unknown]  [.] 0x00007f34ba6554e8
     4.78%     0.00%  firefox   [unknown]  [.] 0x00007f340e93f400
     4.53%     0.03%  firefox   libxul.so  [.] nsGenericHTMLElement::AddRef
     4.52%     0.00%  firefox   [unknown]  [.] 0x48f389485355fc89
     4.05%     0.00%  firefox   [unknown]  [.] 0x0000000000000001
     3.96%     0.00%  firefox   [unknown]  [.] 0x00007f34d85d1ce8
     3.65%     0.00%  firefox   [unknown]  [.] 0xeef8920e39e9be00
     3.30%     0.00%  firefox   libxul.so  [.] SnowWhiteKiller::Trace
     3.30%     0.00%  firefox   [unknown]  [.] 0x00007f34c218c000
     3.30%     0.00%  firefox   [unknown]  [.] 0x048b4864168b4818
     2.46%     2.45%  firefox   libxul.so  [.] nsCycleCollector::FreeSnowWhite
     2.25%     0.00%  firefox   [unknown]  [.] 0x630d8d4800042453
     2.11%     0.00%  firefox   [unknown]  [.] 0x002d007200610062
     2.05%     0.00%  firefox   [unknown]  [.] 0x358d48f3894853d5
     2.05%     0.03%  firefox   libxul.so  [.] nsPresContext::AddRef
     2.01%     0.00%  firefox   [unknown]  [.] 0x00e4d38c358d48f5

What is strange is that [unknown] DSO, since I have matching firefox-debuginfo installed, the 0000000000000000 is even more strange, however, even the correct addresses should be translated to function/method names, such as those from libxul.so. Thus, it looks like some code at 0 address from an unknown DSO is causing firefox freezes.

When attaching gdb to firefox during the peak, it also shows that there is a NULL-addresed code.

Restart helps, so firefox behaves normally again, but after some browsing, it falls to the freezing state again. It is very hard to debug, since I don't know how to reproduce the freezing state, probably the best thing is to have some important work to do in the browser, thus the chance of getting into it is higher.

The problem does not seem to be of a specific firefox version, it is somehow persistent across the versions.

It is annoying since it requires restarting FF again and again to fix it for some time.


Version-Release number of selected component (if applicable):
firefox-45.6.0-1.el7_3.x86_64

How reproducible:
often after some time of running

Steps to Reproduce:
unknown, just regular using with multiple tabs open

Actual results:


Expected results:


Additional info:

Comment 2 Martin Stransky 2019-08-23 05:57:35 UTC
Sorry, we don't have a fix for that.


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