Bug 94679

Summary: WebCore scrolling thread leaks objects due to them being autoreleased without any autorelease pool in place
Product: WebKit Reporter: Mark Rowe (bdash) <mrowe>
Component: WebCore Misc.Assignee: Mark Rowe (bdash) <mrowe>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, jamesr, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch v1 none

Description Mark Rowe (bdash) 2012-08-22 01:35:31 PDT
I've noticed a few times recently messages from the Objective-C runtime about autoreleased objects being leaked due to there being no autorelease pool in place. In a debugger I determined that the objects in question are allocated on the WebCore scrolling thread from within AppKit. The ScrollingThread class does not appear to set up any autorelease pool for code that is called by its runloop source.
Comment 1 Mark Rowe (bdash) 2012-08-22 01:37:21 PDT
Created attachment 159880 [details]
Patch v1
Comment 2 WebKit Review Bot 2012-08-22 11:59:47 PDT
Comment on attachment 159880 [details]
Patch v1

Clearing flags on attachment: 159880

Committed r126326: <http://trac.webkit.org/changeset/126326>
Comment 3 WebKit Review Bot 2012-08-22 11:59:50 PDT
All reviewed patches have been landed.  Closing bug.