--- alsa-lib-1.0.6/src/pcm/pcm.c 2004-05-04 16:13:23.000000000 +0100 +++ alsa-lib-1.0.6.new/src/pcm/pcm.c 2004-11-11 23:46:13.318671120 +0000 @@ -2091,7 +2091,7 @@ } } err = snd_pcm_poll_descriptors(pcm, &pfd, 1); - assert(err == 1); + if (err <= 0) return err; __retry: err_poll = poll(&pfd, 1, timeout); if (err_poll < 0)