Created attachment 107077 [details]
Console output of '/usr/lib/PackageKit/packagekitd --verbose'
When I'm trying to remove a package with gpk-application, packagekitd crashes, and the transaction fails.
Distribution: Arch Linux (ALPM backend used)
- packagekit 1.0.0
- gnome-packagekit 3.14.0
#0 0x00007ffff667d05f in _int_free () from /usr/lib/libc.so.6
#1 0x00007ffff6c2c749 in g_strfreev () from /usr/lib/libglib-2.0.so.0
#2 0x00007fffef5f5e75 in ?? () from /usr/lib/packagekit-backend/libpk_backend_alpm.so
#3 0x0000555555572b9a in ?? ()
#4 0x00007ffff6c33585 in ?? () from /usr/lib/libglib-2.0.so.0
#5 0x00007ffff69ae314 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff66ec3ed in clone () from /usr/lib/libc.so.6
I attached the console output of the packagekitd command.
?? isn't super useful. Can you install/compile-with debug symbols please?
Sorry, here is a more detailed backtrace:
#0 0x00007ffff6637967 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff6638d3a in abort () from /usr/lib/libc.so.6
#2 0x00007ffff6677413 in __libc_message () from /usr/lib/libc.so.6
#3 0x00007ffff667c84e in malloc_printerr () from /usr/lib/libc.so.6
#4 0x00007ffff667d00b in _int_free () from /usr/lib/libc.so.6
#5 0x00007ffff6c2c749 in g_strfreev () from /usr/lib/libglib-2.0.so.0
#6 0x00007fffef5f5e75 in pk_backend_remove_packages_thread ()
#7 0x0000555555572b9a in pk_backend_job_thread_setup ()
#8 0x00007ffff6c33585 in ?? () from /usr/lib/libglib-2.0.so.0
#9 0x00007ffff69ae314 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007ffff66ec3ed in clone () from /usr/lib/libc.so.6
Thanks for the new backtrace; can you try git master please:
Author: Richard Hughes <email@example.com>
Date: Tue Sep 30 09:18:50 2014 +0100
alpm: Fix a few potential double-frees
Thank you very much! It fixes the crash, but after the transaction, gpk-application remains in an inconsistent state. I could see that the transaction finished, but the package list is not updated as expected, the removed package left marked for removal, and the checkboxes before packages are invisible. I have to close gpk-application and open it again to become usable again. It doesn't happen after package installation, just after package removal.
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.