FS#17472 - [gdm] crashes randomly when the enter key is pressed
Attached to Project:
Arch Linux
Opened by Sam H (samjh) - Saturday, 12 December 2009, 07:41 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 10 August 2010, 18:58 GMT
Opened by Sam H (samjh) - Saturday, 12 December 2009, 07:41 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 10 August 2010, 18:58 GMT
|
Details
Description:
The latest update to xorg-server 1.7.3 causes a hard system crash at random times when the ENTER key is pressed on the keyboard, where "hard crash" means complete system lock-up: no HDD activity, frozen screen display, and no apparent reaction to keyboard or mouse inputs, forcing the user to hard-reset the system. Refer to this forum thread: http://bbs.archlinux.org/viewtopic.php?id=86581 This could possibly be related to an older issue with xorg-server 1.7.1 where X crashed and sent users from the Gnome desktop back to GDM upon pressing the ENTER key. See this forum thread: http://bbs.archlinux.org/viewtopic.php?id=84374 The work-around for both the hard crash with 1.7.3 and the older crash with 1.7.1, is to place the GDM daemon as the last item in the DAEMONS list in /etc/rc.conf. Additional info: * package version(s): xorg-server 1.7.3-1 * config and/or log files etc.: no errors or suspicious entries in any /var/log/* files. * this issue appeared immediately after updating xorg-server from 1.7.2 to 1.7.3 using pacman; forced downgrade to 1.7.2 cured the problem. Steps to reproduce: 1. Install Gnome, GDM, and Xorg. 2. Place GDM in the DAEMONS list in /etc/rc.conf at a location other than the end of the list. 3. Reboot and log-in to Gnome. 4. In any application or terminal, press enter repeatedly until the system crashes (this may take some time). |
This task depends upon
Closed by Jan de Groot (JGC)
Tuesday, 10 August 2010, 18:58 GMT
Reason for closing: Fixed
Additional comments about closing: Patch from last comment has been added to gdm package. GDM starts on vt7+ by default now, no matter what order you start it.
Tuesday, 10 August 2010, 18:58 GMT
Reason for closing: Fixed
Additional comments about closing: Patch from last comment has been added to gdm package. GDM starts on vt7+ by default now, no matter what order you start it.
Kernel 2.6.31-ARCH (x86_64)
X.Org X Server 1.7.1.901 (1.7.2 RC 1)
At irregular intervals (actually I haven't timed it) when I am typing some text into any application and then press Enter it will restart X in exactly the same way as pressing Ctrl+Alt+Backspace usually does. This is massively annoying since it's starting to make me paranoid that I will be randomly logged out when I'm in the middle of doing something.
FS#17525is related, most probably the same bug, but with another way to reproduce.In my case it was freezing after I tried to send a text with ")" in pidgin.
So the sequence of keys was like <text1>)<text2><Enter>
Good that the workaround with placing "gdm" as the last one in daemons list works - I was at the limit to say "fuck-off Arch" because of multiple stupid bugs I'm facing the last few months.
I really love this distro and I don't want to change it, but who knows - 2 years back I was telling the same about Gentoo, which isn't anymore in my life :-)
http://bugs.archlinux.org/task/15881
It was closed with reason: "Won't fix", which was a wrong decision in my opinion. The 'dark' number of users experiencing this issue should be quite big and the existence of this bug is not well known, since everybody thinks about graphics driver errors usually.
Assign to JGC, so he can close it.
kernel26: 2.6.31.6-1
xorg-server: 1.7.3.901-1
PS: Sorry for my English.
There is no errors or something wrong. But moving gdm daemon to last position in list solve my problem. This is very strange workaround :)
I have the same problem. I'm running :
2.6.33-ARCH
xorg-server 1.7.6-3
Nvidia driver 195.36.15-2
KDE 4.4.2-1
Using the inittab method as described in http://wiki.archlinux.org/index.php/GDM#inittab_method_.28recommended.29 works.
I believe this still is a bug however, because the daemon method should work, and the position of 'gdm' in the DAEMONS array should not matter.
I did switch from the Daemon method to the Inittab method to start Xorg on my machine this morning. I will see after a few days, I suppose, whether this is an adequate workaround for the problem. I'll post back here whether I have any luck with that.
Attached is my Xorg.0.log file from my crash this morning.
Attached is my xorg.conf and the crash log.
And why is it okay for Xorg to crash when it starts on VT2?
The position of gdm in the DEAMONS array shouldn't matter. There are good reasons not for putting gdm at last, and gdm should spawn at vt7 by default.
https://bugzilla.gnome.org/show_bug.cgi?id=511168
With an acceptable patch that is being used for openSUSE:
http://bugzilla-attachments.gnome.org/attachment.cgi?id=134497
I built gdm with this patch and it starts on vt7, even if I put gdm earlier in the DAEMONS array.
Patch for svn trunk:
http://pastebin.ca/1896872