Closed
Bug 497146
Opened 16 years ago
Closed 16 years ago
js1_5/extensions/regress-424942.js - Assertion failure: (int16) JSVAL_TO_INT(id) == JSVAL_TO_INT(id)
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.9.1
People
(Reporter: bc, Assigned: brendan)
References
Details
(4 keywords, Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
586 bytes,
patch
|
igor
:
review+
|
Details | Diff | Splinter Review |
js1_5/extensions/regress-424942.js shell linux so far.
Assertion failure: (int16) JSVAL_TO_INT(id) == JSVAL_TO_INT(id), at ../jsfun.cpp:1071
Flags: in-testsuite+
Reporter | ||
Comment 1•16 years ago
|
||
oops. tracemonkey.
Reporter | ||
Updated•16 years ago
|
OS: Linux → All
Reporter | ||
Updated•16 years ago
|
Flags: blocking1.9.1?
Updated•16 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
Assignee | ||
Updated•16 years ago
|
Assignee: general → brendan
Status: NEW → ASSIGNED
Priority: -- → P1
Hardware: x86 → All
Target Milestone: --- → mozilla1.9.1
Assignee | ||
Comment 3•16 years ago
|
||
This is a debug-only assertion botch, the non-DEBUG code does the right thing.
/be
Attachment #382552 -
Flags: review?(igor)
Assignee | ||
Comment 4•16 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 5•16 years ago
|
||
Debug-only assertion is not a blocker, but is still welcome.
Flags: wanted1.9.1+
Flags: blocking1.9.1-
Flags: blocking1.9.1+
Comment 6•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Attachment #382552 -
Flags: review?(igor) → review+
Comment 7•16 years ago
|
||
Comment on attachment 382552 [details] [diff] [review]
fix the assertbotch
>diff --git a/js/src/jsfun.cpp b/js/src/jsfun.cpp
>@@ -1207,7 +1207,7 @@ call_resolve(JSContext *cx, JSObject *ob
>+ if (!CallPropertyOp(cx, obj, INT_TO_JSID((int16)slot), &v, JSCPK_VAR, JS_FALSE))
Nit: use int16(slot).
Assignee | ||
Comment 8•16 years ago
|
||
Nearby cast used C style, of course (since the code was written in 1.9 era) and the assertion does too. I'll clean up on trunk in another bug, opportunistically. Thanks,
/be
Comment 9•16 years ago
|
||
Keywords: fixed1.9.1
Reporter | ||
Comment 10•16 years ago
|
||
v 1.9.1, 1.9.2 on mac intel.
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•