Last Comment Bug 716512 - gcparam broken: Assertion failure: value >= rt->gcBytes, at jsapi.cpp:2900
: gcparam broken: Assertion failure: value >= rt->gcBytes, at jsapi.cpp:2900
Status: RESOLVED FIXED
js-triage-needed
: assertion, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86_64 Linux
: -- critical (vote)
: mozilla12
Assigned To: Igor Bukanov
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-09 05:09 PST by Christian Holler (:decoder)
Modified: 2013-01-19 14:01 PST (History)
5 users (show)
choller: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
v1 (7.17 KB, patch)
2012-01-09 05:49 PST, Igor Bukanov
anygregor: review+
Details | Diff | Splinter Review

Description Christian Holler (:decoder) 2012-01-09 05:09:21 PST
The following code asserts on mozilla-central revision 9a230265bad5 (no options required):

gcparam("maxBytes", 22000);
Comment 1 Igor Bukanov 2012-01-09 05:49:32 PST
Created attachment 586969 [details] [diff] [review]
v1

The patch reports an error if gcparam tries to set maxBytes to a value less than the current gcBytes.
Comment 2 Christian Holler (:decoder) 2012-01-09 06:02:25 PST
It should be noted that this code is part of the tests. In "tests/js1_6/extensions/regress-456826.js", line 59 it says "gcparam("maxBytes", 22000);".
Comment 3 Igor Bukanov 2012-01-09 06:29:41 PST
https://hg.mozilla.org/integration/mozilla-inbound/rev/a85cf7f0d235 - I updated the test to use gcparam("maxBytes", gcparam("gcBytes")+4096)
Comment 4 Ed Morley [:emorley] 2012-01-09 15:08:52 PST
https://hg.mozilla.org/mozilla-central/rev/a85cf7f0d235
Comment 5 Christian Holler (:decoder) 2013-01-19 14:01:52 PST
Automatically extracted testcase for this bug was committed:

https://hg.mozilla.org/mozilla-central/rev/efaf8960a929

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