GNOME Bugzilla – Bug 624331
videobalance: deadlocks/freezes when changing "brightness" property
Last modified: 2010-08-04 11:47:32 UTC
Hi it seems that if I set "brightness" property on a videobalance too quickly (but I'm really not sure that it has anything to do with rate of change, it just happens randomly) the pipeline blocks at some point. Attaching a simple test case that reproduces it on my netbook (don't know if cpu speed is any way involved).
Created attachment 165868 [details] simple vala program to reproduce the freeze valac --pkg gstreamer-0.10 --pkg gtk+-2.0 balance-test-case.vala
Created attachment 165871 [details] thread apply all bt (during the lock)
Created attachment 165879 [details] [review] fix wrong lock order
Comment on attachment 165879 [details] [review] fix wrong lock order Let's wait with this after the release, there's another -good release coming up real soon anyway.
Ping ;) If I'm not mistaken -good is open for commits now.
It was already pushed. commit d5a4da9a6940a7abb0795ff49147c8a1608385fe Author: Alessandro Decina <alessandro.d@gmail.com> Date: Wed Jul 14 15:21:21 2010 +0200 videobalance: Fix wrong lock order that could lead to a deadlock. Fixes #624
My bad, didn't check if it was actually committed :P