Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 123653

Summary: 32bit apps segfault on AMD64
Product: Gentoo Linux Reporter: Johannes Hirte <johannes.hirte>
Component: [OLD] Core systemAssignee: AMD64 Project <amd64>
Status: RESOLVED INVALID    
Severity: normal CC: radek
Priority: High    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mplayer-bin strace

Description Johannes Hirte 2006-02-21 13:32:12 UTC
Every 32bit application segfault on AMD64 as soon as the write is called. A strace of mplayer-bin is attached.

Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r3, 2.6.15.1 x86_64)
=================================================================
System uname: 2.6.15.1 x86_64 AMD Opteron(tm) Processor 144
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-ilmenau.de/Mirrors/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.osuosl.org/"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 arts avi berkdb bitmap-fonts bzip2 bzlib crypt cups dba dbus dvd dvdread eds emboss encode foomaticdb fortran gcj gd gif gpm gstreamer hal imlib ipv6 java jpeg kde lzw lzw-tiff mad mmap mp3 mpeg mplayer ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib perl php png posix postgres python qt quicktime readline rtc samba sasl sdl smime spell ssl subversion tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xine xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
Comment 1 Johannes Hirte 2006-02-21 13:32:44 UTC
Created attachment 80383 [details]
mplayer-bin strace
Comment 2 SpanKY gentoo-dev 2006-02-23 13:52:18 UTC
*** Bug 123650 has been marked as a duplicate of this bug. ***
Comment 3 Johannes Hirte 2006-04-28 13:52:20 UTC
Ok, a new installation on the same machine worked fine. But even copying nearly the whole system to the old installation helped. The error was still the same, 32bit apps segfaulted when write was called and emerge of glibc fails on checking long double. I don't know where the failure came from. The filesystem was corrupted at a few points, but correcting this didn't help.
After reinstall of the whole system, everything works fine again. Seems that this report can be closed.