Xorg crashed with SIGABRT in drmmode_from_scrn [hybrid]

Bug #1124693 reported by Adam Bruce
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-nouveau (Ubuntu)
Fix Released
Medium
Maarten Lankhorst

Bug Description

Please note I am in recovery mode due to bug#1124661

#8 <signal handler called>
No symbol table info available.
#9 0x00007faea458ba63 in drmmode_from_scrn (scrn=0x7faea9cbc830) at ../../src/drmmode_display.c:109
        conf = 0x7faea9cac010
        crtc = <error reading variable crtc (Cannot access memory at address 0x1b0)>
#10 drmmode_wakeup_handler (data=0x7faea9cbc830, err=1, p=0x7faea854d000 <LastSelectMask>) at ../../src/drmmode_display.c:1480
        scrn = 0x7faea9cbc830
        drmmode = 0xffffffffffffffe0
#11 0x00007faea8166cfb in WakeupHandler (result=result@entry=1, pReadmask=pReadmask@entry=0x7faea854d000 <LastSelectMask>) at ../../dix/dixutils.c:423
#12 0x00007faea82b7304 in WaitForSomething (pClientsReady=pClientsReady@entry=0x7faea9e8fc90) at ../../os/WaitFor.c:224
        i = 1
        waittime = {tv_sec = 599, tv_usec = 975998}
        wt = 0x7fffcd2a06e0
        clientsReadable = {fds_bits = {0 <repeats 16 times>}}
        clientsWritable = {fds_bits = {140388120561296, 0, 1, 140388118510741, 140385301037061, 0, 140388149781584, 140388084243416, 140736635472000, 1, 140388150835808, 140388118538021, 140736635471696,
            140736635472000, 1, 140388085196934}}
        selecterr = 22
        nready = 0
        devicesReadable = {fds_bits = {0 <repeats 16 times>}}
        someReady = <optimized out>
#13 0x00007faea8162791 in Dispatch () at ../../dix/dispatch.c:357
        clientReady = 0x7faea9e8fc90
        icheck = 0x7faea8544390 <checkForInput>
#14 0x00007faea815154a in main (argc=9, argv=0x7fffcd2a0ae8, envp=<optimized out>) at ../../dix/main.c:298
        alwaysCheckForInput = {0, 1}

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: xserver-xorg-core 2:1.13.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-6.11-generic 3.8.0-rc7
Uname: Linux 3.8.0-6-generic x86_64
.tmp.unity.support.test.1:

ApportVersion: 2.8-0ubuntu4
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CrashCounter: 1
Date: Wed Feb 13 23:35:48 2013
DistUpgraded: Fresh install
DistroCodename: raring
DistroVariant: ubuntu
ExecutablePath: /usr/bin/Xorg
ExtraDebuggingInterest: Yes, including running git bisection searches
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:0446]
 NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df5] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:0446]
InstallationDate: Installed on 2013-02-11 (2 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130210)
MachineType: Dell Inc. Dell System XPS 15Z
MarkForUpload: True
ProcCmdline: /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
ProcEnviron:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-6-generic root=UUID=93acc5a7-d531-4af3-a215-472a7bd065d6 ro recovery nomodeset
Signal: 6
SourcePackage: xorg-server
StacktraceTop:
 ?? () from /usr/lib/xorg/modules/drivers/nouveau_drv.so
 WakeupHandler ()
 WaitForSomething ()
 ?? ()
 ?? ()
Title: Xorg crashed with SIGABRT in WakeupHandler()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 07/27/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 060G42
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd07/27/2011:svnDellInc.:pnDellSystemXPS15Z:pvr:rvnDellInc.:rn060G42:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System XPS 15Z
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.9~daily13.02.08-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.42-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0.2-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0.2-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.2-0ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.2-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.6-0ubuntu2

Revision history for this message
Adam Bruce (brucey-99-deactivatedaccount) wrote :
information type: Private → Public
Bryce Harrington (bryce)
description: updated
summary: - Xorg crashed with SIGABRT in WakeupHandler()
+ Xorg crashed with SIGABRT in drmmode_from_scrn
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote : Re: Xorg crashed with SIGABRT in drmmode_from_scrn

from nouveau ddx, drmmode_display.c:

        if (scrn) {
                xf86CrtcConfigPtr conf = XF86_CRTC_CONFIG_PTR(scrn);
                drmmode_crtc_private_ptr crtc = conf->crtc[0]->driver_private;

  return crtc->drmmode;
        }

crtc is being set to 0x1b0, which is not a valid pointer. Segfaults on deref in the return.

affects: xorg-server (Ubuntu) → xserver-xorg-video-nouveau (Ubuntu)
Changed in xserver-xorg-video-nouveau (Ubuntu):
assignee: nobody → Maarten Lankhorst (mlankhorst)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Maarten Lankhorst (mlankhorst) wrote :

Please please please do not set nomodeset, ever!

Changed in xserver-xorg-video-nouveau (Ubuntu):
status: Triaged → Invalid
Revision history for this message
Maarten Lankhorst (mlankhorst) wrote :

Never mind, at the time of the crash there was no possibility you could have been in nomodeset mode, since the nouveau ddx will not load in that case.

Changed in xserver-xorg-video-nouveau (Ubuntu):
status: Invalid → In Progress
Revision history for this message
Bryce Harrington (bryce) wrote :

I think he didn't deliberately set nomodeset; it sounds like we're doing this via grub for failsafe. Perhaps we shouldn't, but until that's changed we should continue tracking this issue. Ideally the system should give the user an error rather than crashing, or default to something safe when we're in failsafe mode.

summary: - Xorg crashed with SIGABRT in drmmode_from_scrn
+ Xorg crashed with SIGABRT in drmmode_from_scrn [hybrid]
Changed in xserver-xorg-video-nouveau (Ubuntu):
status: In Progress → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-nouveau - 1:1.0.6-0ubuntu3

---------------
xserver-xorg-video-nouveau (1:1.0.6-0ubuntu3) raring; urgency=low

  * Remove individual patches, sync to git a80785f792 to pick up some fixes.
    - Mostly import for fixes to reverse prime support.
  * This hopefully fixes (LP: #1124693)
 -- Maarten Lankhorst <email address hidden> Tue, 19 Feb 2013 17:34:52 +0100

Changed in xserver-xorg-video-nouveau (Ubuntu):
status: Triaged → 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.