Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157992 - media-sound/alsa-{driver,libs}-1.0.14_rc1 mismatch w/ emul-* breaks sound in 32bit apps
Summary: media-sound/alsa-{driver,libs}-1.0.14_rc1 mismatch w/ emul-* breaks sound in ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 158090 158098 158302 158364 158368 160747 (view as bug list)
Depends on:
Blocks: 158678
  Show dependency tree
 
Reported: 2006-12-13 01:14 UTC by didier fabert
Modified: 2008-02-10 21:43 UTC (History)
12 users (show)

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 didier fabert 2006-12-13 01:14:33 UTC
Hi,

aoss32 is out of order with the alsa-1.0.14_rc1 version. all is running with 
the alsa-1.0.14_pre20061130 version. it's for using teamspeak and armyops in the same time.

emerge --info
Portage 2.1.2_rc3 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.6
Last Sync: Wed, 13 Dec 2006 07:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo "
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gphoto2 gpm gstreamer gtk2 hal iconv input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdeenablefinal kernel_linux ldap libg++ linguas_fr mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session spell spl ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales v4l video_cards_nv vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-13 01:28:53 UTC
(In reply to comment #0)
> aoss32 is out of order with the alsa-1.0.14_rc1 version

Hmmm? What do you mean "out of order"?
Comment 2 didier fabert 2006-12-13 01:50:27 UTC
no sound. when i launch TeamSpeak, sound and micro are muted. (launch by the 'aoss32 TeamSpeak' command), exactly the same on the armyops program (launch by the 'aoss32 armyops' command) : no sound. it's working correctly before i've an updated alsa ( alsa-headers-1.0.14_rc1, alsa-lib-1.0.14_rc1, alsa-utils-1.0.14_rc1), or without aoss32.
is there a mismatch version between emul-linux-x86-soundlibs and alsa?
Comment 3 Bernard Cafarelli gentoo-dev 2006-12-13 04:35:54 UTC
Not directly related to aoss32, but I suspect too there is an incompatibility between alsa 0.14_rc1 and emul soundlibs:

I updated all my alsa setup to 0.14_rc1 for the new 2.6.19 kernel, sound works fine in 64bit, but now mplayer-bin says (using alsa output which worked before):
alsa-init: using device default
alsa-lib: pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_empty.so
alsa-init: playback open error: No such file or directory
Could not open/initialize audio device -> no sound.
Audio: no sound

mplayer in my 32bit chroot has sound fine too, but the chroot is up-to-date with 0.14_rc1 ;)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-13 04:53:10 UTC
Hmmm...
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-13 04:58:18 UTC
Devs: do you remember what I said about having all ALSA packages to the same versions at a given time? It applies to emul-* packages too...
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-12-13 17:21:41 UTC
*** Bug 158090 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-12-14 01:09:24 UTC
*** Bug 158098 has been marked as a duplicate of this bug. ***
Comment 8 Aneel 2006-12-14 13:04:50 UTC
Yeah, it would be nice if the individual binary packages could be kept up to date against the emul-linux-x86 environment updates.  For me, Mplayer-bin is crashing and locking up the shell (the error message spews a long list of libraries in the /emul/linux environment) because of this version mismatching.
Comment 9 Volker Hemmann 2006-12-16 00:23:54 UTC
Hi,

I think my problem is related. mplayer-bin works fine (AO: [oss] 22050Hz 2ch s16le (2 bytes per sample)
Starting playback...
)

But the flash plugin lost all sound:
*  net-www/netscape-flash
      Latest version available: 9.0.21.78
      Latest version installed: 9.0.21.78

firefox-bin says this:

ALSA lib pcm.c:2109:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_empty.so
ALSA lib pcm_plug.c:1189:(_snd_pcm_plug_open) Unknown field hint


oh, and kamix crashes since the alsa-update:

 First segfault, after recompiling it sigABRT:
kamix
kamix: simple_none.c:1513: enum_item_name_ops: Zusicherung 
Comment 10 Volker Hemmann 2006-12-16 00:23:54 UTC
Hi,

I think my problem is related. mplayer-bin works fine (AO: [oss] 22050Hz 2ch s16le (2 bytes per sample)
Starting playback...
)

But the flash plugin lost all sound:
*  net-www/netscape-flash
      Latest version available: 9.0.21.78
      Latest version installed: 9.0.21.78

firefox-bin says this:

ALSA lib pcm.c:2109:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_empty.so
ALSA lib pcm_plug.c:1189:(_snd_pcm_plug_open) Unknown field hint


oh, and kamix crashes since the alsa-update:

 First segfault, after recompiling it sigABRT:
