Open Bug 1398360 Opened 7 years ago Updated 2 years ago

Weird complete PC freeze, reboot required showing alert() in a loop

Categories

(Core :: DOM: Core & HTML, defect, P3)

57 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: guichardflorent, Unassigned)

Details

(Keywords: csectype-dos, testcase-wanted)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20170908100218 Steps to reproduce: A friend of mine, placed this piece of code on a page on my imageboard. <marquee><script src="https/www.w3schools.com/lib/w3.js"></script><div w3-include-html="index.html"></div><script>for (i = 0; i < 1337; i++) { alert(i); }</script></marquee> He used chrome, I used firefox nightly. I visited the page containing the script. Actual results: My browser and PC completely froze, I wasn't able to press any key on my keyboard, for example control+alt+delete didn't even work. I was on teamspeak at the same time and could still talk. Another friend of me who was also on teamspeak reported the exact same bug. we both had to restart our complete pc's because we couldn't do anything at all. this is a really serious bug that should be fixed ASAP! Expected results: It should have just shown alerts (as it does in chrome)
Component: Untriaged → Notifications and Alerts
Keywords: csectype-dos
Product: Firefox → Toolkit
Hello, I can't reproduce this issue on Window 10 64-bit with Nightly using jsbin.com and your example code. Can you attach a reproducible testcase for this?
Component: Notifications and Alerts → Untriaged
Flags: needinfo?(guichardflorent)
Product: Toolkit → Core
Keywords: testcase-wanted
Summary: Weird complete PC freeze, reboot required → Weird complete PC freeze, reboot required showing alert() in a loop
(In reply to Matthew N. [:MattN] (huge backlog; PM if requests are blocking you) from comment #1) > Hello, I can't reproduce this issue on Window 10 64-bit with Nightly using > jsbin.com and your example code. Can you attach a reproducible testcase for > this? Here is a link to reproduce, for me this time it "just" crashed my tab, 2 friends of mine tested it was well. One had a complete pc freeze and had to reboot. and the other one just a browser crash. http://board.fortjan.nl/test/ Please report your test results.
Flags: needinfo?(guichardflorent)
(In reply to guichardflorent from comment #2) > (In reply to Matthew N. [:MattN] (huge backlog; PM if requests are blocking > you) from comment #1) > > Hello, I can't reproduce this issue on Window 10 64-bit with Nightly using > > jsbin.com and your example code. Can you attach a reproducible testcase for > > this? > > Here is a link to reproduce, for me this time it "just" crashed my tab, 2 > friends of mine tested it was well. One had a complete pc freeze and had to > reboot. and the other one just a browser crash. > > http://board.fortjan.nl/test/ > > Please report your test results. In addition to my previous post. Because I couldn't find (if I could) edit. My ram got completely filled when visiting the page. and I have 16gb. with an average of 25% in use. so serious memory leak I assume.
That page does act as described, but window.alert() there is a jquery function. I haven't time to dig further, but the smallest possible test case would be very helpful - eg, a .html file that loads jquery from code.jquery.com (and presumably some jquery addon), and has nothing other than the alert loop.
Please correct the component as needed.
Component: Untriaged → DOM
Priority: -- → P3
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.