Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354109 - sys-libs/glibc-2.13 breaks all Qt apps
Summary: sys-libs/glibc-2.13 breaks all Qt apps
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.13
  Show dependency tree
 
Reported: 2011-02-08 17:27 UTC by Aleksey Sidorov
Modified: 2011-07-13 06:07 UTC (History)
5 users (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 Aleksey Sidorov 2011-02-08 17:27:22 UTC
Flew to upgrade to new versions of glibc, I had quietly put down, got in about 15 minutes kernel panic, and after a reboot I had almost all the KDE and Qt software falls from the bus error. 

Program received signal SIGBUS, Bus error.
0x00007ffff3466adc in __strncmp_sse2 () from /lib/libc.so.6
(gdb) where
#0  0x00007ffff3466adc in __strncmp_sse2 () from /lib/libc.so.6
#1  0x00007fffeb571709 in KSharedDataCache::find(QString const&, QByteArray*) const () from /usr/lib/libkdecore.so.5
#2  0x00007fffec0e6744 in KIconLoaderPrivate::findCachedPixmapWithPath(QString const&, QPixmap&, QString&) ()
   from /usr/lib/libkdeui.so.5
#3  0x00007fffec0e962a in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /usr/lib/libkdeui.so.5
#4  0x00007fffec0e13bf in KIconEngine::pixmap(QSize const&, QIcon::Mode, QIcon::State) () from /usr/lib/libkdeui.so.5
#5  0x00007ffff6e1113e in QIcon::pixmap (this=<value optimized out>, size=<value optimized out>, 
    mode=<value optimized out>, state=<value optimized out>) at image/qicon.cpp:676
#6  0x00007fffec5d6a83 in Oxygen::Style::drawPushButtonLabelControl(QStyleOption const*, QPainter*, QWidget const*) const
    () from /usr/lib64/kde4/plugins/styles/oxygen.so
#7  0x00007fffec5bf56a in Oxygen::Style::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib64/kde4/plugins/styles/oxygen.so
#8  0x00007ffff70b29bc in QCommonStyle::drawControl (this=0x6c17c0, element=QStyle::CE_PushButton, opt=0x7fffffffb7a0, 
    p=0x7fffffffb800, widget=0x18b60b0) at styles/qcommonstyle.cpp:1211
#9  0x00007fffec5bf520 in Oxygen::Style::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib64/kde4/plugins/styles/oxygen.so
#10 0x00007ffff71e5213 in drawControl (this=0x18b60b0) at ../../include/QtGui/../../src/gui/painting/qstylepainter.h:89
#11 QPushButton::paintEvent (this=0x18b60b0) at widgets/qpushbutton.cpp:454
#12 0x00007ffff6db7806 in QWidget::event (this=0x18b60b0, event=0x7fffffffbff0) at kernel/qwidget.cpp:8346
#13 0x00007ffff6d5e1e0 in QApplicationPrivate::notify_helper (this=0x63d430, receiver=0x18b60b0, e=0x7fffffffbff0)
    at kernel/qapplication.cpp:4445
#14 0x00007ffff6d633e1 in QApplication::notify (this=<value optimized out>, receiver=0x18b60b0, e=0x7fffffffbff0)
    at kernel/qapplication.cpp:4324
#15 0x00007ffff62c58eb in QCoreApplication::notifyInternal (this=0x7fffffffdee0, receiver=0x18b60b0, event=0x7fffffffbff0)
    at kernel/qcoreapplication.cpp:732
#16 0x00007ffff6db43e6 in sendSpontaneousEvent (this=0x6e4e60, pdev=0x78f670, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x7ab130) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#17 QWidgetPrivate::drawWidget (this=0x6e4e60, pdev=0x78f670, rgn=..., offset=..., flags=4, sharedPainter=0x0, 
    backingStore=0x7ab130) at kernel/qwidget.cpp:5433
#18 0x00007ffff6db5097 in QWidgetPrivate::paintSiblingsRecursive (this=0x1172db0, pdev=0x78f670, siblings=..., 
    index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7ab130)
    at kernel/qwidget.cpp:5640
#19 0x00007ffff6db4f4f in QWidgetPrivate::paintSiblingsRecursive (this=0x1172db0, pdev=0x78f670, siblings=..., index=1, 
    rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7ab130) at kernel/qwidget.cpp:5627
