Closed Bug 454744 Opened 12 years ago Closed 12 years ago

TM: "Assertion failure: PCVAL_IS_SPROP(entry->vword)" with getter

Categories

(Core :: JavaScript Engine, defect, critical)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: brendan)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, regression, testcase)

Attachments

(1 file)

js -j 
js> this.__defineGetter__('x', function() 2); for (var j=0;j<4;++j) { x=1; }

Assertion failure: PCVAL_IS_SPROP(entry->vword), at jstracer.cpp:4441
See bug 454689 and bug 454590 -- probably should dup but I want to patch first.

/be
Attached patch fixSplinter Review
Gonna land this on r=me authoritay.

/be
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #338054 - Flags: review+
Fixed:

http://hg.mozilla.org/tracemonkey/rev/d01bf8dcae43
http://hg.mozilla.org/mozilla-central/rev/3a3f258dd951

/be
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Duplicate of this bug: 454590
Blocks: 451986
/cvsroot/mozilla/js/tests/js1_5/extensions/regress-454744.js,v  <--  regress-454744.js
initial revision: 1.1

m-c: changeset:   19328:ae5a6fe1d588

The browser test throws TypeError: setting a property that has only a getter
Flags: in-testsuite+
Flags: in-litmus-
This test should have been in the 1.8 suite.

RCS file: /cvsroot/mozilla/js/tests/js1_8/extensions/regress-454744.js,v
done
Checking in js1_8/extensions/regress-454744.js;
/cvsroot/mozilla/js/tests/js1_8/extensions/regress-454744.js,v  <--  regress-454744.js
initial revision: 1.1
done
Removing js1_5/extensions/regress-454744.js;
/cvsroot/mozilla/js/tests/js1_5/extensions/regress-454744.js,v  <--  regress-454744.js
new revision: delete; previous revision: 1.1
done

http://hg.mozilla.org/mozilla-central/rev/af3f816c35d2
You need to log in before you can comment on or make changes to this bug.