Closed Bug 789 Opened 26 years ago Closed 26 years ago

about:blank leaks

Categories

(Core Graveyard :: GFX, defect, P2)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: troy, Assigned: michaelp)

Details

Michael, Purify is reporting major leaks when bringing up the viewer with the about:blank URL and then quiting. [W] MLK: Memory leak of 80 bytes from 1 block allocated in nsGfxFactoryWin::CreateInstance(nsISupports *,nsID const&,void * *) [W] MLK: Memory leak of 256 bytes from 1 block allocated in DeviceContextImpl::DeviceContextImpl(void) [W] MLK: Memory leak of 24 bytes from 1 block allocated in NS_NewFontCache [W] MLK: Memory leak of 48 bytes from 1 block allocated in nsFontMetricsWin::new(UINT) [W] MLK: Memory leak of 28 bytes from 1 block allocated in nsFontMetricsWin::Init(nsFont const&,nsIDeviceContext *) [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 4 bytes from 1 block allocated in DeviceContextImpl::CreateFontAliasTable(void) [W] MLK: Memory leak of 32 bytes from 1 block allocated in PR_Malloc [W] MLK: Memory leak of 1024 bytes from 1 block allocated in PR_Malloc [W] MLK: Memory leak of 16 bytes from 1 block allocated in nsString::ToNewString(void)const [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 84 bytes from 1 block allocated in StringKey::Clone(void)const [W] MLK: Memory leak of 32 bytes from 2 blocks allocated in PR_Malloc [W] MLK: Memory leak of 16 bytes from 1 block allocated in nsString::ToNewString(void)const [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 84 bytes from 1 block allocated in StringKey::Clone(void)const [W] MLK: Memory leak of 32 bytes from 2 blocks allocated in PR_Malloc [W] MLK: Memory leak of 32 bytes from 1 block allocated in nsVoidArray::InsertElementAt(void *,int) [W] MLK: Memory leak of 80 bytes from 1 block allocated in nsGfxFactoryWin::CreateInstance(nsISupports *,nsID const&,void * *) [W] MLK: Memory leak of 256 bytes from 1 block allocated in DeviceContextImpl::DeviceContextImpl(void) [W] MLK: Memory leak of 24 bytes from 1 block allocated in NS_NewFontCache [W] MLK: Memory leak of 48 bytes from 1 block allocated in nsFontMetricsWin::new(UINT) [W] MLK: Memory leak of 28 bytes from 1 block allocated in nsFontMetricsWin::Init(nsFont const&,nsIDeviceContext *) [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 4 bytes from 1 block allocated in DeviceContextImpl::CreateFontAliasTable(void) [W] MLK: Memory leak of 32 bytes from 1 block allocated in PR_Malloc [W] MLK: Memory leak of 1024 bytes from 1 block allocated in PR_Malloc [W] MLK: Memory leak of 16 bytes from 1 block allocated in nsString::ToNewString(void)const [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 84 bytes from 1 block allocated in StringKey::Clone(void)const [W] MLK: Memory leak of 16 bytes from 1 block allocated in nsString::ToNewString(void)const [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 84 bytes from 1 block allocated in StringKey::Clone(void)const [W] MLK: Memory leak of 32 bytes from 1 block allocated in nsVoidArray::InsertElementAt(void *,int) [W] MLK: Memory leak of 80 bytes from 1 block allocated in nsGfxFactoryWin::CreateInstance(nsISupports *,nsID const&,void * *) [W] MLK: Memory leak of 256 bytes from 1 block allocated in DeviceContextImpl::DeviceContextImpl(void) [W] MLK: Memory leak of 24 bytes from 1 block allocated in NS_NewFontCache [W] MLK: Memory leak of 48 bytes from 1 block allocated in nsFontMetricsWin::new(UINT) [W] MLK: Memory leak of 28 bytes from 1 block allocated in nsFontMetricsWin::Init(nsFont const&,nsIDeviceContext *) [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 4 bytes from 1 block allocated in DeviceContextImpl::CreateFontAliasTable(void) [W] MLK: Memory leak of 32 bytes from 1 block allocated in PR_Malloc [W] MLK: Memory leak of 1024 bytes from 1 block allocated in PR_Malloc [W] MLK: Memory leak of 16 bytes from 1 block allocated in nsString::ToNewString(void)const [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 84 bytes from 1 block allocated in StringKey::Clone(void)const [W] MLK: Memory leak of 32 bytes from 2 blocks allocated in PR_Malloc [W] MLK: Memory leak of 16 bytes from 1 block allocated in nsString::ToNewString(void)const [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 84 bytes from 1 block allocated in StringKey::Clone(void)const [W] MLK: Memory leak of 32 bytes from 2 blocks allocated in PR_Malloc [W] MLK: Memory leak of 32 bytes from 1 block allocated in nsVoidArray::InsertElementAt(void *,int) [I] MPK: Potential memory leak of 136 bytes from 1 block allocated in nsWidgetFactory::CreateInstance(nsISupports *,nsID const&,void * *) [W] MLK: Memory leak of 80 bytes from 1 block allocated in nsGfxFactoryWin::CreateInstance(nsISupports *,nsID const&,void * *) [W] MLK: Memory leak of 256 bytes from 1 block allocated in DeviceContextImpl::DeviceContextImpl(void) [W] MLK: Memory leak of 24 bytes from 1 block allocated in NS_NewFontCache [W] MLK: Memory leak of 48 bytes from 1 block allocated in nsFontMetricsWin::new(UINT) [W] MLK: Memory leak of 28 bytes from 1 block allocated in nsFontMetricsWin::Init(nsFont const&,nsIDeviceContext *) [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 4 bytes from 1 block allocated in DeviceContextImpl::CreateFontAliasTable(void) [W] MLK: Memory leak of 32 bytes from 1 block allocated in PR_Malloc [W] MLK: Memory leak of 1024 bytes from 1 block allocated in PR_Malloc [W] MLK: Memory leak of 16 bytes from 1 block allocated in nsString::ToNewString(void)const [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 84 bytes from 1 block allocated in StringKey::Clone(void)const [W] MLK: Memory leak of 16 bytes from 1 block allocated in nsString::ToNewString(void)const [W] MLK: Memory leak of 34 bytes from 1 block allocated in nsString::EnsureCapacityFor(int) [W] MLK: Memory leak of 84 bytes from 1 block allocated in StringKey::Clone(void)const [W] MLK: Memory leak of 32 bytes from 1 block allocated in nsVoidArray::InsertElementAt(void *,int)
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
reworked fontcache and metrics ownership.
Troy provide a test case for verification
installing myself as QA Contact en masse
Status: RESOLVED → VERIFIED
marking verified per reporter
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.