Closed Bug 716512 Opened 12 years ago Closed 12 years ago

gcparam broken: Assertion failure: value >= rt->gcBytes, at jsapi.cpp:2900

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: decoder, Assigned: igor)

Details

(Keywords: assertion, testcase, Whiteboard: js-triage-needed)

Attachments

(1 file)

The following code asserts on mozilla-central revision 9a230265bad5 (no options required):

gcparam("maxBytes", 22000);
Attached patch v1Splinter Review
The patch reports an error if gcparam tries to set maxBytes to a value less than the current gcBytes.
Assignee: general → igor
Attachment #586969 - Flags: review?(anygregor)
Attachment #586969 - Flags: review?(anygregor) → review+
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);".
https://hg.mozilla.org/integration/mozilla-inbound/rev/a85cf7f0d235 - I updated the test to use gcparam("maxBytes", gcparam("gcBytes")+4096)
https://hg.mozilla.org/mozilla-central/rev/a85cf7f0d235
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
Automatically extracted testcase for this bug was committed:

https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: