Mailinglist Archive: radeonhd (699 mails)

< Previous Next >
Re: [radeonhd] latest radeonhd crashes Xorg - Asus A8Jp, Mobility Radeon X1700
  • From: Kirill Belokurov <kirill.belokurov@xxxxxxxxx>
  • Date: Wed, 21 Nov 2007 23:08:40 +0200
  • Message-id: <200711212308.40421.kirill.belokurov@xxxxxxxxx>
On Wednesday 21 November 2007, Matthias Hopf wrote:
On Nov 21, 07 20:50:51 +0200, Kirill Belokurov wrote:
I pulled the latest master and built it: now it crashes the the Xorg on
start, with the following backtrace:

I had another guy with the same issue, but he couldn't help us, and I
cannot reproduce here.

So if you can build the driver with debug support (-O0 -g3) and run X in
gdb during startup (in a remote session, because you won't be able to
see the console :P) in order to get a reasonable stacktrace, that would
be awesome.

OK, I rebuilt the radeonhd and the stacktrace is attached: output of bt both
brief and full. Let me know if you need more info.

Btw, does the fact that actual crash happens inside of xfree86/ddc/xf86DDC.c
mean that this is not radeonhd issue and it should be forwarded to Xorg
Bugzilla?

Regards, Kirill
root@miracle:~# gdb /usr/bin/Xorg
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /usr/bin/Xorg

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8)
Current Operating System: Linux miracle 2.6.22-14-generic #1 SMP Sun Oct 14
23:05:12 GMT 2007 i686
Build Date: 29 September 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov 21 22:56:03 2007
(==) Using config file: "/etc/X11/xorg.conf"
(II) Module already built-in
(II) Module already built-in
[tcsetpgrp failed in terminal_inferior: Operation not permitted]
(II) Module already built-in
(II) Module already built-in

