Debian Bug report logs - #413463
xserver-xorg-video-ati: Crash on start with radeon driver

version graph

Package: xserver-xorg-video-ati; Maintainer for xserver-xorg-video-ati is Debian X Strike Force <debian-x@lists.debian.org>; Source for xserver-xorg-video-ati is src:xserver-xorg-video-ati (PTS, buildd, popcon).

Reported by: Sven Arvidsson <sa@whiz.se>

Date: Mon, 5 Mar 2007 08:45:02 UTC

Severity: normal

Tags: fixed-upstream

Found in version xserver-xorg-video-ati/1:6.6.3-5

Fixed in version 1:6.6.192-1

Done: Sven Arvidsson <sa@whiz.se>

Bug is archived. No further changes may be made.

Forwarded to https://bugs.freedesktop.org/show_bug.cgi?id=10442

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#413463; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Sven Arvidsson <sa@whiz.se>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Sven Arvidsson <sa@whiz.se>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xserver-xorg-video-ati: Crash on start with radeon driver
Date: Mon, 05 Mar 2007 09:41:52 +0100
[Message part 1 (text/plain, inline)]
Package: xserver-xorg-video-ati
Version: 1:6.6.3-5
Severity: normal

X crashes on start with the radeon driver:

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x84) [0x80c02f4]
1: [0xb7ef0420]
2: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b3d56f]
3: /usr/lib/xorg/modules/drivers//radeon_drv.so(RADEONPreInit+0xb99) [0xb7b405c9]
4: /usr/bin/X(InitOutput+0x9c4) [0x809ff54]
5: /usr/bin/X(main+0x27b) [0x806e35b]
6: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7d08ea8]
7: /usr/bin/X(FontFileCompleteXLFD+0xa5) [0x806d8a1]

Fortunately, the vesa driver still works. I tried falling back to
xserver-xorg-core 1.2.0-5 and xserver-xorg-video-ati 6.6.3-4 but with
the same results.

I'm attaching the old log file where X crash, as the one picked up by
reportbug is with vesa.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/etc/X11/X target unchanged from checksum in /var/lib/x11/X.md5sum.

X server symlink status:
lrwxrwxrwx 1 root root 13 2006-03-24 17:10 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1597708 2007-03-02 20:12 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R200 QM [Radeon 9100]

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 3526 2007-03-05 09:05 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	#Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

Section "Extensions"
	Option "Composite" "Enable"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"se"
	Option		"XkbOptions"	"ctrl:nocaps"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon R200 QM [Radeon 9100]"
	Driver		"ati"
	BusID		"PCI:1:0:0"
	Option		"UseFBDev"		"false"
	Option		"AGPMode" "4"
	#Option		"AGPFastWrite"	"on"
	Option 		"MergedFB" "false"
	#Option		"MonitorLayout" "TMDS, NONE"
	#Option		"EnablePageFlip"	"true"
	Option		"XAANoOffscreenPixmaps" "true"
EndSection

Section "Monitor"
	Identifier	"CMC 17"
	Option		"DPMS"
	HorizSync	30-82
	VertRefresh	56-76
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon R200 QM [Radeon 9100]"
	Monitor		"CMC 17"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 56276 2006-11-04 19:24 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 60127 2007-03-05 09:05 /var/log/Xorg.0.log
