Mailinglist Archive: radeonhd (333 mails)

< Previous Next >
Re: [radeonhd] backtrace from server when running mplayer
  • From: Egbert Eich <eich@xxxxxxx>
  • Date: Tue, 14 Oct 2008 10:35:10 +0200
  • Message-id: <18676.22974.991581.897201@xxxxxxxxxxxxxx>
Ruediger Oertel writes:
Hi,

how can I debug this further:
whenever I call up mplayer, the Xserver crashes like this:
Backtrace:
0: /usr/bin/X(xf86SigHandler+0x65) [0x4895e5]
1: /lib64/libc.so.6 [0x7fda885ec7c0]
2:
/usr/lib64/xorg/modules//drivers/radeonhd_drv.so(RHDAtomBIOSScratchPMState+0xb)

[0x7fda872c2aeb]
3: /usr/lib64/xorg/modules//drivers/radeonhd_drv.so [0x7fda872a6204]
4: /usr/bin/X(DPMSSet+0xcb) [0x48b2eb]
5: /usr/lib64/xorg/modules//extensions/libextmod.so [0x7fda8797dd3c]
6: /usr/bin/X(Dispatch+0x364) [0x44beb4]
7: /usr/bin/X(main+0x45d) [0x43231d]
8: /lib64/libc.so.6(__libc_start_main+0xe6) [0x7fda885d85a6]
9: /usr/bin/X [0x4316f9]

just tried this again with the current git code.
It does not even seem to matter which video output mode I choose
for mplayer, (x11,xv,gl,gl2 all tried)


Bummer!

Rudi, please try the patch below.

Cheers,
Egbert.

diff --git a/src/rhd_driver.c b/src/rhd_driver.c
index 570eae5..7500973 100644
--- a/src/rhd_driver.c
+++ b/src/rhd_driver.c
@@ -835,14 +835,14 @@ RHDPreInit(ScrnInfoPtr pScrn, int flags)
if (RHDAtomBiosFunc(rhdPtr->scrnIndex, rhdPtr->atomBIOS,
ATOMBIOS_GET_OUTPUT_DEVICE_LIST, &data) ==
ATOM_SUCCESS)
OutputDeviceList = data.OutputDeviceList;
+ }

- if (OutputDeviceList) {
- struct rhdOutput *Output;
+ if (OutputDeviceList) {
+ struct rhdOutput *Output;

- for (Output = rhdPtr->Outputs; Output; Output = Output->Next)
- RHDAtomSetupOutputDriverPrivate(OutputDeviceList, Output);
- xfree(OutputDeviceList);
- }
+ for (Output = rhdPtr->Outputs; Output; Output = Output->Next)
+ RHDAtomSetupOutputDriverPrivate(OutputDeviceList, Output);
+ xfree(OutputDeviceList);
}
#endif
/*
< Previous Next >
Follow Ups
References