Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265899 - xorg crashes when clicking on kde4 palsma taskbar or right click on konsole
Summary: xorg crashes when clicking on kde4 palsma taskbar or right click on konsole
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-12 21:10 UTC by soya
Modified: 2009-06-19 02:22 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soya 2009-04-12 21:10:45 UTC
xorg crashes when clicking on kde taskbar icons, also right click on konsole make xorg crashes. Probably it's a xorg bug, it happened on a Gentoo 7 days installation after updating xorg from 1.3 to 1.5. when running xorg 1.3 i've never had problems but after the update i start having kde crashes. Then i decided to reinstall Gentoo from scratch and again i had kde crashes.

I've tried recompiling the whole ssytem and qt+kde with lots of differetn flags. Right now the system has been emerged with no ldflags and using he followin cflags:
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -msse4"
CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer -msse4"

It happens with all versions of kde-4.3 (portage one, 4.2.68, 4.2.69 and kde4 portage one). i have tried using different nvidia-drivers versions, disabbling composite and render extension, disabling kde desktop effects. i have tried everything but still having the issue. After the new install i had to set startx suid cause normal users could manage (create/move etc) /var/log/Xorg0.log

It's very strange cause the system was running fine for 3 days since i installed Gentoo and after updating xorg and maybe nvidia drivers it started crashing. Downgrading nvidia-drivers, xorg doesn't solve the problem. Right now i'm using qt-4.5.9999 and kde-4.2.69. It also crashed when running kvirc from fluxbox.

That's xorg backtrace extracted from startx log:

Object::connect: No such slot QGraphicsWidget::overlayAnimationCompleteComplete(QGraphicsItem*,Plasma::Animator::Animation)

Backtrace:
0: X(xorg_backtrace+0x26) [0x4e59d6]
1: X(xf86SigHandler+0x39) [0x4833d9]
2: /lib/libc.so.6 [0x7fe7c12002b0]
3: X(miPaintWindow+0x1a0) [0x4c6bf0]
4: X(miHandleValidateExposures+0x84) [0x4dde84]
5: X(UnmapWindow+0x208) [0x431318]
6: X(compFreeClientWindow+0x23e) [0x4f646e]
7: X [0x4f39d9]
8: X(FreeResource+0x133) [0x42ed33]
9: X(compUnredirectWindow+0x63) [0x4f6053]
10: X [0x4f43f6]
11: X [0x4de42f]
12: X [0x4de33c]
13: X [0x4de33c]
14: X(miChangeSaveUnder+0x50) [0x4de4d0]
15: X(MapWindow+0x31f) [0x43198f]
16: X(ProcMapWindow+0x46) [0x4453e6]
17: X(Dispatch+0x364) [0x445c24]
18: X(main+0x44d) [0x42c43d]
19: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fe7c11ec486]
20: X [0x42b829]

Fatal server error:
Caught signal 11.  Server aborting

Here's full startx log: http://pastebin.com/m35686026

Machine specs are: Intel i7 920, asus p6t, asus gtx260, 2 raid0 sata hd.

Reproducible: Always

Steps to Reproduce:
1.Always
2.
3.

Actual Results:  
Intall the system, emerge xorg and kde4

Expected Results:  
When clicking on kde taskbar i get xorg crashes, also when right clicking on konsole.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-12 21:41:50 UTC
Please post your "emerge --info".
Could you please attach the startx log file to this bug rather than putting it to some nopaste website where it could vanish without being seen by the developer working on this bug?
Furthermore did you try x11-drivers/xf86-video-nv driver as well?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-16 04:13:39 UTC
Please reopen this bug report when you have provided the required information.
Comment 3 Jonas Nordin 2009-05-25 05:46:30 UTC
This is a same-here post. Same scenario as well. After upgrading it just crashes as soon as I interact with plasma, for example, clicking on menues, right click on containment, click on KDE button.

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4db9ee]
1: /usr/bin/X(xf86SigHandler+0x39) [0x476a6e]
2: /lib/libc.so.6 [0x7fd0dbd232b0]
3: /usr/bin/X(miPaintWindow+0x11b) [0x4beaf5]
4: /usr/bin/X(miHandleValidateExposures+0x81) [0x4d4790]
5: /usr/bin/X(UnmapWindow+0x165) [0x434ba9]
6: /usr/bin/X(compFreeClientWindow+0x1ff) [0x4eaa58]
7: /usr/bin/X [0x4e850f]
8: /usr/bin/X(FreeResource+0x109) [0x432959]
9: /usr/bin/X(compUnredirectWindow+0x5b) [0x4ea6ab]
10: /usr/bin/X [0x4e8e66]
11: /usr/bin/X [0x4d4cde]
12: /usr/bin/X [0x4d4bf7]
13: /usr/bin/X(miChangeSaveUnder+0x50) [0x4d4d65]
14: /usr/bin/X(MapWindow+0x2da) [0x4351df]
15: /usr/bin/X(ProcMapWindow+0x46) [0x4472fb]
16: /usr/bin/X(Dispatch+0x34d) [0x447a7a]
17: /usr/bin/X(main+0x442) [0x4304cd]
18: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fd0dbd0f486]
19: /usr/bin/X [0x42f969]

