Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 285099

Summary: nvidia-drivers-180.* causes xorg-server 1.5 crashes with SEGV
Product: Gentoo Linux Reporter: Robert Forsman <gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: X server log including SEGV and backtrace
X server log including SEGV and backtrace

Description Robert Forsman 2009-09-15 15:25:15 UTC
I upgraded from xorg-server 1.3 to 1.5 yesterday.  This morning I tried to play some flash videos (embedded in icanhascheezburger.com and cuteoverload.com).

The X server crashed while the video was playing (with a signal 11 SEGV).

I re-started X and resumed browsing.  I played one video all the way to the end.  I tried a second video and the X server crashed with a signal 11 again.

 chemmis:184 $ eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11

 chemmis:185 $ epm -qa | egrep 'xorg-server|nvidia|firefox|flash'
xorg-server-1.5.3-r6
mozilla-firefox-3.0.14
adobe-flash-10.0.32.18
nvidia-drivers-180.60
nvidia-settings-180.60
Comment 1 Robert Forsman 2009-09-15 15:30:22 UTC
Created attachment 204209 [details]
X server log including SEGV and backtrace
Comment 2 Robert Forsman 2009-09-17 21:54:17 UTC
Created attachment 204470 [details]
X server log including SEGV and backtrace

This crash occurred after I had uninstalled adobe-flash and re-started X.
Clearly the crash is not limited to the flash player.
Comment 3 Wormo (RETIRED) gentoo-dev 2009-09-18 06:28:57 UTC
This is probably an nvidia driver bug... have you checked around at the Nvidia bug tracker yet to see if there are any similar reports?

Also, please provide more info:
* 'emerge --info' output
* video card info from 'lspci'
Comment 4 Robert Forsman 2009-09-18 18:42:51 UTC
 chemmis:290 $ emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r3-i686-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 18 Sep 2009 08:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
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.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.1
sys-devel/libtool:   1.5.26
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/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
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="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"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
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="/home/thoth/portage"
SYNC="rsync://alexandria/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl alsa amr apache2 arts bash-completion berkdb bluetooth bzip2 bzlib cli cracklib crypt cups dbus dga divx4linux doc dri dts dv dvd dvdr edl encode esd faac ffmpeg firefox flac gdbm gif gnome gnutls gpm gtk hal iconv imagemagick inkjar ipv6 isdnlog java jpeg jpeg2k live logrotate lzo mad maildir matroska mjpegi mmx mmxext mng mozsvg mp3 mp4 mpeg mpeg2 mudflap musepak mysql mythtv ncurses nls nojython nptl nptlonly nsplugin ogg openal opengl openmp oss pam pcmcia pcre pdf perl png pnm pppd python quicktime readline reflection rtsp samba session spl sse sse2 ssl svg sysfs tcltk tcpd theora tiff transcode truetype udev unicode v4l vim-with-x vorbis win32codecs wma wmf x264 x86 xanim xinerama xml xorg xv xvid yv12 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


chemmis thoth # lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)


chemmis thoth # lspci -v -s 01:00.0
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 0228
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at f4000000 (64-bit, prefetchable) [size=64M]
        Memory at fa000000 (64-bit, non-prefetchable) [size=32M]
        I/O ports at df00 [size=128]
        [virtual] Expansion ROM at fea00000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information <?>
        Kernel driver in use: nvidia
        Kernel modules: nvidia


I am going to experiment to see if 

nvidia-settings  -a PixmapCache=0

works around the problem until nvidia un-buggers their drivers.
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2009-09-19 21:07:46 UTC
flash & nvidia drivers are non-free.. You get to keep the pieces
Comment 6 Robert Forsman 2009-09-21 17:56:42 UTC
I masked nvidia-drivers-180.60 and 180.29 and was running with 1.73.14.20.  While I was in the middle of crafting this update the X server crashed.

These drivers appear to lack the PixmapCache setting, so the crashes appear to be independent of that.

I appreciate that you can not fix their drivers, but you can control which packages are masked.  back when I was running xorg 1.3 I could run crash-free for as long as I kept my laptop turned on.  Now that xorg 1.3 is masked and 1.5 is all I have available, I have to endure an unstable X server.

This laptop is less than 2 years old.  I have a laptop closer to 7 years old running 

xorg-server-1.3.0.0-r6
nvidia-drivers-96.43.09

with an uptime of 89 days (although all it does is run mythfrontend).

You need to consider that removing xorg 1.3 leaves some of us with no stable X server.

Is there a portdir overlay I can use that will let me use Xorg 1.3 until the bugs in 1.5 are fixed?