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 745434 - rtsp-media: abort when calling gst_rtsp_media_get_buffer_size()
rtsp-media: abort when calling gst_rtsp_media_get_buffer_size()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
1.4.5
Other Linux
: Normal minor
: 1.4.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-02 10:02 UTC by gregor.boirie
Modified: 2016-01-08 18:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtsp-media: double g_mutex_unlock() typo fix (833 bytes, patch)
2015-03-02 10:02 UTC, gregor.boirie
committed Details | Review

Description gregor.boirie 2015-03-02 10:02:40 UTC
Created attachment 298262 [details] [review]
rtsp-media: double g_mutex_unlock() typo fix

Calling gst_rtsp_media_get_buffer_size () aborts because of double g_mutex_unlock () usage. Typical error message is:

*****
Attempt to unlock mutex that was not locked
Aborted
*****

The simple attached patch fixes this for me for custom gstreamer build from 1.4 branch running on Debian.
Comment 1 Tim-Philipp Müller 2015-03-02 10:53:00 UTC
Oops, thanks for the patch!

commit bc7765eee7a23c602a71d796c66a73a43fb48073
Author: Gregor Boirie <gregor.boirie@parrot.com>
Date:   Fri Feb 27 17:45:42 2015 +0100

    rtsp-media: fix double unlock in _get_buffer_size()
    
    Fixes an abort when calling gst_rtsp_media_get_buffer_size()
    because of double g_mutex_unlock () usage.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745434
Comment 2 Tim-Philipp Müller 2016-01-08 18:43:51 UTC
Forgot to close this it seems..