GNOME Bugzilla – Bug 557333
gsd-media-keys-manager sometimes shows zero volume when it shouldn't
Last modified: 2008-10-22 16:41:21 UTC
Hi! I'm using gnome-settings-daemon from the Ubuntu repositories, version 2.24.0-0ubuntu3 (which is pretty much the same as the normal 2.24 one). And I'm getting a very weird bug: Sometimes when I change the volume using my laptop's volume keys the gsd-media-keys-window shows the volume as 0. However it's clearly not zero, as the sound continues normally at the correct volume. I've hacked some printf's into the sources to try to figure out what's going on but without much success. The only thing I've seen from my logs is that acme_volume_gstreamer_set_volume is called, it seems to do everything successfully, but next time acme_volume_gstreamer_get_volume gets called it calls update_state, which calculates a zero volume. The more precisely I try to corner the issue with printf's the harder it is to reproduce. (I just turn the volume all the way up and down; without printfs it happens at least once per cycle, with more it happens tens of times less often.) It seems there's a kind of race there, which is weird because as far as I can tell there's a single thread involved... I've seen this reported on Ubuntu forums, so I'm not the only one seeing it. I don't really know how to investigate further, maybe someone could guide me?
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 478498 ***