kded won't start anymore

Andreas Hartmetz ahartmetz at gmail.com
Mon Jun 23 00:41:43 BST 2008


2008/6/16 Andreas Pakulat <apaku at gmx.de>:
> On 16.06.08 14:20:50, Michael Pyne wrote:
>> On Monday 16 June 2008, Andreas Pakulat wrote:
>> > Hi,
>> >
>> > apparently somehow my global shortcuts stuff got messed up and now
>> > causes kded to crash and not come back. See this from starting kde and
>> > fetching stdout/stderr:
>> > ASSERT: "d->keyToAction.value(key) == ad" in file
>> > /home/andreas/KDE-work/4.0/kdelibs/kdeui/shortcuts/ kdedglobalaccel.cpp,
>> > line 411
>> > KDE Daemon (kded) already running.
>> > konsole(21449) KShortcut::KShortcut: unusable primary shortcut sequence  ""
>> > konqueror(21450) KonqMainWindow::setAnimatedLogoSize: buttonHeight= 22 max
>> > iconSize= 22 konqueror(21450) KonqMainWindow::setAnimatedLogoSize: final
>> > iconSize= 22 kded(21453): Communication problem with  "kded" , it probably
>> > crashed. Error message was:  "org.freedesktop.DBus.Error.NoReply" : "
>> > "Message did not receive a reply (timeou t by message bus)" "
>> >
>> > QDBusConnection received a message of type 3 that it shouldn't have
>> > error: "org.freedesktop.DBus.Error.ServiceUnknown" "The name org.kde.kded
>> > was not provided by any .se rvice files"
>> >
>> > My global shortcuts file is attached. This completely breaks the desktop
>> > - obviously. Anybody with some insight on this? Of course removing the
>> > shortcutsrc file helps.
>>
>>
>> I have reported this as bug 162144 http://bugs.kde.org/show_bug.cgi?id=162144
>>
>>
>> This is based off of JuK global shortcuts, but only with multimedia keys
>> (which I've had to manually xmodmap in on startup).  Do you use multimedia
>> keys or do you have shortcuts assigned to keysyms obtained using xmodmap?
>
> If you don't mind I'm adding my comments to the bugreport. But short
> story is: Yes I do have such multimedia keys and setup some of them for
> kmix (to mute and +/- volume obviously).
>
>> My workaround for now has been to disable the assertion. :(
>
Might not be as bad as it sounds, I am quite assert-happy to make sure
that I am dealing the data I think I am dealing with.
>
>> Unfortunately every time I startup I have to go to JuK and re-select the
>> multimedia keys global shortcut, I assume related to this bug but I'm not sure
>> yet.
>
> I wonder wether the new kded service for shortcuts is really worth all
> this hassle. Seriously. Maybe its just me, but somehow the kde3 version
> of global shortcuts _works_ a lot better (even though its probably not
> so nice API/code).
>
To be fair one should mention that a fair share of problems comes from
kded being unstable due to things like favicons code crashing, inotify
code locking up, unexpected dbus problems...
I do have to take the blame for not considering earlier
internationalization and actions belonging to different components in
an application, though :/

> I guess the next step is to make the release team aware of this and make
> sure this is considered a showstopper bug for the 4.1 release.
>
Sorry, I haven't read k-c-d for a couple of days. I have a feeling
that this may have something to do with some multimedia keys not being
handled properly in Qt. Can somebody say with certainty that the
problem only triggers with "exotic" keys?




More information about the kde-core-devel mailing list