[packagekit] Pardus 2009 PackageKit 0.4.9 pisi backend
Richard Hughes
hughsient at gmail.com
Wed Aug 5 06:06:15 PDT 2009
2009/8/5 Aşkın Yollu <askin at askin.ws>:
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7f97623 in pk_package_id_copy () from /usr/lib/libpackagekit-glib.so.11
> (gdb) bt
> #0 0xb7f97623 in pk_package_id_copy () from
> /usr/lib/libpackagekit-glib.so.11
Hmm. Could you try printing what your are sending packagekitd that
makes it crash please?
Change this:
self.details("%s-%s" % (pkg.name, self.__get_package_version(pkg)),
pkg.license,
group,
pkg.description,
pkg.packageURI,
pkg.packageSize)
to:
print pkg.name, self.__get_package_version(pkg)
print pkg.license, group, pkg.description, pkg.packageSize
I suspect you're not formatting the package_id correctly (the first
parameter) but that's only a hunch. Either way, there's some sloppy
error handling that needs to be fixed in the daemon.
Richard.
More information about the PackageKit
mailing list