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

Bug 430070

Summary: x11-base/xorg-server- - using space in media-gfx/gimp-2.8.0-r1 causes segmentation fault in ActivateKeyboardGrab
Product: Gentoo Linux Reporter: Ole Langbehn <>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---

Description Ole Langbehn 2012-08-05 19:13:27 UTC
xorg-server- segfaults when I press the spacebar in order to move around an image via mouse.

This is the backtrace:

[  6791.586] (EE) 
[  6791.586] (EE) Backtrace:
[  6791.586] (EE) 0: X (xorg_backtrace+0x34) [0x5ba4f4]
[  6791.586] (EE) 1: X (0x400000+0x1be329) [0x5be329]
[  6791.586] (EE) 2: /lib64/ (0x3026000000+0x10410) [0x3026010410]
[  6791.586] (EE) 3: X (0x400000+0x4bfca) [0x44bfca]
[  6791.586] (EE) 4: X (0x400000+0x45a00) [0x445a00]
[  6791.586] (EE) 5: X (0x400000+0x14d2d8) [0x54d2d8]
[  6791.586] (EE) 6: X (0x400000+0x3b531) [0x43b531]
[  6791.586] (EE) 7: X (0x400000+0x2a01a) [0x42a01a]
[  6791.586] (EE) 8: /lib64/ (__libc_start_main+0xfd) [0x30254224bd]
[  6791.586] (EE) 9: X (0x400000+0x2a371) [0x42a371]
[  6791.586] (EE) 
[  6791.586] (EE) Segmentation fault at address 0x28
[  6791.586] 
Fatal server error:
[  6791.586] Caught signal 11 (Segmentation fault). Server aborting
[  6791.586] 
[  6791.587] (EE) 
Please consult the The X.Org Foundation support 
 for help. 
[  6791.587] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[  6791.587] (EE) 

xorg-server versions 1.11.4-r1, 1.12.2, 1.12.3 are stable.

Reproducible: Always

Steps to Reproduce:
1. start gimp
2. open any image
3. scale so that you can move it around via spacebar
4. press the spacebar and move the mouse
Actual Results:  
xorg crashes

Expected Results:  
no crash

# emerge --info
Portage 2.2.0_alpha120 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo x86_64)
System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.1
Timestamp of tree: Sat, 04 Aug 2012 05:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo gentoo-haskell seden belak
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype- skype-eula Oracle-BCLA-JavaSE googleearth google-talkplugin AdobeFlash-10.3 google-chrome"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/var/lib/layman/haskell /var/lib/layman/seden /var/lib/layman/belak"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bluetooth branding bsf bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups curl cvs cxx dbus dga directfb djvu dri dts dv dvd dvdr encode exif fbcon ffmpeg firefox flac fontconfig fortran ftp gd gdbm geoip gif gimp glut gnome gnuplot gphoto2 gpm gstreamer gtk gtkhtml gzip handbook iconv icq icu idn ieee1394 imagemagick imap imlib innodb ipod ipv6 jabber java java6 javascript jingle jpeg jpeg2k kde latex lcms ldap libcaca libnotify lm_sensors lzma lzo mad matroska mhash mime mmx mmxext mng modules mono motif mozilla mp3 mp4 mpeg mplayer mudflap multilib musicbrainz mysql mysqli ncurses nls nptl nsplugin ocaml ocamlopt odbc ofx ogg openexr opengl openmp pam pcmcia pcre pdf pic plasma png policykit posix postgres ppds pppd qt3support qt4 rdesktop readline recode rss ruby samba sasl sdl semantic-desktop session sharedmem shorten smp sockets sound spell sqlite sqlite3 sse sse2 ssl startup-notification subversion svg syslog tcl tcpd theora threads tidy tiff tk truetype udev unicode usb vaapi vhosts vim-syntax vnc vorbis wifi wmf wxwidgets x264 xcb xcomposite xft xine xinerama xml xmpp xosd xpm xscreensaver xsl xv xvid zlib zsh-completion" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa" 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"
Comment 1 Ole Langbehn 2012-08-05 19:40:08 UTC
This bug in ubuntu precise pangolin could be related, at least someone posted a similar backtrace.
Comment 2 Ole Langbehn 2012-08-05 20:59:37 UTC
On further investigation, this bug does not occur when the following line is _not_ in my .xsession:

xinput set-int-prop "TPPS/2 IBM TrackPoint" "Device Enabled" 8 0

which disables the ibm trackpoint on the keyboard.

I tried to get a backtrace with full debugging symbols, but somehow I can't get Xorg to dump a full core.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-08-05 23:15:37 UTC
You can try to attach gdb to the running X server, which is best done via ssh from another computer.
Comment 4 Ole Langbehn 2012-08-07 20:11:30 UTC
This is the backtrace with debugging symbols:

(gdb) bt
#0  0x000000000044bfca in ActivateKeyboardGrab (keybd=0x186f970, 
    grab=0x19a4bc0, time=..., passive=0)
#1  0x0000000000445a00 in GrabDevice (client=0x193c200, dev=0x186f970, 
    pointer_mode=1, keyboard_mode=1, grabWindow=<optimized out>, 
    ownerEvents=<optimized out>, ctime=157621, mask=0x7fffe21b3350, 
    grabtype=1, curs=0, confineToWin=0, status=0x7fffe21b3338 "")
#2  0x000000000054d2d8 in ProcXGrabDevice (client=0x193c200)
#3  0x000000000043b531 in Dispatch ()
#4  0x000000000042a01a in main (argc=6, argv=<optimized out>, 
    envp=<optimized out>)

which is the same as in

which is marked as fixed.

I didn't find anything in the freedesktop tracker.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-08-08 14:06:38 UTC
See if the problem persists with xorg-server-

If yes, it would be good if you report this issue upstream at , as they are very close to release.
Comment 6 Ole Langbehn 2012-08-08 17:58:41 UTC
Still occurs in Reported upstream:
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-04-28 09:33:32 UTC
This should be fixed since xorg-server-1.13.1, please reopen if it is not.
Comment 8 Ole Langbehn 2013-04-29 06:52:45 UTC
I can confirm this works on xorg-server 1.14.1, gimp 2.8.4.