Last Comment Bug 734978 - JS OOM Testing: Assertion failure: cx->typeInferenceEnabled() && hasLazyType(), at js/src/jsinfer.cpp:5695
: JS OOM Testing: Assertion failure: cx->typeInferenceEnabled() && hasLazyType(...
Status: RESOLVED FIXED
: assertion, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86_64 Linux
: -- critical (vote)
: mozilla14
Assigned To: general
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-12 12:18 PDT by Christian Holler (:decoder)
Modified: 2012-04-11 09:15 PDT (History)
6 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Log with failed allocations (15.98 KB, text/plain)
2012-03-12 12:18 PDT, Christian Holler (:decoder)
no flags Details
patch (1.24 KB, patch)
2012-04-10 08:54 PDT, Brian Hackett (:bhackett)
luke: review+
Details | Diff | Review

Description Christian Holler (:decoder) 2012-03-12 12:18:33 PDT
Created attachment 605050 [details]
Log with failed allocations

The following command aborts on mozilla-central revision c6f26a8dcd08:

js -m -n -a -A 6284 -f js/src/jit-test/tests/jaeger/bug582286.js


Attached is the log with backtraces of all failed allocations (as outputted when compiling with --enable-oom-backtrace and filtered through addr2line).
Comment 1 Brian Hackett (:bhackett) 2012-04-10 08:54:55 PDT
Created attachment 613624 [details] [diff] [review]
patch

JSObject::makeLazyType should be able to cope with the case where TI is disabled, as this can happen when types were previously nuked.
Comment 2 Brian Hackett (:bhackett) 2012-04-10 12:36:49 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/24e84699e395
Comment 3 Matt Brubeck (:mbrubeck) 2012-04-11 09:15:59 PDT
https://hg.mozilla.org/mozilla-central/rev/24e84699e395

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