FS#19661 - [xorg-server] Xorg crashes
Attached to Project:
Arch Linux
Opened by Pico (Avatar) - Monday, 31 May 2010, 12:31 GMT
Last edited by Jan de Groot (JGC) - Thursday, 07 April 2011, 08:46 GMT
Opened by Pico (Avatar) - Monday, 31 May 2010, 12:31 GMT
Last edited by Jan de Groot (JGC) - Thursday, 07 April 2011, 08:46 GMT
|
Details
Description: Xorg crashes almost randomly.
I find that often after logging into certain websites such as internet banking or facebook, Xorg would crash as soon as I press the login button or press enter after typing in my password. I've also on occasion had this happen to me when I enter in my password with sudo. Additional info: I built xorg with debug symbols so that I could get more info. Xorg -version: X.Org X Server 1.8.1 Release Date: 2010-05-11 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.34-ARCH i686 Current Operating System: Linux naix 2.6.34-ARCH #1 SMP PREEMPT Mon May 17 08:36:58 UTC 2010 i686 Kernel command line: root=/dev/disk/by-uuid/37a133fd-bd99-435a-967a-546463f8afcc ro Build Date: 31 May 2010 12:29:34PM Gdb backtrace is attached. I apologise if I have not provided all the required info, please let me know if there is something I have omitted. |
This task depends upon
Closed by Jan de Groot (JGC)
Thursday, 07 April 2011, 08:46 GMT
Reason for closing: Duplicate
Additional comments about closing: See last comment. This is caused by invalid TTY assignment.
Thursday, 07 April 2011, 08:46 GMT
Reason for closing: Duplicate
Additional comments about closing: See last comment. This is caused by invalid TTY assignment.
I don't think the signal 3 comes from gdb, it appears even when I do not attach gdb to the process.
The way I did things with gdb is: From a second machine I sshed in and then attached to the Xorg process
gdb /usr/bin/Xorg [pid of Xorg]
Once I quit gdb, I end up back at a the gdm login screen.
I've attached the Xorg log without running gdb, but I don't think it contains anything extra.
You have more info about what's causing the bug here:
http://forums.gentoo.org/viewtopic-t-750470.html
In short, gdm starts on tty2, where there is ALSO a "login" process. So, while typing on Firefox or wherever, somehow it goes down through to "login", and randomly both crash (which makes me think that, beside this bug, there might be a "login" bug too).
You can check what I'm saying is true this way:
1) Start your machine.
2) When gdm login appears, switch to tty1.
3) Switch back to tty2. Voila! gdm is there.
4) Go back to tty1. Login as root, and restart gdm (/etc/rc.d/gdm restart).
4) INMEDIATELY AFTER you restart gdm, switch back again to tty2. You will see some random strange characters, kind of a login attempt failure (wrong username/password). After a few seconds it dissapears.
As a temporal solution, comment your tty2 on /etc/inittab (mine is on line 28), so it doesn't start. That way, you will have gdm on tty2, but no "login" process underneath (or... beside xD).
* X.Org X Server 1.8.1
* Kernel 2.6.34-ARCH i686
* no boot parameters (KMS, etc...)
* ATI 4850 using xf86-video-ati - v6.13.0-1
All went fine until i minimize a window an then try to restore it: BAM!
I'm back to KDM
Problem occurs after last update 2 days ago with kernel 2.6.43 and Xorg 1.8.1
No crash after 20 minutes yet...
I can't seem to find one.
I saw a patch here: http://bugs.gentoo.org/show_bug.cgi?id=312017#c9
But I don't see it applied to the latest gdm from git