[X1400] Spontaneous Xorg crash [EXA]

Bug #365074 reported by Øyvind Stegard
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Fix Released
Medium
xserver-xorg-video-ati (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I just experienced a completely spontaneous Xorg crash using radeon driver. Seems EXA-related according to the stack trace. I wasn't doing anything other than typing an email in Evolution (no videos, no OpenGL-apps other than Compiz itself).

- Ubuntu Jaunty RC (tracking/current)
- Running Compiz
- Using radeon Xorg driver (xserver-xorg-video-radeon 6.12.1-0ubuntu2)
- Kernel linux-image-2.6.28-11-generic 2.6.28-11.41
- Mesa 7.4-0ubuntu1
- Xorg 7.4~5ubuntu18

Hardware:
- ATI X1400 Radeon Mobility, 128MB RAM
- Intel Core Duo 2GHz, 2GB RAM

Here is the backtrace:
0: /usr/X11R6/bin/X(xorg_backtrace+0x3b) [0x813518b]
1: /usr/X11R6/bin/X(xf86SigHandler+0x55) [0x80c7be5]
2: [0xb7f07400]
3: /usr/X11R6/bin/X(dixFreePrivates+0x8c) [0x8072bdc]
4: /usr/lib/xorg/modules//libfb.so(fbDestroyPixmap+0x32) [0xb75dc282]
5: /usr/lib/xorg/modules//libexa.so [0xb75b7c60]
6: /usr/X11R6/bin/X [0x817f5e2]
7: /usr/lib/xorg/modules/extensions//libextmod.so [0xb78a3018]
8: /usr/X11R6/bin/X(dixDestroyPixmap+0x15) [0x8086d35]
9: /usr/X11R6/bin/X(FreeResource+0x10c) [0x8074c3c]
10: /usr/X11R6/bin/X(ProcFreePixmap+0x93) [0x8088663]
11: /usr/X11R6/bin/X(Dispatch+0x33f) [0x808d57f]
12: /usr/X11R6/bin/X(main+0x3bd) [0x80722ed]
13: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7ada775]
14: /usr/X11R6/bin/X [0x80717a1]
Saw signal 11. Server aborting.
Output LCD1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Enable CRTC 0 success
Unblank CRTC 0 success
 ddxSigGiveUp: Closing log
 ddxSigGiveUp: re-raising 11

I'll attach some logs as well.

Tags: crash
Revision history for this message
Øyvind Stegard (oyvindstegard) wrote : Spontaneous Xorg crash [EXA, radeon]

I just experienced a completely spontaneous Xorg crash using radeon driver. Seems EXA-related according to the stack trace. I wasn't doing anything other than typing an email in Evolution (no videos, no OpenGL-apps other than Compiz itself).

- Ubuntu Jaunty RC (tracking/current)
- Running Compiz
- Using radeon Xorg driver (xserver-xorg-video-radeon 6.12.1-0ubuntu2)
- Kernel linux-image-2.6.28-11-generic 2.6.28-11.41
- Mesa 7.4-0ubuntu1
- Xorg 7.4~5ubuntu18

Hardware:
- ATI X1400 Radeon Mobility, 128MB RAM
- Intel Core Duo 2GHz, 2GB RAM

Here is the backtrace:
0: /usr/X11R6/bin/X(xorg_backtrace+0x3b) [0x813518b]
1: /usr/X11R6/bin/X(xf86SigHandler+0x55) [0x80c7be5]
2: [0xb7f07400]
3: /usr/X11R6/bin/X(dixFreePrivates+0x8c) [0x8072bdc]
4: /usr/lib/xorg/modules//libfb.so(fbDestroyPixmap+0x32) [0xb75dc282]
5: /usr/lib/xorg/modules//libexa.so [0xb75b7c60]
6: /usr/X11R6/bin/X [0x817f5e2]
7: /usr/lib/xorg/modules/extensions//libextmod.so [0xb78a3018]
8: /usr/X11R6/bin/X(dixDestroyPixmap+0x15) [0x8086d35]
9: /usr/X11R6/bin/X(FreeResource+0x10c) [0x8074c3c]
10: /usr/X11R6/bin/X(ProcFreePixmap+0x93) [0x8088663]
11: /usr/X11R6/bin/X(Dispatch+0x33f) [0x808d57f]
12: /usr/X11R6/bin/X(main+0x3bd) [0x80722ed]
13: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7ada775]
14: /usr/X11R6/bin/X [0x80717a1]
Saw signal 11. Server aborting.
Output LCD1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Enable CRTC 0 success
Unblank CRTC 0 success
 ddxSigGiveUp: Closing log
 ddxSigGiveUp: re-raising 11

