Firefox 5 hangs for ~10secs with 100% CPU use when clicking on "History" menu

RESOLVED INCOMPLETE

Status

()

RESOLVED INCOMPLETE
8 years ago
7 years ago

People

(Reporter: careface_, Unassigned)

Tracking

(Depends on: 1 bug)

5 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 20110615151330

Steps to reproduce:

(apologies in advance if it's not laid out correctly, never filed one of these before!) The last week or so since I upgraded to FF5, doesn't matter what page I'm on, clicking on the "History" menu will cause firefox.exe to hang with 100% CPU usage for ~10seconds, and the menu doesn't appear even after the hanging has stopped.

Started FF in safe mode with everything disabled, same problem. Followed the steps on the firefox site for hangs (http://support.mozilla.com/en-US/kb/Firefox%20hangs), still no change.

Also, when trying to clear history (Tools -> Clear Recent History), firefox.exe hangs for approximately the same time, then displays unresponsive script error (Script: resource://gre/components/nsPlacesExpiration.js:684). Letting the script continue seems to put this into a loop.


Actual results:

Clicked "history" menu, firefox.exe hangs with 100% CPU usage for ~10seconds; menu doesn't appear after hanging finishes.

Try to clear history leads to unresponsive script + firefox.exe hanging with 100% CPU usage.


Expected results:

History menu should have opened, rather than firefox hanging

Clear history should work, rather than firefox hanging until you stop the unresponsive script (or closing firefox.exe via Task Mangler)
(Reporter)

Updated

8 years ago
Component: General → Bookmarks & History
OS: Other → Windows 7
Hardware: All → x86_64
Can you run a Places Database Integrity Check?

Paste
" Components.utils.import("resource://gre/modules/PlacesDBUtils.jsm"); PlacesDBUtils.checkAndFixDatabase(); "

into the Error Console and "Evaluate".

Watch the Output for "+ The database is sane"/"+ The database is coherent".
If it's corrupt, did you use Bookmark/History related Addons in the Past? Which?
(Reporter)

Comment 2

8 years ago
(In reply to comment #1)
> Can you run a Places Database Integrity Check?
> 
> Paste
> " Components.utils.import("resource://gre/modules/PlacesDBUtils.jsm");
> PlacesDBUtils.checkAndFixDatabase(); "
> 
> into the Error Console and "Evaluate".
> 
> Watch the Output for "+ The database is sane"/"+ The database is coherent".
> If it's corrupt, did you use Bookmark/History related Addons in the Past?
> Which?

Hey there :) Sorry about the long reply times - I'm in GMT+13, so I didn't get your update until this morning :) Here's the output of that command

"[ Places Maintenance ]
> Integrity check
+ The database is sane
> Coherence check
+ The database is coherent
> Orphans expiration
+ Database cleaned up
> Vacuum
Initial database size is 10240 KiB
+ The database has been vacuumed
Final database size is 10240 KiB
> Statistics
Database size is 10240 KiB
user_version is 11
page_size is 4096
cache_size is 94345
journal_mode is wal
synchronous is 1
History can store a maximum of 193220 unique pages
Table moz_bookmarks has 83 records
Table moz_bookmarks_roots has 5 records
Table moz_keywords has 0 records
Table sqlite_sequence has 0 records
Table moz_favicons has 52 records
Table moz_annos has 48 records
Table moz_anno_attributes has 8 records
Table moz_items_annos has 66 records
Table moz_places has 362 records
Table moz_historyvisits has 2858 records
Table moz_inputhistory has 11 records
Table sqlite_stat1 has 15 records
Index sqlite_autoindex_moz_bookmarks_roots_1
Index sqlite_autoindex_moz_keywords_1
Index sqlite_autoindex_moz_favicons_1
Index sqlite_autoindex_moz_anno_attributes_1
Index sqlite_autoindex_moz_inputhistory_1
Index moz_bookmarks_itemindex
Index moz_bookmarks_parentindex
Index moz_bookmarks_itemlastmodifiedindex
Index moz_places_faviconindex
Index moz_places_hostindex
Index moz_places_visitcount
Index moz_places_frecencyindex
Index moz_places_lastvisitdateindex
Index moz_historyvisits_placedateindex
Index moz_historyvisits_fromindex
Index moz_historyvisits_dateindex
Index moz_annos_placeattributeindex
Index moz_items_annos_itemattributeindex
Index moz_places_url_uniqueindex
Index moz_bookmarks_guid_uniqueindex
Index moz_places_guid_uniqueindex
Trigger moz_bookmarks_beforedelete_v1_trigger"

It doesn't show as corrupt, but the problem still persists :( I've never used a history/bookmark addon before - always been happy with what FF gives by default :)

Thanks again in advance :)

Comment 3

7 years ago
I am apparently experiencing this issue as well... Firefox hangs for around 10-20 seconds, but in my case it does eventually open the History menu. It has persisted after clearing the history/cache, restarting the browser etc. This is on a Mac and Firefox 6.0.2. Clearing the History also results in a hang and the unresponsive script error, but the clearing does work eventually. I have had the behavior on multiple systems, Firefox Sync is enabled if that may be a contributing factor.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:6.0.2) Gecko/20100101 Firefox/6.0.2

Looked in the Error Console and the output nearly mirrors the above; database is sane and coherent.
Depends on: 691507

Comment 4

7 years ago
Reporter(s) -> Are you still hitting this with Firefox 9.0.1?

Comment 5

7 years ago
Closing bug as Incomplete - if you are still experiencing this issue or have more information to provide feel free to post back here and we can re-open the bug. You can also get assistance by visiting the Firefox help site -> https://support.mozilla.com/en-US/kb/ask
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.