#20 0x00007ffff6db40d5 in QWidgetPrivate::drawWidget (this=0x1172db0, pdev=0x78f670, rgn=..., offset=..., 
    flags=<value optimized out>, sharedPainter=0x0, backingStore=0x7ab130) at kernel/qwidget.cpp:5486
#21 0x00007ffff6db5097 in QWidgetPrivate::paintSiblingsRecursive (this=0x714670, pdev=0x78f670, siblings=..., 
    index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7ab130)
    at kernel/qwidget.cpp:5640
#22 0x00007ffff6db40d5 in QWidgetPrivate::drawWidget (this=0x714670, pdev=0x78f670, rgn=..., offset=..., 
    flags=<value optimized out>, sharedPainter=0x0, backingStore=0x7ab130) at kernel/qwidget.cpp:5486
#23 0x00007ffff6db5097 in QWidgetPrivate::paintSiblingsRecursive (this=0x780800, pdev=0x78f670, siblings=..., 
    index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7ab130)
    at kernel/qwidget.cpp:5640
#24 0x00007ffff6db40d5 in QWidgetPrivate::drawWidget (this=0x780800, pdev=0x78f670, rgn=..., offset=..., 
    flags=<value optimized out>, sharedPainter=0x0, backingStore=0x7ab130) at kernel/qwidget.cpp:5486
#25 0x00007ffff6fa223d in QWidgetBackingStore::sync (this=0x7ab130) at painting/qbackingstore.cpp:1333
#26 0x00007ffff6da9258 in QWidgetPrivate::syncBackingStore (this=0x780800) at kernel/qwidget.cpp:1816

emerge --info

Portage 2.2.0_alpha21 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r0, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 07 Feb 2011 23:00:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo x11 qting-edge kde qutim qt-symbian-overlay rion local
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j9"
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="/var/lib/layman/x11 /var/lib/layman/qting-edge /var/lib/layman/kde /var/lib/layman/qutim /var/lib/layman/qt-symbian-overlay /var/lib/layman/rion /home/sauron/develop/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac accessibility acl acpi alsa amd64 avahi bash-completion berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gdu gif git gnutls gphoto2 gpm graphite iconv jpeg kde kipi kqemu kvm lame lastfm lcms libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib musicbrainz ncurses networkmanager nls nptl nptlonly ogg openexr opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd private-headers pulseaudio python qt3support qt4 raw readline samba sdl semantic-desktop session spell sse sse2 ssl startup-notification subversion svg sysfs taglib tcpd theora threads tiff truetype udev unicode usb v4l vorbis wavepack x264 xcb xml xorg xulrunner xv xvid zeroconf 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 filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="v4l radeon r600" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2011-02-08 20:09:54 UTC
Did you try rebuilding qt?
Comment 2 Alex Alexander (RETIRED) gentoo-dev 2011-02-09 12:11:15 UTC
I can't reproduce this, tried with smplayer, wpa_gui and qtconfig. Maybe something else is broken? that kernel panic doesn't sound good.
Comment 3 Tomás Touceda (RETIRED) gentoo-dev 2011-02-09 12:24:21 UTC
Do you have prelink installed? The issue with glibc-2.13 is comming from that app for almost everybody. 
I don't have it, and I can't reproduce this.
Comment 4 Aidan Marks 2011-02-10 05:32:07 UTC
~amd64 kmess, digikam, akregator seg fault here after glibc 2.13 upgrade. something is broken. no, i do not use prelink.
Comment 5 Alex Alexander (RETIRED) gentoo-dev 2011-02-14 08:16:18 UTC
hmm, these are all KDE apps. I haven't managed to reproduce this problem with pure Qt apps in any of my systems.

can you try some non-KDE Qt apps?
Comment 6 brot 2011-02-14 10:17:38 UTC
(In reply to comment #5)
> hmm, these are all KDE apps. I haven't managed to reproduce this problem with
> pure Qt apps in any of my systems.
> 
> can you try some non-KDE Qt apps?
> 

I have glibc-2.13 here and use KDE - no problems here with either KDE-Qt apps or Qt apps.

Maybe the kernel panic damaged your filesystem? You could check that with "equery check"


Portage 2.2.0_alpha23 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r0, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5750_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 13 Feb 2011 20:45:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.68
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo kde
Installed sets: @kdebase-live
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="de"
MAKEOPTS="-j3"
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="/var/lib/layman/kde"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"

Comment 7 SpanKY gentoo-dev 2011-07-13 06:07:02 UTC
and try upgrading to glibc-2.13-r4