[Bug 159588] Weird behaviour on KMix start in KDE4 when started with the session

Christian Esken esken at kde.org
Sat May 17 12:41:07 BST 2008


Hello,

in http://bugs.kde.org/show_bug.cgi?id=159588, slow session start in KDE4 is reported. I'll quote the relevant observation:

"If I quit kmix and start it up there is no problem. However, whenever I login and kmix is restoring a previous session (kmix -session) there is a noticeable delay, 10s-20s, and the keyboard is blocked during this time."

Comment 7 (http://bugs.kde.org/show_bug.cgi?id=159588#c7) suggests, it might have something to do with DBUS communication. strace output:

writev(3, [{"l\1\0\1\21\0\0\0\6\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\f\0\0\0org.kde.kmix\0", 17}], 2) = 161
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(3, "l\2\1\1\n\0\0\0\7\0\0\0=\0\0\0\6\1s\0\5\0\0\0:1.19\0\0\0"..., 2048) = 90
read(3, 0x61bdb0, 2048)                 = -1 EAGAIN (Resource temporarily unavailable)
writev(3, [{"l\1\0\1\0\0\0\0\7\0\0\0{\0\0\0\1\1o\0\20\0\0\0/MainApp"..., 144}, {"", 0}], 2) = 144
poll([{fd=3, events=POLLIN}], 1, 25000) = ? ERESTART_RESTARTBLOCK (To be restarted)

My guess was that it is related to KMix being a "KUniqueApplication" or KMix accesing the global keyboard shorcut service. It's hard to find, as it only happens during session start. Does anybody has a idea what is going on, or how to debug this?

 Christian


-- 
Things should be made as simple as possible, but no simpler. 
  - Albert Einstein




More information about the kde-core-devel mailing list