Xorg crashed with SIGABRT - sna_put_image() with drawable=0x0

Bug #1133490 reported by Johan Thorén
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This bug has been haunting me for a couple of weeks now.

It happens only sometimes when I interact with tabs in Firefox or Chrome/Chromium (all three tested, both stable and beta), about 3-5 times per day.

What did I do before the crash:

Interacting with tabs, creating new on, closing existing or clicking on active to change focus.

What should happen:

The browser should follow with the appropriate action, such as starting a new tab, closing the one I clicked on or changing focus to the one I clicked on.

What does happen:

X shuts down and kicks me out to the lightdm login screen.

Is this Unity related:

No, the same problem exists within Awesome WM.

Extra information:

* Using 2 SSD disks with full disk encryption.
* Using SNA and TearFree options to have totally smooth video playback.

#4 0x00007fe99bffff32 in AbortServer () at ../../os/log.c:652
No locals.
#5 0x00007fe99c0007cd in FatalError (
    f=f@entry=0x7fe99c02a3c8 "Caught signal %d (%s). Server aborting\n") at ../../os/log.c:793
        args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffbd89d4a0,
            reg_save_area = 0x7fffbd89d3e0}}
        args2 = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fffbd89d4a0,
            reg_save_area = 0x7fffbd89d3e0}}
        beenhere = 1
#6 0x00007fe99bff8d8e in OsSigHandler (sip=<optimized out>, signo=11, unused=<optimized out>)
    at ../../os/osinit.c:146
#7 OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at ../../os/osinit.c:107
#8 <signal handler called>
#9 __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:198
#10 0x00007fe99893240e in memcpy_blt (src=0x240, dst=0x7fe98db75240, bpp=448, src_stride=65536,
    dst_stride=564, src_x=<optimized out>, src_y=0, dst_x=0, dst_y=0, width=145, height=19)
    at ../../../src/sna/blt.c:167
        src_bytes = 0x7fe98db75000 ""
#11 0x00007fe998955ce6 in sna_put_image (drawable=0x0, gc=0x7fe99d372110, depth=24, x=0, y=0,
    w=145, h=19, left=0, format=2, bits=0x7fe98db75000 "") at ../../../src/sna/sna_accel.c:3846
        sna = 0x7fe99d41d860
        priv = 0x7fffbd89db88
        region = {extents = {x1 = 0, y1 = 0, x2 = 145, y2 = 19}, data = 0x0}
#12 0x00007fe99bf819b2 in damagePutImage (pDrawable=0x7fe99d41d860, pGC=0x7fe99d372110, depth=24,
    x=0, y=0, w=<optimized out>, h=19, leftPad=0, format=2, pImage=0x7fe98db75000 "")
    at ../../../miext/damage/damage.c:792
        pGCPriv = 0x7fe99d3721f8
        oldFuncs = 0x7fe99c275440 <damageGCFuncs>
#13 0x00007fe99bf3ac2c in ProcShmPutImage (client=0x7fe99cdc48d0) at ../../Xext/shm.c:584
        pGC = 0x7fe99d372110
        pDraw = 0x7fe99d41d860
        shmdesc = 0x7fe99d37a360
        stuff = 0x7fe99cd8081c
#14 0x00007fe99bf3bac5 in ProcShmDispatch (client=0x7fe99cdc48d0) at ../../Xext/shm.c:1115
        stuff = 0x7fe99cd8081c
#15 0x00007fe99be9da41 in Dispatch () at ../../dix/dispatch.c:428
        clientReady = 0x7fe99c946af0
        client = 0x7fe99cdc48d0
        nready = 0
        icheck = 0x7fe99c27f390 <checkForInput>
        start_tick = 760
#16 0x00007fe99be8c54a in main (argc=11, argv=0x7fffbd89dfd8, 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-7.15-generic 3.8.0
Uname: Linux 3.8.0-7-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.8-0ubuntu4
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Tue Feb 26 18:38:39 2013
DistUpgraded: Fresh install
DistroCodename: raring
DistroVariant: ubuntu
ExecutablePath: /usr/bin/Xorg
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0112] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:844d]
InstallationDate: Installed on 2013-02-26 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130225)
MachineType: System manufacturer System Product Name
MarkForUpload: True
ProcCmdline: /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
ProcEnviron:

ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-7-generic root=UUID=829c3e54-1bef-426e-98fd-31e294c320b0 ro quiet splash vt.handoff=7
Signal: 6
SourcePackage: xorg-server
StacktraceTop:
 ?? () from /lib/x86_64-linux-gnu/libc.so.6
 ?? () from /usr/lib/xorg/modules/drivers/intel_drv.so
 ?? () from /usr/lib/xorg/modules/drivers/intel_drv.so
 ?? ()
 ?? ()
Title: Xorg crashed with SIGABRT
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 08/24/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0905
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8H67-I
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0905:bd08/24/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8H67-I:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.9~daily13.02.19-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.3-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.6-0ubuntu3
xserver.bootTime: Tue Feb 26 18:38:49 2013
xserver.configfile: /etc/X11/xorg.conf
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.13.2-0ubuntu2
xserver.video_driver: intel

Revision history for this message
Johan Thorén (kveras) wrote :
information type: Private → Public
Revision history for this message
Johan Thorén (kveras) wrote :

The problem exists in 12.04 as well.

Bryce Harrington (bryce)
description: updated
summary: - Xorg crashed with SIGABRT
+ Xorg crashed with SIGABRT - sna_put_image() with drawable=0x0
Timo Aaltonen (tjaalton)
affects: xorg-server (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Chris Wilson (ickle) wrote :

I believe I've fixed up the likely cause. (NB TearFree is still experimental.)

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Fix Committed
bugbot (bugbot)
tags: added: crash
tags: removed: need-amd64-retrace
Chris Wilson (ickle)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Fix Committed → 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.