Closed Bug 754718 Opened 12 years ago Closed 12 years ago

IonMonkey: Assertion failure: enumerators == cx->enumerators, at jsinterp.cpp:464 or Crash [@ js::UnwindIteratorForUncatchableException]

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Assigned: dvander)

References

Details

(Keywords: assertion, testcase, Whiteboard: [jsbugmon:update])

Attachments

(1 file)

The following testcase asserts on ionmonkey revision e8de64e7e9fe (run with --ion -n -m --ion-eager):


(function() {
  var a, b;
  for each (a in [{}, {__iterator__: function(){}}]) 
    for (b in a) { }
})();
Assignee: general → dvander
Status: NEW → ASSIGNED
Attached patch fixSplinter Review
Hoping this will fix some of the other GC bugs we've encountered. Two bugs:

 (1) PushRegsInMask stores in the wrong order.
 (2) MarkIonFrames didn't always decrement the spill position.
Attachment #623881 - Flags: review?(nicolas.b.pierron)
Comment on attachment 623881 [details] [diff] [review]
fix

Review of attachment 623881 [details] [diff] [review]:
-----------------------------------------------------------------

Good catches.
Attachment #623881 - Flags: review?(nicolas.b.pierron) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/ion/bug754718.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.