Bug 754970

Summary: abrt removed then reinstalled debug info package
Product: [Fedora] Fedora Reporter: Sam Tygier <samtygier>
Component: abrtAssignee: Denys Vlasenko <dvlasenk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dvlasenk, iprikryl, jmoskovc, kklic, mmilata, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: abrt-2.0.10-1.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-18 22:59:05 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:
Bug Depends On:    
Bug Blocks: 744774    
Attachments:
Description Flags
abrt.log none

Description Sam Tygier 2011-11-18 12:12:58 UTC
Description of problem:

while abrt was running for a rhythmbox crash it decided to remove the webkit debug info:
"/var/cache/abrt-di is 4310211737 bytes (more than 4096 MB), deleting '/var/cache/abrt-di/usr/lib/debug/usr/lib/libwebkitgtk-3.0.so.0.11.0.debug'"

it then preceded to redownload it:

"13 of 20) webkitgtk3-debuginfo-1.6.1-1.fc16.i686.rpm: 100%
Extracting cpio from /tmp/abrt-tmp-debuginfo-2011-11-18-11:58:38.1979/webkitgtk3-debuginfo-1.6.1-1.fc16.i686.rpm
Caching files from unpacked.cpio made from webkitgtk3-debuginfo-1.6.1-1.fc16.i686.rpm"

this seems unnecessary.

(i suppose it is possible that this a newer version of the webkit debug info, but its hard to tell from the log)

Version-Release number of selected component (if applicable):
Name        : abrt
Arch        : i686
Version     : 2.0.4.981
Release     : 3.fc16


How reproducible:
not sure. quite difficult to trigger.

Steps to Reproduce:
1. have more that 4GB of debug info
2. have an app crash that uses some of those existing debug files,
3.
  
Actual results:
deletes cached files, then redownloads them

Expected results:
use cached files

Comment 1 Sam Tygier 2011-11-18 12:14:58 UTC
Created attachment 534381 [details]
abrt.log

full log from the downloading tab in abrt

Comment 2 Jiri Moskovcak 2011-11-24 09:37:40 UTC
Good catch, when ABRT runs out of quota for debuginfo files, it tries to remove some to free a space for the required one. The trimming logic should not remove the debuginfo files which are required by the actual crash.

Comment 3 Denys Vlasenko 2011-12-09 17:21:43 UTC
Fixed in git:

commit 905c65f7c7b5e339369775156eeded2f3fffdbe5
Author: Denys Vlasenko <dvlasenk>
Date:   Fri Dec 9 17:44:00 2011 +0100

    abrt-action-trim-files: extend it to be able to skip files

    abrt-action-install-debuginfo: use this functionality to not delete
    debuginfos we will later need.

Comment 4 Fedora Update System 2012-03-27 10:17:09 UTC
abrt-2.0.9-1.fc17, libreport-2.0.10-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/abrt-2.0.9-1.fc17,libreport-2.0.10-1.fc17

Comment 5 Fedora Update System 2012-03-28 05:58:00 UTC
Package abrt-2.0.9-1.fc17, libreport-2.0.10-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.0.9-1.fc17 libreport-2.0.10-1.fc17'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-4804/abrt-2.0.9-1.fc17,libreport-2.0.10-1.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-04-02 13:32:59 UTC
abrt-2.0.10-1.fc17,libreport-2.0.10-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/abrt-2.0.10-1.fc17,libreport-2.0.10-2.fc17

Comment 7 Fedora Update System 2012-04-18 22:59:05 UTC
abrt-2.0.10-1.fc17, libreport-2.0.10-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.