[packagekit] Segfault

Grzegorz Dąbrowski gdx at o2.pl
Mon Nov 5 13:54:53 PST 2007


On Mon, 2007-11-05 at 20:23 +0000, Richard Hughes wrote:
> 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.

As you expected, I get a warning.

*** WARNING ***
[pk_transaction_list_backend_finished_cb] pk-transaction-list.c:187
(21:52:36):  transaction 43;bdaaaaba;data finished twice!


-- 
Grzegorz Dąbrowski <gdx at o2.pl>




More information about the PackageKit mailing list