Firefox had 2 condition variables that were waited on with a timeout of 250 miliseconds in a loop. It appears that the author of the code uses 250 milliseconds as "inifite", however, the PR_WaitCondVar() API has an actual value for inifite, PR_INTERVAL_NO_TIMEOUT. Use that instead. Reproducible: Always
Created attachment 119706 [details, diff] A patch to fix timer problem
Created attachment 119707 [details, diff] A diff of the changed required in mozilla-filrefox-2.0.0.3.ebuild
Did you submit this upstream? Apparently not a Gentoo-specific issue. https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&format=guided
Send this to upstream.
(In reply to comment #3) > Did you submit this upstream? Apparently not a Gentoo-specific issue. > > https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&format=guided > The patches are are the result of the Powertop work from Intel: http://www.linuxpowertop.org/known.php#firefox Next time please tell where you go the patches when you didn't write them yourself. The upstream bug report is: https://bugzilla.mozilla.org/show_bug.cgi?id=380558
*** Bug 182490 has been marked as a duplicate of this bug. ***