<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39990 >

This is a follow-up to http://qa.mandriva.com/show_bug.cgi?id=33527

Steps to reproduce:
a) disable sound ("service alsa stop" or remove rights on audio devices)

b1) lauch freeciv with "SDL_AUDIODRIVER="alsa" civclient"
Result: freeciv works (same error messages as below)

b2) try to launch freeciv
Result: freeciv crashes

(gdb) run
Starting program: /usr/games/civclient
[Thread debugging using libthread_db enabled]
[New Thread -1214060848 (LWP 6723)]
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: No such device
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: No such device
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: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
1: Error calling Mix_OpenAudio
1: Plugin sdl found but can't be initialized.
2: No real audio subsystem managed to initialize!
2: Perhaps there is some misconfiguration or bad permissions
2: Proceeding with sound support disabled

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1214060848 (LWP 6723)]
0x4d429e40 in ?? ()
(gdb) bt
#0  0x4d429e40 in ?? ()
#1  0x4cbe33f2 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
#2  0x4cbb9c3a in g_hash_table_new_full () from /usr/lib/libglib-2.0.so.0
#3  0x4cbb9cc7 in g_hash_table_new () from /usr/lib/libglib-2.0.so.0
#4  0x4cbb3442 in g_quark_from_static_string () from /usr/lib/libglib-2.0.so.0
#5  0x4cdee0f9 in g_type_init_with_debug_flags () from
#6  0x4cdee2bf in g_type_init () from /usr/lib/libgobject-2.0.so.0
#7  0xb7aef885 in gdk_pre_parse_libgtk_only () from
#8  0xb7cb13d2 in gtk_main_quit () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x4cbd417e in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
#10 0xb7cb0f21 in gtk_parse_args () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7cb0fa3 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb7cb0fe3 in gtk_init () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x0810b093 in gtk_main_quit ()
#14 0x08058351 in gtk_main_quit ()
#15 0x4c56cf90 in __libc_start_main () from /lib/i686/libc.so.6
#16 0x080529b1 in gtk_main_quit ()

Freeciv-dev mailing list

Reply via email to