Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162028 - x11-terms/xterm aborts due to XIM and USE="xcb"
Summary: x11-terms/xterm aborts due to XIM and USE="xcb"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 174434
  Show dependency tree
 
Reported: 2007-01-14 12:03 UTC by hiyuh
Modified: 2007-06-19 04:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xterm backtrace (gdb_xterm.txt,2.06 KB, text/plain)
2007-01-14 12:05 UTC, hiyuh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hiyuh 2007-01-14 12:03:36 UTC
Global USE="xcb" makes xterm aborting when switching input method to
input Japanese, b/c XIM tried twice unlock, I guess.
Global USE="-xcb" is only work-around way for me.

Reproducible: Always

Steps to Reproduce:
1. emerge x11-terms/xterm and app-i18n/scim-anthy w/ global USE="xcb"
2. run X, and run xterm w/ "/usr/bin/scim -d".
3. press ctrl+space.

Actual Results:  
xterm: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

Expected Results:  
no twice unlock and no assert(3).

Portage 2.1.2_rc4-r9 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1,
glibc-2.5-r0, 2.6.18-gentoo-r5 ppc)
=================================================================
System uname: 2.6.18-gentoo-r5 ppc 7447A, altivec supported
Gentoo Base System version 1.12.8
Timestamp of tree: Sat, 13 Jan 2007 16:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r1
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-g -O0 -Wall -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-g -O0 -Wall -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks keeptemp keepwork
metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://gentoo.gg3.net/
ftp://gg3.net/pub/linux/gentoo ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO
http://gentoo.channelx.biz"
LANG="C"
LC_ALL="C"
LINGUAS="ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="X a52 aac aalib alsa altivec amr aoss apm asf async audiofile
bash-completion bdf berkdb bitmap-fonts bl bluetooth bzip2 cairo canvas
cdparanoia cdr cjk cle266 cli cracklib crypt cscope ctype dga dlloader
dri dts dvd dvdread dvix4linux ecc edl emboss encode expat fat fbcon
fbdev ffmpeg fftw firefox flac flash fltk fontconfig fortran fpx ftp gd
gdbm ggi gif glitz glx gmp gnutls gpm graphviz gs gtk gtk2 gtkhtml hfs
ibam iconv idn ieee1394 imagemagick imlib ipv6 isdnlog jfs jpeg jpeg2k
lame lcms libcaca libg++ libwww lzo mad matroska mikmod mng modplug
mozdevelop mozilla moznoirc moznomail mozsvg mozxmlterm mp3 mp4 mpeg
ncurses network nfs nls nptl nptlonly nsplugin ntfs ogg opengl openssh
openssl pam pango pbbuttonsd pci pcre pdf plotutils png ppc ppcsha1 pppd
python quicktime readline reflection reiserfs rle sdl session sftplogging
speex spl ssl svg sysfs tcpd tga theora threads tiff timidity truetype
truetype-fonts type1-fonts udev unicode usb vcd vim vim-pager vim-syntax
vim-with-x vorbis wifi x264 xanim xcb xfs xine xinerama xml xml2 xorg xpm
xv xvid zlib" ALSA_CARDS="aoa" 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 evdev mouse synaptics" KERNEL="linux" LINGUAS="ja"
USERLAND="GNU" VIDEO_CARDS="nv nouveau fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

[ebuild   R   ] x11-libs/libXcomposite-0.3.1  USE="-debug"
[ebuild   R   ] x11-libs/libXdamage-1.0.4  USE="-debug"
[ebuild   R   ] x11-libs/libXfixes-4.0.3  USE="-debug"
[ebuild   R   ] x11-libs/libXi-1.1.0  USE="-debug"
[ebuild   R   ] x11-libs/libXinerama-1.0.1  USE="-debug"
[ebuild   R   ] x11-libs/libXrandr-1.1.2  USE="-debug"
[ebuild   R   ] x11-libs/libX11-1.1.1  USE="ipv6 xcb -debug"
[ebuild   R   ] x11-proto/compositeproto-0.3.1  USE="-debug"
[ebuild   R   ] x11-proto/damageproto-1.0.3  USE="-debug"
[ebuild   R   ] x11-proto/fixesproto-4.0  USE="-debug"
[ebuild   R   ] x11-proto/inputproto-1.4  USE="-debug"
[ebuild   R   ] x11-proto/xineramaproto-1.1.2  USE="-debug"
[ebuild   R   ] x11-proto/randrproto-1.2.0  USE="-debug"
[ebuild   R   ] x11-proto/xproto-7.0.10  USE="-debug"

[ebuild   R   ] app-i18n/scim-1.4.5-r1  USE="gtk -doc -kde -qt3"
[ebuild   R   ] app-i18n/anthy-8300  USE="-emacs -ucs4"
[ebuild   R   ] app-i18n/scim-anthy-1.2.2  USE="nls -kde"
[ebuild   R   ] x11-terms/xterm-223  USE="truetype unicode -Xaw3d -paste64 -toolbar"
Comment 1 hiyuh 2007-01-14 12:05:23 UTC
Created attachment 106917 [details]
xterm backtrace

a result of "gdb xterm" -> ctrl+space -> backtrace.
Comment 2 hiyuh 2007-01-14 12:08:52 UTC
FYI, see also bug #156367.
That step to reproduce is similar to this way.
Comment 3 hiyuh 2007-01-14 12:16:30 UTC
FYI, GTK+ apps like www-client/mozilla-firefox doesn't abort(3).
Comment 4 hiyuh 2007-06-19 04:54:15 UTC
I confirmed x11-libs/libX11-1.1.2-r1 did fix this issue.