Over the last few days I've been having problems with arecord. 

Basically it writes the file header, prints its status line and then hangs 
at 100% CPU usage. Forcing a coredump reveals:

#0  0x40194eb7 in poll () from /lib/libc.so.6
#1  0x40058d4f in snd_pcm_wait (pcm=0x80595c0, timeout=-1) at pcm.c:1688
#2  0x4005d337 in snd_pcm_read_areas (pcm=0x80595c0, areas=0xbffff2f4,
    offset=0, size=1365, func=0x400636f0 <snd_pcm_plugin_read_areas>)
    at pcm.c:4995
#3  0x40063915 in snd_pcm_plugin_readi (pcm=0x80595c0, buffer=0x8059b70,
    size=1365) at pcm_plugin.c:277
#4  0x400576fc in snd_pcm_readi (pcm=0x8058fc0, buffer=0x8059b70, 
size=1365)
    at pcm_local.h:357
#5  0x804ca32 in pcm_read (data=0x8059b70 "", rcount=1365) at aplay.c:1007
#6  0x804e19d in capture_go (fd=3, count=176400, rtype=2,
    name=0xbffff767 "tmp.wav") at aplay.c:1660
#7  0x804e4de in capture (name=0xbffff767 "tmp.wav") at aplay.c:1747
#8  0x804b33f in main (argc=7, argv=0xbffff5b4) at aplay.c:499
#9  0x400e5c6f in __libc_start_main () from /lib/libc.so.6

I'm using kernel 2.4.10 with the low-latency patch, current CVS ALSA 
drivers, libs and utils, Midiman Audiophile card.

snd built with ALSA 0.9 support records OK, so it's probably not that deep 
down, but I can't see anything really glaring.

Using the hw:0 device gives an i/o error.

aplay is fine.

bash-2.05# ls -l /proc/asound/dev
total 0
crw-rw-rw-    1 root     root     116,   0 Dec  1 18:25 controlC0
crw-rw-rw-    1 root     root     116,   8 Dec  1 18:25 midiC0D0
crw-rw-rw-    1 root     root     116,  24 Dec  1 18:25 pcmC0D0c
crw-rw-rw-    1 root     root     116,  16 Dec  1 18:25 pcmC0D0p
crw-rw-rw-    1 root     root     116,   1 Dec  1 18:25 seq
crw-rw-rw-    1 root     root     116,  33 Dec  1 18:25 timer

I have done a full rebuild (make cvsclean or distclean and then 
cvscompile). 

TIA for any clues what I've done or what's gone wrong.

        James

-- 
James Tappin,               O__      "I forget the punishment for using
[EMAIL PROTECTED]     --  \/`    Microsoft --- Something lingering
http://www.xena.uklinux.net/          with data loss in it I fancy"  

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to