I'll attach some logs as well.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :
Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :
Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :
Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :
Revision history for this message
benie (bernd-niederberger) wrote :

similar problem here when I setup xinerama on a ATI X1300, but it crashes on start of X.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

I'm not sure if this is related to radeon-driver in particular.

Changed in xserver-xorg-driver-ati:
status: Unknown → Confirmed
Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

Could be related to bug 21132 et al. Apparently that only happens with OpenGL compositing, if that's true for you as well then it seems most likely memory corruption caused by the Mesa driver.

Revision history for this message
In , Øyvind Stegard (oyvindstegard) wrote :

I did run Compiz at the time. However, bug 21132 indicates that crashes occur rather frequently, but this has only happened once to me after upgrading to Ubuntu Jaunty (I upgraded when it was late in beta phase). So I reported it, but unfortunately I have no idea how to reproduce it.

The only "hint" I got is that I remember changing font rendering options back and forth some time before the crash (from sub-pixel to gray-scale and back a few times). Also, sub-pixel font rendering tends to result in corruption for some glyphs, which indicates a problem (might just be related to other small pixmap corruptions that happens with the radeon driver and my graphics card, like bug 18397). I'll try and see if I can provoke crash by jiggling with font settings.

Bryce Harrington (bryce)
tags: added: crash
Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

A fix for a memory use-after-free in the r300 driver just went into Mesa Git master and mesa_7_4_branch. Would be great if you could try if it helps for this problem as well.

Revision history for this message
In , Øyvind Stegard (oyvindstegard) wrote :

(In reply to comment #3)
> A fix for a memory use-after-free in the r300 driver just went into Mesa Git
> master and mesa_7_4_branch. Would be great if you could try if it helps for
> this problem as well.
>

Will do, I'm going to test for bug 21223, and I'll take this bug at the same time. Not sure I'll be able to reproduce this one, though (hasn't happened since I reported it).

Revision history for this message
In , Øyvind Stegard (oyvindstegard) wrote :

I've not been able to reproduce this yet (haven't tried that hard either), but at the same time another Ubuntu user with an ATI X1400 got the exact same crash/backtrace: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/375414

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

(In reply to comment #5)
> at the same time another Ubuntu user with an ATI X1400 got the exact same
> crash/backtrace:
> https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/375414

He's using libgl1-mesa-dri 7.4-0ubuntu3, which AFAICT doesn't have my fix (only -0ubuntu3.1 or -0ubuntu4 does).

Revision history for this message
In , Øyvind Stegard (oyvindstegard) wrote :

(In reply to comment #6)
> (In reply to comment #5)
> > at the same time another Ubuntu user with an ATI X1400 got the exact same
> > crash/backtrace:
> > https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/375414
>
> He's using libgl1-mesa-dri 7.4-0ubuntu3, which AFAICT doesn't have my fix (only
> -0ubuntu3.1 or -0ubuntu4 does).
>

Ok, I have libgl1-mesa-dri 7.4-0ubuntu3.1 (from Jaunty proposed updates).

Changelog says this:
 * debian/patches/106_compiz_ring_switcher_xorg_segv_on_radeon.diff:
    fix xserver segv triggered by compiz ring switcher plugin for users
    with r300/r400 radeon chipsets and -ati driver. Patch previously
    commited to mesa master as c28707b50701b1cf8727be29d61e2d939c6ee58f
    and also to mesa_7_4_branch as a1ce4efefbb7f796a0a24544a1e893a56848f0c1.
    Note: it was commited to the 7.4 branch after mesa 7.4.0 release.
    (LP: #368049)

Does this mean it has been fixed for those of us running with the updated Mesa package ? I won't spend any time trying to reproduce it, if that's the case ;).

Revision history for this message
Martin Olsson (mnemo) wrote : Re: Spontaneous Xorg crash [EXA, radeon]

The duplicate confirms this bug for jaunty final.

Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

Let's assume that fix took care of it.

Bryce Harrington (bryce)
summary: - Spontaneous Xorg crash [EXA, radeon]
+ [X1400] Spontaneous Xorg crash [EXA]
Changed in xserver-xorg-driver-ati:
status: Confirmed → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

From discussion on the upstream bug, looks like this is taken care of now.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Fix Released
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
Changed in xserver-xorg-driver-ati:
importance: Medium → Unknown
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
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.