Bug 124752

Summary: [Win] Avoid deadlock when interacting with some AVFoundationCF content
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: MediaAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Blocker CC: commit-queue, eric.carlson, glenn, jer.noble
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Patch none

Brent Fulgham
Reported 2013-11-21 17:11:53 PST
Testing with certain media in WebKit revealed a deadlock in the CFNotification callback code. This bug corrects this problem.
Attachments
Patch (4.85 KB, patch)
2013-11-21 17:25 PST, Brent Fulgham
no flags
Brent Fulgham
Comment 1 2013-11-21 17:12:11 PST
Brent Fulgham
Comment 2 2013-11-21 17:25:26 PST
Brent Fulgham
Comment 3 2013-11-21 17:35:49 PST
Prevent deadlock caused by conflict over the "mapLock" mutex. Notification handling in the file, which modify assets and make other changes, are required to happen on the main thread. This patch enforces this requirement.
WebKit Commit Bot
Comment 4 2013-11-22 09:20:54 PST
Comment on attachment 217634 [details] Patch Clearing flags on attachment: 217634 Committed r159691: <http://trac.webkit.org/changeset/159691>
WebKit Commit Bot
Comment 5 2013-11-22 09:20:56 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.