Closed Bug 462388 Opened 16 years ago Closed 16 years ago

TM: "Assertion failure: JSVAL_TAG(v) == JSVAL_STRING" with loop in type-unstable loop

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: dvander)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

var c = 0, v; for each (let x in ["",v,v,v]) { for (c=0;c<4;++c) { } } Assertion failure: JSVAL_TAG(v) == JSVAL_STRING, at jstracer.cpp:1342 Previous bugs with this assertion: bug 459630, bug 461590.
Assignee: general → danderson
Attached patch proposed fixSplinter Review
When building an inner tree call we can't coerce JSVAL_VOID to JSVAL_STRING because the typemap entries are not equal.
Attachment #345551 - Flags: review?(gal)
Attachment #345551 - Flags: review?(gal) → review+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
http://hg.mozilla.org/mozilla-central/rev/37b3fdbb0f07 /cvsroot/mozilla/js/tests/js1_7/regress/regress-462388.js,v <-- regress-462388.js initial revision: 1.1
Flags: in-testsuite+
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: