Bug 19807
| 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: 0x5aa9e00 size=3072 string 'text'
Call stack: [thread 0xa05a0fa0]: | 0xba4d6 | NSApplicationMain | -[NSApplication run] | 0x86be | -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] | _DPSNextEvent | _NSHandleCarbonMenuEvent | _HandleMenuSelection | _HandleMenuSelection2 | MenuSelectCore(MenuData*, Point, double, unsigned long, OpaqueMenuRef**, unsigned short*) | TrackMenuCommon(MenuSelectData&, unsigned char*) | IsUserStillTracking(MenuSelectData*, unsigned char*) | 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 | ScratchInit | IOCreateAndOpen | stdSmartNewHandle | stdSmartNewPtr | 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.
Cameron Zwarich (cpst)
This has already been reported as <rdar://problem/5667268> and is not a WebKit issue.