Bug 19812
Summary: | LEAK: leak from WebCore::BitmapImage::getTIFFRepresentation() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Cameron Zwarich (cpst) <zwarich> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | ||
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: 0x14e97830 size=176 instance of 'CMProfile', type CFType, implemented in ColorSync
0xa092fee0 0x01010d80 0x70726f66 0x00000000 ........forp....
0x05e6fc00 0x05fa1a00 0x000002c0 0x6170706c ............lppa
0x02000000 0x6d6e7472 0x52474220 0x58595a20 ....rtnm BGR ZYX
0x000607d8 0x0000001d 0x00000000 0x61637370 ............psca
0x4150504c 0x00000000 0x00000000 0x00000000 LPPA............
0x00000000 0x00000000 0x00000000 0x0000f6d6 ................
0x00010000 0x0000d32d 0x6170706c 0x00000000 ....-...lppa....
0x00000000 0x00000000 0x00000000 0x00000000 ................
...
Call stack: [thread 0xa05a0fa0]: | 0xba4d6 | NSApplicationMain | -[NSApplication run] | 0x86be | -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent | BlockUntilNextEventMatchingListInMode | ReceiveNextEventCommon | RunCurrentEventLoopInMode | CFRunLoopRunInMode | CFRunLoopRunSpecific | __NSThreadPerformPerform | +[NSNotificationCenter(WebNSNotificationCenterExtras) _postNotificationName:] | -[NSNotificationCenter postNotificationName:object:userInfo:] | _CFXNotificationPostNotification | __CFXNotificationPost | _nsnote_callback | 0x4052c | -[WebIconDatabase iconForURL:withSize:] | -[WebIconDatabase iconForURL:withSize:cache:] | webGetNSImage(WebCore::Image*, _NSSize) | WebCore::BitmapImage::getNSImage() | WebCore::BitmapImage::getTIFFRepresentation() | CGImageDestinationFinalize | _CGImagePluginWriteTIFF | writeOne | writeICCData | CMSGetICCProfileData | CMOpenProfile | CMOpenOrNewAccess | CMProfileCreate | _CFRuntimeCreateInstance | malloc_zone_malloc
This is a very common leak in the leaks output.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Cameron Zwarich (cpst)
This has already been reported as <rdar://problem/5667268> and is not a WebKit issue.