Bug 178819

Summary: [MSE][GStreamer] Fix hang on clearing/destroying AppendPipeline
Product: WebKit Reporter: Enrique Ocaña <eocanha>
Component: MediaAssignee: Enrique Ocaña <eocanha>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Enrique Ocaña
Reported 2017-10-25 11:40:24 PDT
A deadlock may occur when UI thread tries to clear pipeline in AppendPipeline::clearPlayerPrivate() while parser thread tries to change pipeline state to pause holding the stream lock in AppendPipeline::connectDemuxerSrcPadToAppsinkFromAnyThread(). This issue has been fixed downstream in https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/392
Attachments
Patch (1.93 KB, patch)
2017-10-25 11:45 PDT, Enrique Ocaña
no flags
Enrique Ocaña
Comment 1 2017-10-25 11:45:43 PDT
WebKit Commit Bot
Comment 2 2017-10-26 03:31:42 PDT
Comment on attachment 324859 [details] Patch Clearing flags on attachment: 324859 Committed r224012: <https://trac.webkit.org/changeset/224012>
WebKit Commit Bot
Comment 3 2017-10-26 03:31:44 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4 2017-11-15 12:45:25 PST
Note You need to log in before you can comment on or make changes to this bug.