Xorg crash calling ioctl(xf86Info.consoleFd, VT_ACTIVATE, vt) immediately after login

Bug #762080 reported by Robbie Williamson
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Triaged
High
Unassigned

Bug Description

Crash occurred immediately after login. I have auto-login enabled.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: xserver-xorg-core 2:1.10.0.902-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.gpus.0_: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.registry_: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 270.41.03 Sat Apr 9 00:06:19 PDT 2011
 GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3)
.proc.driver.nvidia.version_:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 270.41.03 Sat Apr 9 00:06:19 PDT 2011
 GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3)
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CrashCounter: 1
Date: Mon Apr 11 10:24:21 2011
DistUpgraded: Log time: 2009-12-10 12:09:42.506150
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 270.41.03, 2.6.38-8-generic, x86_64: installed
 virtualbox-ose, 4.0.4, 2.6.38-7-generic, x86_64: installed
 virtualbox-ose, 4.0.4, 2.6.38-8-generic, x86_64: installed
ExecutablePath: /usr/bin/Xorg
GraphicsCard:
 nVidia Corporation C77 [GeForce 8200] [10de:084b] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Device [1025:0153]
JockeyStatus: xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use)
MachineType: Acer Aspire X1200
ProcCmdline: /usr/bin/X :0 -nr -verbose -auth /var/run/gdm/auth-for-gdm-EYEPEo/database -nolisten tcp vt6
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=3baa4110-0e2c-41ad-b660-cd6418ff8aff ro quiet console=tty6 splash vt.handoff=7
ProcKernelCmdLine_: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=3baa4110-0e2c-41ad-b660-cd6418ff8aff ro quiet console=tty6 splash vt.handoff=7
Renderer: Unknown
SegvAnalysis:
 Segfault happened at: 0x7fa572cdaf8b: cmpb $0x48,(%rcx)
 PC (0x7fa572cdaf8b) ok
 source "$0x48" ok
 destination "(%rcx)" (0x00000051) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: nvidia-graphics-drivers
StacktraceTop:
 ?? ()
 ?? ()
 CloseWellKnownConnections ()
 ?? ()
 ?? ()
Title: Xorg crashed with SIGSEGV in CloseWellKnownConnections()
UpgradeStatus: Upgraded to natty on 2010-05-25 (324 days ago)
UserGroups:

dmi.bios.date: 07/29/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: R01-A3
dmi.board.name: WMCP78M
dmi.board.vendor: Acer
dmi.chassis.asset.tag: 0000000000000000000000
dmi.chassis.type: 3
dmi.chassis.vendor: Acer
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrR01-A3:bd07/29/2008:svnAcer:pnAspireX1200:pvrR01-A3:rvnAcer:rnWMCP78M:rvr:cvnAcer:ct3:cvr:
dmi.product.name: Aspire X1200
dmi.product.version: R01-A3
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu12
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu1
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Robbie Williamson (robbiew) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ?? ()
 _XSERVTransClose (ciptr=0x1c93ef0) at /usr/include/X11/Xtrans/Xtrans.c:928
 CloseWellKnownConnections () at ../../os/connection.c:493
 SigAbortServer (signo=0) at ../../os/log.c:409
 AbortServer () at ../../os/log.c:426

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in nvidia-graphics-drivers (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
visibility: private → public
Timo Aaltonen (tjaalton)
affects: nvidia-graphics-drivers (Ubuntu) → xorg-server (Ubuntu)
Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote : Re: Xorg crashed with SIGSEGV in CloseWellKnownConnections()

[I've marked this bug for inclusion in our oneiric bug queue. While technically this bug has not been re-confirmed against oneiric, I feel it is worth continued development attention. We will need to ask that it be re-confirmed once oneiric is further along, perhaps once we get closer to alpha.]

tags: added: oneiric
Revision history for this message
Bryce Harrington (bryce) wrote :

I've noticed a couple other bugs with similar "CloseWellKnownConnections()" entries in their traces.

Bryce Harrington (bryce)
Changed in xorg-server (Ubuntu):
importance: Medium → High
Bryce Harrington (bryce)
summary: - Xorg crashed with SIGSEGV in CloseWellKnownConnections()
+ Xorg crashed with SIGSEGV immediately after login
Revision history for this message
Bryce Harrington (bryce) wrote : Re: Xorg crashed with SIGSEGV immediately after login

Failure seems to occur at this point in the code:

switch_to(int vt, const char *from)
{
    if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, vt) < 0)
        FatalError("%s: VT_ACTIVATE failed: %s\n", from, strerror(errno));

summary: - Xorg crashed with SIGSEGV immediately after login
+ Xorg crash calling ioctl(xf86Info.consoleFd, VT_ACTIVATE, vt)
+ immediately after login
Revision history for this message
Bryce Harrington (bryce) wrote :

Apparently failing in ioctl call trying to switch to vt 6. This is starting to look like a problem lower down than X. Kernel maybe?

Changed in xorg-server (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Žilvinas Valinskas (zval) wrote :

see bug #441653, seems the same issue.

To post a comment you must log in.