[packagekit] Segfault

Richard Hughes hughsient at gmail.com
Mon Nov 5 12:23:38 PST 2007


On Mon, 2007-11-05 at 20:08 +0000, Grzegorz Dąbrowski wrote:
> [pk_transaction_list_remove_item_timeout] pk-transaction-list.c:154
> (19:59:17):  transaction 35;addaaadd;data completed, removing
> [pk_backend_finalize] pk-backend.c:1771 (19:59:17):      freeing box
> (0x807c930)
> [pk_transaction_list_remove_item_timeout] pk-transaction-list.c:154
> (19:59:18):  transaction h²ddaaadd;data completed, removing

pk_transaction_list_remove_item_timeout called twice for the same
PkTransactionItem?

This looks like the case, as Adrien pointed out, where we g_free the
string, and then quote it.

I've added a check in the daemon for this; could you please pull and
then try to reproduce - you should get a warning from the daemon.

Ideas welcome.

Richard.





More information about the PackageKit mailing list