Closed Bug 621258 Opened 15 years ago Closed 15 years ago

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

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: peterv)

Details

Attachments

(1 file)

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.
Attached patch v1Splinter Review
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+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: