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

Bug 398665

Summary: glibc-2.14.1-r2 randomly locking "poll" function
Product: Gentoo Linux Reporter: Yury Zhuravlev <stalkerg>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: tdalman
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yury Zhuravlev 2012-01-12 13:02:23 UTC
After upgrade to glibc-2.14.1-r2 or glibc-2.14.1-r1 (on glibc-2.13-r4 all work good) can`t start KDE4 (plasma) and xterm. If I use gdb:

gdb plasma-desktop
kdeinit4: Shutting down running client.
klauncher: Exiting on signal 15
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
kbuildsycoca4(4209) KBuildSycoca::checkTimestamps: checking file timestamps
kbuildsycoca4(4209) KBuildSycoca::checkTimestamps: timestamps check ok
kbuildsycoca4(4209) kdemain: Emitting notifyDatabaseChanged ()
QDBusObjectPath: invalid path ""
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.6'
Object::connect: No such signal QDBusAbstractInterface::Changed()
^C
(gdb) bt
#0  0x00007ffff7682ff8 in poll () from /lib64/libc.so.6
#1  0x00007fffec13baf0 in ?? () from /usr/lib64/libdbus-1.so.3
#2  0x00007fffec13a9bd in ?? () from /usr/lib64/libdbus-1.so.3
#3  0x00007fffec129bad in ?? () from /usr/lib64/libdbus-1.so.3
#4  0x00007fffec12a8b5 in ?? () from /usr/lib64/libdbus-1.so.3
#5  0x00007fffec12a130 in dbus_connection_send_with_reply_and_block () from /usr/lib64/libdbus-1.so.3
#6  0x00007ffff4ac2a31 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#7  0x00007ffff4aaf03b in QDBusConnection::call(QDBusMessage const&, QDBus::CallMode, int) const () from /usr/lib64/qt4/libQtDBus.so.4
#8  0x00007ffff547091c in KUniqueApplication::start(QFlags<KUniqueApplication::StartFlag>) () from /usr/lib64/libkdeui.so.5
#9  0x00007ffff5471773 in KUniqueApplication::start() () from /usr/lib64/libkdeui.so.5
#10 0x00007ffff54717a7 in KUniqueApplication::Private::initHack(bool) () from /usr/lib64/libkdeui.so.5
#11 0x00007ffff5471976 in KUniqueApplication::KUniqueApplication(bool, bool) () from /usr/lib64/libkdeui.so.5
#12 0x00007ffff7bad0fc in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#13 0x00007ffff7bad995 in ?? () from /usr/lib64/libkdeinit4_plasma-desktop.so
#14 0x00007ffff7b94b45 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#15 0x00007ffff75d540d in __libc_start_main () from /lib64/libc.so.6
#16 0x00000000004007d1 in _start ()


and xterm:

gdb xterm
Starting program: /usr/bin/xterm 
^C
Program received signal SIGINT, Interrupt.
0x00007ffff723cff8 in poll () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff723cff8 in poll () from /lib64/libc.so.6
#1  0x00007ffff5640e52 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007ffff564230f in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007ffff56424e6 in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#4  0x00007ffff6c3994d in _XReply () from /usr/lib64/libX11.so.6
#5  0x00007ffff6c1b739 in ?? () from /usr/lib64/libX11.so.6
#6  0x00007ffff6c1c63a in XLoadQueryFont () from /usr/lib64/libX11.so.6
#7  0x000000000041d78a in ?? ()
#8  0x000000000041f688 in ?? ()
#9  0x0000000000419fe2 in ?? ()
#10 0x00007ffff679ee8f in ?? () from /usr/lib64/libXt.so.6
#11 0x00007ffff679efef in ?? () from /usr/lib64/libXt.so.6
#12 0x00007ffff679f2a8 in XtRealizeWidget () from /usr/lib64/libXt.so.6
#13 0x0000000000412c95 in ?? ()
#14 0x00000000004244e8 in ?? ()
#15 0x0000000000426320 in ?? ()
#16 0x00007ffff718f40d in __libc_start_main () from /lib64/libc.so.6
#17 0x0000000000407e69 in ?? ()
#18 0x00007fffffffda38 in ?? ()
#19 0x00000000ffffffff in ?? ()
#20 0x0000000000000001 in ?? ()
#21 0x00007fffffffdd8e in ?? ()
#22 0x0000000000000000 in ?? ()


dbus work but some query lock. 
Work chromium and firefox (but freez after open some tabs) and etc...
Comment 1 Yury Zhuravlev 2012-01-12 13:03:11 UTC
emerge --info
Portage 2.1.10.44 (default/linux/amd64/10.0, gcc-4.6.2, glibc-2.14.1-r2, 3.2.0-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.2.0-gentoo-r1-x86_64-AMD_FX-tm-8120_Eight-Core_Processor-with-gentoo-2.1
Timestamp of tree: Wed, 11 Jan 2012 23:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     1.3.7-r1, 2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.2-r3, 3.1.3-r1, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.2
sys-devel/binutils:       2.18-r1, 2.18-r4, 2.19, 2.19.1-r1, 2.20-r1, 2.20.1-r1, 2.21, 2.21.1-r1, 2.22-r1
sys-devel/gcc:            4.1.2, 4.3.1-r1, 4.3.2-r2, 4.3.3-r2, 4.3.4, 4.4.0, 4.4.1, 4.4.2, 4.4.3-r2, 4.4.4-r2, 4.4.5, 4.5.1-r1, 4.5.2, 4.5.3-r1, 4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo mozilla bircoph dustin x11
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
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/mozilla /var/lib/layman/bircoph /var/lib/layman/dustin /var/lib/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi alsa amd64 apache2 athlon-xp avahi avx berkdb bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cuda cups curl cxx dbus declarative device-mapper diarac dirac djvu dri dshow dv dvd dvdread encode faac faad ffmpeg flac fortran freetype gallium gdbm gif gimp glib glitz gphoto2 gpm gtk gtk2 hal iconv ieee1394 immqt-bc ipv6 jack joystick jpeg kde ladspa lame lash ldap libnotify libv4l lm_sensors lzma mad matroska mikmod mmx mmx2 mmxext mng modules mp3 mplayer mudflap multilib multislot mysql ncurses networkmanager nls nptl nptlonly nvidia ogg opencl openexr opengl openmp oss pam pcntl pcre pdf phonon pic plasma plotutils png policykit posix postgres povray pppd qemu-fast qt qt3support qt4 quicktime readline redland remote rss ruby samba scanner schroedinger sdl session skype slang smp softmmu spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 stream subtitles svg sysfs tcpd theora thread threads tiff tk truetype tunepimp unicode usb userlocales v41 v4l2 vdpau vhook video visualization vorbis vpx wacom webkit wifi win32 wmv wxwindows x11 x264 xcomposite xml xorg xosd xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="emu10k1x emu10k1 usb-audio usb-usx2y" 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" CALLIGRA_FEATURES="kexi words flow plan 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="wacom evdev keyboard mouse jyostick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nouveau radeon" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Tolga Dalman 2012-01-13 08:42:10 UTC
Hi,

(In reply to comment #0)
> After upgrade to glibc-2.14.1-r2 or glibc-2.14.1-r1 (on glibc-2.13-r4 all work
> good) can`t start KDE4 (plasma) and xterm. If I use gdb:

