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

Bug 196717

Summary: x11-libs/libxcb-1.0 deadlock
Product: Gentoo Linux Reporter: Jaak Ristioja <jaak>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 174434    

Description Jaak Ristioja 2007-10-22 15:46:00 UTC
I was running KTorrent compiled from SVN:

Relevant backtrace:
#0  0x00002b0f529876a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/
#1  0x00002b0f52faec1b in _xcb_lock_io () from /usr/lib64/
#2  0x00002b0f52faed7a in _xcb_conn_wait () from /usr/lib64/
#3  0x00002b0f52faf2fb in _xcb_out_send () from /usr/lib64/
#4  0x00002b0f52faf42b in _xcb_out_flush_to () from /usr/lib64/
#5  0x00002b0f52fb0722 in xcb_wait_for_reply () from /usr/lib64/
#6  0x00002b0f52cec39b in _XReply () from /usr/lib64/
#7  0x00002b0f52ce2483 in XTranslateCoordinates () from /usr/lib64/
#8  0x00002b0f50dcfc45 in QWidget::mapToGlobal (this=0x9cb9e0, pos=@0x7fff5c165750) at kernel/qwidget_x11.cpp:914
#9  0x00002b0f50f97204 in QListView::contentsMousePressEventEx (this=0x9cabc0, e=0x7fff5c165990) at widgets/qlistview.cpp:4414
#10 0x00002b0f50f97363 in QListView::contentsMousePressEvent (this=0x9cabc0, e=0x7fff5c165990) at widgets/qlistview.cpp:4237
#11 0x00002b0f4f7d96ce in KListView::contentsMousePressEvent () from /usr/kde/3.5/lib64/

Relevant emerge --info:
Portage (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-worship x86_64)
System uname: 2.6.23-gentoo-worship x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Mon, 22 Oct 2007 15:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
CFLAGS="-O2 -pipe -march=athlon64"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/
ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64"
FEATURES="collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch usersandbox"
LINGUAS="en et en_GB en_US de"
USE="3dnow X aac acl alsa amd64 arts bash-completion berkdb bitmap-fonts bzip2 cairo cjk cli cracklib crypt cups dbus directfb dri encode fbcon ffmpeg flac fortran gdbm gif gmp gpm gtk gtk2 hal hardened iconv imagemagick imlib ipv6 isdnlog jbig jpeg jpeg2k kde lcms midi mmx mng mp3 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pam pcre perl pic png pppd python quicktime readline reflection samba sdl session sndfile spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode vhosts vorbis xinerama xml xorg xprint xscreensaver xv xvid zlib" ALSA_CARDS="via82xx virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en et en_GB en_US de" LIRC_DEVICES="irdeo" USERLAND="GNU" VIDEO_CARDS="ati radeon nv vesa fbdev vga"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-22 22:27:20 UTC
Could you add the x11 overlay with layman, then try the -9999 versions of xcb-proto and libxcb?
Comment 2 Jaak Ristioja 2007-10-23 18:11:39 UTC
(In reply to comment #1)
> Could you add the x11 overlay with layman, then try the -9999 versions of
> xcb-proto and libxcb?

I'm not sure, the incident occured quite randomly. I'm not sure whether I'm even able to reproduce this. Btw, layman -L does not list any x11 overlays, how do I add one?
Comment 3 Jaak Ristioja 2007-10-23 18:16:46 UTC
Nevermind, emerging git helped reveal the hidden x11 overlay. :)
Comment 4 Jaak Ristioja 2007-11-03 20:00:25 UTC
I've failed to reproduce this using the -9999 versions.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2008-01-10 09:31:34 UTC
Should be fixed in libxcb 1.1.