Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266236 - x11-base/xorg-server-1.5.3-r5 segfaults after some time
Summary: x11-base/xorg-server-1.5.3-r5 segfaults after some time
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Highest normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 251832
  Show dependency tree
 
Reported: 2009-04-15 11:13 UTC by Markus
Modified: 2009-05-18 17:11 UTC (History)
1 user (show)

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


Attachments
Xorg log file from crash (crash.txt,40.66 KB, text/plain)
2009-05-18 17:06 UTC, Pouya K
Details
xorg.conf file that led to a crash (xorg.conf,298 bytes, text/plain)
2009-05-18 17:07 UTC, Pouya K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus 2009-04-15 11:13:33 UTC
After some time X just exits and I am at the login-screen again.
The Xorg.log says:
Backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4e7e16]
1: /usr/bin/X(xf86SigHandler+0x39) [0x493ef9]
2: /lib/libc.so.6 [0x7f72e64252b0]
3: /usr/bin/X(miPaintWindow+0x198) [0x4c95f8]
4: /usr/bin/X(miHandleValidateExposures+0x84) [0x4e04b4]
5: /usr/bin/X(UnmapWindow+0x200) [0x4353d0]
6: /usr/bin/X(compFreeClientWindow+0x236) [0x4f8676]
7: /usr/bin/X [0x4f5bf9]
8: /usr/bin/X(FreeResource+0x133) [0x432e13]
9: /usr/bin/X(compUnredirectWindow+0x63) [0x4f8273]
10: /usr/bin/X [0x4f6636]
11: /usr/bin/X [0x4e0a3f]
12: /usr/bin/X [0x4e094c]
13: /usr/bin/X [0x4e094c]
14: /usr/bin/X(miChangeSaveUnder+0x50) [0x4e0ad0]
15: /usr/bin/X(miSetShape+0x1b8) [0x4df4d8]
16: /usr/bin/X [0x4fd7d2]
17: /usr/bin/X [0x4fdb71]
18: /usr/bin/X(Dispatch+0x364) [0x449914]
19: /usr/bin/X(main+0x445) [0x4305a5]
20: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f72e6411486]
21: /usr/bin/X [0x42f9a9]

Fatal server error:
Caught signal 11.  Server aborting


Reproducible: Always

Steps to Reproduce:
1. Build new Xorg and use it

Actual Results:  
It segfaults.

Expected Results:  
It should just work :-/

I upgraded and used the same config (only the mouse-config was updated to no longer use the name but the path...)

Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-Dual_Core_AMD_Opteron-tm-_Processor_180-with-glibc2.2.5
Timestamp of tree: Mon, 13 Apr 2009 17:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  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="-march=opteron -O2 -pipe"
CHOST="x86_64-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 /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirror.leaseweb.com/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j1"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/berkano /usr/portage/local/layman/verlihub /usr/portage/local/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acl acpi aften alsa amd64 apache2 arts audiofile automount bash-completion berkdb bluetooth branding bzip2 cairo caps cdparanoia cdr chroot cli cracklib crypt css cups curl dbus dri dvb dvd dvdr dvdread encode evo exif fam ffmpeg firefox flac foomaticdb fortran ftp fuse gcj gd gdbm gif gimp glib gmp gpm gs hal hbci iconv idea idn imagemagick inotify isdnlog java jpeg kde kdeenablefinal kdeprefix latex lcms libclamav libnotify lm_sensors logitech-mouse logrotate mad midi mjpeg mmx mmxext mng mp3 mp4 mpeg mudflap multilib mysql ncurses nls no-htdocs nptl nptlonly nsplugin nvidia ogg openal opengl openmp oss pam pcre pdf perl php png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection rtc rtsp samba sdl session smp spell spl sse sse2 sse3 ssl startup-notification svg sysfs sysvipc tcpd tetex theora threads tiff tools truetype type1 unicode usb v4l v4l2 vcd vnc vorbis webkit wifi x264 xcb xcomposite xine xml xml2 xorg xpm xulrunner xv xvid xvmc 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="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus 2009-04-15 13:53:30 UTC
What I figured out so far:
It happens randomly but it can only take a few minutes.
It happens when a window should open up. (It cant connect to the server as stated in the user xsession-errors and all other a killed because they lost the x-server.)
Comment 2 Markus 2009-04-15 14:38:36 UTC
"window should open up" is also the case for menues btw.
Without doing anything, it runs without a problem for hours. (no failure at all)
Comment 3 Markus 2009-04-15 14:42:17 UTC
Another, though similar, backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4e7e16]
1: /usr/bin/X(xf86SigHandler+0x39) [0x493ef9]
2: /lib/libc.so.6 [0x7f030fa322b0]
3: /usr/bin/X(miHandleValidateExposures+0x6c) [0x4e049c]
4: /usr/bin/X(UnmapWindow+0x200) [0x4353d0]
5: /usr/bin/X(compFreeClientWindow+0x236) [0x4f8676]
6: /usr/bin/X [0x4f5bf9]
7: /usr/bin/X(FreeResource+0x133) [0x432e13]
8: /usr/bin/X(compUnredirectWindow+0x63) [0x4f8273]
9: /usr/bin/X [0x4f6636]
10: /usr/bin/X [0x4e0a3f]
11: /usr/bin/X [0x4e094c]
12: /usr/bin/X [0x4e094c]
13: /usr/bin/X(miChangeSaveUnder+0x50) [0x4e0ad0]
14: /usr/bin/X(MapWindow+0x317) [0x435a37]
15: /usr/bin/X(ProcMapWindow+0x46) [0x4490e6]
16: /usr/bin/X(Dispatch+0x364) [0x449914]
17: /usr/bin/X(main+0x445) [0x4305a5]
18: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f030fa1e486]
19: /usr/bin/X [0x42f9a9]

