xorg server crashes with flgrx and dual monitors

Bug #573470 reported by Brendan Trotter
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
New
Undecided
Unassigned
xorg-server (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The ATI flgrx driver and everything else works perfectly when there's only a single monitor setup.

Attempting to setup 2 monitors (with either "aticonfig" or Catalyst) causes glesx.so to crash with a floating point exception.

If glesx.so is renamed (so X can't find it) both monitors start and it looks like it works - 2 gnome desktops (I didn't enable xinerama), menus, etc; but moving the mouse pointer towards the edge of the first screen or starting applications causes X to crash hard (computer locks up, no keyboard response, power button doesn't reboot unless you hold it for 5 seconds and risk filesystem corruption).

For this second bug (with glesx.so renamed) the end of "Xorg.0.log" says:

[mi] EQ overflowing. The server is probably stuck in an infinite loop.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x4a3248]
1: /usr/bin/X (mieqEnqueue+0x1f4) [0x4a2ac4]
2: /usr/bin/X (xf86PostMotionEventP+0xc4) [0x47cea4]
3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f6f5efca000+0x53cf) [0x7f6f5efcf3cf]
4: /usr/bin/X (0x400000+0x6fca7) [0x46fca7]
5: /usr/bin/X (0x400000+0x11d1f3) [0x51d1f3]
6: /lib/libpthread.so.0 (0x7f6f686cc000+0xf8f0) [0x7f6f686db8f0]
7: /lib/libc.so.6 (ioctl+0x7) [0x7f6f67484157]
8: /usr/lib/fglrx/libatiuki.so.1 (ukiGetLock+0x7b) [0x7f6f64e928bb]
9: /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so (swlDriLock+0x80) [0x7f6f65334260]
10: /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so (swlDriDoWakeupHandler+0x40) [0x7f6f65333790]
11: /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so (0x7f6f650a5000+0x27a62a) [0x7f6f6531f62a]
12: /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so (swlDriWakeupHandler+0x74) [0x7f6f653336c4]
13: /usr/bin/X (WakeupHandler+0x4b) [0x435f2b]
14: /usr/bin/X (WaitForSomething+0x1d7) [0x45f997]
15: /usr/bin/X (0x400000+0x30952) [0x430952]
16: /usr/bin/X (0x400000+0x261aa) [0x4261aa]
17: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f6f673c4c4d]
18: /usr/bin/X (0x400000+0x25d59) [0x425d59]

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xserver-xorg-core 2:1.7.6-2ubuntu7
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Sun May 2 15:11:52 2010
DkmsStatus: fglrx, 8.723.1, 2.6.32-21-generic, x86_64: installed
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
MachineType: Intel Corporation S5520SC
ProcCmdLine: root=/dev/md1 ro text
ProcEnviron:
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: xorg-server
dmi.bios.date: 06/01/2009
dmi.bios.vendor: Intel Corp.
dmi.bios.version: S5500.86B.01.00.0038.060120091503
dmi.board.asset.tag: ....................
dmi.board.name: S5520SC
dmi.board.vendor: Intel Corporation
dmi.board.version: FRU Ver 0.05
dmi.chassis.asset.tag: ....................
dmi.chassis.type: 17
dmi.chassis.vendor: ..............................
dmi.chassis.version: ..................
dmi.modalias: dmi:bvnIntelCorp.:bvrS5500.86B.01.00.0038.060120091503:bd06/01/2009:svnIntelCorporation:pnS5520SC:pvr....................:rvnIntelCorporation:rnS5520SC:rvrFRUVer0.05:cvn..............................:ct17:cvr..................:
dmi.product.name: S5520SC
dmi.product.version: ....................
dmi.sys.vendor: Intel Corporation
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-21-generic
xdpyinfo: Error: [Errno 2] No such file or directory

Revision history for this message
Brendan Trotter (btrotter-gmail) wrote :
affects: ubuntu → fglrx-installer (Ubuntu)
Revision history for this message
OrlandoRichards (orlando-richards) wrote :
Revision history for this message
BenJ (ben-jolitz) wrote :

I just upgraded an install to latest 10.04 only to find that X crashes with a floating point exception in glesx.so.

This is by far the worst bug I've ever seen in a recent Ubuntu LTS release.

ATI users with multi monitors are encouraged to switch to something else until this can be resolved, assuming if ever. It boggles the mind that a regression this huge was not caught during testing.

Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xorg-server (Ubuntu)
Bryce Harrington (bryce)
tags: added: crash
Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrew Somerville (andy-somerville) wrote :

I can fairly consistently reproduce this crash as well. If additional logs help I will produce them on request.

Backtrace from Xorg.0.log.old:

[mi] EQ overflowing. The server is probably stuck in an infinite loop.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e952b]
1: /usr/bin/X (mieqEnqueue+0x1ab) [0x80e8d1b]
2: /usr/bin/X (xf86PostMotionEventP+0xd2) [0x80c2eb2]
3: /usr/lib/xorg/modules/input/evdev_drv.so (0x211000+0x48a1) [0x2158a1]
4: /usr/lib/xorg/modules/input/evdev_drv.so (0x211000+0x4b96) [0x215b96]
5: /usr/bin/X (0x8048000+0x6d76f) [0x80b576f]
6: /usr/bin/X (0x8048000+0x122914) [0x816a914]
7: (vdso) (__kernel_sigreturn+0x0) [0xa49400]
8: /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so (xdl_x750_swlDriLock+0x98) [0x1285c98]
9: /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so (xdl_x750_swlDriDoWakeupHandler+0x4e) [0x128529e]
10: /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so (0xf97000+0x2d4960) [0x126b960]
11: /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so (xdl_x750_swlDriWakeupHandler+0x7f) [0x12851af]
12: /usr/bin/X (WakeupHandler+0x52) [0x80779f2]
13: /usr/bin/X (WaitForSomething+0x1a2) [0x80a4142]
14: /usr/bin/X (0x8048000+0x2a1b0) [0x80721b0]
15: /usr/bin/X (0x8048000+0x1ed7a) [0x8066d7a]
16: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0x2a3bd6]
17: /usr/bin/X (0x8048000+0x1e961) [0x8066961]

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

already open for fglrx, which is the culprit.

Changed in xorg-server (Ubuntu):
status: Confirmed → Invalid
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.