<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - REGRESSION(r202556): [GStreamer] Deadlock trying to play a video"
href="https://bugs.webkit.org/show_bug.cgi?id=159396">159396</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>REGRESSION(r202556): [GStreamer] Deadlock trying to play a video
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Local Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Keywords</th>
<td>Gtk, Regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Platform
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>cgarcia@igalia.com
</td>
</tr>
<tr>
<th>CC</th>
<td>bugs-noreply@webkitgtk.org, pnormand@igalia.com, slomo@coaxion.net
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=282687" name="attach_282687" title="Backtrace">attachment 282687</a> <a href="attachment.cgi?id=282687&action=edit" title="Backtrace">[details]</a></span>
Backtrace
It seems the gst_pad_query_convert introduced in r202556 is causing another deadlock in the gst locks mess. The convert function starts a new query on the pad that ends up in gst_video_decoder_sink_query_default() that tries to get the GST_VIDEO_DECODER_STREAM_LOCK. But that lock is taken by another thread that calls gst_video_decoder_finish_frame -> gst_video_decoder_clip_and_push_buf -> gst_pad_push and this ends up waiting in gst_queue_chain_buffer_or_list. This has nothing to do with HLS deadlocks, I just tried to play a youtube video embedded in another website. See the backtraces attached.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>