Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463918 - sys-libs/glibc-2.17: all 32bit applications crash with segfault after upgrade from 2.16.0
Summary: sys-libs/glibc-2.17: all 32bit applications crash with segfault after upgrade...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-30 18:51 UTC by Serge Gavrilov
Modified: 2013-04-01 16:29 UTC (History)
1 user (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 Serge Gavrilov 2013-03-30 18:51:35 UTC
Today I have upgraded glibc on my multilib amd64 system from 2.16.0 up to 2.17.

All 32 bit applications (e.g. skype and wine running win32 binaries) become to crash with segfault after the upgrade. 

Fortunately I have succeed to downgrade to 2.16.0.  

Reproducible: Always
Comment 1 David Kredba 2013-03-30 20:23:23 UTC
What about to append more info? The exact segfault message and emerge --info I would say?

For me on ~amd64 with glibc-2.17 compiled with USE +nscd by gcc-4.8.0 (LTO in use) Skype (4.1.0.20) works fine. Dtto for wine powered MyPhoneExplorer 1.8.4 for example.



emerge --info wine
Portage 2.2.0_alpha170 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.0, glibc-2.17, 3.8.3-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.3-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.2
KiB Mem:     8170396 total,   1103320 free
KiB Swap:    8396796 total,   7266240 free
Timestamp of tree: Sat, 30 Mar 2013 16:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2, 3.3.0-r1
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.2-r1, 4.8.0
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -flto=4 -fuse-linker-plugin"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -flto=4 -fuse-linker-plugin"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native -flto=4 -fuse-linker-plugin"
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -O2 -pipe -march=native -mtune=native -flto=4 -fuse-linker-plugin"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="echo"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="R X a52 aac acl acpi aften akonadi alsa amd64 amr aspell atlas attica berkdb blas bluetooth bluray boost branding bs2b bzip2 c++0x cairo caps cdda cddb cdio cdparanoia cdr cleartype cli consolekit cracklib crypt cups cvs cxx dbus declarative djvu dot dri dts dv dvb dvd dvdr dvi egl emboss emf emovix encode exif faac fam ffmpeg fftw firefox fits flac fltk fluidsynth fontconfig fortran fpx freetds frei0r ftp gcj gd gdbm geoip ggi gif glut gmp gnuplot gpac gpm gps graphviz gsl gsm gstreamer gtk guile h323 handbook hdf hdf5 iconv icu id3tag idn ieee1394 imagemagick imlib indi ipv6 ithreads jadetex java javascript jbig jpeg jpeg2k kate kde kipi ladspa lame lapack latex lcms ldap libass libnotify libsamplerate lirc live lua lzma lzo mad matroska md5sum midi mjpeg mms mmx mmxext mng modplug modules motif mp3 mp4 mpeg mplayer msn mtp mudflap multilib multimedia musepack musicbrainz mysql nautilus ncurses netcdf netpbm nls nptl numpy nut objc objc++ objc-gc ocaml octave odbc ofa ogg ogm okular openal opencl openexr opengl openmp openssl optimized-qmake pam pango pch pcre pdf perl pgplot phonon plasma plotutils plplot png pnm policykit postgres postproc postscript ppds projectm pulseaudio pvr python qalculate qscintilla qt3support qt4 qthelp quad quicktime qwt radio rdesktop readline rle rss rtmp ruby samba scanner scrobbler sdl semantic-desktop session slang smp sndfile sox speex spell srt sse sse2 sse4_1 ssl ssse3 startup-notification subversion svg swig szip t1lib taglib tcl tcpd telepathy teletext theora threads tidy tiff tk tools truetype twolame udev udisks unicode upower usb utils v4l vaapi vcd vdpau video vnc vorbis vpx wav wavpack wmf wxwidgets x264 xanim xattr xcb xcomposite xft xine xinerama xml xosd xpm xps xscreensaver xv xvid xvmc zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2 canon hp215 sony_dscf1 sony_dscf55" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf superstar2 tnt tripmate tsip ubx fury geostar nmea2000" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer scripting-beanshell scripting-javascript nlpsolver" LINGUAS="cs en" LIRC_DEVICES="inputlirc pctv hauppauge hauppauge_dvb devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-emulation/wine-1.5.26 was built with the following:
USE="X alsa cups custom-cflags fontconfig gecko gphoto2 gsm gstreamer jpeg lcms ldap mono mp3 ncurses nls odbc openal opencl opengl osmesa oss perl png pulseaudio samba scanner ssl threads truetype udisks v4l xcomposite xinerama xml -capi -prelink (-selinux) -test" ABI_X86="32 64 -x32"
CFLAGS="-O2 -ggdb -pipe -march=native -mtune=native"
CXXFLAGS="-O2 -ggdb -pipe -march=native -mtune=native"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
Comment 2 Serge Gavrilov 2013-03-30 20:28:43 UTC
# emerge --info
Portage 2.1.11.50 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.16.0, 3.5.7-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.5.7-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.1
KiB Mem:    32860300 total,   7290344 free
KiB Swap:   31246420 total,  30208736 free
Timestamp of tree: Fri, 29 Mar 2013 23:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.3
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo sunrise x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe
FCFLAGS=-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacs aalib accessibility acl acpi alsa amd64 amr apache2 apng applet arts asf atm audiofile audit automaount automount avahi avi bash-completion beagle berkdb bitmap-fonts bluetooth bluray branding bzip2 cairo cdda cddb cdr cli clutter colord consolekit corefonts cracklib crypt ctype cuda cue cups cxx cyrillic dba dbus dconf declarative device-mapper dirac disk-partition divx djvu doc dri dts dvb dvd dvdr dvdread eds embedded emboss encode epspdf ethereal evo exif expat expoblending faac faad fam fastbuild ffmpeg fftw firefox-bookmarks flac fontconfig foomaticdb force-cgi-redirect fortran fpx ftp fts3 fuse g3dvl gcj gconf gd gdbm gdl geolocation gif gimp glut gmm gmp gmplayer gnome gnome-keyring gnome-online-accounts gphoto gphoto2 gpm gps gpssync gpu graphicsmagick gs gsl gsm gstreamer gtk gtk2 gtk3 gtkhtml gudev guile h323 handbook hunspell iconv icu id3tag idn imagemagick imlib inotify introspection ipv6 jadetex jbig jpeg jpeg2k kdepim kdrive kpathsea lapack latex lcms lensfun libburn libg++ libmpeg2 libnotify librsync-bundle librsync-bundled libsamplerate libsecret libv4l libwww lirc lzma mad marble mbox memlimit mikmod mmx mng modules moonlight motif mozilla moznopango mozsvg mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nokia nptl nsplugin ogg opencl opencore-amr opencv openexr opengl openmp pam pango pcre pdf pdfimport pdflib perl pgf plasma png policykit posix postproc ppds pstricks pulseaudio pvr python q16 q32 qt qt-faststart qt3support qt4 quicktime raw readline realtime redeyes samba scanner schroedinger sdl semantic-desktop sendto sensord session simplexml sip slang smp soap socialweb sockets source sox speex spell spl sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification svg tcltk tcpd theora threads tiff tokenizer tools tracker truetype truetype-fonts type1-fonts udev udisks unicode upower usb utils v4l v4l2 vaapi vala vcd vdpau video vim-syntax vlc vmware_guest_linux vmware_guest_windows vorbis vpx wacom wav wavpack webgl webkit webm wmf wxwidgets x264 xattr xcb xetex xft xinerama xml xml2 xmlrpc xmp xosd xpm xps xsl xulrunner xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="*" 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="authz_host access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so filter" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="en ru en_US en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 SpanKY gentoo-dev 2013-04-01 16:25:48 UTC
please post the output from doing:

  echo 'main(){puts("HELLO");}' > test.c
  gcc -m32 test.c
  ./a.out
  ldd a.out
Comment 4 Serge Gavrilov 2013-04-01 16:29:05 UTC
Fortunately I have downgraded to glibc-2.16.0. So perhaps someone will have similar problems.