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 532011 - Deadlock in rtpsession
Deadlock in rtpsession
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.8
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-07 18:50 UTC by Olivier Crête
Modified: 2018-12-11 20:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Unlock the lock when calling upwards (1.51 KB, patch)
2008-05-07 18:52 UTC, Olivier Crête
none Details | Review

Description Olivier Crête 2008-05-07 18:50:21 UTC
Rtpsession calls gstrtpsession with its lock held, it should release its lock.
Patch attached.
Comment 1 Olivier Crête 2008-05-07 18:52:15 UTC
Created attachment 110533 [details] [review]
Unlock the lock when calling upwards
Comment 2 Wim Taymans 2008-05-08 09:43:39 UTC
        Patch by: Olivier Crete <tester at tester dot ca>

        * gst/rtpmanager/rtpsession.c: (source_clock_rate),
        (rtp_session_process_bye), (rtp_session_send_bye_locked):
        Unlock the session lock when calling one of our callbacks.
        Fixes #532011.
Comment 3 Sebastian Dröge (slomo) 2018-12-11 20:29:32 UTC
10 years later, this causes hash table iterator invalidation (and as such an assertion) in a unit test every once in a while :)