Closed Bug 352876 Opened 19 years ago Closed 19 years ago

"Assertion failure: JS_UPTRDIFF(sp, fp->spbase) <= depth * sizeof(jsval)" with finally{return}, finally{yield}

Categories

(Core :: JavaScript Engine, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: crash, testcase)

js> g = (function() { try { try { } finally { return; } } finally { yield 3; } })(); [object Generator] js> g.next() 3 js> g.next() Assertion failure: JS_UPTRDIFF(sp, fp->spbase) <= depth * sizeof(jsval), at jsinterp.c:2197
WFM. I now get "uncaught exception: [object StopIteration]". Fixed by the patch in bug 352873?
Yes, fixed -- probably by the patch for bug 352873. /be
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Checking in regress-352876.js; /cvsroot/mozilla/js/tests/js1_7/geniter/regress-352876.js,v <-- regress-352876.js initial revision: 1.1 done
Flags: in-testsuite+
verified fixed 1.9 20061007 windows/linux, no assert in 1.8 though.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.