[Bug 797203] shmsrc: race condition when stopping
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Sep 28 12:18:10 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=797203
--- Comment #6 from Josep Torra Valles <n770galaxy at gmail.com> ---
I'd wrote a test.
https://cgit.freedesktop.org/~adn770/gst-plugins-bad/commit/?h=shm-fixes&id=7a94096efd9effd0731ae12398e4c07e6a45c68d
And a fix for the issue.
https://cgit.freedesktop.org/~adn770/gst-plugins-bad/commit/?h=shm-fixes&id=fb8c6686813f1535f1be33d2b28b9b54b07d2f8c
The problem is that the test also exhibits that there's a racy deadlock
situation and I'm not sure how to fix it. I have the feeling that the issue
comes from mostly from shmsink but not completely sure.
Olivier do you have any idea on what should be done to fix the race?
To reproduce it just run the test multiple times.
--
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