Segfault at X startup with radeon driver

Bug #505112 reported by Philip Jägenstedt
This bug report is a duplicate of:  Bug #505095: X don't start in Lucid. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg

After updating today and rebooting X crashes a few times before dropping into low-graphics mode. I've saved the logs via the menus there provided. This is the interesting part:

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x4a2528]
1: /usr/bin/X (0x400000+0x650fd) [0x4650fd]
2: /lib/libpthread.so.0 (0x7fd5bdeb6000+0xf780) [0x7fd5bdec5780]
3: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7fd5bab1a000+0xcfef0) [0x7fd5babe9ef0]
4: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7fd5bab1a000+0xb68c8) [0x7fd5babd08c8]
5: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7fd5bab1a000+0xb6c79) [0x7fd5babd0c79]
6: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7fd5bab1a000+0x178dd) [0x7fd5bab318dd]
7: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7fd5bab1a000+0xd60b1) [0x7fd5babf00b1]
8: /usr/bin/X (AddScreen+0x1d4) [0x42bbf4]
9: /usr/bin/X (InitOutput+0x7b4) [0x473774]
10: /usr/bin/X (0x400000+0x25fa5) [0x425fa5]
11: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7fd5bcbb1c4d]
12: /usr/bin/X (0x400000+0x25cf9) [0x425cf9]
Segmentation fault at address 0x100000004

I believe I have the relevant -dbg packages installed, but I don't know how to make gdm start using those so the backtrace is somewhat useless. If someone can give instructions for attaching gdb at startup or otherwise getting a meaningful backtrace I would be grateful.

ProblemType: Bug
Architecture: amd64
Date: Sat Jan 9 11:54:47 2010
DistroRelease: Ubuntu 10.04
MachineType: System manufacturer System Product Name
Package: xserver-xorg 1:7.5+1ubuntu1
ProcCmdLine: root=UUID=a8894e9a-2938-4850-8561-401f720a162c ro quiet splash nmi_watchdog=0
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu1
 libgl1-mesa-glx 7.7-0ubuntu1
 libdrm2 2.4.17-0ubuntu1
 xserver-xorg-video-intel 2:2.9.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20091125.0061c4db-0ubuntu1
SourcePackage: xorg
Tags: lucid
Uname: Linux 2.6.32-9-generic x86_64
dmi.bios.date: 02/02/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0701
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M4A78 PRO
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.:bvr0701:bd02/02/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A78PRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.32-9-generic

Revision history for this message
Philip Jägenstedt (foolip) wrote :
Revision history for this message
Philip Jägenstedt (foolip) wrote :

The relevant config files seem to have been automatically attached, so I won't attach the failsafeX-backup-100109114425.tar saved as it looks redundant.

Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Revision history for this message
Philip Jägenstedt (foolip) wrote :

After looking at recently updated packages at https://lists.ubuntu.com/archives/lucid-changes/2010-January/date.html I tried downgrading a few (by manually downloading debs and installing all at once with dpkg -i)

First downgrading the xorg-server-* packages to 7.5~3ubuntu4 did not help.

Then downgrading libc6 (and friends) to 2.11~20100104-0ubuntu2 didn't help.

Finally, simultaneously downgrading libdrm to 2.4.14-1ubuntu2 and the mesa packages to 7.6.1~rc3-1ubuntu2 DOES fix the problem. I suspect libdrm since that actually contains radeon-related changes, mesa was only to fix broken packages.

Should this be moved to libdrm and is there anything I could do to help debug this further?

Revision history for this message
zigi (ziegleka) wrote :

I confirm this bug.

Revision history for this message
Hans Bakker (hansmbakker) wrote :

I am experiencing the bug, too. Installing latest updates on Kubuntu 10.04 prevents the X-server from starting.
System is an Intel Core2Duo P7450; 4 GB RAM; Ati Radeon Mobility 4530 HD.

Part of Xorg.0.log:
[ 0.375361] (II) LoadModule: "exa"
[ 0.375500] (II) Loading /usr/lib/xorg/modules/libexa.so
[ 0.387243] (II) Module exa: vendor="X.Org Foundation"
 compiled for 1.7.3.902, module version = 2.5.0
 ABI class: X.Org Video Driver, version 6.0
[ 0.387268] (II) UnloadModule: "vesa"
[ 0.387274] (II) Unloading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 0.387281] (II) UnloadModule: "fbdev"
[ 0.387287] (II) Unloading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 0.387293] (II) UnloadModule: "fbdevhw"
[ 0.387298] (II) Unloading /usr/lib/xorg/modules/linux/libfbdevhw.so
[ 0.387306] (--) Depth 24 pixmap format is 32 bpp
[ 0.395758] (II) RADEON(0): [DRI2] Setup complete
[ 0.395850] (II) RADEON(0): Front buffer size: 0K
[ 0.395858] (II) RADEON(0): VRAM usage limit set to 228643K
[ 0.410271] (==) RADEON(0): Backing store disabled
[ 0.410281] (II) RADEON(0): Direct rendering enabled
[ 0.425865] (II) RADEON(0): Setting EXA maxPitchBytes
[ 0.425884] (II) EXA(0): Driver allocated offscreen pixmaps
[ 0.425895] (II) EXA(0): Driver registered support for the following operations:
[ 0.425901] (II) Solid
[ 0.425906] (II) Copy
[ 0.425911] (II) Composite (RENDER acceleration)
[ 0.425916] (II) UploadToScreen
[ 0.425921] (II) DownloadFromScreen

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e887b]
1: /usr/bin/X (0x8048000+0x61a1d) [0x80a9a1d]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb776a410]
3: /usr/lib/xorg/modules/drivers/radeon_drv.so (0xb7255000+0xafd53) [0xb7304d53]
4: /usr/lib/xorg/modules/drivers/radeon_drv.so (0xb7255000+0xb00f8) [0xb73050f8]
5: /usr/lib/xorg/modules/drivers/radeon_drv.so (0xb7255000+0xe63b) [0xb726363b]
6: /usr/lib/xorg/modules/drivers/radeon_drv.so (0xb7255000+0xce4e7) [0xb73234e7]
7: /usr/bin/X (AddScreen+0x198) [0x806ce88]
8: /usr/bin/X (InitOutput+0x820) [0x80b9ce0]
9: /usr/bin/X (0x8048000+0x1eb8b) [0x8066b8b]
10: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0xb74aebd6]
11: /usr/bin/X (0x8048000+0x1e931) [0x8066931]
Segmentation fault at address 0x1

Caught signal 11 (Segmentation fault). Server aborting

Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

 ddxSigGiveUp: Closing log

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