With libxcb-1.8 installed, all X11 clients hang. top shows them hoging a CPU core at 100%. Attaching to the process with dtruss shows an endless loop of select(0x4, 0xBFFFE0C0, 0xBFFFE040, 0x0, 0x0) = 1 0 recvfrom(0x3, 0x801A58, 0x1000) = -1 Err#35 Downgrading to 1.7 avoids the problem. The problem is already known upstream and seems to hit FreeBSD as well: https://bugs.freedesktop.org/show_bug.cgi?id=45776. It's fixed in Debian with patch: http://anonscm.debian.org/gitweb/?p=collab-maint/libxcb.git;a=commitdiff;h=2b5bc1d3299510e10a1733e5a3b326232c774b75 Adding this patch to the Gentoo ebuild reliably solves the problem. Inclusion of this patch in the standard or prefix trees would be greatly appreciated. Reproducible: Always Portage 2.2.01.20239-prefix (prefix/darwin/macos/10.6/x86, gcc-4.2.1, unavailable, 10.8.0 i386) ================================================================= System uname: Darwin-10.8.0-i386-32bit Timestamp of tree: Fri, 24 Feb 2012 12:11:58 +0000 distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled] app-shells/bash: 4.2_p20::gentoo_prefix dev-lang/python: 2.7.2-r3::gentoo_prefix dev-util/cmake: 2.8.7-r3::gentoo_prefix dev-util/pkgconfig: 0.26::gentoo_prefix sys-devel/autoconf: 2.68::gentoo_prefix sys-devel/automake: 1.11.1::gentoo_prefix sys-devel/gcc: 4.6.2::gentoo_prefix sys-devel/gcc-config: 1.5-r2::gentoo_prefix sys-devel/libtool: 2.4-r4::gentoo_prefix sys-devel/make: 3.82::gentoo_prefix Repositories: gentoo_prefix local Installed sets: ACCEPT_KEYWORDS="~x86-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-apple-darwin10" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-apple-darwin10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/local/gentoo/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=10" FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix macosprefixsandbox macossandbox news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-dead_strip_dylibs" MAKEOPTS="-j2" PKGDIR="/usr/local/gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/usr/local/gentoo/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/usr/local/gentoo/var/tmp" PORTDIR="/usr/local/gentoo/usr/portage" PORTDIR_OVERLAY="/usr/local/gentoo/usr/local/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua bzip2 cairo coreaudio cracklib cxx iconv idn ipv6 ithreads jpeg kerberos kpathsea logrotate mbox mmap mmx mmxext modules ncurses objc objc++ openssl pic png prefix readline recode slang sse sse2 ssl threads tidy tiff unicode x86-macos xml zlib" 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="Darwin" 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" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" USERLAND="GNU" 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, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks for the research. (In reply to comment #0) > Adding this patch to the Gentoo ebuild reliably solves the problem. Inclusion > of this patch in the standard or prefix trees would be greatly appreciated. It will have to be the gentoo-x86 tree.
*** Bug 406381 has been marked as a duplicate of this bug. ***
I'm hoping for upstream to come to some conclusion in a reasonable timeframe.
I asked in upstream's IRC channel and they sort of ACK'ed the patch. So I applied it in 1.8-r1. Marking as FIXED.