Closed Bug 615058 Opened 15 years ago Closed 15 years ago

CC not threadsafe with DEBUG_CC on

Categories

(Core :: XPConnect, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sayrer, Assigned: bent.mozilla)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(2 files)

###!!! ASSERTION: Didn't call FinishTraverse?: '!mCycleCollectionContext', file /Users/sayrer/dev/mozilla-central/js/src/xpconnect/src/nsXPConnect.cpp, line 460 Assertion failure: CURRENT_THREAD_IS_ME(t), at /Users/sayrer/dev/mozilla-central/js/src/jsapi.cpp:846 I'll have to check whether this happens in a normal debug build.
Yeah, I messed this up. The fix is in bug 565217. The CC is fine in normal debug builds, just not DEBUG_CC.
that patch crashes relatively quickly with this: ###!!! ABORT: count out of sync: 'mCompatObjects.Count() + mNormalObjects.Count() == mCount', file /Users/sayrer/dev/mozilla-central/xpcom/base/nsCycleCollector.cpp, line 903
It seems pretty important to get DEBUG_CC working again so that we can debug leaks. Can someone own this?
Sorry, way back when I put the fix in bug 565217. Since that didn't make FF4 I'll take this.
Assignee: nobody → bent.mozilla
Status: NEW → ASSIGNED
Attached patch PatchSplinter Review
Attachment #511218 - Flags: review?(peterv)
bug 580096 broke this, pretty trivial fix
Comment on attachment 511218 [details] [diff] [review] Patch NPOTB, lets take this
Attachment #511218 - Flags: review?(peterv)
Attachment #511218 - Flags: review+
Whiteboard: fixed-in-tracemonkey
Attachment #511218 - Flags: review?(peterv) → review+
Attachment #511218 - Flags: approval2.0+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: