Red Hat Bugzilla – Bug 122172
New user accounts cause KDE hang on login (related: kdeinit segfault on first ever boot?)
Last modified: 2015-01-04 17:05:35 EST
Description of problem:
On a completely fresh install of FC2 Test 3 on a Toshiba A40 laptop
(Celeron, 256MB), the first time that *any* user tries to log in to
KDE, something (kdeinit?) hangs forever. This situation persists even
after gdm is restarted, until the whole system is rebooted. Then, the
user in question can log in OK, but other new users will experience
the same problem.
The hang occurs when the login splash screen is showing the very last
icon highlighted ("Restoring Session"). At this point, the system is
still responsive; X is still up; the splash screen icon continues
flashing and the mouse pointer works. I can switch to a terminal and
However, interestingly, if I kill gdm and then try to log in again as
the same user, the hang will occur again - but not necessarily at the
same point in the login process (at least according to the flashing
icons on the splash screen). The point at which it occurs seems to
vary but in either case, the desktop never appears.
If the system is rebooted, the user can then (and subsequently) log in
This happened with the first (non-root) user that I created in the
firstboot config, and exactly the same with a second subsequent user
that I created later the same day, but with a third user that I've
just tried creating (a couple of days later), everything worked OK. I
have not applied any updates to the system.
One thing which may or may not be related: on the *first ever boot*
(*only*) after install, it does appear that kswapd and (immediately
after) kdeinit segfaulted at the point of first ever login. I will
attach the logs of the first boot including the kernel dump of the
1. Create new user 'foo'
2. Login from gdm as 'foo'
3. First time: hang occurs whilst splash screen is on the last icon
4. Subsequent logins: hang occurs at random point
6. Login now OK, both during current session and after subsequent reboots
- First ever login: kdeinit/kswapd segfault
Created attachment 99860 [details]
Complete system log of first system boot/login showing kswapd/kdeinit segfault
This log shows the complete first boot of the machine after installation. Key
15:08:30 - I (tim) log in for the first ever time. I've just created my local
user account in the first boot configurator.
15:08:48 - kswapd segfaults followed by kdeinit
15:11:13 - I give up waiting for KDE to start (at this stage, the splash screen
is showing but with "Restoring Session" endlessly flashing), and switch to a
terminal where I log in as root
15:14:04 - I do "killall gdm"
I must stress that although the "hang on login" problem occurred in exactly the
same way when I subsequently added another local user, the segfaults of
kswapd/kdeinit *have not occurred again*. The ONLY time they occurred is as
shown in this attachment.
it looks like a kernel bug here.
It's probably worth noting that the same problem *did not* occur on a
fresh install of FC2 final on the same machine.
reopen if it reoccurs.