Closed Bug 639128 Opened 9 years ago Closed 9 years ago

TI: Assertion failure: !script->types && !script->isUncachedEval, at ../jsinfer.cpp:3221

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Unassigned)

References

(Blocks 1 open bug)

Details

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

--
function f(o) { 
    Object.seal(o); 
}
gc();
if(2 != 2) {
    g = new f(g);
}
with({}) {
    f({});
}
--
$ ./js -n -a test.js
Assertion failure: !script->types && !script->isUncachedEval, at ../jsinfer.cpp:3221

(gdb) p script->types
$1 = ('js::types::TypeScript' *) 0x715de0

(gdb) p script->isUncachedEval
$2 = false
With -a we force analysis of a script whenever it is entered; if setting the 'this' type triggered reanalysis due to a prior GC we didn't recheck script->types before trying to analyze.

http://hg.mozilla.org/projects/jaegermonkey/rev/89f6b05273e8
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-jaegermonkey
You need to log in before you can comment on or make changes to this bug.