With both x11-base/xorg-server-1.6.3 and x11-base/xorg-server-1.6.2 on amd64 I have had random crashes. The most recent time I was playing starcraft in wine and when I exited it crashed. I can't manually reproduce it (by starting and stopping starcraft, or using xrandr to switch resolutions, etc), so there may be some temporal aspect. Attached are complete xorg log files from two crashes one with 1.6.2 and one from 1.6.3). The backtraces are unlikely anything I could find and very similar to each other. I am using x11-drivers/nvidia-drivers-180.60. Reproducible: Couldn't Reproduce Steps to Reproduce: 1. Play starcraft in wine 2. Exit 3. Rarely crash Actual Results: No crash. Expected Results: Crash. emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30.3 x86_64) ================================================================= System uname: Linux-2.6.30.3-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-1.12.11.1 Timestamp of tree: Fri, 07 Aug 2009 09:30:03 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="C" LDFLAGS="-Wl,-O1" LINGUAS="en_US" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X alsa amd64 bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dri dvd dvdr emboss encode evo exif fam firefox fortran gif gtk gtk2 hal iconv isdnlog jpeg libnotify mmx mmxext mp3 mpeg mudflap multilib ncurses nptl nptlonly nvidia opengl openmp pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype usb xorg xulrunner xv zlib" ALSA_CARDS="intel8x0 usb-audio" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 200530 [details] log from xorg-server-1.6.2
Created attachment 200531 [details] log from xorg-server-1.6.3
Created attachment 200532 [details] xorg config file
I'm not ruling out an Xserver bug, but the empty entries in the backtrace really look like function calls into the nvidia driver. @nvidia guys, what say you? Thanks
Created attachment 200931 [details] xorg-log similar backtrace here when exiting starcraft broodwar on wine. X crashes.
try reemerge wine (after the xorg update). perhaps it helped here. at least when i start the game, begin a mission and exit the game, it works now (no crash).
i have the same problem while playing games in wine (crashed after Neverwinter Nights or Outlaws). It started after upgrading to xorg-server-1.6.3.901-r2 from 1.5.3 and happens with several different nvidia-drivers (180.*, 185.*, 190.*). Crashes stopped when I added to xorg.conf: Option "sw_cursor" "true" (It creates ugly artefacts while playing games, so it's not a feasible solution)
Backtrace: 0: /usr/bin/X(xorg_backtrace+0x26) [0x4ea3e6] 1: /usr/bin/X(xf86SigHandler+0x6f) [0x48874f] 2: /lib/libc.so.6 [0x7f1bc7887290] 3: /lib/libc.so.6(memset+0x48f) [0x7f1bc78d2b3f] 4: /usr/bin/X(dixAllocatePrivate+0x147) [0x433cc7] 5: /usr/bin/X(dixLookupPrivate+0x2d) [0x433dcd] 6: /usr/bin/X(xf86SetCursor+0x76) [0x4b28a6] 7: /usr/bin/X [0x4b1e26] -- xf86CursorSetCursor+630 8: /usr/bin/X [0x4b2077] -- xf86CursorEnableDisableFBAccess+183 9: /usr/bin/X [0x475280] -- xf86RandRSetMode+496 10: /usr/bin/X [0x475433] -- xf86RandRSetConfig+323 11: /usr/bin/X(RRCrtcSet+0x162) [0x514482] 12: /usr/bin/X(ProcRRSetScreenConfig+0x507) [0x519de7] 13: /usr/bin/X(Dispatch+0x39c) [0x44c82c] 14: /usr/bin/X(main+0x3b5) [0x4333b5] 15: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f1bc7873486] 16: /usr/bin/X [0x432869]
Unfortunately this bug has gotten a bit stale due to slipping between the cracks, please retest with the latest X, latest wine and latest nvidia-drivers and all should be well.