abrt 1.0.0 detected a crash. Attached file: backtrace cmdline: /usr/bin/gpk-repo --parent-window 104857603 component: gnome-packagekit executable: /usr/bin/gpk-repo kernel: 2.6.31.9-174.fc12.x86_64 package: gnome-packagekit-2.28.3-0.1.20091211git.fc12 rating: 4 reason: Process was terminated by signal 11
Created attachment 381061 [details] File: backtrace
Looking at the code of pk_client_repo_enable, it forgets to copy local_error over to error in at least one error path: ret = pk_client_allocate_transaction_id (client, &error_local); if (!ret) goto out;
I'll also notice that gpk_misc_enabled_toggled leaks path if the capability is missing.
*** Bug 550504 has been marked as a duplicate of this bug. ***
*** Bug 547801 has been marked as a duplicate of this bug. ***
*** Bug 544468 has been marked as a duplicate of this bug. ***
*** Bug 538658 has been marked as a duplicate of this bug. ***
*** Bug 538786 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > I'll also notice that gpk_misc_enabled_toggled leaks path if the capability is > missing. Only in gnome-2-28, the leak is already plugged in master: commit 60fbb5aa0e9b84f201439080adb0205a88a1eeeb Author: Richard Hughes <richard> Date: Tue Jan 5 08:48:38 2010 +0000 trivial: don't leak path or client in the error path
(In reply to comment #2) > ret = pk_client_allocate_transaction_id (client, &error_local); > if (!ret) > goto out; commit 47619f1706f164266ca635cf68e7c4215e71236c Author: Richard Hughes <richard> Date: Tue Jan 5 09:16:53 2010 +0000 bugfix: Ensure to set the correct error if getting the transaction ID fails. Fixes rh#551546 I'll push out a new upstream release later today.
PackageKit-0.5.6-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/PackageKit-0.5.6-1.fc12
PackageKit-0.5.6-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update PackageKit'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0193
PackageKit-0.5.6-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.