[Bug 310826] Amarok startup hangs for 5 seconds in KSystemTimeZonesPrivate::instance() - race condition with Telepathy Integration kded4 Module
Matěj Laitl
matej at laitl.cz
Thu Nov 29 23:48:46 GMT 2012
https://bugs.kde.org/show_bug.cgi?id=310826
--- Comment #5 from Matěj Laitl <matej at laitl.cz> ---
(In reply to comment #4)
> TelepathyMPRIS::detectPlayers() does use async DBus methods (from 0.4
> onwards), so I don't think we (KTp) are doing anything wrong?
Hmm, I have ktp-kded-module-0.5.1.
>From the backtrace
#7 QDBusConnectionPrivate::sendWithReply (this=0x1b20570, message=...,
sendMode=<optimized out>, timeout=-1) at qdbusintegrator.cpp:1904
#8 0x00007f54fda34d7c in QDBusConnectionPrivate::findMetaObject
(this=0x1b20570, service=..., path=<optimized out>, interface=..., error=...)
at qdbusintegrator.cpp:2356
#9 0x00007f54fda44173 in QDBusInterfacePrivate::QDBusInterfacePrivate
(this=0x2457cd0, serv=<optimized out>, p=<optimized out>, iface=<optimized
out>, con=<optimized out>) at qdbusinterface.cpp:158
#10 0x00007f54fda442b9 in QDBusInterface::QDBusInterface (this=0x7fff492d6d90,
service=..., path=..., interface=..., connection=<optimized out>, parent=0x0)
at qdbusinterface.cpp:220
#11 0x00007f54deefc4c3 in TelepathyMPRIS::detectPlayers (this=0x2079f90) at
/var/tmp/portage/net-im/ktp-kded-module-0.5.1/work/ktp-kded-integration-module-0.5.1/telepathy-mpris.cpp:104
it seem that merely creating a QDBusInterface is synchronous. :-(
But I think my original wild guess doesn't seem to be right. Does the line
QDBusInterface mprisInterface(service,
QLatin1String("/org/mpris/MediaPlayer2"),
QLatin1String("org.freedesktop.DBus.Properties"));
try to contact Amarok in any way?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kde-telepathy-bugs
mailing list