Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 148102
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Aaron Slunt <tonglebeak@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 148102 depends on: Show dependency tree
Bug 148102 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-18 12:05 0000
h4x0r aaron # emerge --info
Portage 2.1.2_pre1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.5
Last Sync: Mon, 18 Sep 2006 12:00:07 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
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"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dbus dlloader dri
dvdread elibc_glibc emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2
hal imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde
kdeenablefinal kdehiddenvisibility kernel_linux lzw lzw-tiff mp3 mpeg ncurses
nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt qt3 qt4
quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype
truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nvidia xinerama
xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

--------------------------------------------------------------------------------

h4x0r aaron # equery list emul-linux
[ Searching for package 'emul-linux' in all categories among: ]
 * installed packages
[I--] [ -] app-emulation/emul-linux-x86-baselibs-2.5.2 (0)
[I--] [ -] app-emulation/emul-linux-x86-compat-1.0-r1 (0)
[I--] [ ~] app-emulation/emul-linux-x86-gtklibs-2.8.8 (0)
[I--] [ ~] app-emulation/emul-linux-x86-java-1.4.2.03-r2 (1.4.2)
[I--] [ ~] app-emulation/emul-linux-x86-java-1.5.0.08 (1.5)
[I--] [ ~] app-emulation/emul-linux-x86-medialibs-1.2 (0)
[I--] [ ~] app-emulation/emul-linux-x86-qtlibs-3.4.4 (0)
[I--] [ -] app-emulation/emul-linux-x86-sdl-2.3 (0)
[I--] [ ~] app-emulation/emul-linux-x86-soundlibs-2.4 (0)
[I--] [ -] app-emulation/emul-linux-x86-xlibs-7.0-r2 (0)

-------------------------------------------------------------------------------

Here's an example of the problem, using winecfg:


ALSA lib pcm_direct.c:224:(make_local_socket) connect failed: 

------- Comment #1 From Aaron Slunt 2006-09-18 12:05:52 0000 -------
h4x0r aaron # emerge --info
Portage 2.1.2_pre1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.5
Last Sync: Mon, 18 Sep 2006 12:00:07 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
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"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dbus dlloader dri
dvdread elibc_glibc emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2
hal imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde
kdeenablefinal kdehiddenvisibility kernel_linux lzw lzw-tiff mp3 mpeg ncurses
nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt qt3 qt4
quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype
truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nvidia xinerama
xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

--------------------------------------------------------------------------------

h4x0r aaron # equery list emul-linux
[ Searching for package 'emul-linux' in all categories among: ]
 * installed packages
[I--] [ -] app-emulation/emul-linux-x86-baselibs-2.5.2 (0)
[I--] [ -] app-emulation/emul-linux-x86-compat-1.0-r1 (0)
[I--] [ ~] app-emulation/emul-linux-x86-gtklibs-2.8.8 (0)
[I--] [ ~] app-emulation/emul-linux-x86-java-1.4.2.03-r2 (1.4.2)
[I--] [ ~] app-emulation/emul-linux-x86-java-1.5.0.08 (1.5)
[I--] [ ~] app-emulation/emul-linux-x86-medialibs-1.2 (0)
[I--] [ ~] app-emulation/emul-linux-x86-qtlibs-3.4.4 (0)
[I--] [ -] app-emulation/emul-linux-x86-sdl-2.3 (0)
[I--] [ ~] app-emulation/emul-linux-x86-soundlibs-2.4 (0)
[I--] [ -] app-emulation/emul-linux-x86-xlibs-7.0-r2 (0)

-------------------------------------------------------------------------------

Here's an example of the problem, using winecfg:


ALSA lib pcm_direct.c:224:(make_local_socket) connect failed:
èÔZ¡/tmp/alsa-dmix-18223-1158606097-717508: No such file or directory

That junk before /tmp should NOT be there by any means. To reproduce,

1) Open a 64-bit program that outputs sound, and have it do so.
2) Open a 32-bit program that does the same, I've tested this with both wine
and mplayer-bin.
3) Try to use sound with the 32-bit program after the 64-bit has started to
play (and leave it play too). You'll notice no sound at all, and an error
similar to the one posted above is spit out.

------- Comment #2 From Mike Lundy 2006-09-23 17:45:44 0000 -------
I just tracked this down (was having the same problem, too). The problem
appears to be a compatibility issue between alsa-driver-1.0.12 and the version
in the emul package. When I compiled alsa-lib-1.0.12 in 32-bit chroot and
replaced /emul/linux/x86/usr/lib/libasound.so.2.0.0 with it, the problem was
fixed.

To confirm my guess: what version of alsa-driver are you using in your native
setup? This problem has suddenly cropped up for me because 1.0.12 turns on dmix
by default, but I'm wondering if people with <1.0.12 that have turned dmix on
would also have the same problem.

