Closed
Bug 459630
Opened 16 years ago
Closed 16 years ago
TM: "Assertion failure: JSVAL_TAG(v) == JSVAL_STRING"
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: jruderman, Assigned: gal)
References
Details
(Keywords: assertion, testcase)
(function(){ [].__proto__.u = void 0; for (let y in [5,6,7,8]) y = NaN; })() Assertion failure: JSVAL_TAG(v) == JSVAL_STRING, at jstracer.cpp:1334
Comment 1•16 years ago
|
||
same assertion, essentially same test in js1_7/regress/regress-452703.js regressed by http://hg.mozilla.org/mozilla-central/rev/186b4ce768ec (bug 459537).
Blocks: 459537
Assignee | ||
Comment 2•16 years ago
|
||
Thanks for bisecting.
Assignee: general → gal
Status: NEW → RESOLVED
Closed: 16 years ago
Priority: -- → P1
Resolution: --- → FIXED
Assignee | ||
Updated•16 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 4•16 years ago
|
||
Still crashing. "let" is not the culprit: for(y in [0,1,2]) y = NaN; Assertion failure: JSVAL_TAG(v) == JSVAL_STRING, at jstracer.cpp:1334
Assignee | ||
Comment 5•16 years ago
|
||
Added test-case. http://hg.mozilla.org/tracemonkey/rev/d40d1098f7aa
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 6•16 years ago
|
||
I think you should add these to the bottom of the test function, so the test doesn't pollute the global namespace and [].__proto__. delete [].__proto__.u; delete y;
Reporter | ||
Comment 7•16 years ago
|
||
I found another testcase that still triggers this assertion. See bug 461590.
You need to log in
before you can comment on or make changes to this bug.
Description
•