Xorg crashed with SIGSEGV in NV50ConnectorDestroy() from NVPreInit()

Bug #348422 reported by Lafa
6
Affects Status Importance Assigned to Milestone
xserver-xorg-video-nouveau (Ubuntu)
Fix Released
Medium
Chris Halse Rogers

Bug Description

I remove the nvidia drivers using Hardware drivers tool.

Installed this
sudo apt-get install xserver-xorg-video-nouveau

Edit the xorg.conf and add a line in the Device section:

sudo gedit /etc/X11/xorg.conf

...
Section "Device"
Identifier "Configured Video Device"
Driver "nouveau"
EndSection
...

reboot the system

My system info
x@xpc-desktop:~$ uname -a
Linux xpc-desktop 2.6.28-11-generic #37-Ubuntu SMP Mon Mar 23 16:40:00 UTC 2009 x86_64 GNU/Linux
lafa@xpc-desktop:~$ lapci
bash: lapci: command not found
x@xpc-desktop:~$ lspci
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 01)
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port
00:06.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
00:19.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
00:1c.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:1c.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:1c.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:1c.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
00:1d.0 Audio device: ALi Corporation High Definition Audio/AC'97 Host Controller
00:1e.0 ISA bridge: ALi Corporation PCI to LPC Controller (rev 31)
00:1e.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
00:1f.1 RAID bus controller: ALi Corporation ULi 5287 SATA (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8500 GT (rev a1)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
03:15.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 80)

ProblemType: Crash
Architecture: amd64
Disassembly: 0x7f9df5f370a8:
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/Xorg
NonfreeKernelModules: nvidia
Package: xserver-xorg-core 2:1.6.0-0ubuntu4 [modified: usr/lib/xorg/modules/extensions/libglx.so]
ProcAttrCurrent: unconfined
ProcCmdline: /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #37-Ubuntu SMP Mon Mar 23 16:40:00 UTC 2009
Signal: 11
SourcePackage: xorg-server
Title: Xorg crashed with SIGSEGV
Uname: Linux 2.6.28-11-generic x86_64
Stacktrace:

#0 NV50ConnectorDestroy (pScrn=0x9f6840) at ../../src/nv50_connector.c:103
 connector = (nouveauConnectorPtr) 0x0
 pNv = (NVPtr) 0x7f9dfa0e7010
#1 0x00007f9df5f0bc22 in NVFreeScreen (scrnIndex=0,
    flags=<value optimized out>) at ../../src/nv_driver.c:841
 pScrn = (ScrnInfoPtr) 0x9f6840
 pNv = (NVPtr) 0x7f9dfa0e7010
#2 0x00007f9df5f0e075 in NVPreInit (pScrn=0x9f6840,
    flags=<value optimized out>) at ../../src/nv_driver.c:1518
 from = <value optimized out>
 i = -99717104
 max_width = 8176
 max_height = 8192
 clockRanges = (ClockRangePtr) 0x1
 config_mon_rates = 0
 regs = (volatile uint32_t *) 0x7f9dfa057000
 rgbzeros = {red = 0, green = 0, blue = 0}
 gammazeros = {red = 0, green = 0, blue = 1.15108934e-38}
#3 0x000000000046f9ec in InitOutput (pScreenInfo=0x7de280, argc=10,
    argv=0x7fff02154988) at ../../../../hw/xfree86/common/xf86Init.c:1008
 i = 0
 j = <value optimized out>
 k = <value optimized out>
 scr_index = <value optimized out>
 modulelist = <value optimized out>
 optionlist = (pointer *) 0x9ff200
 layout = <value optimized out>
 screenpix24 = <value optimized out>
 pix24 = <value optimized out>
 pix24From = <value optimized out>
 autoconfig = <value optimized out>
 configured_device = <value optimized out>
#4 0x0000000000433c2e in main (argc=10, argv=0x7fff02154988,
    envp=0x7fff021549e0) at ../../dix/main.c:315
 i = 0
 alwaysCheckForInput = {0, 1}

Revision history for this message
Lafa (luis-alves) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:NV50ConnectorDestroy (pScrn=0x9f6840) at ../../src/nv50_connector.c:103
NVFreeScreen (scrnIndex=0,
NVPreInit (pScrn=0x9f6840,
InitOutput (pScreenInfo=0x7de280, argc=10,
main (argc=10, argv=0x7fff02154988,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in xorg-server:
importance: Undecided → Medium
Revision history for this message
Bryce Harrington (bryce) wrote : Re: Xorg crashed with SIGSEGV

hmm, crash in -nouveau code showing a 0x0 pointer

Changed in xorg-server (Ubuntu):
assignee: nobody → bryceharrington
Bryce Harrington (bryce)
tags: added: crash
Changed in xorg-server (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce)
visibility: private → public
Bryce Harrington (bryce)
description: updated
summary: - Xorg crashed with SIGSEGV
+ Xorg crashed with SIGSEGV in NV50ConnectorDestroy() from InitOutput()
Bryce Harrington (bryce)
summary: - Xorg crashed with SIGSEGV in NV50ConnectorDestroy() from InitOutput()
+ Xorg crashed with SIGSEGV in NV50ConnectorDestroy() from NVPreInit()
Bryce Harrington (bryce)
affects: xorg-server (Ubuntu) → xserver-xorg-video-nouveau (Ubuntu)
Changed in xserver-xorg-video-nouveau (Ubuntu):
assignee: Bryce Harrington (bryceharrington) → nobody
Revision history for this message
Chris Halse Rogers (raof) wrote :

Hm. There seem to be a number of strange things here. Firstly, it looks like you've got an old version of xserver-xorg-video-nouveau installed - can you post the output of "apt-cache policy xserver-xorg-video-nouveau"?

Secondly, it looks like you don't have the DRM module installed - xserver-xorg-video-nouveau should be pulling in the nouveau-kernel-source package which contains the kernel module.

Finally, it looks like you may have installed the nvidia driver manually at some point, and the blob's libglx might still be installed. (Your apport report includes: [modified: usr/lib/xorg/modules/extensions/libglx.so]). This will likely break things, too!

Changed in xserver-xorg-video-nouveau (Ubuntu):
assignee: nobody → Chris Halse Rogers (raof)
status: Confirmed → Incomplete
Bryce Harrington (bryce)
tags: added: jaunty
Revision history for this message
Bryce Harrington (bryce) wrote :

We've uploaded a new -nouveau to Lucid which should no longer be experiencing this problem.

Changed in xserver-xorg-video-nouveau (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.