[Adium-devl] Odd new WebKit leak in 1.0.4b4 - WebImageData
Evan Schoenberg
evan.s at dreskin.net
Thu May 17 19:05:41 UTC 2007
Opening and then closing a message view in 1.0.4b4 permanently adds
to memory. WIth the aid of OmniObjectMeter, it's clear that the vast
majority of the WebView heirarchy is indeed being released. However,
a WebImageData, WebImageRenderer, and WebTextRenderer get leaked
somehow alongisde each view... note that we never touch these three
classes directly.
WebImageData is a particularly problematic leak, because it allocs
(and, when deallocated, will free) significant chunks of memory for
displayed images. WebImageRenderer creates and retains it, so that
sticking around is the root cause.
Its pathway is:
alloc/init/autorelease by QPixmap::receivedData(QMemArray<char>
const&, bool, khtml::CachedImageCallback*) (retain count 1)
retain by QPixmap::receivedData(QMemArray<char> const&, bool,
khtml::CachedImageCallback*) (retain count 2)
release by NSAutoreleasePool (retain count 1)
I don't have further time to investigate this one... could someone(s)
please investigate it and see if it can be squashed?
-Evan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070517/4bb40dc9/attachment.sig>
More information about the devel
mailing list