Bug 87433 - X crashes randomly at logout using radeonhd driver
Summary: X crashes randomly at logout using radeonhd driver
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-18 09:05 UTC by heavymetal
Modified: 2019-11-19 07:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg log with backtrace after crash on logout (50.73 KB, text/plain)
2014-12-18 09:05 UTC, heavymetal
no flags Details
dmesg output (24.54 KB, text/plain)
2014-12-20 09:59 UTC, heavymetal
no flags Details
gdb trace after Xfce logout (20.04 KB, text/plain)
2014-12-20 10:00 UTC, heavymetal
no flags Details
gdb trace after KDE logout (19.83 KB, text/plain)
2014-12-20 10:00 UTC, heavymetal
no flags Details

Description heavymetal 2014-12-18 09:05:23 UTC
Created attachment 110976 [details]
xorg log with backtrace after crash on logout

I'm using Xorg with radeonhd driver on Gentoo x86_64, using KDM as a display manager. When I logout of an Xfce/KDE session, sometimes all goes well, sometimes Xorg just crashes and switches to an empty text console (blinking cursor only), and sometimes the monitor switches to standby mode.

Sometimes I'm able to switch to a text console (with the monitor in standby or not), login as root and restart Xorg successfully, but sometimes the only way out is using the sysrq keys to sync and shutdown somewhat properly.

Most of the times I'm not getting a useful Xorg log, as it ends with the line "(EE) Backtrace:", with no further info following.

However, I randomly managed to get a stacktrace (see attachment). I compiled the affected libraries with debug symbols, however the trace didn't seem to get resolved properly. Hope it helps anyway?

Tried different combinations of kernel, Xorg, mesa, and radeon driver, none seems to work.

Current combination (Gentoo package versions):
- gentoo-sources-3.17.4
- xorg-server-1.15.0
- xf86-video-ati-7.5.0
- radeon-ucode-20140823
- glamor-0.6.0
- mesa-10.3.5
Comment 1 Alex Deucher 2014-12-18 14:26:10 UTC
Can you get a proper backtrace with gdb with debugging symbols?

http://www.x.org/wiki/Development/Documentation/ServerDebugging/
Comment 2 Alex Deucher 2014-12-18 14:26:27 UTC
Please also attach your dmesg output.
Comment 3 heavymetal 2014-12-20 09:59:05 UTC
Sorry for the incomplete backtrace, I missed an option in the Gentoo package system.

I'll attach two similar gdb backtraces, one after logging out from an Xfce session, which resulted in a blinking text cursor in Xorg's current console, and one after logging out of a KDE session, which resulted in the screen going into standby.

After The Xfce logout, I was able to switch to another text console, login as root and restart X.
After the KDE logout, none of the text consoles were available, I couldn't even login "blindly" to restart X. However, restarting X from the remote PC via ssh worked like a charm.
Comment 4 heavymetal 2014-12-20 09:59:38 UTC
Created attachment 111075 [details]
dmesg output
Comment 5 heavymetal 2014-12-20 10:00:30 UTC
Created attachment 111076 [details]
gdb trace after Xfce logout
Comment 6 heavymetal 2014-12-20 10:00:51 UTC
Created attachment 111077 [details]
gdb trace after KDE logout
Comment 7 Michel Dänzer 2014-12-24 07:20:31 UTC
I suggest you configure your login manager (kdm?) to restart the X server after logging out, that should avoid problems like this.
Comment 8 heavymetal 2015-01-05 19:07:47 UTC
Thanks, setting TerminateServer=true in the [X-:0-Core] section of kdmrc config file as a workaround does the trick.
Comment 9 Martin Peres 2019-11-19 07:49:18 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/issues/121.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.