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 686273 - deadlock in gst-rtsp-server
deadlock in gst-rtsp-server
Status: RESOLVED DUPLICATE of bug 686723
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2012-10-17 08:30 UTC by Ognyan Tonchev (redstar_)
Modified: 2012-10-25 07:14 UTC
See Also:
GNOME target: ---
GNOME version: ---

mark the app sources as LIVE (824 bytes, patch)
2012-10-17 08:30 UTC, Ognyan Tonchev (redstar_)
none Details | Review

Description Ognyan Tonchev (redstar_) 2012-10-17 08:30:18 UTC
Created attachment 226611 [details] [review]
mark the app sources as LIVE

The app sources are not marked as LIVE sources which means their create functions will be called with the LIVE mutex locked when setting state to PAUSED. Thus, the thread calling gst_element_set_state () will be blocked.
Comment 1 Ognyan Tonchev (redstar_) 2012-10-17 12:07:06 UTC
Note that this is a "sometimes"-problem, the hanging occurs when create () is called before gst_base_src_start_wait ().
Comment 2 Wim Taymans 2012-10-25 07:14:15 UTC

*** This bug has been marked as a duplicate of bug 686723 ***