Closed Bug 1064054 Opened 10 years ago Closed 10 years ago

Assertion failure: name != cx->names().proto (should have used JSOP_MUTATEPROTO), at jit/BaselineIC.cpp:7664

Categories

(Core :: JavaScript Engine: JIT, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla35
Tracking Status
firefox35 --- affected

People

(Reporter: decoder, Assigned: Waldo)

Details

(Keywords: assertion, testcase, Whiteboard: [fuzzblocker] [jsbugmon:update])

Attachments

(2 files)

The following testcase asserts on mozilla-central revision 2255d7d187b2 (run with --fuzzing-safe --no-threads --ion-eager):


Function("return { __proto__() {} }")();
Fuzzblocker due to frequency.
Whiteboard: [jsbugmon:update,bisect][fuzzblocker]
Pretty sure that's Waldo's
Flags: needinfo?(jwalden+bmo)
Whiteboard: [jsbugmon:update,bisect][fuzzblocker] → [fuzzblocker] [jsbugmon:update]
JSBugMon: Bisection requested, result:
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   https://hg.mozilla.org/mozilla-central/rev/8acb4009398c
user:        Jeff Walden
date:        Sat Aug 30 14:27:19 2014 -0700
summary:     Bug 1061853 - Reintroduce PNK_MUTATEPROTO to distinguish ({ __proto__: v }) as mutating the [[Prototype]] from ({ __proto__() {} }) as not doing so.  r=shu

This iteration took 359.865 seconds to run.
JSOP_INITPROP is now used with __proto__ in rare cases, so remove the assertion here.  Also add tests for all the non-prototype-mutating definition flavors that were in the object-literal-__proto__.js test previously landed.
Attachment #8486130 - Flags: review?(shu)
Assignee: nobody → jwalden+bmo
Status: NEW → ASSIGNED
Flags: needinfo?(jwalden+bmo)
Attachment #8486130 - Flags: review?(shu) → review+
https://hg.mozilla.org/mozilla-central/rev/206d9ecf4063
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: