Xorg crashed with SIGSEGV.

Bug #805346 reported by Matthew Roughan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
High
fglrx
Fix Released
High
fglrx-installer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Bug occurred while the computer was not being actively used. A similar bug causes X to crash at least once a day. The problem can be caused by taking acroread and moving it across screens -- I have a multihead system.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: xserver-xorg-core 2:1.10.1-1ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Fri Jul 1 11:59:04 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: ubuntu
ExecutablePath: /usr/bin/Xorg
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcCmdline: /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-s54Fua/database -nolisten tcp
ProcEnviron:
 LANG=en_AU.UTF-8
 LANGUAGE=en_AU:en
 PATH=(custom, no user)
Signal: 11
SourcePackage: xorg-server
StacktraceTop:
 ?? () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
 ?? () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
 xf86RecolorCursor (pScreen=<value optimised out>, pCurs=0xd9abd70, displayed=<value optimised out>) at ../../../../hw/xfree86/ramdac/xf86HWCurs.c:225
 xf86SetCursor (pScreen=0xd41e80, pCurs=0xd9abd70, x=<value optimised out>, y=<value optimised out>) at ../../../../hw/xfree86/ramdac/xf86HWCurs.c:150
 xf86CursorSetCursor (pDev=0x11a0e60, pScreen=0xd41e80, pCurs=0xd9abd70, x=545, y=32) at ../../../../hw/xfree86/ramdac/xf86Cursor.c:350
Title: Xorg crashed with SIGSEGV in xf86RecolorCursor()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Matthew Roughan (matthew-roughan) wrote :
Revision history for this message
Justin Cherniak (justin-cherniak) wrote :

I am also seeing this bug crop up for me. In my case, I have a 2-card, 3-monitor system using xinerama.

Here is the backtrace from an attached gdb session:
Program received signal SIGSEGV, Segmentation fault.
0x00007fdc0ef5beff in ?? () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
(gdb) bt
#0 0x00007fdc0ef5beff in ?? () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
#1 0x00007fdc0ef5ba5d in ?? () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
#2 0x0000000000545212 in xf86RecolorCursor (pScreen=<value optimized out>, pCurs=0x2ee7d10,
    displayed=<value optimized out>) at ../../../../hw/xfree86/ramdac/xf86HWCurs.c:225
#3 0x0000000000545361 in xf86SetCursor (pScreen=0x26dc8b0, pCurs=0x2ee7d10, x=<value optimized out>,
    y=<value optimized out>) at ../../../../hw/xfree86/ramdac/xf86HWCurs.c:150
#4 0x0000000000543db8 in xf86CursorSetCursor (pDev=0x2ea9490, pScreen=0x26dc8b0, pCurs=0x2ee7d10, x=5,
    y=239) at ../../../../hw/xfree86/ramdac/xf86Cursor.c:350
#5 0x000000000045b60c in miPointerUpdateSprite (pDev=0x2ea9490) at ../../mi/mipointer.c:386
#6 0x00000000004a2039 in mieqProcessInputEvents () at ../../mi/mieq.c:527
#7 0x000000000046c709 in ProcessInputEvents () at ../../../../hw/xfree86/common/xf86Events.c:165
#8 0x000000000042e023 in Dispatch () at ../../dix/dispatch.c:363
#9 0x0000000000421a7e in main (argc=8, argv=<value optimized out>, envp=<value optimized out>)
    at ../../dix/main.c:287

Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Roughan (matthew-roughan) wrote : Re: [Bug 805346] Re: Xorg crashed with SIGSEGV.

Seems to have something to do with fglrx_drv. I guess more than two
monitors pushes the envelope a bit.

Its beyond my skills to debug, but I can now replicate the bug. All I
have to do is start acroread or gnumeric, and move it between screens.
I'd be interested to know if this same thing kills your X. Acroread
spouts a bunch of warnings when it starts, so I guess there is something
unusual in the way it approaches the window manager.

Since I stopped using those two, I have only had one crash.

Cheers,
Matt

