[packagekit] Segfault

Grzegorz Dąbrowski gdx at o2.pl
Mon Nov 5 14:16:30 PST 2007


On Mon, 2007-11-05 at 21:54 +0000, Grzegorz Dąbrowski wrote:
> > 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!

Below is explenation, how it was possible to call it twice:

[pk_engine_finished_cb] pk-engine.c:554 (21:57:23):      backend was
running for 74 ms
[pk_transaction_db_sql_statement] pk-transaction-db.c:186 (21:57:23):
statement=UPDATE transactions SET succeeded = 1, duration = 74 WHERE
transaction_id = '3;cddcbaab;data'
[pk_engine_finished_cb] pk-engine.c:566 (21:57:23):      emitting
finished transaction:3;cddcbaab;data, 'success', 74

> first

[pk_engine_reset_timer] pk-engine.c:182 (21:57:23):      reset timer
[pk_transaction_list_backend_finished_cb] pk-transaction-list.c:192
(21:57:23):  transaction 3;cddcbaab;data completed, marking finished
[pk_transaction_list_backend_finished_cb] pk-transaction-list.c:196
(21:57:23):  emmitting ::changed
[pk_transaction_list_get_array] pk-transaction-list.c:321 (21:57:23):
2 active transactions
[pk_engine_transaction_list_changed_cb] pk-engine.c:199 (21:57:23):
emitting transaction-list-changed
[pk_engine_reset_timer] pk-engine.c:182 (21:57:23):      reset timer
[pk_engine_cancel] pk-engine.c:2332 (21:57:23):  Cancel method called:
3;cddcbaab;data
[pk_backend_error_code] pk-backend.c:973 (21:57:23):     emit error-code
2, the method 'Cancel' is not implemented yet
[pk_engine_error_code_cb] pk-engine.c:401 (21:57:23):    emitting
error-code tid:3;cddcbaab;data not-supported, 'the method 'Cancel' is
not implemented yet'
[pk_engine_reset_timer] pk-engine.c:182 (21:57:23):      reset timer
[pk_backend_finished_delay] pk-backend.c:1033 (21:57:23):        emit
finished 1
[pk_engine_finished_cb] pk-engine.c:554 (21:57:23):      backend was
running for 334 ms
[pk_transaction_db_sql_statement] pk-transaction-db.c:186 (21:57:23):
statement=UPDATE transactions SET succeeded = 1, duration = 334 WHERE
transaction_id = '3;cddcbaab;data'
[pk_engine_finished_cb] pk-engine.c:566 (21:57:23):      emitting
finished transaction:3;cddcbaab;data, 'failed', 334

> second (transaction failed because method 'Cancel' is not implemented)

[pk_engine_reset_timer] pk-engine.c:182 (21:57:23):      reset timer
*** WARNING ***
[pk_transaction_list_backend_finished_cb] pk-transaction-list.c:188
(21:57:23):  transaction 3;cddcbaab;data finished twice!

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




More information about the PackageKit mailing list