Closed
Bug 475593
Opened 16 years ago
Closed 16 years ago
TM: Assertion failed: "Should not move data from GPR/XMM to x87 FPU": false (../nanojit/Nativei386.cpp:1851) (js_BooleanOrUndefinedToNumber emitted twice)
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
(Keywords: verified1.9.1)
Attachments
(1 file)
1.53 KB,
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #359119 -
Flags: review?(brendan)
Comment 2•16 years ago
|
||
Comment on attachment 359119 [details] [diff] [review] v1 Ay caramba! /be
Attachment #359119 -
Flags: review?(brendan) → review+
Updated•16 years ago
|
Flags: blocking1.9.1?
Comment 3•16 years ago
|
||
Was this covered by a trace-test.js test? I didn't see any failures... /be
Assignee | ||
Comment 4•16 years ago
|
||
Yes, testLoopWithUndefined2 triggered this for me. The even-further-reduced test case is: a = true; for (i = 0; i < 6; i++) a = (8 == void 0); But the bug either hits or sneaks by depending on the alignment of the field JSRuntime::jsNaN. If it's aligned to 0, then DOUBLE_TO_JSVAL(&cx->runtime->jsNaN) is a bad DOUBLE jsval, and you get a potential (but very hard to trigger) correctness error. If it's aligned to 4, then it's a bad BOOLEAN jsval, and you get this bug. http://hg.mozilla.org/tracemonkey/rev/5d11bbac8fbe
Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/5d11bbac8fbe too, on to 1.9.1. /be
Updated•16 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
Priority: -- → P1
Comment 6•16 years ago
|
||
I've seen this occasionally but couldn't reproduce it reliably until today. Bisection points to an apparently unrelated patch http://hg.mozilla.org/tracemonkey/rev/799649d4e416 by Andrei. Andrei or Igor, would bug 474801 make the conditions Jason described in comment 4 more probable? v 1.9.1 tracemonkey and by inference 1.9.2
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Whiteboard: [needs 191 landing]
Comment 7•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/8f9b70a39fdc
Keywords: fixed1.9.1
Whiteboard: [needs 191 landing]
Comment 8•15 years ago
|
||
covered by test added in Bug 456479 already in js/src/trace-test.js and js/js1_8_1/trace/trace-test.js
Flags: in-testsuite+
Flags: in-litmus-
You need to log in
before you can comment on or make changes to this bug.
Description
•