Bug 19808 - LEAK: leak from WebCore::ImageSource::isSizeAvailable()
Summary: LEAK: leak from WebCore::ImageSource::isSizeAvailable()
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-06-28 22:27 PDT by Cameron Zwarich (cpst)
Modified: 2008-06-28 23:09 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Zwarich (cpst) 2008-06-28 22:27:59 PDT
I found this by running the stress test with MallocStackLogging enabled:

Leak: 0x1a367600  size=3072	string 'Photoshop ICC profile'
	Call stack: [thread 0xa05a0fa0]: | 0xba4d6 | NSApplicationMain | -[NSApplication run] | 0x86be | -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent | BlockUntilNextEventMatchingListInMode | ReceiveNextEventCommon | RunCurrentEventLoopInMode | CFRunLoopRunInMode | CFRunLoopRunSpecific | muxerSourcePerform | _CFURLConnectionSendCallbacks | sendDidReceiveDataCallback | _NSURLConnectionDidReceiveData | -[NSURLConnection(NSURLConnectionReallyInternal) sendDidReceiveData:originalLength:] | -[WebCoreResourceHandleAsDelegate connection:didReceiveData:lengthReceived:] | WebCore::ResourceLoader::didReceiveData(WebCore::ResourceHandle*, char const*, int, int) | WebCore::SubresourceLoader::didReceiveData(char const*, int, long long, bool) | WebCore::Loader::Host::didReceiveData(WebCore::SubresourceLoader*, char const*, int) | WebCore::CachedImage::data(WTF::PassRefPtr<WebCore::SharedBuffer>, bool) | WebCore::Image::setData(WTF::PassRefPtr<WebCore::SharedBuffer>, bool) | WebCore::BitmapImage::dataChanged(bool) | WebCore::BitmapImage::isSizeAvailable() | WebCore::ImageSource::isSizeAvailable() | CGImageSourceCopyPropertiesAtIndex | CGImageSourceGetPropertiesAtIndex | makeImagePlus | _CGImagePluginInitPNG | _cg_png_read_info | png_handle_iCCP | png_malloc | malloc | malloc_zone_malloc
Comment 1 Mark Rowe (bdash) 2008-06-28 22:31:54 PDT
This leak looks like it is inside ImageIO's color management rather than in WebKit itself.
Comment 2 Mark Rowe (bdash) 2008-06-28 23:07:40 PDT
<rdar://problem/6042385>
Comment 3 Mark Rowe (bdash) 2008-06-28 23:09:55 PDT
Moved to Radar and sent to ImageIO.