Closed Bug 639797 Opened 9 years ago Closed 9 years ago

TI: Crash [@ js::types::AnalyzeScriptTypes] or "Assertion failure: compileAndGo && global,"

Categories

(Core :: JavaScript Engine, defect, critical)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: gkw, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: assertion, regression, testcase, Whiteboard: fixed-in-jaegermonkey)

Attachments

(1 file)

Attached file stack
Function("with([])const x=t")()

asserts js debug shell on JM changeset 511f51584aad with -m, -a and -n at Assertion failure: compileAndGo && global

Thanks to jandem for letting me know about the -n option. :)
This also causes a crash in opt shell at js::types::AnalyzeScriptTypes
Summary: TI: "Assertion failure: compileAndGo && global," → TI: Crash [@ js::types::AnalyzeScriptTypes] or "Assertion failure: compileAndGo && global,"
Inference did not handle SETCONST appearing in non-compileAndGo scripts.  This changes it to be treated like SETNAME.


http://hg.mozilla.org/projects/jaegermonkey/rev/738bc64ae77d
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-jaegermonkey
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/bug639797.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.