Bug#510459: vorbis-tools: ogg123 crashes or hangs when it cannot open the device

Clint Adams schizo at debian.org
Fri Jan 2 15:55:13 UTC 2009


On Fri, Jan 02, 2009 at 02:19:20AM +0100, Vincent Lefevre wrote:
> For instance:
> 
> [...]
> ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
> ALSA snd_pcm_open error: Device or resource busy
> Error: Cannot open device alsa.
> 
> zsh: segmentation fault  CHARSET=`locale charmap` \ogg123 --audio-buffer 128
> 
> It shouldn't crash, but return an error. Sometimes, instead of
> crashing, it hangs. This is probably the same bug as 225393 (now
> archived).
> 
> Note: I don't know why ogg123 cannot open the device, but this isn't
> particular to ogg123. I'll reboot the machine.

I can't reproduce this yet.  If I merely don't have permissions to the device
(as user nobody in this instance) I get

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
ALSA snd_pcm_open error: No such file or directory
Error: Cannot open device alsa.

and no segfault.

How about you?





More information about the pkg-xiph-maint mailing list