Closed Bug 134723 Opened 22 years ago Closed 18 years ago

nsEventQueueImpl::~nsEventQueueImpl Getting service @mozilla.org/observer-service;1 on shutdown.

Categories

(Core :: XPCOM, defect)

defect
Not set
minor

Tracking

()

RESOLVED INVALID
Future

People

(Reporter: timeless, Assigned: dougt)

References

Details

Getting service on shutdown. Denied.
  ContractID: @mozilla.org/observer-service;1
         IID: {d07f5192-e3d1-11d2-8acd-00105a1b8860}
###!!! ASSERTION: stop for contractid: '0', file /home/timeless/mozilla/xpcom/components/nsComponentManager.cpp, line 2158
###!!! Break: at file /home/timeless/mozilla/xpcom/components/nsComponentManager.cpp, line 2158

#2  0x2831cba9 in nsDebug::Assertion (aStr=0x2836d288 "stop for contractid", aExpr=0x2836d108 "0", aFile=0x2836c6c0 "/home/timeless/mozilla/xpcom/components/nsComponentManager.cpp",
    aLine=2158) at /home/timeless/mozilla/xpcom/glue/nsDebug.cpp:291
#3  0x282c3701 in nsComponentManagerImpl::GetServiceByContractID (this=0x80c4000, aContractID=0x28372820 "@mozilla.org/observer-service;1", aIID=@0x806b8bc, result=0xbfbff108)
    at /home/timeless/mozilla/xpcom/components/nsComponentManager.cpp:2158
#4  0x2831f73e in nsGetServiceByContractID::operator() (this=0xbfbff184, aIID=@0x806b8bc, aInstancePtr=0xbfbff108)
    at /home/timeless/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:123
#5  0x08063053 in nsCOMPtr<nsIObserverService>::assign_from_helper (this=0xbfbff194, helper=@0xbfbff184, aIID=@0x806b8bc) at ../../dist/include/xpcom/nsCOMPtr.h:922
#6  0x08066753 in nsCOMPtr<nsIObserverService>::nsCOMPtr (this=0xbfbff194, helper=@0xbfbff184) at ../../dist/include/xpcom/nsCOMPtr.h:553
#7  0x282d3c44 in nsEventQueueImpl::NotifyObservers (this=0x8870e80, aTopic=0x283725cd "nsIEventQueueDestroyed") at /home/timeless/mozilla/xpcom/threads/nsEventQueue.cpp:220
#8  0x282d365c in nsEventQueueImpl::~nsEventQueueImpl (this=0x8870e80, __in_chrg=3) at /home/timeless/mozilla/xpcom/threads/nsEventQueue.cpp:135
#9  0x282d3a37 in nsEventQueueImpl::Release (this=0x8870e80) at /home/timeless/mozilla/xpcom/threads/nsEventQueue.cpp:189
#10 0x28321986 in nsCOMPtr<nsIEventQueue>::~nsCOMPtr (this=0x8a91908, __in_chrg=2) at ../../dist/include/xpcom/nsCOMPtr.h:490

Yes I know, shame on me for using NS_ASSERTION(0, ...)
Target Milestone: --- → Future
*** Bug 108047 has been marked as a duplicate of this bug. ***
Blocks: 107391
nsEventQueueImpl no longer exists.  see bug 326273.
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: nsIThreadManager
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.