On 13/07/11 04:37, Justin Cherniak wrote:
> I am also seeing this bug crop up for me. In my case, I have a 2-card,
> 3-monitor system using xinerama.
>
> Here is the backtrace from an attached gdb session:
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007fdc0ef5beff in ?? () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
> (gdb) bt
> #0 0x00007fdc0ef5beff in ?? () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
> #1 0x00007fdc0ef5ba5d in ?? () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
> #2 0x0000000000545212 in xf86RecolorCursor (pScreen=<value optimized out>, pCurs=0x2ee7d10,
> displayed=<value optimized out>) at ../../../../hw/xfree86/ramdac/xf86HWCurs.c:225
> #3 0x0000000000545361 in xf86SetCursor (pScreen=0x26dc8b0, pCurs=0x2ee7d10, x=<value optimized out>,
> y=<value optimized out>) at ../../../../hw/xfree86/ramdac/xf86HWCurs.c:150
> #4 0x0000000000543db8 in xf86CursorSetCursor (pDev=0x2ea9490, pScreen=0x26dc8b0, pCurs=0x2ee7d10, x=5,
> y=239) at ../../../../hw/xfree86/ramdac/xf86Cursor.c:350
> #5 0x000000000045b60c in miPointerUpdateSprite (pDev=0x2ea9490) at ../../mi/mipointer.c:386
> #6 0x00000000004a2039 in mieqProcessInputEvents () at ../../mi/mieq.c:527
> #7 0x000000000046c709 in ProcessInputEvents () at ../../../../hw/xfree86/common/xf86Events.c:165
> #8 0x000000000042e023 in Dispatch () at ../../dix/dispatch.c:363
> #9 0x0000000000421a7e in main (argc=8, argv=<value optimized out>, envp=<value optimized out>)
> at ../../dix/main.c:287
>
>
> ** Changed in: xorg-server (Ubuntu)
> Status: New => Confirmed
>

Revision history for this message
Justin Cherniak (justin-cherniak) wrote :

I can duplicate it with other applications as well. I can reliably duplicate it using Eclipse by dragging a window to another screen and I've seen it crash thunderbird as well.

This is bad...

Changed in xorg-server (Ubuntu):
status: Confirmed → New
Revision history for this message
Justin Cherniak (justin-cherniak) wrote :

Based on http://ati.cchtml.com/show_bug.cgi?id=86#c2

It seems using a software cursor is a workaround for the bug. Obviously this isn't quite a "fix", but it does resolve the crashes from what I can tell.

affects: xorg-server (Ubuntu) → fglrx-installer (Ubuntu)
Revision history for this message
madbiologist (me-again) wrote :

The newly released Catalyst (fglrx) 11.10 driver contains a bug-fix for a segmentation fault occurring under Ubuntu 11.04 64-bit. Can anyone test and report back here?

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

Hey matthew-roughan,

You filed this bug report against natty, but I see it's still open and
doesn't appear to have much activity recently. So, now that oneiric
is released and stable, this may be a good point for you to upgrade
and re-test if this issue is still present there.

If it's solved in the new release and you think it's worth backporting
the fix, please indicate that. Or if having the fix in the new release
is good enough, feel free to close out the bug (or let us know and we'll
close it.)

If it's not solved, leave the bug report open. I can't promise we'll
get to it (we get way more bugs filed than we can usually get to), but
your testing and feedback can help out if and when we do.

Changed in fglrx-installer (Ubuntu):
status: New → Incomplete
Revision history for this message
Matthew Roughan (matthew-roughan) wrote :

Sorry, I haven't had a chance to test this recently, but I am having a
go today.

Cheers,
Matt

On 09/11/11 13:21, Bryce Harrington wrote:
> Hey matthew-roughan,
>
>
> You filed this bug report against natty, but I see it's still open and
> doesn't appear to have much activity recently. So, now that oneiric
> is released and stable, this may be a good point for you to upgrade
> and re-test if this issue is still present there.
>
> If it's solved in the new release and you think it's worth backporting
> the fix, please indicate that. Or if having the fix in the new release
> is good enough, feel free to close out the bug (or let us know and we'll
> close it.)
>
> If it's not solved, leave the bug report open. I can't promise we'll
> get to it (we get way more bugs filed than we can usually get to), but
> your testing and feedback can help out if and when we do.
>
>
> ** Changed in: fglrx-installer (Ubuntu)
> Status: New => Incomplete
>

Revision history for this message
Matthew Roughan (matthew-roughan) wrote :

I've upgraded to oneiric and most of the problems seem to have gone.
I'll let you know if the intermitant failure returns.

Cheers,
Matt

On 09/11/11 13:21, Bryce Harrington wrote:
> Hey matthew-roughan,
>
>
> You filed this bug report against natty, but I see it's still open and
> doesn't appear to have much activity recently. So, now that oneiric
> is released and stable, this may be a good point for you to upgrade
> and re-test if this issue is still present there.
>
> If it's solved in the new release and you think it's worth backporting
> the fix, please indicate that. Or if having the fix in the new release
> is good enough, feel free to close out the bug (or let us know and we'll
> close it.)
>
> If it's not solved, leave the bug report open. I can't promise we'll
> get to it (we get way more bugs filed than we can usually get to), but
> your testing and feedback can help out if and when we do.
>
>
> ** Changed in: fglrx-installer (Ubuntu)
> Status: New => Incomplete
>

Bryce Harrington (bryce)
Changed in fglrx-installer (Ubuntu):
status: Incomplete → Fix Released
Changed in fglrx:
importance: Unknown → High
status: Unknown → Fix Released
Changed in xorg-server:
importance: Unknown → High
status: Unknown → 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.