Program received signal SIGSEGV, Segmentation fault.
DDCRead_DDC2 (scrnIndex=0, pBus=0x0, start=0, len=128) at
../../../../hw/xfree86/ddc/xf86DDC.c:344
344 ../../../../hw/xfree86/ddc/xf86DDC.c: No such file or directory.
in ../../../../hw/xfree86/ddc/xf86DDC.c
(gdb) bt
#0 DDCRead_DDC2 (scrnIndex=0, pBus=0x0, start=0, len=128) at
../../../../hw/xfree86/ddc/xf86DDC.c:344
#1 0x08104426 in xf86DoEDID_DDC2 (scrnIndex=0, pBus=0x0) at
../../../../hw/xfree86/ddc/xf86DDC.c:299
#2 0xb7b6d1e2 in rhdRROutputGetModes (output=0x8229df8) at rhd_randr.c:650
#3 0x080f9087 in xf86ProbeOutputModes (scrn=0x8217a20, maxX=1440, maxY=900) at
../../../../hw/xfree86/modes/xf86Crtc.c:1273
#4 0x080f9763 in xf86InitialConfiguration (scrn=0x8217a20, canGrow=0) at
../../../../hw/xfree86/modes/xf86Crtc.c:1533
#5 0xb7b6d90e in RHDRandrPreInit (pScrn=0x8217a20) at rhd_randr.c:841
#6 0xb7b5c5ac in RHDPreInit (pScrn=0x8217a20, flags=0) at rhd_driver.c:636
#7 0x080a8e54 in InitOutput (pScreenInfo=0x8202a80, argc=1, argv=0xbf82c244)
at ../../../../hw/xfree86/common/xf86Init.c:601
#8 0x08076ceb in main (argc=1, argv=0xbf82c244, envp=0xbf82c24c) at
../../dix/main.c:370
(gdb) bt full
#0 DDCRead_DDC2 (scrnIndex=0, pBus=0x0, start=0, len=128) at
../../../../hw/xfree86/ddc/xf86DDC.c:344
dev = <value optimized out>
W_Buffer = <value optimized out>
w_bytes = <value optimized out>
R_Buffer = <value optimized out>
i = <value optimized out>
#1 0x08104426 in xf86DoEDID_DDC2 (scrnIndex=0, pBus=0x0) at
../../../../hw/xfree86/ddc/xf86DDC.c:299
pScrn = (ScrnInfoPtr) 0x8217a20
EDID_block = <value optimized out>
VDIF_Block = <value optimized out>
tmp = <value optimized out>
noddc = 0
noddc2 = 0
#2 0xb7b6d1e2 in rhdRROutputGetModes (output=0x8229df8) at rhd_randr.c:650
rhdPtr = (RHDPtr) 0x8218408
rout = (rhdRandrOutputPtr) 0x8229af0
edid_mon = (xf86MonPtr) 0x1
__func__ = "rhdRROutputGetModes"
#3 0x080f9087 in xf86ProbeOutputModes (scrn=0x8217a20, maxX=1440, maxY=900) at
../../../../hw/xfree86/modes/xf86Crtc.c:1273
mon_rec = {id = 0x0, vendor = 0x0, model = 0x0, nHsync = 0, hsync =
{{hi = 0, lo = 0}, {hi = 0, lo = 0}, {hi = 0, lo = 0}, {hi = 0,
lo = 0}, {hi = 0, lo = 0}, {hi = 0, lo = 0}, {hi = 0, lo = 0}, {hi = 0,
lo = 0}}, nVrefresh = 0, vrefresh = {{hi = 0, lo = 0}, {
hi = 0, lo = 0}, {hi = 0, lo = 0}, {hi = 0, lo = 0}, {hi = 0, lo = 0},
{hi = 0, lo = 0}, {hi = 0, lo = 0}, {hi = 0, lo = 0}},
Modes = 0x0, Last = 0x0, gamma = {red = 0, green = 0, blue = 0}, widthmm = 0,
heightmm = 0, options = 0x0, DDC = 0x0, reducedblanking = 0,
maxPixClock = 0}
min_clock = 0
output = (xf86OutputPtr) 0x8229df8
default_modes = <value optimized out>
preferred_mode = <value optimized out>
edid_monitor = <value optimized out>
clock = 3.3951932663349407e-313
output_modes = (DisplayModePtr) 0xbf82be90
max_clock = 0
sync_source = sync_default
mode = (DisplayModePtr) 0x820cf78
config_modes = (DisplayModePtr) 0x0
conf_monitor = <value optimized out>
config = (xf86CrtcConfigPtr) 0x82296a8
o = 1
#4 0x080f9763 in xf86InitialConfiguration (scrn=0x8217a20, canGrow=0) at
../../../../hw/xfree86/modes/xf86Crtc.c:1533
config = (xf86CrtcConfigPtr) 0x82296a8
o = <value optimized out>
c = <value optimized out>
target_mode = (DisplayModePtr) 0x8229a18
target_rotation = 47078
---Type <return> to continue, or q <return> to quit---
crtcs = (xf86CrtcPtr *) 0x8229b90
modes = (DisplayModePtr *) 0xb7e4613c
enabled = (Bool *) 0x80ccdcc
width = 1440
height = 900
#5 0xb7b6d90e in RHDRandrPreInit (pScrn=0x8217a20) at rhd_randr.c:841
rhdPtr = (RHDPtr) 0x8218408
randr = (struct rhdRandr *) 0x82180a0
i = 4
j = 2
numCombined = 4
RandrOutput = (rhdRandrOutputPtr *) 0x8229a20
r = (rhdRandrOutputPtr *) 0x8229a30
outputorder = 0x0
__func__ = "RHDRandrPreInit"
#6 0xb7b5c5ac in RHDPreInit (pScrn=0x8217a20, flags=0) at rhd_driver.c:636
rhdPtr = (RHDPtr) 0x8218408
pEnt = (EntityInfoPtr) 0x8214950
ret = 0
i2cArg = {I2CBusList = 0x82169d8, i = 136407512, target = {line =
136407512, slave = 192 '�'}, scanbus = {line = 136407512,
slaves = {136393920, 3213017272, 135135268, 65536}}, monitor = 0x82169d8,
i2cBusPtr = 0x82169d8}
Modes = (DisplayModePtr) 0x82134c0
__func__ = "RHDPreInit"
#7 0x080a8e54 in InitOutput (pScreenInfo=0x8202a80, argc=1, argv=0xbf82c244)
at ../../../../hw/xfree86/common/xf86Init.c:601
i = <value optimized out>
j = -1208783245
k = <value optimized out>
scr_index = <value optimized out>
modulelist = <value optimized out>
optionlist = (pointer *) 0x8213688
layout = <value optimized out>
screenpix24 = <value optimized out>
pix24 = <value optimized out>
pix24From = <value optimized out>
autoconfig = <value optimized out>
generation = 1
#8 0x08076ceb in main (argc=1, argv=0xbf82c244, envp=0xbf82c24c) at
../../dix/main.c:370
i = <value optimized out>
error = 136217184
xauthfile = <value optimized out>
alwaysCheckForInput = {0, 1}
(gdb)
< Previous Next >