Created attachment 573927 [details] ff8_soundinit_backtrace01.txt User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 Build ID: 20111111000051 Steps to reproduce: When the system does not play any sound for a while and the sound card goes idle, I can hear the speakers "clicking" every time I trigger some event (hover in menu, right click, and so on), indicating that the card wakes up from suspend. Actual results: Further investigation showed, that firefox calls the PlayEventSound function at each event, even though sound is not enabled and there is no sound to play. This includes the whole sound initialization routine, which causes the issue with clicking on the speakers. Attached is a full backlog which illustrates the issue in detail, with a breakpoint set to PR_LoadLibrary (mozilla/nsprpub/pr/src/linking/prlink.c). The breakpoint is hit when said type of events happens. Expected results: 1) The PlayEventSound function should not be called at all, when no sound is enabled 2) The whole initialization routine should not be done at every single event over and over again, but once, e.g. at startup, if sound is enabled This is reproducible on the recently released firefox 8, the previous firefox 7 and likely any newer and older revision down to ff 3 or 4. Only linux/gtk based releases should be affected.
You need to log in before you can comment on or make changes to this bug.