Crash [@js_TraceObject], [@nsAttrAndChildArray::Compact], or [@KERNELBASE!RaiseException] with massive array, document.write
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: alexander.miller, Unassigned)
Details
(4 keywords)
Crash Data
Attachments
(2 files)
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Comment 2•15 years ago
|
||
![]() |
||
Updated•15 years ago
|
Comment 3•15 years ago
|
||
Reporter | ||
Comment 4•15 years ago
|
||
Reporter | ||
Comment 5•15 years ago
|
||
Reporter | ||
Comment 6•15 years ago
|
||
Reporter | ||
Comment 7•15 years ago
|
||
Reporter | ||
Comment 8•15 years ago
|
||
Reporter | ||
Updated•15 years ago
|
Reporter | ||
Comment 9•15 years ago
|
||
Reporter | ||
Updated•15 years ago
|
Comment 10•15 years ago
|
||
Reporter | ||
Comment 11•15 years ago
|
||
Reporter | ||
Comment 12•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Comment 13•12 years ago
|
||
Comment 14•7 years ago
|
||
Updated•3 years ago
|
Comment 16•2 years ago
|
||
The test case doesn't actually crash for me any more. It sits there and the memory keeps growing, but it is fairly slow. After a few minutes, it was a little over a gig of memory in the content process. In a debug process, the content process didn't exit when I exited the browser, and the memory kept growing until it was about 4GB until it hit some kind of crash.
Anyways, it looks like this test case is now a fairly run of the mill resource exhaustion issue. In the current world where we have e10s and Fission, a website going out of control like this will really only hurt itself: the UI and even other pages should still be okay. It is often requested that we should have some way to limit how many resources a website uses, but it can be hard to do so without interfering with something people are interested in. For instance, a user might be more willing for a game they love to use a lot of resources than some ad iframe on a news article they clicked on. Anyways, I don't think there's really much to do here now.
Description
•