------- Comment #3 From Aaron Slunt 2006-09-23 17:51:02 0000 -------
1.0.12

That's great you've tracked it down. Could you perhaps upload a fixed
libasound.so and whatever else is needed so I can give it a test? ;)

------- Comment #4 From Mike Lundy 2006-09-23 18:08:35 0000 -------
Here's[1] the library compiled with "-O2 -march=i686". Just replace
/emul/linux/x86/usr/lib/libasound.so.2.0.0 with that for a temp fix. The real
fix is an updated emul package, which should come pretty soon from either the
amd64 team or me, if I get a chance.

1) http://www.fluffypenguin.org/gentoo/libasound.so.2.0.0

------- Comment #5 From Aaron Slunt 2006-09-23 18:24:08 0000 -------
Confirming the fixed libasound.so.2.0.0 does indeed fix this bug.

Thanks :D

------- Comment #6 From Tiago Sousa 2006-11-28 06:41:16 0000 -------
I was also bit by this bug because of flash 9, which only uses alsa (they
dropped oss support). Which of course means that I can't watch a flash video
and have an mp3 player paused at the same time, for example. I thought this was
caused by some bug in flash, but after some investigation I found this solution
and it worked. What I don't understand is why 2 months have passed and the
package still hasn't been updated, being such a trivial fix. Come on guys...

------- Comment #7 From Russell Harmon 2006-12-05 19:44:28 0000 -------
russ@russell ~ $ emerge --info
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4,
2.6.18-ck1-r2 x86_64)
=================================================================
System uname: 2.6.18-ck1-r2 x86_64 AMD Processor Model Unknown
Gentoo Base System version 1.12.6
Last Sync: Tue, 05 Dec 2006 01:20:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3"
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"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch
sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.csh.rit.edu/ http://gentoo.osuosl.org/
http://gentoo.mirrors.pair.com/"
LINGUAS="en en_US"
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"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/xeffects
/usr/portage/local/layman/break-my-gentoo-main"
SYNC="rsync://gentoo.csh.rit.edu/gentoo-portage"
USE="amd64 X a52 aac aiglx alsa avahi bash-completion berkdb bitmap-fonts bzip2
cairo cdr cli cracklib crypt cups dbus divx dlloader dri dvd dvdr elibc_glibc
esd fbsplash ffmpeg firefox flac fortran gdbm gif glitz gmedia gnome gpm
gstreamer gtk hal iconv input_devices_evdev input_devices_keyboard
input_devices_mouse ipv6 isdnlog java jikes jpeg kernel_linux libg++ libnotify
libsexy linguas_en linguas_en_US mad mp3 mpeg nautilus ncurses nfs nptl
nptlonly nsplugin offensive ogg opengl pam pcre pdf perl png ppds pppd python
quicktime readline realmedia reflection samba sdl session spl ssl svg tcpd tiff
truetype truetype-fonts type1-fonts udev unicode userland_GNU
video_cards_nvidia video_cards_vesa vim vorbis wmf wmp xine xinerama xorg
xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

---------------------------------------------------------------------------

russ@russell ~ $ equery list emul-linux
[ Searching for package 'emul-linux' in all categories among: ]
 * installed packages
[I--] [ -] app-emulation/emul-linux-x86-baselibs-2.5.2 (0)
[I--] [ -] app-emulation/emul-linux-x86-compat-1.0-r1 (0)
[I--] [ -] app-emulation/emul-linux-x86-gtklibs-2.8.8 (0)
[I--] [ ~] app-emulation/emul-linux-x86-java-1.5.0.08 (1.5)
[I--] [ -] app-emulation/emul-linux-x86-medialibs-1.2 (0)
[I--] [ -] app-emulation/emul-linux-x86-qtlibs-3.4.4 (0)
[I--] [ -] app-emulation/emul-linux-x86-sdl-2.3 (0)
[I--] [ ~] app-emulation/emul-linux-x86-soundlibs-2.4 (0)
[I--] [ -] app-emulation/emul-linux-x86-xlibs-7.0-r2 (0)

replacing libasound.so.2.0.0 with mike's one did not fix it for me.

------- Comment #8 From Russell Harmon 2006-12-05 20:06:10 0000 -------
forget it, https://bugs.gentoo.org/show_bug.cgi?id=153481 fixed it for me.

------- Comment #9 From Piotr Jaroszyński 2006-12-23 09:23:39 0000 -------
I have updated alsa-lib to 1.0.14_rc1 and added its smixer libs in
emul-linux-x86-soundlibs-2.5. Try this please and reopen if you have any
problems.

------- Comment #10 From Tiago Sousa 2006-12-23 14:48:43 0000 -------
I guess this is our christmas present, because it works :) Thanks.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug