[packagekit] Refcount problem in pk-backend.c?

Richard Hughes hughsient at gmail.com
Sat Nov 17 03:01:45 PST 2007


On Fri, 2007-11-16 at 16:26 -0700, Boyd Timothy wrote:
> Just wondered if there's a refcount problem going on here.  When I run
> pk-repo, the packagekit daemon is occasionally crashing:
> 
> http://pastebin.ca/777707
> 
> Any ideas?
> 
> These are the last few output lines of the daemon as it crashes:
> 
> [pk_engine_repo_enable] pk-engine.c:2170 (23:54:20):     RepoEnable
> method called: 17;bceaabee;data, openSUSE-10.3-DVD 10.3, 1
> [pk_strvalidate] pk-common.c:292 (23:54:20):     invalid char ' ' in text!

You've got a space in your repo id: openSUSE-10.3-DVD 10.3 - that's not
allowed.

> *** WARNING ***
> [pk_backend_connection_changed_cb] pk-backend.c:1871 (23:54:22):
>   client disconnected.... 0
> 
> (lt-packagekitd:25877): GLib-GObject-WARNING **: instance of invalid
> non-instantiatable type `(null)'
> 
> GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion
> `G_TYPE_CHECK_INSTANCE (instance)' failed
> aborting...
> bht-opensuse-vm:/home/boyd/projects/PackageKit/src #

Ohh, that's probably releated to the code I committed a few days ago.
I'll have a look tonight - sorry about that. If you fix the repo ID does
that fix the ref problem.

Richard.





More information about the PackageKit mailing list