[packagekit] Segfault

Richard Hughes hughsient at gmail.com
Mon Nov 5 14:35:49 PST 2007

On Mon, 2007-11-05 at 22:16 +0000, Grzegorz Dąbrowski wrote:
> [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'

Ahh, there it is. The problem was that the cancel not being implemented
was causing the first transaction to error out and be marked as
finished, when it was still running it's thread. Therefor you got two
finished signals. As cancel is not something that uses a fresh tid, we
shouldn't try to finish it on error. I've hopefully fixed this up in
commit a38c6745e0d4c1348b68ad6b4c2d04e757823e43. Can you confirm the
warning is now gone?

Also, how did you cancel the transaction when cancel wasn't available?
Did you click something in the GUI or do it in the code?


More information about the PackageKit mailing list