Closed
Bug 615058
Opened 15 years ago
Closed 15 years ago
CC not threadsafe with DEBUG_CC on
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: sayrer, Assigned: bent.mozilla)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(2 files)
5.28 KB,
text/plain; charset=UTF-8
|
Details | |
890 bytes,
patch
|
gal
:
review+
peterv
:
review+
jst
:
approval2.0+
|
Details | Diff | Splinter Review |
###!!! 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.
Assignee | ||
Comment 1•15 years ago
|
||
Yeah, I messed this up. The fix is in bug 565217. The CC is fine in normal debug builds, just not DEBUG_CC.
Reporter | ||
Comment 2•15 years ago
|
||
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?
Assignee | ||
Comment 5•15 years ago
|
||
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
Assignee | ||
Comment 6•15 years ago
|
||
Attachment #511218 -
Flags: review?(peterv)
Comment 7•15 years ago
|
||
bug 580096 broke this, pretty trivial fix
Comment 8•15 years ago
|
||
Comment on attachment 511218 [details] [diff] [review]
Patch
NPOTB, lets take this
Attachment #511218 -
Flags: review?(peterv)
Attachment #511218 -
Flags: review+
Comment 9•15 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Updated•15 years ago
|
Attachment #511218 -
Flags: review?(peterv) → review+
Updated•15 years ago
|
Attachment #511218 -
Flags: approval2.0+
Comment 10•15 years ago
|
||
cdleary-bot mozilla-central merge info:
http://hg.mozilla.org/mozilla-central/rev/9f5cce1a629e
Updated•15 years ago
|
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.
Description
•