[Bug 734688] gsttask: Deadlock when running gst_task_join()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 13 08:45:03 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734688
  GStreamer | gstreamer (core) | 1.2.4

--- Comment #8 from Linus Svensson <linus.svensson at axis.com> 2014-08-13 15:45:00 UTC ---
This does not reproduce that easy. I'll have to wait at least one day to know
if your patch helps slomo.

The deadlock occurs here in gst_rtsp_stream_leave_bin:

1843          gst_bin_remove (bin, priv->appqueue[i]);
(gdb) list
1842        if (priv->appqueue[i])
1843          gst_bin_remove (bin, priv->appqueue[i]);
1844        if (priv->tee[i])
1845          gst_bin_remove (bin, priv->tee[i]);

In the backtrace, I guess that thread 8 (rtsp thread pool) and thread 10 (task
thread for queue) are of interest.

In thread 8, one can see that this wait's for a task to finish (namely the
streaming thread in queue's task). But that task is executing the loop function
in gstqueue.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list