Closed Bug 521694 Opened 15 years ago Closed 15 years ago

"Assertion failure: traceOp == JSOP_TRACE || traceOp == JSOP_NOP, at ../jsops.cpp" with yield

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla2.0
Tracking Status
blocking2.0 --- alpha1+

People

(Reporter: gkw, Assigned: brendan)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

for(e in((function x(){yield(p=x())})())){}

asserts js debug shell without -j on TM tip at Assertion failure: traceOp == JSOP_TRACE || traceOp == JSOP_NOP, at ../jsops.cpp:2234

I'm guessing from the regression window found by autoBisect that the tracerecursion bug is related...

http://hg.mozilla.org/tracemonkey/pushloghtml?fromchange=0c933cb67ef7&tochange=5247cfd604db
Attached patch fixSplinter Review
This should be the fix -- David, let me know if there's more than meets the eye here (e.g., a generator that recursively activates itself via iteration/.next()).

/be
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #405819 - Flags: review?(dvander)
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86 → All
Target Milestone: --- → mozilla1.9.2
paperwork question: does this need to target 1.9.2? Don't think recursion will make it there.
Comment on attachment 405819 [details] [diff] [review]
fix

Indeed, recursion shouldn't land on 1.9.2 so this shouldn't block.
Attachment #405819 - Flags: review?(dvander) → review+
blocking2.0: --- → ?
Target Milestone: mozilla1.9.2 → mozilla1.9.3
http://hg.mozilla.org/tracemonkey/rev/8c7a6ec12d0b

/be
Whiteboard: fixed-in-tracemonkey
I guess that this bug can be closed now?
We wait to close until tm has been merged back to m-c.

/be
http://hg.mozilla.org/mozilla-central/rev/8c7a6ec12d0b
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
blocking2.0: ? → alpha1
Target Milestone: mozilla1.9.3 → mozilla2.0
Automatically extracted testcase for this bug was committed:

https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: