News for hackers. Stuff that matters.
Re:CrashFirefox.com by tomohawk on Thursday April 09, 2015 @09:53PM (#9352162)
My firefox with noscript did not crash
Re:CrashFirefox.com by zcid on Thursday April 09, 2015 @09:59PM (#9352182)
Hmm, I haven't checked the code yet, but Firefox 37 on Arch with NoScript crashed for me on a reload. I just got the noscript detection the first time.
Re:CrashFirefox.com by TheLoneWolfling on Thursday April 09, 2015 @10:06PM (#9352204)
Ditto.

It did hang for a bit (30s?) when closing the tab, however.

Re:CrashFirefox.com by majke on Thursday April 09, 2015 @09:53PM (#9352160)
Not a bug! The crash is as intended! (at least in chrome)

https://code.google.com/p/chromium/issues/detail?id=432559

Re:CrashFirefox.com by TheLoneWolfling on Thursday April 09, 2015 @10:08PM (#9352212)
It breaks things, so it's an issue.

It may not be one that they intend to fix, but it's still an issue regardless.

Re:CrashFirefox.com by rsuelzer on Thursday April 09, 2015 @09:58PM (#9352179)
Actually, it didn't crash my firefox 40.0a . It asked me eventually if I would like to stop running scripts on this page. Which I did and I am now typing this using the same Firefox instance. Only it now is using 4.6gb of memory. :)
Re:CrashFirefox.com by rsuelzer on Thursday April 09, 2015 @10:01PM (#9352184)
If anyone cares, here is a screen shot of the result on nightly build. http://imgur.com/j0T7Fjh
Re:CrashFirefox.com by minot on Thursday April 09, 2015 @10:07PM (#9352207)
This is what I got... https://i.imgur.com/wZAfZhN.png
Re:CrashFirefox.com by thyrsus on Friday April 10, 2015 @04:35AM (#9353101)
When it detected noscript, it replaced the page with this:

    <meta http-equiv="refresh" content="0">AAAA.........
...as displayed with ^U, except the "AAAA...." wasn't visible until I pasted it in this text box. I'm not sure, but I suspect the length of the AAAAs was growing rapidly. There's a lot of memory and more than one core on this system, so I think I killed the tab, which appeared only as a blank page, before it became too destructive.
Re:CrashFirefox.com by DigitalSea on Thursday April 09, 2015 @09:41PM (#9352117)
As a Firefox user I can confirm this does indeed crash Firefox. It however also crashes Chrome to an extent (at least on Windows) you get the aw snap page shortly after it loads.

Seems like it just overloads the browser using this technique in the URL: data:text/html,<script>location+=location+'A'.repeat(100000000);</script> - I haven't tested in any other browser, but to me that technique would crash any browser, probably even worse on mobile.

Re:CrashFirefox.com by nunsncustard on Thursday April 09, 2015 @11:04PM (#9352368)
Try running 'curl' on that URL (NQSFW). You can see what it's doing with the loop majke pointed out.
Re:CrashFirefox.com by cozzyd on Thursday April 09, 2015 @09:42PM (#9352121)
Hmm, it started using a bunch of CPU and memory, but I kill -9ed it before it actually died by itself.
Re:CrashFirefox.com by soylentcola on Friday April 10, 2015 @12:25PM (#9355366)
It was like knowing the link is a Rickroll and clicking on it anyway...

Did indeed crash Firefox 37.0.1.

Re:CrashFirefox.com by windlep on Thursday April 09, 2015 @09:42PM (#9352122)
Seriously, no disclaimer that this will hang Firefox, and will likely lock up a system for 20+ seconds before it will let you kill Firefox (linux)? (Thankfully I run linux in a vmware image, so I can go play a game while waiting for linux to figure out the process went rogue)

I didn't realize HN was the new 4chan/8chan. Sigh.

Re:CrashFirefox.com by andrewchambers on Thursday April 09, 2015 @09:48PM (#9352140)
I don't know what you expected.
Re:CrashFirefox.com by M8 on Friday April 10, 2015 @04:21AM (#9353064)
A big label on the page saying "Not really, FF is rock-solid. Have a nice day HN!"?
Re:CrashFirefox.com by cozzyd on Thursday April 09, 2015 @09:54PM (#9352164)
I just sshed into my computer from my phone to kill firefox, although I probably could have switched to a VT as well.
Re:CrashFirefox.com by windlep on Thursday April 09, 2015 @11:49PM (#9352481)
I continue to be incredibly sad that any OS considers it ok to lock-up the entire UX for a program running amok. Most people would consider such an OS defective, and consider what else is out there, rather than ssh into it. I can't really fault them, I do wonder what is wrong with people making such systems that think this is an acceptable situation.
Re:CrashFirefox.com by cozzyd on Friday April 10, 2015 @12:12AM (#9352535)
When a program aggressively allocates memory, buffers must be flushed back to disk, stuff may need to get moved into swap, etc. I/O bound stuff gets higher priority because... I don't know why... probably the throughput is greater that way, or perhaps it's more urgent. Not sure if there's a solution other than having enough RAM that you are never I/O bound. Perhaps if Linux wasn't so aggressive about caching, it would happen less, but things would be slower overall.
Re:CrashFirefox.com by pki on Thursday April 09, 2015 @09:44PM (#9352125)
The title is named crash firefox isn't it?
Re:CrashFirefox.com by windlep on Thursday April 09, 2015 @09:46PM (#9352130)
Yes, it's not named "lock-up the entire system". I was expecting a segfault, quite disappointed.
Re:CrashFirefox.com by newsvatore on Thursday April 09, 2015 @09:46PM (#9352131)
There was at least one clue provided by the name of the site...
Re:CrashFirefox.com by windlep on Thursday April 09, 2015 @09:49PM (#9352142)
A crash is not a hang. Firefox never crashed, eventually linux asked if I wanted to kill it, but there was no segfault, no crash.
Re:CrashFirefox.com by malkia on Thursday April 09, 2015 @09:52PM (#9352151)
Got a crash on Chrome (Linux)
Re:CrashFirefox.com by mijoharas on Thursday April 09, 2015 @09:43PM (#9352123)
content in case it crashes your browser and you're interested:

    data:text/html,<script>location+=location+'A'.repeat(100000000);</script>
Re:CrashFirefox.com by Mizza on Friday April 10, 2015 @12:50AM (#9352645)
Hung, but eventually recovered on 37.

Not really sure what I was expecting.

Re:CrashFirefox.com by skidoo on Thursday April 09, 2015 @09:39PM (#9352111)
Well that's just mean.