bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

TM: (64-bit) "Assertion failure: !JS_ON_TRACE(cx), at ../jsiter.cpp" with defineGetter, yield

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: gkw, Unassigned)

Tracking

(Blocks: 1 bug, {assertion, regression, testcase})

Trunk
x86
Linux
assertion, regression, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: fixed-in-tracemonkey)

(Reporter)

Description

8 years ago
__defineGetter__("x", function () {
    yield
})
for each(let x in [new Boolean(false), /x/, x]) {
    for (w in x) {}
}

asserts js debug shell on TM tip with -j at Assertion failure: !JS_ON_TRACE(cx), at ../jsiter.cpp:594

Tested on 64-bit Linux.
(Reporter)

Comment 1

8 years ago
This doesn't seem to occur on 32-bit Linux, nor Mac.
Summary: TM: "Assertion failure: !JS_ON_TRACE(cx), at ../jsiter.cpp" with defineGetter, yield → TM: (64-bit) "Assertion failure: !JS_ON_TRACE(cx), at ../jsiter.cpp" with defineGetter, yield
(Reporter)

Comment 2

8 years ago
(autoBisect.py now works! Hurray, rejoice!)

autoBisect shows this is probably related to bug 558754:

The first bad revision is:
changeset:   41832:b15fd8b568e4
user:        Andreas Gal
date:        Fri May 07 17:52:52 2010 -0700
summary:     fast object iteration (558754, r=brendan, CLOSED TREE).
Blocks: 558754
(Reporter)

Comment 3

8 years ago
autoBisect shows this was fixed by bug 565199:

The first good revision is:
changeset:   41876:40260d7634a1
user:        Andreas Gal
date:        Wed May 12 17:14:28 2010 -0400
summary:     Bug 565199 - TM: trace-test failure in testGeneratorDeepBail, x64. r=dvander
Whiteboard: fixed-in-tracemonkey
(Reporter)

Comment 4

8 years ago
(In reply to comment #3)
> autoBisect shows this was fixed by bug 565199:
> 
> The first good revision is:
> changeset:   41876:40260d7634a1
> user:        Andreas Gal
> date:        Wed May 12 17:14:28 2010 -0400
> summary:     Bug 565199 - TM: trace-test failure in testGeneratorDeepBail, x64.
> r=dvander

http://hg.mozilla.org/tracemonkey/rev/40260d7634a1

http://hg.mozilla.org/mozilla-central/rev/40260d7634a1

-> Fixed.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.