After upgrading from media-libs/sdl-mixer-1.2.9 to media-libs/sdl-mixer-1.2.10 games-arcade/frozen-bubble-2.2.0 fails to start with "at /usr/games/bin/frozen-bubble line 312". /usr/games/bin/frozen-bubble line 312 is "$sound{$_} = SDL::Sound->new($sound_path);" which leads me to believe it is definitely an SDL problem. Reproducible: Always Steps to Reproduce: 1.Start frozen-bubble 2.Observe Failure 3. Actual Results: frozen-bubble fails to initialize. Expected Results: frozen-bubble initializes. alex@alex-nc10 ~ $ emerge --info Portage 2.1.7.4 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r5-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 10 Nov 2009 01:00:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4, 3.1.1-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -mtune=generic -pipe -fomit-frame-pointer -mssse3 -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -mtune=generic -pipe -fomit-frame-pointer -mssse3 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa bash-completion berkdb bzip2 cli consolekit cracklib crypt cups custom-optimization dbus dga dri embedded encode fbcon firefox flac fortran gdbm gif google-gadgets gpm gtk hal iconv ipv6 joystick jpeg kde laptop lastfm lcms mikmod mmx mng modules mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl phonon plasma pm-utils png pppd python qt3 qt3support qt4 readline reflection samba scsi session smp spell spl sql sse sse2 sse3 ssl ssse3 svg symlink sysfs tcpd theora truetype unicode usb v4l v4l2 vorbis webkit wicd win32codecs wma x86 xine xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Just to note, reemerging frozen-bubble did not affect the crash.
No, it wouldn't. If frozen-bubble is critical for you, you can downgrade to sdl-mixer-1.2.8.
The problem is not limited to frozen bubble. Wesnoth is affected, too. "strace -e open wesnoth" shows: open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 14 20091112 21:55:23 error audio: Could not load music file '/usr/share/games/wesnoth/data/core/music/revelation.ogg': open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 15 open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 15 20091112 21:55:23 error audio: Could not load music file '/usr/share/games/wesnoth/data/core/music/revelation.ogg': open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 16 open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 16 20091112 21:55:23 error audio: Could not load music file '/usr/share/games/wesnoth/data/core/music/revelation.ogg': open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 17 open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 17 20091112 21:55:23 error audio: Could not load music file '/usr/share/games/wesnoth/data/core/music/revelation.ogg': open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 18 open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 18 20091112 21:55:23 error audio: Could not load music file '/usr/share/games/wesnoth/data/core/music/revelation.ogg': open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 19 open("/usr/share/games/wesnoth/data/core/music/revelation.ogg", O_RDONLY) = 19 until it runs out of file descriptors.
even more games are affected (all using sdl-mixer?) reproducable with mucade and fofix. probably an upstream bug
see if sdl-mixer-1.2.11 fixes things
> see if sdl-mixer-1.2.11 fixes things yes, 1.2.11 && rebuilding all apps depending on sdl-mixer (so.0 vs. so.1) fixes this.
> see if sdl-mixer-1.2.11 fixes things After emerging sdl-mixer-1.2.11, single player in frozen-bubble works. However, trying to start a two-player game crashes with a segmentation fault. I was unable to test net-play.
The two player issue is covered in bug #291858. This one is fixed by upgrading to sdl-mixer-1.2.11