Bug 551546
Summary: | [abrt] crash detected in gnome-packagekit-2.28.3-0.1.20091211git.fc12 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael <Magnumgr> | ||||
Component: | gnome-packagekit | Assignee: | Richard Hughes <richard> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 12 | CC: | lebosse.nicolas, mclasen, mdmpsyd, rhughes, richard, toxn | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | abrt_hash:6c23d4a580940aba1679c5130f2b1d056ab01eea | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-03-23 10:49:11 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Michael
2009-12-31 08:00:51 UTC
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. |