After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320340 - triggering a gst_task_join from the streaming task can deadlock
triggering a gst_task_join from the streaming task can deadlock
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Low enhancement
: 0.10.4
Assigned To: Wim Taymans
GStreamer Maintainers
: 329890 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-31 19:38 UTC by Thomas Vander Stichele
Modified: 2006-02-14 09:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Vander Stichele 2005-10-31 19:38:05 UTC
the implementation should probably throw a warning/error and return FALSE
instead.  a unit test for this should be added as well.

documentation should be added to GstElement to explain typical cases how this
could be triggered; for example, setting state from a buffer probe callback
Comment 1 Andy Wingo 2005-11-29 17:49:40 UTC
This is a programming error; the function cannot be called from the streaming
thread. However we should probably be nicer to programmers and detect this
deadlock, giving them a nice error. Still a valid bug but not an api bug and not
a blocker.
Comment 2 Wim Taymans 2006-02-13 17:06:54 UTC
fixed in CVS.
Comment 3 Wim Taymans 2006-02-14 09:07:40 UTC
*** Bug 329890 has been marked as a duplicate of this bug. ***
Comment 4 Wim Taymans 2006-02-14 09:08:59 UTC
note, gstreamer core will now complain when trying to shut down streaming from the streaming thread.