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)
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)
143 bytes,
text/html
|
Details |
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.
Reporter | ||
Comment 1•13 years ago
|
||
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.
Updated•13 years ago
|
Attachment #599431 -
Attachment mime type: text/plain → text/html
Comment 2•13 years ago
|
||
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.
status1.9.2:
--- → unaffected
status-firefox-esr10:
--- → unaffected
status-firefox10:
--- → unaffected
status-firefox11:
--- → unaffected
status-firefox12:
--- → affected
status-firefox13:
--- → unaffected
Hardware: x86 → All
Comment 3•13 years ago
|
||
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.
![]() |
||
Comment 4•12 years ago
|
||
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
Comment 5•11 years ago
|
||
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
Comment 6•9 years ago
|
||
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)
Reporter | ||
Comment 7•9 years ago
|
||
Not seen anymore in FF46.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(jidanni)
Updated•2 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•