[Bug 731015] v4l2src: deadlock on shutdown
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Jul 3 21:05:09 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=731015
GStreamer | gst-plugins-good | git
Nicolas Dufresne <nicolas.dufresne> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |1.4.0
--- Comment #10 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-07-03 19:34:38 UTC ---
Please test as much as possible. I did a lot already, but it's a bit tricky.
Note that there is no concurrent dqbuf calls.
commit 652ed3bceb4e31fcd5dea9fdc9525fafb3350968
Author: Nicolas Dufresne <nicolas.dufresne at collabora.com>
Date: Thu Jul 3 15:28:45 2014 -0400
v4l2bufferpool: Wait before polling if queue is empty
In kernel before 3.17, polling during queue underrun would unblock right
away and trigger POLLERR. As we are not handling POLLERR, we would endup
blocking in DQBUF call, which won't be unblocked correctly when going
to NULL state. A deadlock at start caused by locking error in libv4l2 was
also seen before this patch. Instead, we wait until the queue is no longer
empty before polling.
https://bugzilla.gnome.org/show_bug.cgi?id=731015
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gstreamer-bugs
mailing list