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 687896 - bufferpool: deadlock in GstBufferPool
bufferpool: deadlock in GstBufferPool
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.x
Other Windows
: Normal major
: 1.0.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-08 05:19 UTC by Matthew Waters (ystreet00)
Modified: 2012-11-20 23:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bufferpool: lock before unlock (763 bytes, patch)
2012-11-08 05:20 UTC, Matthew Waters (ystreet00)
none Details | Review

Description Matthew Waters (ystreet00) 2012-11-08 05:19:38 UTC
Running any element that creates and sets a bufferpool config deadlocks in _set_config() because _get_config() unlocks the mutex twice.
Comment 1 Matthew Waters (ystreet00) 2012-11-08 05:20:39 UTC
Created attachment 228435 [details] [review]
bufferpool: lock before unlock
Comment 2 Wim Taymans 2012-11-08 08:10:01 UTC
commit 718b6b2471cb10ddceadd07a001064e546808d00
Author: Matthew Waters <ystreet00@gmail.com>
Date:   Thu Nov 8 15:33:01 2012 +1100

    bufferpool: lock before unlock in _get_config
    
    Fixes deadlock on Windows
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=687896