Closed Bug 303231 Opened 20 years ago Closed 14 years ago

firefox chews up 100% CPU, ktrace shows ppc_gettimeofday non stop

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: pdm, Unassigned)

Details

(Keywords: qawanted, Whiteboard: [CLOSEME 2010-11-01])

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 From time to time Firefox will stop responding and chew up 100% CPU. I did a ktrace on it and noticed it was spewing the same thing repeatedly, non stop. It does not seem to be associated with any particular web page, I haven't found a common case that makes it happen. 241 firefox-bin CALL ppc_gettimeofday(0xf00b3d00,0) 241 firefox-bin RET ppc_gettimeofday 1123075689/0x42f0c669 241 firefox-bin CALL ppc_gettimeofday(0xf00b3d00,0) 241 firefox-bin RET ppc_gettimeofday 1123075690/0x42f0c66a 241 firefox-bin CALL ppc_gettimeofday(0xf00b3d00,0) 241 firefox-bin RET ppc_gettimeofday 1123075691/0x42f0c66b Reproducible: Sometimes Extensions: Web Developer Theme: Abstract Mac OS: OS X 10.4.2 Platform: 2 X 2.5Ghz G5 Powermac, 4GB RAM
This bug is probably the same that causes it to hog the CPU after a lengthy standby. The bug can be easily repeated by leaving a laptop in standby (and Firefox on a fairly complex web page) a couple of hours and then resume. It always happens if I have a large news page such as http://aftonbladet.se open overnight in standby. It could be a problem with some scripting language on such pages, causing Firefox to "eat up" the lost time when it was in standby. A patch should compare the last time with the current time and if the diff is too large, simply skip ahead to the new time. You could probably also trigger the bug by advancing the system clock a couple of hours.
Bug 371398 might be related as it also shows gettimeofday in the stack trace.
I reported aftonbladet and expressen as broken Websites 'The first 30seconds when entering the site, refreshing, visiting urls on the site cpu usage is 99%. This doesn't happen in Windows but has happened for everyone I asked in linux. This behavior has been consistent atleast the last 4years'
This is a mass search for bugs which are in the Firefox General component, are UNCO, have not been changed for 500 days and have an unspecified version. Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.