Bug 113664

Summary: NetworkProcess crashes in WebCoreResourceHandleAsOperationQueueDelegate callbacks
Product: WebKit Reporter: Brady Eidson <beidson>
Component: PlatformAssignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, sam
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Attachments:
Description Flags
Patch v1 mitz: review+

Description Brady Eidson 2013-03-31 13:01:03 PDT
NetworkProcess crashes in WebCoreResourceHandleAsOperationQueueDelegate callbacks

In the "two part" callbacks that do a dispatch_async followed by a dispatch_semaphore_wait the delegate might have been released and destroyed by the time the semaphore returns.

This is bad, and can be fixed with a RetainPtr<> protector.

In radar as <rdar://problem/13541868>
Comment 1 Brady Eidson 2013-03-31 13:04:07 PDT
Created attachment 195904 [details]
Patch v1
Comment 2 Brady Eidson 2013-03-31 13:12:21 PDT
http://trac.webkit.org/changeset/147287