Closed
Bug 136274
Opened 23 years ago
Closed 23 years ago
nsAbDirectoryDataSource::~nsAbDirectoryDataSource Getting service on shutdown. Denied. ContractID: @mozilla.org/addressbook/services/session;1 @mozilla.org/preferences;1
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 124208
People
(Reporter: timeless, Assigned: sspitzer)
References
Details
(Keywords: assertion)
this is a reminder to me to find the caller and shoot it
#2 0x2831bd05 in nsDebug::Assertion (aStr=0x2836bdc8 "stop for contractid", aExpr=0x2836bc48 "0",
aFile=0x2836b200 "/home/timeless/mozilla/xpcom/components/nsComponentManager.cpp", aLine=2158) at /home/timeless/mozilla/xpcom/glue/nsDebug.cpp:291
#3 0x282c2dc1 in nsComponentManagerImpl::GetServiceByContractID (this=0x80c4000, aContractID=0x2ac905c0 "@mozilla.org/addressbook/services/session;1", aIID=@0x2ac8cefc,
result=0xbfbff2b0) at /home/timeless/mozilla/xpcom/components/nsComponentManager.cpp:2158
#4 0x2831e89a in nsGetServiceByContractID::operator() (this=0xbfbff36c, aIID=@0x2ac8cefc, aInstancePtr=0xbfbff2b0)
at /home/timeless/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:121
#5 0x2ac6c00b in nsCOMPtr<nsIAddrBookSession>::assign_from_helper (this=0xbfbff37c, helper=@0xbfbff36c, aIID=@0x2ac8cefc) at ../../../dist/include/xpcom/nsCOMPtr.h:922
#6 0x2ac6e277 in nsCOMPtr<nsIAddrBookSession>::nsCOMPtr (this=0xbfbff37c, helper=@0xbfbff36c) at ../../../dist/include/xpcom/nsCOMPtr.h:553
#7 0x2ac0493f in nsAbDirectoryDataSource::~nsAbDirectoryDataSource (this=0x91a5d80, __in_chrg=3)
at /home/timeless/mozilla/mailnews/addrbook/src/nsDirectoryDataSource.cpp:108
#8 0x2ac0407b in nsAbRDFDataSource::Release (this=0x91a5d80) at /home/timeless/mozilla/mailnews/addrbook/src/nsAbRDFDataSource.cpp:327
#9 0x2ac05300 in nsAbDirectoryDataSource::Release (this=0x91a5d80) at /home/timeless/mozilla/mailnews/addrbook/src/nsDirectoryDataSource.cpp:170
#10 0x28279506 in nsSupportsArray::Clear (this=0x91a5e00) at /home/timeless/mozilla/xpcom/ds/nsSupportsArray.cpp:600
#11 0x282788b6 in nsSupportsArray::DeleteArray (this=0x91a5e00) at /home/timeless/mozilla/xpcom/ds/nsSupportsArray.cpp:303
#12 0x28278072 in nsSupportsArray::~nsSupportsArray (this=0x91a5e00, __in_chrg=3) at /home/timeless/mozilla/xpcom/ds/nsSupportsArray.cpp:146
#13 0x2827840b in nsSupportsArray::Release (this=0x91a5e00) at /home/timeless/mozilla/xpcom/ds/nsSupportsArray.cpp:238
#14 0x280f7eb6 in nsCOMPtr<nsISupportsArray>::~nsCOMPtr (this=0x91ebb8c, __in_chrg=2) at ../../dist/include/xpcom/nsCOMPtr.h:490
#15 0x2ac0156d in nsAddrBookSession::~nsAddrBookSession (this=0x91ebb80, __in_chrg=3) at /home/timeless/mozilla/mailnews/addrbook/src/nsAddrBookSession.cpp:58
#16 0x2ac0137c in nsAddrBookSession::Release (this=0x91ebb80) at /home/timeless/mozilla/mailnews/addrbook/src/nsAddrBookSession.cpp:49
#17 0x28323fc0 in nsCOMPtr_base::assign_assuming_AddRef (this=0x8163dfc, newPtr=0x0) at /home/timeless/mozilla/xpcom/glue/nsCOMPtr.h:435
#18 0x2831bb4d in nsCOMPtr_base::assign_with_AddRef (this=0x8163dfc, rawPtr=0x0) at /home/timeless/mozilla/xpcom/glue/nsCOMPtr.cpp:73
#19 0x28322ac9 in nsCOMPtr<nsISupports>::operator= (this=0x8163dfc, rhs=0x0) at ../../../dist/include/xpcom/nsCOMPtr.h:795
#20 0x282c1ebe in FreeServiceContractIDEntryEnumerate (aTable=0x80c4048, aHdr=0x8175d40, aNumber=315, aData=0x0)
at /home/timeless/mozilla/xpcom/components/nsComponentManager.cpp:1837
weak references don't require calls to remove listener, i'm not certain if this is a weaklistener, if it isn't, then it needs to listen for shutdown notification adn remove itself then, not in its destructor.
Assignee: timeless → chuang
Blocks: 107391
Keywords: assertion
Summary: Getting service on shutdown. Denied. ContractID: @mozilla.org/addressbook/services/session;1 → nsAbDirectoryDataSource::~nsAbDirectoryDataSource Getting service on shutdown. Denied. ContractID: @mozilla.org/addressbook/services/session;1
#2 0x2831bd05 in nsDebug::Assertion (aStr=0x2836bdc8 "stop for contractid", aExpr=0x2836bc48 "0",
aFile=0x2836b200 "/home/timeless/mozilla/xpcom/components/nsComponentManager.cpp", aLine=2158) at /home/timeless/mozilla/xpcom/glue/nsDebug.cpp:291
#3 0x282c2dc1 in nsComponentManagerImpl::GetServiceByContractID (this=0x80c4000, aContractID=0x2ac92a3c "@mozilla.org/preferences;1", aIID=@0x806b7dc, result=0xbfbff260)
at /home/timeless/mozilla/xpcom/components/nsComponentManager.cpp:2158
#4 0x2831e89a in nsGetServiceByContractID::operator() (this=0xbfbff2dc, aIID=@0x806b7dc, aInstancePtr=0xbfbff260)
at /home/timeless/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:121
#5 0x080622c3 in nsCOMPtr<nsIPref>::assign_from_helper (this=0xbfbff2ec, helper=@0xbfbff2dc, aIID=@0x806b7dc) at ../../dist/include/xpcom/nsCOMPtr.h:922
#6 0x0806517b in nsCOMPtr<nsIPref>::nsCOMPtr (this=0xbfbff2ec, helper=@0xbfbff2dc) at ../../dist/include/xpcom/nsCOMPtr.h:553
#7 0x2ac14210 in DIR_ShutDown () at /home/timeless/mozilla/mailnews/addrbook/src/nsDirPrefs.cpp:376
#8 0x2ac04cbd in nsAbDirectoryDataSource::~nsAbDirectoryDataSource (this=0x91a5d80, __in_chrg=3)
at /home/timeless/mozilla/mailnews/addrbook/src/nsDirectoryDataSource.cpp:126
#9 0x2ac0407b in nsAbRDFDataSource::Release (this=0x91a5d80) at /home/timeless/mozilla/mailnews/addrbook/src/nsAbRDFDataSource.cpp:327
#10 0x2ac05300 in nsAbDirectoryDataSource::Release (this=0x91a5d80) at /home/timeless/mozilla/mailnews/addrbook/src/nsDirectoryDataSource.cpp:170
#11 0x28279506 in nsSupportsArray::Clear (this=0x91a5e00) at /home/timeless/mozilla/xpcom/ds/nsSupportsArray.cpp:600
#12 0x282788b6 in nsSupportsArray::DeleteArray (this=0x91a5e00) at /home/timeless/mozilla/xpcom/ds/nsSupportsArray.cpp:303
#13 0x28278072 in nsSupportsArray::~nsSupportsArray (this=0x91a5e00, __in_chrg=3) at /home/timeless/mozilla/xpcom/ds/nsSupportsArray.cpp:146
#14 0x2827840b in nsSupportsArray::Release (this=0x91a5e00) at /home/timeless/mozilla/xpcom/ds/nsSupportsArray.cpp:238
#15 0x280f7eb6 in nsCOMPtr<nsISupportsArray>::~nsCOMPtr (this=0x91ebb8c, __in_chrg=2) at ../../dist/include/xpcom/nsCOMPtr.h:490
#16 0x2ac0156d in nsAddrBookSession::~nsAddrBookSession (this=0x91ebb80, __in_chrg=3) at /home/timeless/mozilla/mailnews/addrbook/src/nsAddrBookSession.cpp:58
#17 0x2ac0137c in nsAddrBookSession::Release (this=0x91ebb80) at /home/timeless/mozilla/mailnews/addrbook/src/nsAddrBookSession.cpp:49
#18 0x28323fc0 in nsCOMPtr_base::assign_assuming_AddRef (this=0x8163dfc, newPtr=0x0) at /home/timeless/mozilla/xpcom/glue/nsCOMPtr.h:435
#19 0x2831bb4d in nsCOMPtr_base::assign_with_AddRef (this=0x8163dfc, rawPtr=0x0) at /home/timeless/mozilla/xpcom/glue/nsCOMPtr.cpp:73
#20 0x28322ac9 in nsCOMPtr<nsISupports>::operator= (this=0x8163dfc, rhs=0x0) at ../../../dist/include/xpcom/nsCOMPtr.h:795
#21 0x282c1ebe in FreeServiceContractIDEntryEnumerate (aTable=0x80c4048, aHdr=0x8175d40, aNumber=315, aData=0x0)
at /home/timeless/mozilla/xpcom/components/nsComponentManager.cpp:1837
Summary: nsAbDirectoryDataSource::~nsAbDirectoryDataSource Getting service on shutdown. Denied. ContractID: @mozilla.org/addressbook/services/session;1 → nsAbDirectoryDataSource::~nsAbDirectoryDataSource Getting service on shutdown. Denied. ContractID: @mozilla.org/addressbook/services/session;1 @mozilla.org/preferences;1
Assignee | ||
Comment 3•23 years ago
|
||
there is no chuang. over to me, cc racham.
note, my fix for #124208 should fix this.
Assignee: chuang → sspitzer
Depends on: 124208
*** This bug has been marked as a duplicate of 124208 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•