You are not logged in.

#1 2013-12-05 11:55:12

jiaxi
Member
Registered: 2012-10-29
Posts: 5

File descriptor in bad state

I get the log of fd in bad state when using aplay to play the wav file.

ALSA lib pcm_dmix.c:1068:(snd_pcm_dmix_open) unable to open slave
File descriptor in bad state

And i check the fd of /dev/pcmC0D0p. I can get the result:
# ls -l /proc/1384/fd
lr-x------ 1 root root 64 Dec 5 22:20 19 -> /dev/timer
lrwx------ 1 root root 64 Dec 5 22:20 2 -> /dev/console
lrwx------ 1 root root 64 Dec 5 22:20 20 -> socket:[4365]
lrwx------ 1 root root 64 Dec 5 22:20 21 -> socket:[4371]
lrwx------ 1 root root 64 Dec 5 22:20 23 -> /dev/pcmC0D0p (deleted)

when i kill the pid of 1384,the aplay can work well.

Why?

Offline

Board footer

Powered by FluxBB