The default bug view has changed. See this FAQ.

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

RESOLVED FIXED in mozilla12

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: decoder, Assigned: Igor Bukanov)

Tracking

({assertion, testcase})

Trunk
mozilla12
x86_64
Linux
assertion, testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: js-triage-needed)

Attachments

(1 attachment)

(Reporter)

Description

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

gcparam("maxBytes", 22000);
(Assignee)

Comment 1

5 years ago
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.
Assignee: general → igor
Attachment #586969 - Flags: review?(anygregor)
Attachment #586969 - Flags: review?(anygregor) → review+
(Reporter)

Comment 2

5 years ago
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);".
(Assignee)

Comment 3

5 years ago
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
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
(Reporter)

Comment 5

4 years ago
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.