Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174626 - frozen-bubble --no-sound still tries to use sound and fails
Summary: frozen-bubble --no-sound still tries to use sound and fails
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-14 21:33 UTC by Lee Harr
Modified: 2009-04-06 05:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Harr 2007-04-14 21:33:31 UTC
I use Gentoo as a terminal server for a dozen or so thin clients. The server does not have a sound card, and does not have sound configured. When trying to start the latest frozen-bubble, it crashes trying to use sound. Even when using the --no-sound flag, it still crashes ...

$ frozen-bubble  --no-sound
       [[ Frozen-Bubble-2.1.0 ]]

 http://www.frozen-bubble.org/

 Copyright (c) 2000-2006 The Frozen-Bubble Team.

   Artwork: Alexis Younes
            Amaury Amblard-Ladurantie
   Soundtrack: Matthias Le Bidan
   Design & Programming: Guillaume Cottenceau
   Level Editor: Kim and David Joham

 Originally sponsored by Mandriva <http://www.mandriva.com/>

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License version 2, as
 published by the Free Software Foundation.

[SDL Init] ALSA lib confmisc.c:848:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:397:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1248:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3972:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
[Graphics.Segmentation fault



I was eventually able to configure sound using the dummy module, but still this should not be necessary.


Reproducible: Always

Steps to Reproduce:
1.Run frozen-bubble on system with no sound configured

Actual Results:  
Crash.

Expected Results:  
Play frozen-bubble.
Comment 1 SpanKY gentoo-dev 2007-08-17 02:49:45 UTC
rebuild frozen-bubble with debugging and run it through gdb ... doesnt crash for me, but i dont feel like breaking down my box to disable sound
Comment 2 Tupone Alfredo gentoo-dev 2007-08-21 11:33:24 UTC
frozen bubble is a perl program.
It seems to me that is using sdl-perl (that use libsdl) to do is sound things, and SDL is initialized with everything available.
I think you should try to build libsdl with the "noaudio" use flag and then retry.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-04-06 05:05:45 UTC
bugzilla
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2009-04-06 05:05:58 UTC
works for me.