Last Comment Bug 656259 - TI: Assertion failure: !fe->data.inRegister(), at methodjit/FrameState-inl.h:909
: TI: Assertion failure: !fe->data.inRegister(), at methodjit/FrameState-inl.h:909
Status: RESOLVED FIXED
: assertion, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86_64 Linux
: -- critical (vote)
: ---
Assigned To: general
:
Mentors:
Depends on:
Blocks: infer-regress langfuzz
  Show dependency treegraph
 
Reported: 2011-05-11 05:37 PDT by Christian Holler (:decoder)
Modified: 2013-01-14 08:46 PST (History)
4 users (show)
choller: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Christian Holler (:decoder) 2011-05-11 05:37:04 PDT
The following testcase asserts on TI revision fd1abc43d698 (run with -m -n -a),
tested on 64 bit:


function throwsRangeError(t) {
    try {
        t: for (t[t++] in object) {
            t++
            break t;
        }
        date(t)
    } catch (err) {}
}
throwsRangeError(Infinity);
Comment 1 Brian Hackett (:bhackett) 2011-05-11 10:26:25 PDT
Oversight, we would allow register allocations at join points to assign FP registers to entries which weren't being tracked by the analysis (only possible in scripts with try or switch blocks), and which we don't require to match analysis information at join points.

http://hg.mozilla.org/projects/jaegermonkey/rev/2178344055f5
Comment 2 Christian Holler (:decoder) 2013-01-14 08:46:11 PST
A testcase for this bug was automatically identified at js/src/jit-test/tests/jaeger/bug656259.js.

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