Status

defect
P2
normal
VERIFIED FIXED
21 years ago
10 years ago

People

(Reporter: troy, Assigned: michaelp)

Tracking

Trunk
x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

21 years ago
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)
(Assignee)

Updated

21 years ago
Status: NEW → RESOLVED
Last Resolved: 21 years ago
Resolution: --- → FIXED
(Assignee)

Comment 1

21 years ago
reworked fontcache and metrics ownership.

Comment 2

21 years ago
Troy provide a test case for verification

Comment 3

21 years ago
installing myself as QA Contact en masse

Updated

21 years ago
Status: RESOLVED → VERIFIED

Comment 4

21 years ago
marking verified per reporter
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.