CVS alsamixer core dumps when displaying Capture devices
Hi,
The latest CVS alsamixer is aborting as soon as I press "F4":
(gdb) where
#0 0xffffe410 in ?? ()
#1 0xbffff2e0 in ?? ()
#2 0x00000006 in ?? ()
#3 0x000051b4 in ?? ()
#4 0xb7dbe221 in *__GI_raise (sig=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#5 0xb7dbf979 in *__GI_abort () at ../sysdeps/generic/abort.c:88
#6 0xb7db7b16 in *__GI___assert_fail (assertion=0x0, file=0x0, line=0,
function=0xb7f893a3 "snd_mixer_selem_get_enum_item") at assert.c:83
#7 0xb7f1c31c in snd_mixer_selem_get_enum_item (elem=0x0,
channel=SND_MIXER_SCHN_FRONT_LEFT, itemp=0x0) at simple.c:1975#8 0x0804bc36 in mixer_update_cbar (elem_index=0) at alsamixer.c:971 #9 0x0804ea47 in main (argc=-1, argv=0x0) at alsamixer.c:1099
(gdb) list
1970 assert(elem->type == SND_MIXER_ELEM_SIMPLE); 1971 s = elem->private_data; 1972 if ((unsigned int) channel >= s->str[0].channels) 1973 return -EINVAL; 1974 helem = s->ctls[CTL_ENUMLIST].elem; 1975 assert(helem); 1976 memset(&ctl, 0, sizeof(ctl)); 1977 err = snd_hctl_elem_read(helem, &ctl); 1978 if (! err)
1979 *itemp = ctl.value.enumerated.item[channel];
I have a SB-Live! soundcard in this machine.
Cheers,
Chris
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005