[packagekit] Blocking calls to packagekitd over dbus hanging

Richard Hughes hughsient at gmail.com
Wed Dec 8 04:26:06 PST 2010


On 8 December 2010 12:21, Sergio Schvezov <sergiusens at ieee.org> wrote:
> My calls generally work for the given transaction ID until out of the
> blue my dbus_g_proxy_call just blocks and never returns, it happens on
> any random method call for that transaction, be it a Resolve,
> InstallPackages, GetProperty, etc.

Have you tried using "dbus-monitor --system" to see what the bus sees?

> So make things weirder, at least for me, if I perform an InstallPackages
> with pkmon open, and that call is the one that just blocks (could be any
> other call too) you'll see through pkmon that the call went through, it
> just never returned in the code; that is why my suspicion is more of a
> DBus than PackageKit thing.

If you run packagekitd with the --verbose switch you'll see lots of
debugging on the console, and this is usually really useful to see if
the daemon actually got the message or not.

You can actually run the dbus daemon verbose too, but the SNR is way
too low to be very useful.

Richard.



More information about the PackageKit mailing list