Bug 124752 - [Win] Avoid deadlock when interacting with some AVFoundationCF content
Summary: [Win] Avoid deadlock when interacting with some AVFoundationCF content
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P1 Blocker
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-11-21 17:11 PST by Brent Fulgham
Modified: 2013-11-22 09:20 PST (History)
4 users (show)

See Also:


Attachments
Patch (4.85 KB, patch)
2013-11-21 17:25 PST, Brent Fulgham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 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.
Comment 1 Brent Fulgham 2013-11-21 17:12:11 PST
<rdar://problem/15482977>
Comment 2 Brent Fulgham 2013-11-21 17:25:26 PST
Created attachment 217634 [details]
Patch
Comment 3 Brent Fulgham 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.
Comment 4 WebKit Commit Bot 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>
Comment 5 WebKit Commit Bot 2013-11-22 09:20:56 PST
All reviewed patches have been landed.  Closing bug.