What versions of KDE, Qt and DBUS have you installed ? 

> gdb xterm
> Starting program: /usr/bin/xterm 
> ^C
> Program received signal SIGINT, Interrupt.
> 0x00007ffff723cff8 in poll () from /lib64/libc.so.6
> (gdb) bt
> #0  0x00007ffff723cff8 in poll () from /lib64/libc.so.6
> #1  0x00007ffff5640e52 in ?? () from /usr/lib64/libxcb.so.1
> #2  0x00007ffff564230f in ?? () from /usr/lib64/libxcb.so.1
> #3  0x00007ffff56424e6 in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
> #4  0x00007ffff6c3994d in _XReply () from /usr/lib64/libX11.so.6
> #5  0x00007ffff6c1b739 in ?? () from /usr/lib64/libX11.so.6
> #6  0x00007ffff6c1c63a in XLoadQueryFont () from /usr/lib64/libX11.so.6


This is more likely a X11 or XCB problem. What versions of xorg-server and libxcb have you installed ?

Perhaps you could try upgrading these packages.

Further ideas:
- See Bug 389881: there seem to be known problems using glibc-2.14 with non-
  english locales
- Have you tried rebuilding packages with safe C(XX)FLAGS ?


Hope that helps.
Comment 3 Yury Zhuravlev 2012-01-13 09:40:34 UTC
Thanks Tolga Dalman! 
It is bugs from latest xorg-server from git >_<
Sorry...