-- no debconf information
[Xorg.0.log.old (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#413463; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Sven Arvidsson <sa@whiz.se>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #10 received at 413463@bugs.debian.org (full text, mbox, reply):

From: Sven Arvidsson <sa@whiz.se>
To: 413463@bugs.debian.org
Subject: Re: Bug#413463: xserver-xorg-video-ati: Crash on start with radeon driver
Date: Mon, 05 Mar 2007 15:06:22 +0100
[Message part 1 (text/plain, inline)]
> I tried falling back to
> xserver-xorg-core 1.2.0-5 and xserver-xorg-video-ati 6.6.3-4 but with
> the same results.

Falling back further, to xserver-xorg-video-ati version 6.6.3-2, I can't
reproduce this and everything seem to work fine.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#413463; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Brice Goglin <Brice.Goglin@ens-lyon.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #15 received at 413463@bugs.debian.org (full text, mbox, reply):

From: Brice Goglin <Brice.Goglin@ens-lyon.org>
To: Sven Arvidsson <sa@whiz.se>, 413463@bugs.debian.org
Subject: Re: Bug#413463: xserver-xorg-video-ati: Crash on start with radeon driver
Date: Mon, 05 Mar 2007 20:01:37 +0100
Sven Arvidsson wrote:
> Package: xserver-xorg-video-ati
> Version: 1:6.6.3-5
> Severity: normal
>
> X crashes on start with the radeon driver:
>
> Backtrace:
> 0: /usr/bin/X(xf86SigHandler+0x84) [0x80c02f4]
> 1: [0xb7ef0420]
> 2: /usr/lib/xorg/modules/drivers//radeon_drv.so [0xb7b3d56f]
> 3: /usr/lib/xorg/modules/drivers//radeon_drv.so(RADEONPreInit+0xb99) [0xb7b405c9]
> 4: /usr/bin/X(InitOutput+0x9c4) [0x809ff54]
> 5: /usr/bin/X(main+0x27b) [0x806e35b]
> 6: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7d08ea8]
> 7: /usr/bin/X(FontFileCompleteXLFD+0xa5) [0x806d8a1]
>   

Could you rebuild the server (xserver-xorg-core) and ATI driver with
debugging information and capture a backtrace with gdb? FYI, there are
details on all this at http://wiki.debian.org/HowToGetABacktrace
(replace "hello" with the packages above).

Thank you
Brice




Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#413463; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Sven Arvidsson <sa@whiz.se>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #20 received at 413463@bugs.debian.org (full text, mbox, reply):

From: Sven Arvidsson <sa@whiz.se>
To: Brice Goglin <Brice.Goglin@ens-lyon.org>
Cc: 413463@bugs.debian.org
Subject: Re: Bug#413463: xserver-xorg-video-ati: Crash on start with radeon driver
Date: Mon, 05 Mar 2007 22:15:29 +0100
[Message part 1 (text/plain, inline)]
On Mon, 2007-03-05 at 20:01 +0100, Brice Goglin wrote:
> Could you rebuild the server (xserver-xorg-core) and ATI driver with
> debugging information and capture a backtrace with gdb? FYI, there are
> details on all this at http://wiki.debian.org/HowToGetABacktrace
> (replace "hello" with the packages above).

Hi,

Sure, I'm attaching the backtrace. 

BTW, that page doesn't have any tips on getting a backtrace from X.
Maybe one of the examples from this page could be adapted?
http://wiki.x.org/wiki/DebuggingTheXserver . I ended up using "Debugging
with one machine", version 1.

Also, thanks for following up on this bug so fast! :)

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
[gdb_log.7457 (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#413463; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Sven Arvidsson <sa@whiz.se>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #25 received at 413463@bugs.debian.org (full text, mbox, reply):

From: Sven Arvidsson <sa@whiz.se>
To: Brice Goglin <Brice.Goglin@ens-lyon.org>
Cc: 413463@bugs.debian.org
Subject: Re: Bug#413463: xserver-xorg-video-ati: Crash on start with radeon driver
Date: Sun, 25 Mar 2007 16:55:31 +0200
[Message part 1 (text/plain, inline)]
Hi,

Any news on this yet? Should I report it directly to upstream instead?

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#413463; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #30 received at 413463@bugs.debian.org (full text, mbox, reply):

From: Julien Cristau <jcristau@debian.org>
To: Sven Arvidsson <sa@whiz.se>, 413463@bugs.debian.org
Subject: Re: Bug#413463: xserver-xorg-video-ati: Crash on start with radeon driver
Date: Sun, 25 Mar 2007 17:16:31 +0200
On Sun, Mar 25, 2007 at 16:55:31 +0200, Sven Arvidsson wrote:

> Hi,
> 
Hi Sven,

> Any news on this yet? Should I report it directly to upstream instead?
> 
It would be best if you could do that, yes.

Thanks a lot,
Julien



Noted your statement that Bug has been forwarded to https://bugs.freedesktop.org/show_bug.cgi?id=10405. Request was from Sven Arvidsson <sa@whiz.se> to control@bugs.debian.org. (Sun, 25 Mar 2007 20:33:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#413463; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Sven Arvidsson <sa@whiz.se>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #37 received at 413463@bugs.debian.org (full text, mbox, reply):

From: Sven Arvidsson <sa@whiz.se>
To: 413463@bugs.debian.org
Subject: Re: Bug#413463: xserver-xorg-video-ati: Crash on start with radeon driver
Date: Wed, 28 Mar 2007 21:59:02 +0200
[Message part 1 (text/plain, inline)]
[ Follow up for bug 413463 ]

I have reproduced the crash with version 6.6.191-1, but I also figured
out what setting caused the crash:

Option "MergedFB" "false"

The above option seems to be the culprit, as removing it from xorg.conf
lets me start X as usual. 

The reason I added this option in the first place is because otherwise I
have no working Xv for video. (Only a black area where the video should
be).

I'm using a card with both VGA and DVI using a TFT monitor connected to
the VGA port. It seems like X fails to detect that I'm only using one
monitor, and thus gives me no Xv for the VGA port. I tried to fix this
by specifically setting "MonitorLayout" "NONE, TDMS" but it also seems
like my TFT monitor is detected as a CRT, as I needed to specify "NONE,
CRT", otherwise I only get a black screen.

Should I file a separate bug about this?

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#413463; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Brice Goglin <Brice.Goglin@ens-lyon.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #42 received at 413463@bugs.debian.org (full text, mbox, reply):

From: Brice Goglin <Brice.Goglin@ens-lyon.org>
To: Sven Arvidsson <sa@whiz.se>, 413463@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#413463: xserver-xorg-video-ati: Crash on start with radeon driver
Date: Wed, 28 Mar 2007 23:48:18 +0200
forwarded 413463 https://bugs.freedesktop.org/show_bug.cgi?id=10442
thank you



Sven Arvidsson wrote:
> I have reproduced the crash with version 6.6.191-1, but I also figured
> out what setting caused the crash:
>     Option "MergedFB" "false"
> The above option seems to be the culprit, as removing it from xorg.conf
> lets me start X as usual.

Looks like https://bugs.freedesktop.org/show_bug.cgi?id=10442
    Option "MergedFB" off leads to segfault
It has been reported this morning.

> The reason I added this option in the first place is because otherwise I
> have no working Xv for video. (Only a black area where the video should
> be).
>
> I'm using a card with both VGA and DVI using a TFT monitor connected to
> the VGA port. It seems like X fails to detect that I'm only using one
> monitor, and thus gives me no Xv for the VGA port. I tried to fix this
> by specifically setting "MonitorLayout" "NONE, TDMS" but it also seems
> like my TFT monitor is detected as a CRT, as I needed to specify "NONE,
> CRT", otherwise I only get a black screen.
>
> Should I file a separate bug about this?

Let's see what happens in this upstream bug first. We are close to the
6.7 release of the ATI driver, it's a good time to get such bugs fixed.
If you basically copy-paste all what you said above in the upstream bug,
they might tell you to file another bug, we'll see. Of course, feel free
to provide even more details, and to tell them to fix this bug before
releasing 6.7 :)

Brice




Forwarded-to-address changed from https://bugs.freedesktop.org/show_bug.cgi?id=10405 to https://bugs.freedesktop.org/show_bug.cgi?id=10442. Request was from Brice Goglin <Brice.Goglin@ens-lyon.org> to control@bugs.debian.org. (Wed, 28 Mar 2007 21:51:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#413463; Package xserver-xorg-video-ati. (full text, mbox, link).


Acknowledgement sent to Sven Arvidsson <sa@whiz.se>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #49 received at 413463@bugs.debian.org (full text, mbox, reply):

From: Sven Arvidsson <sa@whiz.se>
To: Brice Goglin <Brice.Goglin@ens-lyon.org>
Cc: 413463@bugs.debian.org
Subject: Re: Bug#413463: xserver-xorg-video-ati: Crash on start with radeon driver
Date: Wed, 28 Mar 2007 23:30:10 +0200
[Message part 1 (text/plain, inline)]
On Wed, 2007-03-28 at 23:48 +0200, Brice Goglin wrote:
> Let's see what happens in this upstream bug first. We are close to the
> 6.7 release of the ATI driver, it's a good time to get such bugs fixed.
> If you basically copy-paste all what you said above in the upstream bug,
> they might tell you to file another bug, we'll see. Of course, feel free
> to provide even more details, and to tell them to fix this bug before
> releasing 6.7 :)

Done. Thanks for all the help!

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
[signature.asc (application/pgp-signature, inline)]

Tags added: fixed-upstream Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (Tue, 03 Apr 2007 23:27:05 GMT) (full text, mbox, link).


Reply sent to Sven Arvidsson <sa@whiz.se>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Sven Arvidsson <sa@whiz.se>:
Bug acknowledged by developer. (full text, mbox, link).


Message #56 received at 413463-done@bugs.debian.org (full text, mbox, reply):

From: Sven Arvidsson <sa@whiz.se>
To: 413463-done@bugs.debian.org
Subject: Close
Date: Mon, 28 May 2007 15:05:21 +0200
[Message part 1 (text/plain, inline)]
Version: 1:6.6.192-1

commit 1acd6d6fa42acec07fb11aeb189f492ddb021cb4
Author: Michel Dänzer <michel@tungstengraphics.com>
Date:   Fri Mar 30 11:06:10 2007 +0200

    radeon: Guard some MergedFB specific code with info->MergedFB tests.
    
    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10442 .

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 26 Jun 2007 04:57:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 30 21:38:48 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.