TI: Assertion failure: codeArray[offset], at ./jsanalyze.h:902

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: decoder, Unassigned)

Tracking

(Blocks: 2 bugs, {assertion, testcase})

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

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
The following testcase asserts on TI revision 8fbd8f861465 (run with -m -n -a),
tested on 64 bit:

try {
  new MyObject;
} catch (e) {}

function MyObject() {
  return;
  return this;
}
Oops, regression from the 'new' robustness improvements/overhaul.  Had a TODO for this but forgot to actually do it, we weren't handling premature returns within the script nor uses of 'this' in conditional code.  Push below has a couple extra testcases.

http://hg.mozilla.org/projects/jaegermonkey/rev/b38e4d16be97
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Updated

6 years ago
Blocks: 676763
(Reporter)

Comment 2

4 years ago
A testcase for this bug was automatically identified at js/src/jit-test/tests/jaeger/bug656914.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.