Fatal server error:
Caught signal 11.  Server aborting
Comment 4 Markus 2009-04-16 11:10:39 UTC
The xorg-server should be masked untill this is resolved. It is definitly unusable!
It may be something like bug 238634.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-18 00:06:36 UTC
Please attach a Xorg log file that explains what drivers are used. Also explain whether you did or did not rebuild x11-drivers/*. Then reopen this bug report. 

Also, it isn't critical or a blocker just because you happen to experience it.
Comment 6 Miroslaw Mieszczak 2009-05-14 14:18:59 UTC
It seems there is a problem with nvidia.
option "Backingstore" "false" is needed.

Please see bugs:

https://fcp.surfsite.org/modules/newbb/viewtopic.php?topic_id=65359&forum=12&post_id=311464
and
http://bbs.archlinux.org/viewtopic.php?pid=463677
Comment 7 Pouya K 2009-05-18 17:06:24 UTC
I am also having similar crashes. I can't produce them very reproducibly (they occur sporadically). I have noticed that trying to open openoffice makes them much more likely to occur (although I can open openoffice several times without it occurring). 

Here is my backtrace: 

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4e7e16]
1: /usr/bin/X(xf86SigHandler+0x39) [0x487c79]
2: /lib/libc.so.6 [0x34b4c311d0]
3: /usr/bin/X(XkbStringText+0x1c) [0x5642dc]
4: /usr/bin/X(XkbWriteXKBGeometry+0x17c) [0x55637c]
5: /usr/bin/X(XkbWriteXKBKeymapForNames+0x69b) [0x555a9b]
6: /usr/bin/X(XkbDDXLoadKeymapByNames+0x182) [0x55f522]
7: /usr/bin/X(ProcXkbGetKbdByName+0x36d) [0x53bffd]
8: /usr/bin/X(Dispatch+0x364) [0x449914]
9: /usr/bin/X(main+0x445) [0x4305a5]
10: /lib/libc.so.6(__libc_start_main+0xf4) [0x34b4c1e4a4]
11: /usr/bin/X [0x42f9a9]


Notes: I do have an nvidia card, but did not have backstore enabled. I think this started when I moved to 1.5, but at one point I also updated my kernel and disabled acpi (this is not a laptop). I am on AMD64. I am attaching a full log of a crash (I plug/unplug my keyboard and mouse frequently which is the cause of the many messages about them coming back online) and my Xorg.conf.
Comment 8 Pouya K 2009-05-18 17:06:57 UTC
Created attachment 191702 [details]
Xorg log file from crash
Comment 9 Pouya K 2009-05-18 17:07:24 UTC
Created attachment 191704 [details]
xorg.conf file that led to a crash
Comment 10 Pouya K 2009-05-18 17:11:00 UTC
Also, I have emerge all my x11-drivers (x11-drivers/xf86-input-evdev-2.1.3 and x11-drivers/nvidia-drivers-180.29) since my last emerge of xorg-server (x11-base/xorg-server-1.5.3-r5). It does appear that multiple people are experiencing this bug so maybe it should be considered critical/blocking... it certainly outweighs any benefits from this upgrade.