Bug 17856 - crashes (when no working soundcard)
Summary: crashes (when no working soundcard)
Status: CLOSED WORKSFORME
Alias: None
Product: Branch 4.1
Classification: Distributions
Component: tuxpaint (show other bugs)
Version: unspecified
Hardware: all Linux
: P2 critical
Assignee: Slava Dubrovskiy
QA Contact: qa-4.1@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 00:45 MSK by Ivan Zakharyaschev
Modified: 2009-04-21 23:15 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2008-11-12 00:45:16 MSK
tuxpaint-0.9.19-alt2

It crashes like this (the GUI appears for a tiny while at the end, and then it crashes):

$ tuxpaint
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: Нет такого устройства
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned error: Нет такого устройства
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого устройства
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: Нет такого устройства
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default

Warning: I could not set up audio for 44100 Hz 16-bit stereo.
The Simple DirectMedia Layer error that occurred was:
No available audio device

Ошибка сегментирования
$ 

I don't know whether the fact that my soundcard is not working is important. 

But anyway, a good program shouldn't segfault, it should write an error message.

$ rpm -qa '*SDL*'
libSDL_mixer-1.2.8-alt1
libSDL_image-1.2.6-alt1
libSDL_ttf-2.0.9-alt1
libSDL_sound-1.0.1-alt2
libSDL-1.2.13-alt1
libSDL_pango-0.1.2-alt1
$ rpm -qa '*alsa*'
alsa-utils-1.0.15-alt1
alsa-oss-1.0.11-alt1
libalsa-1.0.15-alt1
alsa-tools-1.0.11-alt1
vlc-plugin-alsa-0.8.6i-alt0.M41.1
$
Comment 1 Slava Dubrovskiy 2008-11-29 19:32:19 MSK
(In reply to comment #0)
> tuxpaint-0.9.19-alt2
> 
> It crashes like this (the GUI appears for a tiny while at the end, and then it crashes):
Can you check tuxpaint-0.9.20-alt2.M41.1 ?
Comment 2 Slava Dubrovskiy 2009-04-21 23:15:53 MSD
Вроде работает