A fresh install of Gentoo Linux on a Intel Atom 330 x64. when I start X and Gnome I get lots of segfaults. Gnome-Panel, Gnome-Settings, etc all cause segfaults regarding libXi.so.6.1.0 I copied libxi.so from a Debian install. I think it is based on libXi-1.2, then everything works without segfaults. Of course I have tried to compile libXi-1.3 with # USE="debug" CFLAGS="-O1" emerge libXi -av Reproducible: Always Steps to Reproduce: 1. Install X + gnome 2. See the segfaults in dmesg 3. replace libXi.so with debian amd64 version 4. no more segfaults Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-1.12.13 Timestamp of tree: Wed, 04 Aug 2010 20:05:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA @FSF-APPROVED dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -mtune=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -mtune=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests confcache distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow OpenEXR X aac acl acpi ads amd64 apache2 apic autoipd avahi berkdb branding bzip2 cairo cjk cli consolekit cracklib crypt cups curl cxx dbus device-mapper dirac disk-partition dri dvd encode exif fam flash fontconfig fortran ftp fuse gd gdbm gdu gif glib glitz gnome gpm gtk gtk2 hal hawl hddtemp hdri iconv idn imap ipv6 java jpeg jpg kdrive lcms ldap libnotify linux-threads lm_sensors log4j lzma maildir mmx mmxext mng modules mono mozdevelop mp3 mpeg mudflap multilib mysql ncurses network-cron networkmanager nls nptl nptlonly opengl openmp pam pcre perl php pic plugins png policykit posix pppd python qt qt4 readline reflection samba sasl seamonkey session sharedmem slang sockets spell spl sqlite sse sse2 ssh ssl startup-notification sysfs sysvipc tcpd theora threads tiff truetype unicode vorbis wmf x264 xattr xforms xft xinerama xml xml2 xorg xpm xprint xsl xulrunner xv xvid zlib" 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="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 241469 [details] LibXi.so that works I have attached the libXi.so that I copied from a working AMD64 distribution.
Some more dmesg output: [21987.825806] gnome-settings-[17995]: segfault at 4 ip 00007fb02a69b45f sp 00007fffd7e95930 error 4 in libXi.so.6.1.0[7fb02a693000+f000] [56359.800603] libXi.so.6.1.0[6482]: segfault at 1 ip 0000000000000001 sp 00007fff04b5db48 error 14 in libXi.so.6.1.0[7fcbabb23000+9000] [57582.192618] gst-plugin-scan[12354]: segfault at 8 ip 00007f7d76146bd0 sp 00007fff5fceb380 error 4 in ld-2.11.2.so[7f7d7613c000+1e000] [57582.210494] gst-plugin-scan[12355]: segfault at 8 ip 00007f8e8b5fdbd0 sp 00007fffbd46fc60 error 4 in ld-2.11.2.so[7f8e8b5f3000+1e000] [57582.784721] gvfs-fuse-daemo[12360] general protection ip:7f752e24d9d0 sp:7fffcf392ba8 error:0 in libfuse.so.2.8.1[7f752e245000+24000] [57582.926138] gst-plugin-scan[12356]: segfault at 8 ip 00007f140167dbd0 sp 00007fff2919c760 error 4 in ld-2.11.2.so[7f1401673000+1e000] [57582.942368] gst-plugin-scan[12361]: segfault at 8 ip 00007f77ef62ebd0 sp 00007fff69ae7380 error 4 in ld-2.11.2.so[7f77ef624000+1e000] [57582.957430] gst-plugin-scan[12362]: segfault at 8 ip 00007f4d5ae1abd0 sp 00007fffd8456720 error 4 in ld-2.11.2.so[7f4d5ae10000+1e000] [57582.971402] gst-plugin-scan[12363]: segfault at 8 ip 00007f879aa5cbd0 sp 00007fff9c3adc60 error 4 in ld-2.11.2.so[7f879aa52000+1e000] [57583.008616] gst-plugin-scan[12364]: segfault at 8 ip 00007ff5da160bd0 sp 00007fffc5776e30 error 4 in ld-2.11.2.so[7ff5da156000+1e000] [57583.023365] gst-plugin-scan[12365]: segfault at 8 ip 00007f8a4bb21bd0 sp 00007fffab67e750 error 4 in ld-2.11.2.so[7f8a4bb17000+1e000] [57583.484572] gnome-settings-[12348]: segfault at 4 ip 00007f8186fd9478 sp 00007fffb908d6c0 error 4 in libXi.so.6.1.0[7f8186fd1000+e000]
This might be related: http://forums.gentoo.org/viewtopic-t-825077-start-0.html http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568323 http://patch-tracker.debian.org/patch/series/view/libxi/2:1.3-4/0001-Initialize-extension-with-the-right-number-of-events.patch I'd say this patch is already in libXi-1.3.1, so try unmasking and installing that version?
Yes, the new version does fix the problem. This bug can be closed when the new version is unmasked.
@arches, please stabilize libXi-1.3.1. Thanks
amd64 done
Stable for HPPA.
arm stable
Builds fine on x86. Rdeps build fine and run without problems. Please mark stable for x86.
x86 stable, thanks Myckel
Stable on alpha.
ia64/s390/sh/sparc stable
ppc stable
ppc64 done