Last Comment Bug 656411 - TI+JM: Assertion failure: !unknown(), at ../jsinferinlines.h:1132
: TI+JM: Assertion failure: !unknown(), at ../jsinferinlines.h:1132
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: All All
: -- normal (vote)
: ---
Assigned To: general
:
:
Mentors:
Depends on:
Blocks: infer-regress
  Show dependency treegraph
 
Reported: 2011-05-11 12:07 PDT by Jan de Mooij [:jandem]
Modified: 2011-05-14 10:43 PDT (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Jan de Mooij [:jandem] 2011-05-11 12:07:56 PDT
Got this assert this morning but took some time to reduce, crashes after ~5 seconds.
--
for (var i = 0; i<5000; i++) {
    gc();
    (function () {
        var x = new Date(0);
        x.getTime();
        x.getTime();
        x.getTime();
    })();
}
--
$ ./js -n -a -m test.js
Assertion failure: !unknown(), at ../jsinferinlines.h:1132

Revision 2178344055f5, 32-bit OS X.
Comment 1 Brian Hackett (:bhackett) 2011-05-14 10:43:31 PDT
testSingletonPropertyTypes was inspecting the contents of a type set without having first checked whether it was unknown (only type sets with known contents can be examined).

http://hg.mozilla.org/projects/jaegermonkey/rev/498ea6c749f4

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