Assertion failure: (tc->flags & TCF_IN_FUNCTION) || (tc->parseContext->callerFrame && tc->parseContext->callerFrame->fun && tc->parseContext->callerFrame->varobj == tc->u.scopeChain)

VERIFIED FIXED

Status

()

--
blocker
VERIFIED FIXED
10 years ago
10 years ago

People

(Reporter: bc, Assigned: igor)

Tracking

(5 keywords)

Other Branch
x86
All
assertion, crash, regression, testcase, verified1.9.1
Points:
---
Dependency tree / graph
Bug Flags:
wanted1.9.1 +
in-testsuite +
in-litmus -

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
In tracemonkey repo:

Assertion failure: (tc->flags & TCF_IN_FUNCTION) || (tc->parseContext->callerFrame && tc->parseContext->callerFrame->fun && tc->parseContext->callerFrame->varobj == tc->u.scopeChain), at ../jsemit.cpp:2043

happens on many tests (e.g. e4x/Expressions/11.1.4-08.js) in the shell without jit enabled.

http://hg.mozilla.org/tracemonkey/rev/09997a70e4fb Bug 470758 re=gressed this.

So many tests fail with this assert that it makes testing tracemonkey impossible.
Flags: in-testsuite+
Flags: in-litmus-
(Assignee)

Comment 1

10 years ago
Created attachment 354392 [details] [diff] [review]
fix v1

The fix moves the check TCF_IN_FOR_INIT right before upvar lookup. Without this the for-names for scripts are processed as name inside function.
Assignee: general → igor
Status: NEW → ASSIGNED
Attachment #354392 - Flags: review?(mrbkap)
Comment on attachment 354392 [details] [diff] [review]
fix v1

Sorry.
Attachment #354392 - Flags: review?(mrbkap) → review+
(Assignee)

Comment 3

10 years ago
pushed to tm -- http://hg.mozilla.org/tracemonkey/rev/edd031c8937c
Whiteboard: fixed-in-tracemonkey

Comment 4

10 years ago
merged to mc
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED

Updated

10 years ago
Flags: wanted1.9.1+
(Reporter)

Comment 6

10 years ago
v 1.9.1, 1.9.2
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
(Reporter)

Updated

10 years ago
Depends on: 474005
You need to log in before you can comment on or make changes to this bug.