Bug 94679 - WebCore scrolling thread leaks objects due to them being autoreleased without any autorelease pool in place
Summary: WebCore scrolling thread leaks objects due to them being autoreleased without...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Rowe (bdash)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-22 01:35 PDT by Mark Rowe (bdash)
Modified: 2012-08-22 11:59 PDT (History)
4 users (show)

See Also:


Attachments
Patch v1 (2.04 KB, patch)
2012-08-22 01:37 PDT, Mark Rowe (bdash)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.