Closed Bug 1067805 Opened 10 years ago Closed 10 years ago

Assertion failure: !IsUninitializedLexical(val), at vm/Interpreter.cpp or Assertion failure: data.s.payload.why == why, at dist/include/js/Value.h

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla35
Tracking Status
firefox35 --- fixed

People

(Reporter: gkw, Assigned: shu)

References

Details

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

Attachments

(1 file)

(function() {
    let x = (function() {
        return x
    }());
}());

asserts js debug shell on m-c changeset 3b7921328fc1 without any CLI flags at Assertion failure: !IsUninitializedLexical(val), at vm/Interpreter.cpp.

If run with --ion-eager --no-threads, the assertion mutates to Assertion failure: data.s.payload.why == why, at dist/include/js/Value.h.

Debug configure flags:

CC="clang -Qunused-arguments" CXX="clang++ -Qunused-arguments" AR=ar sh /Users/skywalker/trees/mozilla-central/js/src/configure --target=x86_64-apple-darwin12.5.0 --enable-debug --enable-optimize --enable-nspr-build --enable-more-deterministic --with-ccache --enable-gczeal --enable-debug-symbols --disable-tests

autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   https://hg.mozilla.org/mozilla-central/rev/7027efe7fae3
user:        Shu-yu Guo
date:        Mon Sep 15 16:30:45 2014 -0700
summary:     Bug 1001090 - Part 1: Implement let temporal dead zone in the frontend and interpreter. (r=Waldo)

Shu-yu, is bug 1001090 a possible regressor?
Flags: needinfo?(shu)
wtf, I had fixed this but pushed a wrong version without the fix (!) Will fix shortly.
Flags: needinfo?(shu)
This landed on m-c:

http://hg.mozilla.org/mozilla-central/rev/ba2fd2f25d4e
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
FWIW, issues like comment 5 are due to bug 1062305. You can work around the bug by making sure you properly assign the bug when you land the patch on inbound. We try to double-check after running mcMerge, but as it's a manual process, it's error-prone as this bug shows. Thanks!
Assignee: nobody → shu
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: