|Summary:||Pressing Caps Lock twice when entering password causes restart of X|
|Product:||[Retired] Red Hat Public Beta||Reporter:||Miloslav Trmac <mitr>|
|Component:||libgnomecanvas||Assignee:||Alexander Larsson <alexl>|
|Status:||CLOSED RAWHIDE||QA Contact:||Mike McLean <mikem>|
|Version:||phoebe||CC:||epl, jirka, otaylor, wtogami|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2003-02-19 19:34:05 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
|Bug Depends On:|
Description Miloslav Trmac 2003-01-06 20:06:23 UTC
Steps to Reproduce: 0.Vanilla install, Czech language and keyboard 1.Insert your user name, press Caps Lock twice, press Enter 2.Insert the password, press Caps Lock twice 3.Boot into Failsafe session [not required, just for faster reproducing], press Enter to log in 4.In the terminal, enter setxkbmap -symbols 'czsk(us_cz_qwerty)' -compat group_led (This, except for s/symbols/layout/', is the setup I use in RHL 8.0 without these problems. -layout causes error messages in Phoebe) 5.Log out 6.Insert your user name, press Caps Lock twice, press Enter 7.Insert the password, press Caps Lock twice Actual results: Nothing unusual in 1., 2. and 6. After pressing Caps Lock for the second time in .7, X restarts. Expected results: Additional info:
Comment 1 Edmund Lam 2003-01-11 14:41:48 UTC
I've experienced this bug too. I'll give my two cents to help isolate the conditions when it occurs. My system is a Toshiba Satellite 3000 laptop with the i686 kernel and the vesa driver under X driving the Nvidia Go chip. I doubt any of this matters though. To reproduce 1) My system boots into runlevel 5 2) For the username, type "a", then "A", then "a" using the CapsLock to change case. Notice the "You've got capslock on!" message being displayed. I'm not sure whether this step is strictly neccessary. 3) For the password, simply switch the CapsLock on then off. Notice that the "You've got capslock on!" message does not display. X/gdm-binary/gdmgreeter crashes as soon as CapsLock is switched off. I'm running the system with US English. I don't even need to logon with a valid username/password to trigger this bug. I tried debugging from the virtual console using strace and ltrace. Nothing crashes in such circumstances, but the "You've got capslock on!" message is not displayed, so I still know there is a bug. However, upon the killing of the ltrace or strace process monitoring the gdmgreeter process, a crash occurs when the user switches back to the X console (ie Alt-F7) without further keyboard input to gdm. My gut feeling is that it is gdmgreeter's fault.
Comment 2 Havoc Pennington 2003-01-11 16:12:03 UTC
You might check the gdm log files, and see if anything ended up in there.
Comment 3 Havoc Pennington 2003-01-12 19:28:11 UTC
From George: I'm wondering if this bug can be "fixed" by just setting: daemon/AlwaysRestartServer=true I'm starting to lean towards just making that the default since there just seem to be too many issues connected with just -HUP ing the X server. And perhaps remove the -HUPing code and always have the slave quit. I think I will do that right now in fact in CVS. It gives an ugly flicker since the X server will change vt to vt1 when it ends and then back to vt7, but oh well, who cares.
Comment 4 Edmund Lam 2003-01-13 01:40:21 UTC
Altering the AlwaysRestartServer variable in /etc/X11/gdm/gdm.conf does not stop the bug from occuring. gdm/X/whatever still crashes. Furthermore, I've checked the /var/log/gdm/:0.log* files and there are no errors of any sort. Last line in these logfiles were: (==) Using config file: "/etc/X11/XF86Config" Incidentally, I've changed my greeter from the default "graphical" greeter to the "standard" greeter (which isn't the default, but still graphical) as seen in the program ``gdmsetup''. It doesn't crash anymore. The effect is that gdm-login is used rather than gdmgreeter. This points the bug squarely at gdmgreeter. Furthermore, using the "graphical" greeter, but with a different theme (either Circles or Happy GNOME) also seems to solve the problem -- odd. This indicates that either the theme (if it has code) has bugs in it or it is triggering bugs in gdmgreeter.
Comment 5 Owen Taylor 2003-01-16 21:19:59 UTC
Taking gdm target/blockers.
Comment 6 Owen Taylor 2003-01-17 00:38:33 UTC
I doubt this has/had anything to do with restarting the server or the Xkb configuration when logged in. Most likely it is/was some straightforward greeter crash. I can't reproduce it though.. Can you reproduce it with 220.127.116.11 from Rawhide?
Comment 7 Edmund Lam 2003-01-18 03:20:25 UTC
Owen, if you're referring to me to install the package from Rawhide, you'd have to wait another few weeks. I've recently wiped phoebe and gone back to 8.0 for "Real Work". I might try the phoebe gdm on RH8.0 to see if I can reproduce the bug and the Rawhide gdm on RH8.0 to see if it can fix it. Might be a wait though.
Comment 8 Miloslav Trmac 2003-01-21 11:11:05 UTC
Strange... Did another (fairly minimal) install, and it is now reproducible regardless of Xkb setting. Using the suggested package (although with --oldpackage, I didn't have gtk 2.2 final handy) causes the same. It is a crash in gdmgreeter, attaching traceback from the Phoebe 1 version. [Side note: Are/will the -debuginfo packages be available?]
Comment 10 Owen Taylor 2003-01-21 16:39:19 UTC
Thanks for the backtrace -- apparently this is a libgnomecanvas bug, see: http://bugzilla.gnome.org/show_bug.cgi?id=102811 libgnomecanvas 18.104.22.168 is supposed to fix; so we need to upgrade that package.
Comment 11 Alexander Larsson 2003-01-31 12:30:58 UTC
libgnomecanvas 22.214.171.124 is in rawhide, so should be fixed now.
Comment 12 Miloslav Trmac 2003-02-14 20:56:44 UTC
I indeed can't reproduce the crash with gdm-126.96.36.199-1 and libgnomecanvas- 188.8.131.52-1. BUT: 1) enter any username 2) start entering a password, press Caps Lock 3) enter a bad password Result: a "Password" field appears again, not "Username". Only way I know of to get back to the "username" prompt is Ctrl-Alt-Backspace.