Last Comment Bug 756918 - Assertion failure: block_->needsClone(), at vm/ScopeObject.cpp:1216
: Assertion failure: block_->needsClone(), at vm/ScopeObject.cpp:1216
Status: RESOLVED FIXED
[js:t]
: assertion, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86_64 Linux
: -- critical (vote)
: mozilla15
Assigned To: Luke Wagner [:luke]
:
: Jason Orendorff [:jorendorff]
Mentors:
Depends on:
Blocks: jsfunfuzz langfuzz
  Show dependency treegraph
 
Reported: 2012-05-20 16:09 PDT by Christian Holler (:decoder)
Modified: 2012-05-26 05:09 PDT (History)
6 users (show)
ryanvm: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
fix and test (1.26 KB, patch)
2012-05-20 18:22 PDT, Luke Wagner [:luke]
jwalden+bmo: review+
Details | Diff | Splinter Review

Description Christian Holler (:decoder) 2012-05-20 16:09:42 PDT
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)
Comment 1 Luke Wagner [:luke] 2012-05-20 18:22:13 PDT
Created attachment 625533 [details] [diff] [review]
fix and test

Blah, empty destructuring let.  Might as well preserve the assert.  Simple fix.
Comment 2 Gary Kwong [:gkw] [:nth10sd] 2012-05-24 15:06:00 PDT
jsfunfuzz hits this constantly, too.
Comment 4 Ryan VanderMeulen [:RyanVM] 2012-05-26 05:09:19 PDT
https://hg.mozilla.org/mozilla-central/rev/1c64ae5ff661

Note You need to log in before you can comment on or make changes to this bug.