[Bug 503899] Re: Audio shutdown failure (hits watchdog)

Paul Sladen ubuntu at paul.sladen.org
Wed Jan 6 19:04:44 UTC 2010


<mezcalero> my guess is that one thread calls snd_pcm_close() while another one is still hanging in snd_pcm_writei()
<mezcalero> is that possible?
<mezcalero> ALSA is not thread safe
<mezcalero> you should not call alsa functions on the same object from two threads at the same time
<mezcalero> if you do things will go boom

is possibly a pointer that multiple thread aren't helping;  eg. if
allocation was doing in one thread, that same thread should probably
also perform shutdown and cleanup.  Whether that should be the
application of the library doing that locking remains to be seen...

-- 
Audio shutdown failure (hits watchdog)
https://bugs.launchpad.net/bugs/503899
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list