Here's the emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Tue, 19 May 2009 01:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r14, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo"
LDFLAGS="-Wl,-O1"
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 acl acpi alsa amd64 berkdb bzip2 cairo cli cracklib crypt cups dbus dri fontconfig gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv imlib isdnlog java jpeg kde kdeprefix lm_sensors midi mmx mp3 mudflap ncurses networkmanager nls nptl nptlonly offensive opengl openmp pam pcre pdf perl php png pppd python qt3 qt4 readline reflection samba session spl sse sse2 ssl subversion svg sysfs tcpd truetype unicode xcomposite xinerama xml xorg xscreensaver zlib" 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 4 soya 2009-05-26 21:50:51 UTC
I solved the issue updating xorg to 1.6 from x11 overlay. Hope it helps :)

(In reply to comment #3)
> This is a same-here post. Same scenario as well. After upgrading it just
> crashes as soon as I interact with plasma, for example, clicking on menues,
> right click on containment, click on KDE button.
> 
> Backtrace:
> 0: /usr/bin/X(xorg_backtrace+0x26) [0x4db9ee]
> 1: /usr/bin/X(xf86SigHandler+0x39) [0x476a6e]
> 2: /lib/libc.so.6 [0x7fd0dbd232b0]
> 3: /usr/bin/X(miPaintWindow+0x11b) [0x4beaf5]
> 4: /usr/bin/X(miHandleValidateExposures+0x81) [0x4d4790]
> 5: /usr/bin/X(UnmapWindow+0x165) [0x434ba9]
> 6: /usr/bin/X(compFreeClientWindow+0x1ff) [0x4eaa58]
> 7: /usr/bin/X [0x4e850f]
> 8: /usr/bin/X(FreeResource+0x109) [0x432959]
> 9: /usr/bin/X(compUnredirectWindow+0x5b) [0x4ea6ab]
> 10: /usr/bin/X [0x4e8e66]
> 11: /usr/bin/X [0x4d4cde]
> 12: /usr/bin/X [0x4d4bf7]
> 13: /usr/bin/X(miChangeSaveUnder+0x50) [0x4d4d65]
> 14: /usr/bin/X(MapWindow+0x2da) [0x4351df]
> 15: /usr/bin/X(ProcMapWindow+0x46) [0x4472fb]
> 16: /usr/bin/X(Dispatch+0x34d) [0x447a7a]
> 17: /usr/bin/X(main+0x442) [0x4304cd]
> 18: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fd0dbd0f486]
> 19: /usr/bin/X [0x42f969]
> 
> Here's the emerge --info
> Portage 2.1.6.11 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.2,
> glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
> =================================================================
> System uname:
> Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
> Timestamp of tree: Tue, 19 May 2009 01:45:01 +0000
> app-shells/bash:     3.2_p39
> dev-java/java-config: 1.3.7-r1, 2.1.7
> dev-lang/python:     2.4.4-r14, 2.5.4-r2
> dev-python/pycrypto: 2.0.1-r6
> dev-util/cmake:      2.6.2-r1
> sys-apps/baselayout: 1.12.11.1
> sys-apps/sandbox:    1.9
> sys-devel/autoconf:  2.13, 2.63
> sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
> sys-devel/binutils:  2.18-r3
> sys-devel/gcc-config: 1.4.0-r4
> sys-devel/libtool:   1.5.26
> virtual/os-headers:  2.6.27-r2
> ACCEPT_KEYWORDS="amd64"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -march=nocona -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config
> /usr/kde/4.2/shutdown /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/php/apache2-php5/ext-active/
> /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
> /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
> CXXFLAGS="-O2 -march=nocona -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms
> strict unmerge-orphans userfetch"
> GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo"
> LDFLAGS="-Wl,-O1"
> 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 acl acpi alsa amd64 berkdb bzip2 cairo cli cracklib crypt cups dbus dri
> fontconfig gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv imlib isdnlog
> java jpeg kde kdeprefix lm_sensors midi mmx mp3 mudflap ncurses networkmanager
> nls nptl nptlonly offensive opengl openmp pam pcre pdf perl php png pppd python
> qt3 qt4 readline reflection samba session spl sse sse2 ssl subversion svg sysfs
> tcpd truetype unicode xcomposite xinerama xml xorg xscreensaver zlib"
> 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
> cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
> VIDEO_CARDS="nvidia"
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
> LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
> PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
> 

Comment 5 Aurelien Minet 2009-06-13 17:26:19 UTC
(In reply to comment #4)
> I solved the issue updating xorg to 1.6 from x11 overlay. Hope it helps :)

For me the solution is to BackingStore for the NVidia card :
add this line:
Option "BackingStore" "false"
into the Device section of your xorg.conf.
Comment 6 Paulo da Silva 2009-06-19 02:22:07 UTC
> For me the solution is to BackingStore for the NVidia card :
> add this line:
> Option "BackingStore" "false"
> into the Device section of your xorg.conf.
> 
That also worked for me!
I don't know what it does however :-)