[Bug 774654] Flushing can hang if output port queue of pending buffers is empty

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Nov 26 02:03:09 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774654

--- Comment #4 from minfrin at sharp.fm ---
We appear to be deadlocked here in gstomx.c:

  if (!g_queue_is_empty (&comp->messages)) {
    signalled = TRUE;
  } else if (timeout == GST_CLOCK_TIME_NONE) {
    GST_ERROR_OBJECT (comp->parent, "%s waiting for signal", comp->name);
// we hang on g_cond_wait
    g_cond_wait (&comp->messages_cond, &comp->messages_lock);
    GST_ERROR_OBJECT (comp->parent, "%s finished waiting for signal",
comp->name);
    signalled = TRUE;
  } else {
    signalled =
        g_cond_wait_until (&comp->messages_cond, &comp->messages_lock,
        wait_until);
  }

It looks like we're waiting for callbacks from the GPU, and these callbacks
never arrive.

-- 
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