kamix
kamix: simple_none.c:1513: enum_item_name_ops: Zusicherung »helem« nicht erfüllt.
ERROR: Communication problem with kamix, it probably crashed.
KCrash: Application 'kamix' crashing...

I removed .asoundrc so that should not be the culprit...
Comment 11 Mike McQuaid 2006-12-16 06:16:12 UTC
Could you make the latest alsa-drivers block the emul- package causing the problem?
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-12-16 09:10:27 UTC
*** Bug 158302 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-12-17 05:55:16 UTC
*** Bug 158364 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-12-17 06:05:04 UTC
*** Bug 158368 has been marked as a duplicate of this bug. ***
Comment 15 Alistair 2006-12-19 13:09:31 UTC
Possible issue on 32 bit -- alsa-* updated to 1.0.14_rc1 - kamix crash

Emerge info:
  
Portage 2.1.2_rc3-r6 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.5-r0, 2.6.17-beyond3X8664_beyond3_r2 i686)
=================================================================
System uname: 2.6.17-beyond3X8664_beyond3_r2 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.6
Last Sync: Sun, 17 Dec 2006 21:00:01 +0000
dev-java/java-config: 1.3.1-r1, 2.0.30
dev-lang/python:     2.3.5, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.datapipe.net/gentoo"
LINGUAS="en en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X a52 aac acpi aim alsa alsa_cards_ac97-codec alsa_cards_intel8x0 alsa_cards_usb-audio aoss apache2 apm arts audiofile avi berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli cracklib crypt cups curl dbm dbus directfb divx4linux dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv icq imagemagick imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_wacom ipv6 isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal kernel_linux ldap lesstif libg++ libwww linguas_en linguas_en_GB lm_sensors lua mad mbox mikmod milter mime mmap mmx mng motif mozilla mp3 mpeg msn musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oscar oss pam pcre pda pdf pdflib perl php png povray ppds pppd pulseaudio python qt qt3 qt4 quicktime readline reflection samba sdl session sharedmem sndfile sockets speex spell spl sse sse2 ssl svg svga tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vga video_cards_vmware vorbis win32codecs wmf x86 xine xml xml2 xorg xscreensaver xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


kamix was rebuilt after alsa-* was upgraded

What backtrace there remains without debug 


Thread debugging using libthread_db enabled]
[New Thread -1508439360 (LWP 3045)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xa619d081 in raise () from /lib/libc.so.6
#8  0xa619ebdc in abort () from /lib/libc.so.6
#9  0xa61969ab in __assert_fail () from /lib/libc.so.6
#10 0xa63257da in snd_mixer_selem_id_set_index () from /usr/lib/libasound.so.2
#11 0xa63224a0 in snd_mixer_selem_get_enum_item_name ()
   from /usr/lib/libasound.so.2
#12 0x0805e9f6 in KMainWindow::readProperties ()
#13 0x0805cc1a in KMainWindow::readProperties ()
#14 0x08073844 in KPopupFrame::close ()
#15 0x080770fa in KPopupFrame::close ()
#16 0x08059594 in QGList::count ()
#17 0x080797cd in QBitmap::~QBitmap ()
#18 0xa72451af in KUniqueApplication::processDelayed ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#19 0xa725f01a in KUniqueApplication::qt_invoke ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#20 0x080799df in QBitmap::~QBitmap ()
#21 0xa6b7d384 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#22 0xa6ed8f0d in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3
#23 0xa6b97a43 in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3
#24 0xa6b9f513 in QSingleShotTimer::event () from /usr/qt/3/lib/libqt-mt.so.3



   Does this seem related or do I open new bug?
Comment 16 gentoo 2006-12-21 15:24:08 UTC
Should bug #153481 and bug #148102 be marked as a duplicates of this?  (I suspect so, but I lack the confidence to do it myself.)
Comment 17 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-12-23 12:04:55 UTC
I have added soundlibs-2.5 with alsa updated to 1.0.14_rc1 and its alsa-lib/smixer(bug #153481). Reopen if you have any problems.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-01-07 18:25:07 UTC
*** Bug 160747 has been marked as a duplicate of this bug. ***
Comment 19 Robert T Childers 2007-01-08 21:32:36 UTC
Jakub why did you mark 160747 as a duplicate of this bug since 1). I am running a 32bit environment, b - it is not fixed, c - I don't use any of the emul packages. When I install alsa-libs-1.0_rc1 I lose my sound. That is not fixed. I am using the 2.6.17-gentoo-r8 kernel. Now if you have a solution that will work please tell me.