Closed Bug 756918 Opened 12 years ago Closed 12 years ago

Assertion failure: block_->needsClone(), at vm/ScopeObject.cpp:1216

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: decoder, Assigned: luke)

Details

(Keywords: assertion, testcase, Whiteboard: [js:t])

Attachments

(1 file)

The following test asserts on mozilla-central revision d55df2c9c037 (no options required):


with({}) 
  let([] = 6 ? this : this) {
    eval("enum = true;");
  }


autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   94413:f45eec2bd4c7
user:        Luke Wagner
date:        Tue Dec 20 17:42:45 2011 -0800
summary:     Bug 690135 - create scope objects eagerly or not at all (r=jimb)
Attached patch fix and testSplinter Review
Blah, empty destructuring let.  Might as well preserve the assert.  Simple fix.
Assignee: general → luke
Status: NEW → ASSIGNED
Attachment #625533 - Flags: review?(jwalden+bmo)
Whiteboard: js-triage-needed → [js:t]
jsfunfuzz hits this constantly, too.
Attachment #625533 - Flags: review?(jwalden+bmo) → review+
https://hg.mozilla.org/mozilla-central/rev/1c64ae5ff661
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: