Xorg crashed with SIGSEGV in WriteToClient()

Bug #925341 reported by Esa-leirivaara
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Fix Released
High
Unassigned

Bug Description

-Ubuntu 12.04 amd64
-Nvidia-current

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: xserver-xorg-core 2:1.11.3-0ubuntu9
ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2
Uname: Linux 3.2.0-12-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] On hakemisto: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 290.10 Wed Nov 16 17:39:29 PST 2011
 GCC version: gcc-versio 4.6.2 (Ubuntu/Linaro 4.6.2-12ubuntu1)
.tmp.unity.support.test.0:

ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
Date: Wed Feb 1 17:31:25 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 290.10, 3.2.0-10-generic, x86_64: installed
 nvidia-current, 290.10, 3.2.0-11-generic, x86_64: installed
 nvidia-current, 290.10, 3.2.0-12-generic, x86_64: installed
ExecutablePath: /usr/bin/Xorg
GraphicsCard:
 NVIDIA Corporation G96 [GeForce 9400 GT] [10de:0641] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: NVIDIA Corporation Device [10de:0551]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120126)
JockeyStatus:
 xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use)
 xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Disabled, Not in use)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 002: ID 03f0:0b0c Hewlett-Packard Wireless Keyboard and Optical Mouse receiver
 Bus 002 Device 003: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
 Bus 002 Device 004: ID 046d:c045 Logitech, Inc. Optical Mouse
MachineType: HP Pavilion 061 RF143AA-ABX m7530.fi-a
ProcCmdline: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
ProcEnviron:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-12-generic root=UUID=3c7e16b5-26f7-4128-a118-cef76ecb2fbc ro quiet splash vt.handoff=7
SegvAnalysis:
 Segfault happened at: 0x7f0a2d4ee06c <WriteToClient+700>: mov (%r12),%rax
 PC (0x7f0a2d4ee06c) ok
 source "(%r12)" (0xffffffff00000001) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: nvidia-graphics-drivers
StacktraceTop:
 WriteToClient ()
 WriteEventsToClient ()
 TryClientEvents ()
 ?? ()
 DeliverEventsToWindow ()
Title: Xorg crashed with SIGSEGV in WriteToClient()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

XorgConf:
 Section "Device"
  Identifier "Default Device"
  Option "NoLogo" "True"
 EndSection
dmi.bios.date: 06/29/2006
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3.12
dmi.board.name: Nash
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3.12:bd06/29/2006:svnHPPavilion061:pnRF143AA-ABXm7530.fi-a:pvr0nx0114RE101NASHM00:rvnMSI:rnNash:rvr1.0:cvn:ct3:cvr:
dmi.product.name: RF143AA-ABX m7530.fi-a
dmi.product.version: 0nx0114RE101NASHM00
dmi.sys.vendor: HP Pavilion 061
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu8
version.ia32-libs: ia32-libs 20090808ubuntu33
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu4
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu4
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.11.3-0ubuntu9
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901-1ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu3
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Esa-leirivaara (esa-leirivaara) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 WriteToClient (who=0x7f0a2f7b24f0, count=32, __buf=0x7fff8a94d690) at ../../os/io.c:789
 WriteEventsToClient (events=0x7fff8a94d690, count=1, pClient=<optimized out>) at ../../dix/events.c:6133
 WriteEventsToClient (pClient=0x7f0a2f7b24f0, count=<optimized out>, events=<optimized out>) at ../../dix/events.c:6017
 TryClientEvents (mask=<optimized out>, count=<optimized out>, pEvents=0x7fff8a94d690, dev=<optimized out>, client=0x7f0a2f7b24f0, filter=<optimized out>, grab=<optimized out>) at ../../dix/events.c:1965
 TryClientEvents (client=0x7f0a2f7b24f0, dev=<optimized out>, pEvents=0x7fff8a94d690, count=<optimized out>, mask=<optimized out>, filter=<optimized out>, grab=0x0) at ../../dix/events.c:1856

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
Bryce Harrington (bryce)
visibility: private → public
Revision history for this message
Bryce Harrington (bryce) wrote :

Thread 1 (Thread 0x7f0a2d3378a0 (LWP 1278)):
#0 WriteToClient (who=0x7f0a2f59d8e0, count=32, __buf=0x7fff8a94c8e0) at ../../os/io.c:789
        oc = 0x7f0a2f3453c0
        oco = 0xffffffff00000001
        padBytes = <optimized out>
        buf = 0x7fff8a94c8e0 "s\311!I~\020R\001\003\004"

The oco pointer address looks wrong. This seems to be something wrong in the server, likely not the driver.

WriteToClient (ClientPtr who, int count, const void *__buf)
    ...
    oc = who->osPrivate;
    oco = oc->output;
    ...
    if ((oco = FreeOutputs))
        {
            FreeOutputs = oco->next; // line io.c:789
        }

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
importance: Medium → High
affects: nvidia-graphics-drivers (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Esa-leirivaara (esa-leirivaara) wrote :

I don't know how important is this because it has happened only once so far.

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

Heya,

There is a new nvidia driver 295.20, can you update to that and re-test? We've had another user report that a similar crash got fixed when they updated to 295.20.

Changed in xorg-server (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Esa-leirivaara (esa-leirivaara) wrote :

Hi Bryce.

I have 295.20 driver, just checked. And this xorg -crash happened only once if i remember correctly, so... Maybe it's long gone.

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

Alright, thanks. Let's go ahead and close it out then. If it comes back, feel free to reopen or file anew at your discretion. Thanks for following up!

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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