Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262493 - xorg-server-1.5.3-r4 crashes when using KDE 4.2.1
Summary: xorg-server-1.5.3-r4 crashes when using KDE 4.2.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-15 01:16 UTC by sharpshopter
Modified: 2009-03-15 22:48 UTC (History)
1 user (show)

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


Attachments
Xorg.0.log for a crashed session (Xorg.0.log,12.58 KB, text/plain)
2009-03-15 01:21 UTC, sharpshopter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sharpshopter 2009-03-15 01:16:01 UTC
X crashes when I try to use the dropdown menu on the "add widgets" window in KDE 4.2.1

This happens:
* With the "nvidia" driver + composite
* With the "nv" driver without composite

Reproducible: Always

Steps to Reproduce:
1) Start a KDE 4.2.1 session
2) Click the "thingy" at the right of the panel which brings up the panel menu.
3) Click "Add Widgets"
4) Click the dropdown menu at the top of the "add widgets" window, which for me says "all widgets".
Actual Results:  
X crashes, giving this backtrace:

Backtrace:
0: X(xorg_backtrace+0x3b) [0x812803b]
1: X(xf86SigHandler+0x51) [0x80bd6d1]
2: [0xb7fd1400]
3: X(miHandleValidateExposures+0x55) [0x8120025]
4: X(UnmapWindow+0x1dd) [0x80740ed]
5: X(compFreeClientWindow+0x200) [0x8139cf0]
6: X [0x8137224]
7: X(FreeResource+0x109) [0x8070f19]
8: X(compUnredirectWindow+0x73) [0x81398d3]
9: X [0x8137b37]
10: X [0x81205d8]
11: X [0x81204fc]
12: X [0x81204fc]
13: X(miChangeSaveUnder+0x6f) [0x812068f]
14: X(MapWindow+0x34f) [0x80747af]
15: X(ProcMapWindow+0x61) [0x8087e31]
16: X(Dispatch+0x33f) [0x80886cf]
17: X(main+0x455) [0x806f095]
18: /lib/libc.so.6(__libc_start_main+0xdc) [0x4f46b60c]
19: X [0x806e4c1]

Fatal server error:
Caught signal 11. Server aborting 

Expected Results:  
X doesn't crash, the dropdown menu appears

The above backtrace was using x11-drivers/nvidia-drivers-173.14.16 (I have a GeForce FX 5500, so I can't use the newer drivers).

If I use x11-drivers/xf86-video-nv-2.1.12 then the backtrace is slightly different:

Backtrace:
0: X(xorg_backtrace+0x3b) [0x812803b]
1: X(xf86SigHandler+0x51) [0x80bd6d1]
2: [0xb7f69400]
3: X(UnmapWindow+0x1dd) [0x80740ed]
4: X(compFreeClientWindow+0x200) [0x8139cf0]
5: X [0x8137224]
6: X(FreeResource+0x109) [0x8070f19]
7: X(compUnredirectWindow+0x73) [0x81398d3]
8: X [0x8137b37]
9: X [0x81205d8]
10: X [0x81204fc]
11: X [0x81204fc]
12: X(miChangeSaveUnder+0x6f) [0x812068f]
13: X(MapWindow+0x34f) [0x80747af]
14: X(ProcMapWindow+0x61) [0x8087e31]
15: X(Dispatch+0x33f) [0x80886cf]
16: X(main+0x455) [0x806f095]
17: /lib/libc.so.6(__libc_start_main+0xdc) [0x4f46b60c]
18: X [0x806e4c1]

Fatal server error:
Caught signal 11. Server aborting 

I noticed the same issue using xorg-server-1.5.3-r3, but didn't test as thoroughly.

KDE 3.5.10 runs fine with no crashes near as I can tell.

X crashed in some additional circumstances which differ from the steps to reproduce given above, if needed I can investigate them further.

The above results occur whether I start the session via KDM or startx.

Xorg.0.log (or Xorg.1.log when appropriate) shows nothing interesting before the crash, only warnings about missing font directories and errors about the freetype module not being found.


$ emerge --info
Portage 2.2_rc25 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Sempron-tm-_2400+-with-glibc2.0
Timestamp of tree: Fri, 13 Mar 2009 13:45:02 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.3.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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O1 -march=athlon-xp -pipe -fforce-addr -mmmx -m3dnow -msse -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O1 -march=athlon-xp -pipe -fforce-addr -mmmx -m3dnow -msse -mfpmath=sse"
DISTDIR="/var/tmp/portage"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_AU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_AU en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/local/src/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa ao apache2 audiofile avahi avi bash-completion bluetooth branding bzip2 cairo caps cdparanoia cdr cjk cli cracklib crypt css curl dbus directfb dri dvd dvdr dvdread emacs emboss encode evo exif expat fam fastcgi ffmpeg flac fuse gd gdbm gif glut gmp gnuplot gnutls gpm gstreamer gtk gtk2 hal iconv idn imagemagick imap imlib ipv6 isdnlog java javascript jpeg kde lame lcms ldap libnotify logrotate mad maildir mbox mhash midi mime mmap mmx mng mp3 mpeg mplayer mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl openmp pam pcre pdf perl php png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session skey slang sockets source speex spell spl srvdir sse ssl startup-notification svg sysfs tcpd tetex theora threads tiff tk truetype unicode usb vorbis webdav win32codecs x86 xcomposite xine xml xml2 xorg xscreensaver xsl xulrunner xv xvid zeroconf zlib" ALSA_CARDS="intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau nv vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 sharpshopter 2009-03-15 01:21:12 UTC
Created attachment 185019 [details]
Xorg.0.log for a crashed session
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-15 12:28:45 UTC
compositing + driver which is not friendly too much for it i guess, nothing we can do with it, unless you want to code the driver.
Well on other hand you can disable compositing effects. (note that this crash was fixed in 1.6.0 (at least for ati))
Comment 3 sharpshopter 2009-03-15 12:40:40 UTC
Which driver are you referring to?  I get this crash for both the nvidia and nv drivers.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-15 12:44:28 UTC
I get the same error for ati.

Really try just disabling the comosite extension if it helps
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-03-15 20:51:05 UTC
(In reply to comment #2)
> compositing + driver which is not friendly too much for it i guess, nothing we
> can do with it, unless you want to code the driver.
> Well on other hand you can disable compositing effects. (note that this crash
> was fixed in 1.6.0 (at least for ati))

Any patches I could backport into 1.5? I already have 68 in the patchball, there's definitely room for one or two extras ;)

Cheers
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-15 20:59:01 UTC
(In reply to comment #5)
> 
> Any patches I could backport into 1.5? I already have 68 in the patchball,
> there's definitely room for one or two extras ;)

Do you know how lazy i am for bisecting, specialy something i have not good knowledge about? :P

We might ask upstream they might cooperate.
Comment 7 sharpshopter 2009-03-15 22:13:21 UTC
After some digging, I resolved this issue by turning off "BackingStore" in xorg.conf
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-03-15 22:48:09 UTC
(In reply to comment #7)
> After some digging, I resolved this issue by turning off "BackingStore" in
> xorg.conf

Interesting. Even more so because newer versions of Xorg won't have backing store anymore, because it was severely broken...

I guess we'll just close this then.

Thanks for the follow up :)