TM: "Assertion failure: isFunctionFrame() && !isEvalFrame(),"

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
7 years ago
5 years ago

People

(Reporter: gkw, Assigned: luke)

Tracking

(Blocks: 1 bug, {assertion, regression, testcase})

Trunk
assertion, regression, testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(blocking2.0 betaN+)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
(function () {
    try {
        eval("\
          for each(let d in[0,0,0,0,0,0,0,0]) {\
            for(let b in[0,0]) {}\
          }\
        ")
    } catch (e) {}
})()

asserts js debug shell on TM changeset f5e128da7b5f with -j at Assertion failure: isFunctionFrame() && !isEvalFrame(),
(Reporter)

Updated

7 years ago
blocking2.0: --- → ?
(Reporter)

Comment 1

7 years ago
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   53418:8721b595e7ab
user:        Luke Wagner
date:        Mon Aug 09 22:43:33 2010 -0700
summary:     Bug 539144 - Make formal args a jit-time const offset from fp; rm argv/argc/thisv/script/callobj (r=brendan,dvander)
Blocks: 539144
(Assignee)

Comment 2

7 years ago
Created attachment 475392 [details] [diff] [review]
fix

mmmm, fuzzing!
Assignee: general → lw
Status: NEW → ASSIGNED
Attachment #475392 - Flags: review?(dvander)
Attachment #475392 - Flags: review?(dvander) → review+
(Assignee)

Comment 3

7 years ago
http://hg.mozilla.org/tracemonkey/rev/8875da11ded0
Whiteboard: fixed-in-tracemonkey

Comment 4

7 years ago
http://hg.mozilla.org/mozilla-central/rev/8875da11ded0
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED

Updated

7 years ago
blocking2.0: ? → betaN+
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/testBug595916.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.