Closed
Bug 738537
Opened 13 years ago
Closed 13 years ago
IonMonkey: Crash [@ js::HeapPtr<js::Shape, unsigned int>::operator js::Shape*] or [@ js::CloseIterator] or [@ js::ion::HandleException]
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 732852
People
(Reporter: gkw, Unassigned)
References
Details
(Keywords: crash, testcase)
Crash Data
Attachments
(1 file)
(deleted),
text/plain
|
Details |
var a = []
Object.defineProperty(a, 0, {
get: (function() {
for (var v in i) {}
a[0]
})
})
var i = Iterator({}, true)
a[0]
crashes js debug shell on IonMonkey changeset 61129d29a377 with -m, -a, --ion and -n at js::HeapPtr<js::Shape, unsigned int>::operator js::Shape*
During the course of reduction, an opt crash at js::CloseIterator with js::ion::HandleException on the stack was also seen.
Reporter | ||
Comment 1•13 years ago
|
||
Thanks go out to Jesse and Nicolas for helping to reduce this testcase.
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
IonMonkey's iterator handling is broken if an exception is thrown inside an iterator which is what happens here (this function is infinitely recursive so it will hit the stack check guard).
Reporter | ||
Updated•13 years ago
|
Attachment #608591 -
Attachment description: System Diagnostic Report pointing to Firefox → Stack
Comment 4•12 years ago
|
||
A testcase for this bug was already added in the original bug (bug 732852).
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•