Closed
Bug 607502
Opened 15 years ago
Closed 15 years ago
JM: "Assertion failure: isShape()" with Object.freeze(this)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: jruderman, Assigned: dvander)
References
Details
(Keywords: assertion, testcase, Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
8.76 KB,
patch
|
dmandelin
:
review+
|
Details | Diff | Splinter Review |
./js -m
function q() { ++i; }
var i = 0;
Object.freeze(this);
q();
q();
Assertion failure: isShape(), at js/src/jspropertycache.h:112
Comment 1•15 years ago
|
||
It's trying to use some sort of genericized name-increment code that getgnames, does math, and setgnames, and the two ops naturally don't interact well with the single slot-looking property cache entry created by the interpreter for incops. I couldn't quite follow the code, and its bewildering variety of similar names, well enough to say any more with much confidence in my reading of it.
![]() |
||
Updated•15 years ago
|
blocking2.0: --- → ?
Updated•15 years ago
|
blocking2.0: ? → betaN+
![]() |
Assignee | |
Comment 2•15 years ago
|
||
Smarter disabling of property cache usage, like for the other ICs.
Updated•15 years ago
|
Attachment #489599 -
Flags: review?(dmandelin) → review+
![]() |
Assignee | |
Comment 3•15 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 4•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 5•13 years ago
|
||
Automatically extracted testcase for this bug was committed:
https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•