TI: Crash [@ js::types::TypeFailure] involving missing type in object Global i: #4:15:Array

RESOLVED FIXED

Status

()

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

People

(Reporter: gkw, Unassigned)

Tracking

(Blocks: 3 bugs, {crash, testcase})

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

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

(Reporter)

Description

6 years ago
function f(x) {
    this.i = x;
}
for each(let e in [0, 0, []]) {
    try {
        f(e)
    } catch (e) {}
}
print(uneval(this))

crashes js debug shell on JM changeset 5d1cbc94bc42 with -m, -a and -n at js::types::TypeFailure with the message:

[infer failure] Missing type in object Global i: #4:15:Array
WFM on tip, possibly fixed by rev 29bd8523ead9.  Can you still repro?
(Reporter)

Comment 2

6 years ago
WFM on tip too - but marking FIXED since a possible fix changeset is noted.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Crash Signature: [@ js::types::TypeFailure]
(Reporter)

Updated

6 years ago
Blocks: 349611
Automatically extracted testcase for this bug was committed:

https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.