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
Can you get a proper backtrace with gdb with debugging symbols? http://www.x.org/wiki/Development/Documentation/ServerDebugging/
Please also attach your dmesg output.
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.
Created attachment 111075 [details] dmesg output
Created attachment 111076 [details] gdb trace after Xfce logout
Created attachment 111077 [details] gdb trace after KDE logout
I suggest you configure your login manager (kdm?) to restart the X server after logging out, that should avoid problems like this.
Thanks, setting TerminateServer=true in the [X-:0-Core] section of kdmrc config file as a workaround does the trick.
-- 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.