ASSERTION: Changing refcount of nsCycleCollectorLogger object during Traverse is not permitted!: 'Error', file z:/roc/mozilla-central/obj-ff-debug/xpcom/base/../../../xpcom/base/nsCycleCollector.cpp, line 1355

RESOLVED FIXED

Status

()

RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: roc, Assigned: peterv)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

I get this assertion firing four times when I dump the CC graph using
window.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsIDOMWindowUtils).garbageCollect(Components.classes["@mozilla.org/cycle-collector-logger;1"].createInstance(Components.interfaces.nsICycleCollectorListener))

The first one is while constructing CGGraphBuilder.
(Assignee)

Comment 1

8 years ago
Created attachment 499642 [details] [diff] [review]
v1
Assignee: nobody → peterv
Status: NEW → ASSIGNED
Attachment #499642 - Flags: review?(bent.mozilla)
Comment on attachment 499642 [details] [diff] [review]
v1

Looks good to me!
Attachment #499642 - Flags: review?(bent.mozilla) → review+
Comment on attachment 499642 [details] [diff] [review]
v1

We should get this in to help with leak debugging.
Attachment #499642 - Flags: approval2.0+
Keywords: checkin-needed

Comment 4

8 years ago
This was landed a while ago:

http://hg.mozilla.org/mozilla-central/rev/77979cd6890d
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.