Last Comment Bug 756918 - Assertion failure: block_->needsClone(), at vm/ScopeObject.cpp:1216
: Assertion failure: block_->needsClone(), at vm/ScopeObject.cpp:1216
: 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]
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:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

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

Description User image Christian Holler (:decoder) 2012-05-20 16:09:42 PDT
The following test asserts on mozilla-central revision d55df2c9c037 (no options required):

  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 User image 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 User image Gary Kwong [:gkw] [:nth10sd] 2012-05-24 15:06:00 PDT
jsfunfuzz hits this constantly, too.
Comment 4 User image Ryan VanderMeulen [:RyanVM] 2012-05-26 05:09:19 PDT

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