Closed
Bug 900405
Opened 11 years ago
Closed 11 years ago
GenerationalGC: Assertion failure: nslots > 2, at gc/Nursery.cpp
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: gkw, Assigned: terrence)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(2 files)
3.84 KB,
text/plain
|
Details | |
2.13 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
(function() { [{ "9": [] }.watch([], function(){})] })() crashes js debug shell (tested with a threadsafe deterministic 64-bit debug build) on m-c changeset 95870d5337eb without any CLI arguments at Assertion failure: nslots > 2, at gc/Nursery.cpp when the shell is compiled with --enable-gcgenerational --enable-exact-rooting.
Flags: needinfo?(terrence)
Assignee | ||
Comment 1•11 years ago
|
||
The assertion that is firing here is simply incorrect. It should be >= instead of >. Additionally, I noticed when debugging that NULL slots are getting inserting into the external slots/elements set, causing us to free(NULL) -- for no effect -- during minor GC. I threw that fix in here since it is also trivial.
Assignee: general → terrence
Status: NEW → ASSIGNED
Attachment #784546 -
Flags: review?(wmccloskey)
Flags: needinfo?(terrence)
Attachment #784546 -
Flags: review?(wmccloskey) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/69c38726a5ad
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/69c38726a5ad
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•