This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE 4.10.2 freezes at startup

Tags: None
(comma "," separated)
tombart
Registered Member
Posts
12
Karma
0
OS

KDE 4.10.2 freezes at startup

Sat Apr 27, 2013 3:05 pm
After upgrade to KDE 4.10.2 freezes after loading two icons on the progress bar. This is content of xsession-errors

Script for cjkv started at run_im.
Script for default started at run_im.
Script for cjkv started at run_im.
Script for default started at run_im.
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusObjectPath: invalid path ""
QObject::connect: Cannot connect (null)::deviceFound(Device*) to BlueDevilDaemon::deviceFound(Device*)
QObject::connect: Cannot connect QTimer::timeout() to (null)::stopDiscovery()

when I delete the ~/.kde folder then workspace manages to start. The successfull start log looks quite the same, except next line after those above is this one:
kded(2015) LayoutMemoryPersister::restoreFromFile: Failed to open layout memory xml file for reading

So, the error might be connected to kded...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE 4.10.2 freezes at startup

Tue Apr 30, 2013 9:35 am
Were you able to switch to another VT and see if KDE was stuck waiting for a particular process to complete?
If you left it for a while, did it eventually complete the login?

The fact that Bluedevil was started indicates that the application startup phase had been completed - so it may simply have been that the splash was not being killed, or that Plasma Desktop was hanging during startup.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
tombart
Registered Member
Posts
12
Karma
0
OS

Re: KDE 4.10.2 freezes at startup

Tue Apr 30, 2013 5:45 pm
I've managed to solve it by creating a new user account. I guess I can still reproduce the problem, I'm just not sure for which processes I should be looking for. Is there a documentation of KDE startup sequence?
tombart
Registered Member
Posts
12
Karma
0
OS

Re: KDE 4.10.2 freezes at startup

Wed May 01, 2013 6:49 am
With old ~/.kde folder KDE won't finish logging sequence.

Here's ps aux |grep kde:
Code: Select all
root        19  0.0  0.0      0     0 ?        S    14:44   0:00 [kdevtmpfs]
deric    13607  0.1  0.0   4440   752 ?        Ss   20:07   0:00 /bin/sh /usr/bin/startkde
deric    13661  0.0  0.0  12612   320 ?        Ss   20:07   0:00 /usr/bin/ssh-agent /usr/bin/gpg-agent --daemon --sh --write-env-file=/home/deric/.gnupg/gpg-agent-info-d630 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/startkde
deric    13662  0.0  0.0  16716   424 ?        Ss   20:07   0:00 /usr/bin/gpg-agent --daemon --sh --write-env-file=/home/deric/.gnupg/gpg-agent-info-d630 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/startkde
deric    13665  0.0  0.0  24464   584 ?        S    20:07   0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/startkde
deric    13729  0.0  0.2 126000  8268 ?        S    20:07   0:00 /usr/bin/kdeinit4 --oom-pipe 4 +kcminit_startup
deric    13730  0.0  0.0      0     0 ?        Z    20:07   0:00 [start_kdeinit_w] <defunct>
deric    13731  0.0  0.0   4204    84 ?        S    20:07   0:00 /usr/lib/kde4/libexec/start_kdeinit +kcminit_startup
deric    13732  0.0  0.5 348572 22872 ?        Ss   20:07   0:00 /usr/bin/kdeinit4 --oom-pipe 4 +kcminit_startup
deric    13733  0.0  0.2 352388 10252 ?        S    20:07   0:00 kdeinit4: klauncher [kdeinit] --fd=9           
deric    13734  0.0  0.2 350688  9068 ?        S    20:07   0:00 kdeinit4: kded4 [kdeinit]                     
deric    13735  0.7  0.8 1082000 35156 ?       Sl   20:07   0:00 kdeinit4: kded4 [kdeinit]                     
deric    14007  0.0  0.0   9792   920 tty1     S+   20:09   0:00 grep kde


The problem seems to be in zombie process [start_kdeinit_w] <defunct>

Grepping defunct processes I get this:
Code: Select all
deric    13730  0.0  0.0      0     0 ?        Z    20:07   0:00 [start_kdeinit_w] <defunct>
deric    13761  0.0  0.0      0     0 ?        Z    20:07   0:00 [setxkbmap] <defunct>
deric    14024  0.0  0.0   9788   928 tty1     S+   20:10   0:00 grep defunct


Which config files are loaded by setxkbmap? Could setxkbmap crash start_kdeinit_w?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE 4.10.2 freezes at startup

Fri May 03, 2013 10:00 am
It looks like zombie processes are not getting cleaned up properly for unknown reasons. Were there any other KDE related processes of note, such as those which may be hung in a "D" (or blocked) state.

I'm not sure why this is occurring unfortunately.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]