Gentoo Archives: gentoo-desktop

From: "E. Liddell" <ejlddll@××××××××××.com>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] [kde-sunset]Big problem with qt-3 and gtk applications
Date: Wed, 16 Feb 2011 15:16:48
Message-Id: 20110216061635.05c998b3@akio.homenetwork
Since I upgraded my system last night, any attempt I make to start a GTK-based
application (firefox, gimp, etc.) while qt-3.3.8b-r2 is also installed has ended in a
segfault.  I am unable to tell which package upgrade was responsible (40 were
upgraded, including some X-related libraries), but whatever changed did so
within the last ~3 weeks.  Tail end of dmesg after a few start attempts:

nvidia-settings[4664]: segfault at 5 ip 00007f62487e3a0d sp 00007fff2b30e270 error 6 in[7f62481b6000+819000]
gimp[4677]: segfault at 5 ip 00007fd402fbfa0d sp 00007fff913386b0 error 6 in[7fd402992000+819000]
mtrr: no MTRR for cf000000,e00000 found
mtrr: no MTRR for cf000000,e00000 found
gimp[4915]: segfault at 5 ip 00007f0035165a0d sp 00007fff67e0ac00 error 6 in[7f0034b38000+819000]
xfdesktop[18663]: segfault at 33 ip 0000000000418440 sp 00007fffb1499790 error 4 in xfdesktop[400000+26000]
xfdesktop[18792]: segfault at 33 ip 0000000000418440 sp 00007fff443a00b0 error 4 in xfdesktop[400000+26000]
gimp[26920]: segfault at 5 ip 00007fd2f3f0ca0d sp 00007fff33799c50 error 6 in[7fd2f38df000+819000]

libqt-mt seems to be the source of the problems, but I'm damned if I know what can
be done about it.  At the moment, I've uninstalled QT3 and am running xfce4, since
KDE3 obviously won't work.  QT4 seems to be okay.

emerge --info
Portage (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r1 x86_64)
System uname: Linux-2.6.34-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-1.12.14
Timestamp of tree: Mon, 14 Feb 2011 02:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3::<unknown repository>, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.1.2, 4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
CFLAGS="-march=amdfam10 -pipe -O2"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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=amdfam10 -pipe -O2"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LINGUAS="en_CA en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /var/lib/layman/sunrise /var/lib/layman/multimedia /var/lib/layman/pro-audio /var/lib/layman/vmware /usr/local/portage"
USE="64bit X a52 aac acl acpi aim alsa amd64 amr apache2 async audiofile background bash-completion berkdb binary-drivers blender-game bluetooth bogofilter branding bzip2 cairo canna cdda cdparanoia cdr cgi cjk clamav cli consolekit contactnotes cracklib crypt css ctype cups curl curlwrappers cursors cxx dbus dhcp dri dssi dts dvd dvdr editor emboss enca encode esd exif fame fastbuild ffmpeg firefox flac flatfile fmod foomaticdb force-cgi-redirect fortran fping fpx freewnn ftp gadu gdbm gdu gif gimp gpm gs gtk history iconv icq ieee1394 imagemagick imlib inkjar irc jabber jack java java6 joystick jpeg jpeg2k lame lcms libsamplerate libvisual live lm_sensors lzo mad matroska mikmod mime mjpeg mmx mng modplug modules mp3 mp4 mpeg mplayer msn mudflap multilib mysql ncurses netjack network nls nocd nptl nptlonly ode ogg opengl openmp oscar pam pango pcre pdf perl php player png policykit portaudio ppds pppd print python qt3support qt4 rar readline rle samba scanner sdl session sm
 s sndfile sox spamassassin speex spell spf sse sse2 ssl startup-notification statistics subject-rewrite subtitles svg sysfs sysvipc tcpd tga theora tiff timidity tk tokenizer truetype udev unicode usb uudeview v4l v4l2 vcd videos vorbis wma wmf x264 xcb xine xml xorg xpm xscreensaver xulrunner xv xvid xvmc yahoo yv12 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 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 fil
 ter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 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="keyboard mouse joystick evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_CA en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epjitsu epson epson2 mustek mustek_pp" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vga fbdev" 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" 

(Note: this is an old system that has been upgraded progressively for ~6 years (albeit not
always on quite the same hardware) without a reinstall, and there is probably some outdated
cruft in the configuration.  It never caused a problem before today.)