Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296212 - X crashing when using kde-base/konsole-4.4.1 (compositing enabled - XRender, happens also with gnome-terminal)
Summary: X crashing when using kde-base/konsole-4.4.1 (compositing enabled - XRender, ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-08 17:15 UTC by Marcus Schätzle
Modified: 2010-05-31 19:54 UTC (History)
3 users (show)

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


Attachments
-g -O0 backtrace of /usr/bin/X after SIGSEV (stacktrace-2010-03-12-O0.txt,4.21 KB, text/plain)
2010-03-12 17:51 UTC, Sebastian Thias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Schätzle 2009-12-08 17:15:36 UTC
I use Gentoo as a guest inside VMware Workstation 7, and since I use it with KDE 4.3.3 and VMWare does not yet support 3D-acceleration, I have activated compositing via XRender to have my panel transparent.

When I have konsole open and click on it on the panel to work with it, X will crash very often and I find myself again with gdm (I use that one instead of kdm). Even if it won't crash one time or another, I can reproduce it via clicking the task manager item, minimising the window and clicking on it again. After a certain amount of tries, X will crash for sure.

I have tried with several themes and widget styles, but for now it seems that this bug happens when XRender is enabled. When it is disabled it hardly ever happens, well it did happen one time, but I tried to reproduce it very often and without XRender it happens almost never, and with XRender I can reproduce it always.

Reproducible: Always

Steps to Reproduce:
1. Activate compositing with XRender as rendering method
2. Open konsole and minimise it for now
3. Click on the panel to maximise it
4. If it hasn't crashed yet already, minimise it again and repeat step 3, in my case it always crashes in one of the next tries
Actual Results:  
X crashes, gdm screen comes up

Expected Results:  
No crash, konsole should maximise normally

I use VMWware Workstation 7.0.0, full version, no longer the release candidate. I can reproduce this bug without any other programs running except those of the system.

Result of emerge --info:

Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Pentium-R-_Dual-Core_CPU_E6300_@_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 08 Dec 2009 02:00:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.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://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ "
LANG="en_DK.utf8"
LC_ALL="en_DK.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apm aptl autoipd avahi berkdb bluetooth bonjour bzip2 cairo caps cdda cddb cdr cleartype cli consolekit cracklib crypt cups curl cxx dbus divx doc dri dts dvb dvd dvdr dvi emacs encode exif expat ffmpeg flac fortran gdbm gif gimp glitz gnome gpm gstreamer gtk guile hal howl-compat iconv id3tag imagemagick ipv6 jadetex java jpeg jpeg2k kde kerberos latex ldap matroska mdnsresponder-compat mmx mng modules mp3 mpeg mudflap musepack mysql nautilus ncurses networking networkmanager nls nptl nptlonly nsplugin odbc ogg opengl openmp pam pango pcre pdf perl plasma plotutils png policykit postscript pppd python qt3support qt4 quicktime raw readline realmedia reflection sdl session skins smp spell spl sql sqlite sse sse2 ssl stream svg svga symlink sysfs tcpd tga theora tiff tk truetype unicode vim-syntax vorbis webkit win32codecs wmf x264 x86 xcb xml xorg xulrunner xv zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 authn_alias authn_anon 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmware vesa vga fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Marcus Schätzle 2009-12-08 17:34:42 UTC
I found out right now that this happens also to gnome-terminal when I open it inside KDE. But only terminal emulators seem to be affected, I have tried with lots of other programs. So I added this to the summary now. Everything else I said for konsole is valid for gnome-terminal, too.
Comment 2 Sebastian Thias 2010-03-12 17:51:22 UTC
Created attachment 223295 [details]
-g -O0 backtrace of /usr/bin/X after SIGSEV
Comment 3 Sebastian Thias 2010-03-12 17:55:30 UTC
Same here, but without vmware, plain nvidia-drivers running, compositing via OpenGL.

NVIDIA GPU Quadro NVS 140M (G86) on Lenovo T61
xorg-server-1.6.5-r1 (gentoo)
nvidia-drivers-195.36.03 (gentoo)
pixman-0.16.4 (gentoo)
kernel 2.6.33-gentoo

Problem also occurred with pixman 0.17.2, different nvidia-major versions (195, 190, 185, ...) and different versions xorg-server and/or kernel.

I have never had any problems running gnome/compiz-fusion, but I really prefer using KDE if possible. 

I've attached a gdb-backtrace with mainly pixman-calls on the stack.
Comment 4 Sebastian Thias 2010-03-12 18:00:13 UTC
I forgot: Had this problem at least with KDE 4.3.x and still have it with 4.4.1
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-27 12:39:36 UTC
(In reply to comment #3)
> Same here, but without vmware, plain nvidia-drivers running, compositing via
> OpenGL.

According to the stack trace from attachment 223295 [details] the crash happens inside the nvidia driver.
Please open a separate bug for that. Only post information about your issue here after it becomes clear that this is actually the same bug (not just triggered by the same actions).
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2010-05-01 20:24:20 UTC
Is this still happening with konsole-4.4.2?
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2010-05-16 13:08:27 UTC
OK, seems we have two different issues here: 
1) terminal emulator plus xrender crashing X in vmware
2) terminal emulator plus xrender crashing X (nvidia-drivers)

Neither seems to be a kde or gnome issue, so I'll remove the cc's, but add the vmware herd.

Please move issue 2 to a different bug. 
Comment 8 Marcus Schätzle 2010-05-31 19:54:52 UTC
It seems to be ok now with KDE 4.4.3, so I change status to Fixed.