Closed
Bug 887772
Opened 10 years ago
Closed 10 years ago
Assertion failure: numPredecessors() >= 2, at ion\MIRGraph.h:316
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 880377
People
(Reporter: cbook, Assigned: nmatsakis)
References
()
Details
(Keywords: assertion, sec-high, testcase)
Attachments
(2 files)
Assertion failure: numPredecessors() >= 2, at c:\work\mozilla\builds\aurora\mozilla\js\src\ion\MIRGraph.h:316 found via bughunter and crashes on load (working on a testcase). crashes on aurora and mc nightly debug builds on windows 7 Stack is attached too
Reporter | ||
Comment 1•10 years ago
|
||
will also try to reduce it a little more
Comment 2•10 years ago
|
||
Thanks! I will take a look next week :)
Assignee: general → jdemooij
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•10 years ago
|
||
seems the regression range is somewhere between http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=7ba8c86f1a56&tochange=cea75ce9a559
Comment 4•10 years ago
|
||
I'm going to assume violating IonMonkey CFG invariants is a bad thing until proven otherwise...
Keywords: sec-high
Comment 5•10 years ago
|
||
Thanks Tomcat, great testcase! Here's a script that asserts in the shell: function do_tabmagic() { var tabmain = {}; if (tabmain != undefined) var x = new Int32Array(); if (x != undefined) { for (var j = 0; j < 1; j++){ for (var i = 0; i < 10000; i++) { } } } } do_tabmagic();
Comment 6•10 years ago
|
||
Niko, this is an UCE problem. We end up with a loop header with one predecessor and this breaks some invariants. We should probably not remove any predecessors of loop headers if we are not going to remove the loop header itself, but needinfo?-ing you since you're more familiar with UCE.
Assignee: jdemooij → nmatsakis
Flags: needinfo?(nmatsakis)
Assignee | ||
Comment 7•10 years ago
|
||
I believe this is a dup of bug 880377. I had started on a fix some time ago but never finished it. I wasn't able to find a satisfying way to express the nodes that should not be removed and it fell of my radar. Let me take another look at this.
Flags: needinfo?(nmatsakis)
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Group: core-security → core-security-release
Updated•7 years ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•