Last Comment Bug 735045 - JS OOM Testing: Assertion failure: !var.lifetime && var.saved, at js/src/jsanalyze.cpp:933
: JS OOM Testing: Assertion failure: !var.lifetime && var.saved, at js/src/jsan...
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 14:29 PDT by Christian Holler (:decoder)
Modified: 2012-04-11 09:10 PDT (History)
6 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


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

Description Christian Holler (:decoder) 2012-03-12 14:29:05 PDT
Created attachment 605130 [details]
Log with failed allocations

The following command aborts/crashes on mozilla-central revision c6f26a8dcd08:

js -m -n -a  -A 6109 -f js/src/jit-test/tests/jaeger/bug658579.js


Log with backtraces of failed allocations (as outputted when compiling with --enable-oom-backtrace and filtered through addr2line) is attached.
Comment 1 Brian Hackett (:bhackett) 2012-04-10 08:24:17 PDT
Created attachment 613615 [details] [diff] [review]
patch

Preserve invariant between saved array and lifetime variables' saved fields --- a var should be in the array iff its .saved != NULL.
Comment 2 Brian Hackett (:bhackett) 2012-04-10 12:17:15 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/ab09a3d46926
Comment 3 Matt Brubeck (:mbrubeck) 2012-04-11 09:10:45 PDT
https://hg.mozilla.org/mozilla-central/rev/ab09a3d46926

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