Closed Bug 729375 Opened 13 years ago Closed 9 years ago

javascript alerts eat CPU for no good reason

Categories

(Toolkit Graveyard :: Notifications and Alerts, defect)

All
Linux
defect
Not set
normal

Tracking

(firefox10 unaffected, firefox11 unaffected, firefox12 affected, firefox13 unaffected, firefox-esr10 unaffected, status1.9.2 unaffected)

RESOLVED WORKSFORME
Tracking Status
firefox10 --- unaffected
firefox11 --- unaffected
firefox12 --- affected
firefox13 --- unaffected
firefox-esr10 --- unaffected
status1.9.2 --- unaffected

People

(Reporter: jidanni, Unassigned)

Details

(Keywords: perf)

Attachments

(1 file)

Attached file u.html -- BROWSEME
User Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0a2) Gecko/20120217 Firefox/12.0a2 Iceweasel/12.0a2 Build ID: 20120217042010 Steps to reproduce: Ran this little file Actual results: Ate most of my CPU Expected results: Shouldn't eat any CPU more than Google Chrome... I.e., no looping please. Nope, can't deny this is a bug.
strace shows looping in clock_gettime(CLOCK_MONOTONIC, {10956, 577860500}) = 0 clock_gettime(CLOCK_MONOTONIC, {10956, 577894863}) = 0 _llseek(20, 2580, [2580], SEEK_SET) = 0 write(20, "SQLite format 3\0\4\0\1\1\0@ \0\0)\211\0\0\0033"..., 1024) = 1024 clock_gettime(CLOCK_MONOTONIC, {10956, 578036225}) = 0 clock_gettime(CLOCK_MONOTONIC, {10956, 578071426}) = 0 whereas Google Chrome dispenses with such erroneous behavior.
Attachment #599431 - Attachment mime type: text/plain → text/html
WFM: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.27) Gecko/20120216 Firefox/3.6.27 Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120223 Firefox/13.0a1 Reproduced: Mozilla/5.0 (X11; Linux x86_64; rv:12.0a2) Gecko/20120223 Firefox/12.0a2 Thus, it looks like this bug is unique to Firefox Aurora by some reason.
WFM: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0a2) Gecko/20120223 Firefox/12.0a2 Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:13.0) Gecko/20120223 Firefox/13.0a1 Thus, I've not been able to reproduce the bug using Windows.
WFM with 2013-08-22-03-02-04-mozilla-central-firefox-26.0a1.en-US.linux-x86_64: CPU load mostly stays at 4-5%.
Keywords: perf
Bulk move to Toolkit::Notifications and Alerts Filter on notifications-and-alerts-component.
Component: Untriaged → Notifications and Alerts
Product: Firefox → Toolkit
Version: 12 Branch → unspecified
Dan, do you till see this issue? (In reply to Thomas Ahlblom from comment #2) > WFM: > Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.27) Gecko/20120216 > Firefox/3.6.27 > Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 > Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 > Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120223 Firefox/13.0a1 > > Reproduced: > Mozilla/5.0 (X11; Linux x86_64; rv:12.0a2) Gecko/20120223 Firefox/12.0a2 > > Thus, it looks like this bug is unique to Firefox Aurora by some reason.
Flags: needinfo?(jidanni)
Not seen anymore in FF46.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(jidanni)
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: