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 421177 - Possible deadlock if pad eventfunc is not specified
Possible deadlock if pad eventfunc is not specified
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal minor
: 0.10.13
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-21 19:19 UTC by syrjala
Modified: 2007-03-22 08:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix locking (565 bytes, patch)
2007-03-21 19:23 UTC, syrjala
committed Details | Review

Description syrjala 2007-03-21 19:19:36 UTC
gst_pad_send_event() forgets to unlock the stream lock if the pad has no eventfunc.
Comment 1 syrjala 2007-03-21 19:23:46 UTC
Created attachment 85067 [details] [review]
Fix locking
Comment 2 Wim Taymans 2007-03-22 08:23:48 UTC
        Patch by: <syrjala at sci dot fi>

        * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
        Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
        Improve debugging.