Closed Bug 137116 Opened 24 years ago Closed 11 years ago

DeviceContextImpl::~DeviceContextImpl() Getting service on shutdown. Denied. ContractID: @mozilla.org/observer-service;1

Categories

(Core Graveyard :: GFX, defect, P4)

x86
FreeBSD

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: timeless, Assigned: kmcclusk)

Details

Getting service on shutdown. Denied. ContractID: @mozilla.org/observer-service;1 IID: {d07f5192-e3d1-11d2-8acd-00105a1b8860} freebsd4.4 xlib cvs build from this morning #2 0x282e2b31 in nsDebug::Assertion (aStr=0x28332c88 "stop for contractid", aExpr=0x28332b08 "0", aFile=0x283320c0 "/home/timeless/mozilla/xpcom/components/nsComponentManager.cpp", aLine=2158) at /home/timeless/mozilla/xpcom/glue/nsDebug.cpp:291 #3 0x28289b65 in nsComponentManagerImpl::GetServiceByContractID (this=0x808a000, aContractID=0x280c4ae0 "@mozilla.org/observer-service;1", aIID=@0x8062b1c, result=0xbfbff2c0) at /home/timeless/mozilla/xpcom/components/nsComponentManager.cpp:2158 #4 0x282e56c6 in nsGetServiceByContractID::operator() (this=0xbfbff340, aIID=@0x8062b1c, aInstancePtr=0xbfbff2c0) at /home/timeless/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:121 #5 0x0805af27 in nsCOMPtr<nsIObserverService>::assign_from_helper (this=0xbfbff350, helper=@0xbfbff340, aIID=@0x8062b1c) at ../../dist/include/xpcom/nsCOMPtr.h:922 #6 0x0805e427 in nsCOMPtr<nsIObserverService>::nsCOMPtr (this=0xbfbff350, helper=@0xbfbff340) at ../../dist/include/xpcom/nsCOMPtr.h:553 #7 0x2809e83a in DeviceContextImpl::~DeviceContextImpl (this=0x8317b00, __in_chrg=3) at /home/timeless/mozilla/gfx/src/nsDeviceContext.cpp:69 #8 0x28dadb35 in nsDeviceContextX::~nsDeviceContextX (this=0x8317b00, __in_chrg=3) at /home/timeless/mozilla/gfx/src/xlib/nsDeviceContextX.h:57 #9 0x28d8c628 in nsDeviceContextXlib::~nsDeviceContextXlib (this=0x8317b00, __in_chrg=3) at /home/timeless/mozilla/gfx/src/xlib/nsDeviceContextXlib.cpp:108 #10 0x2809e523 in DeviceContextImpl::Release (this=0x8317b00) at /home/timeless/mozilla/gfx/src/nsDeviceContext.cpp:37 #11 0x2893930d in nsBaseWidget::OnDestroy (this=0x8317800) at /home/timeless/mozilla/widget/src/xpwidgets/nsBaseWidget.cpp:556 #12 0x28932de1 in nsWidget::OnDestroy (this=0x8317800) at /home/timeless/mozilla/widget/src/xlib/nsWidget.cpp:1044 #13 0x2893136c in nsWidget::Destroy (this=0x8317800) at /home/timeless/mozilla/widget/src/xlib/nsWidget.cpp:379 #14 0x289309da in nsWidget::~nsWidget (this=0x8317800, __in_chrg=3) at /home/timeless/mozilla/widget/src/xlib/nsWidget.cpp:163 #15 0x2893809f in nsBaseWidget::Release (this=0x8317800) at /home/timeless/mozilla/widget/src/xpwidgets/nsBaseWidget.cpp:59 #16 0x28932070 in nsWidget::Release (this=0x8317800) at /home/timeless/mozilla/widget/src/xlib/nsWidget.cpp:699 #17 0x2892b339 in nsClipboard::~nsClipboard (this=0x80d0680, __in_chrg=3) at /home/timeless/mozilla/widget/src/xlib/nsClipboard.cpp:95 #18 0x2892b120 in nsClipboard::Release (this=0x80d0680) at /home/timeless/mozilla/widget/src/xlib/nsClipboard.cpp:84 #19 0x282eadec in nsCOMPtr_base::assign_assuming_AddRef (this=0x812495c, newPtr=0x0) at /home/timeless/mozilla/xpcom/glue/nsCOMPtr.h:435 #20 0x282e2979 in nsCOMPtr_base::assign_with_AddRef (this=0x812495c, rawPtr=0x0) at /home/timeless/mozilla/xpcom/glue/nsCOMPtr.cpp:73 #21 0x282e98f5 in nsCOMPtr<nsISupports>::operator= (this=0x812495c, rhs=0x0) at ../../../dist/include/xpcom/nsCOMPtr.h:795 #22 0x28288c62 in FreeServiceContractIDEntryEnumerate (aTable=0x808a048, aHdr=0x813bff8, aNumber=345, aData=0x0) at /home/timeless/mozilla/xpcom/components/nsComponentManager.cpp:1837 #23 0x2822cc0e in PL_DHashTableEnumerate (table=0x808a048, etor=0x28288c10 <FreeServiceContractIDEntryEnumerate(PLDHashTable *, PLDHashEntryHdr *, unsigned int, void *)>, arg=0x0) at /home/timeless/mozilla/xpcom/ds/pldhash.c:600 #24 0x28288cf9 in nsComponentManagerImpl::FreeServices (this=0x808a000) at /home/timeless/mozilla/xpcom/components/nsComponentManager.cpp:1850 #25 0x2822baec in NS_ShutdownXPCOM (servMgr=0x0) at /home/timeless/mozilla/xpcom/build/nsXPComInit.cpp:549 I was trying to catch a stack for: ###!!! ASSERTION: already initialized: '!sWidget', file /home/timeless/mozilla/widget/src/xlib/nsClipboard.cpp, line 105 ###!!! Break: at file /home/timeless/mozilla/widget/src/xlib/nsClipboard.cpp, line 105 but i missed.
Priority: -- → P4
Summary: DeviceContextImpl::~DeviceContextImpl() Getting service on shutdown. Denied. ContractID: @mozilla.org/observer-service;1 → DeviceContextImpl::~DeviceContextImpl() Getting service on shutdown. Denied. ContractID: @mozilla.org/observer-service;1
Target Milestone: --- → Future
Product: Core → Core Graveyard
This bug has been buried in the graveyard and has not been updated in over 5 years. It is probably safe to assume that it will never be fixed, so resolving as WONTFIX. [Mass-change filter: graveyard-wontfix-2014-09-24]
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.