WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
133762
[Win] Avoid deadlock with AVFoundation
https://bugs.webkit.org/show_bug.cgi?id=133762
Summary
[Win] Avoid deadlock with AVFoundation
Brent Fulgham
Reported
2014-06-11 13:54:37 PDT
If WebKit is allowed to loop various kinds of media content for long periods of time, we sometimes run into a deadlock between AVFoundationCF and the AVFWrapper mutex used to protect individual AVF playback instances. This deadlock happens because in some cases a notification will trigger on the main thread, which will immediately begin executing handler content without releasing the AVFWrapper container mutex used to prevent deleting AVFWrapper instances while they are still being used. For Windows, we should tell WebKit to always invoke these handlers asynchronously so that we do not encounter this deadlock.
Attachments
Patch
(1.74 KB, patch)
2014-06-11 14:03 PDT
,
Brent Fulgham
eric.carlson
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2014-06-11 14:03:20 PDT
Created
attachment 232901
[details]
Patch
Brent Fulgham
Comment 2
2014-06-11 14:04:15 PDT
<
rdar://problem/17128248
>
Brent Fulgham
Comment 3
2014-06-11 14:41:28 PDT
Note: The EWS error is due to a problem on the build machine, not this patch.
Brent Fulgham
Comment 4
2014-06-11 14:45:34 PDT
Committed
r169842
: <
http://trac.webkit.org/changeset/169842
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug