Bug 19808
Summary: | LEAK: leak from WebCore::ImageSource::isSizeAvailable() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Cameron Zwarich (cpst) <zwarich> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | Keywords: | InRadar |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 |
Cameron Zwarich (cpst)
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
This leak looks like it is inside ImageIO's color management rather than in WebKit itself.
Mark Rowe (bdash)
<rdar://problem/6042385>
Mark Rowe (bdash)
Moved to Radar and sent to ImageIO.