Bug 754970 - abrt removed then reinstalled debug info package
Summary: abrt removed then reinstalled debug info package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Denys Vlasenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ABRTF17
TreeView+ depends on / blocked
 
Reported: 2011-11-18 12:12 UTC by Sam Tygier
Modified: 2012-04-18 22:59 UTC (History)
7 users (show)

Fixed In Version: abrt-2.0.10-1.fc17
Clone Of:
Environment:
Last Closed: 2012-04-18 22:59:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
abrt.log (7.96 KB, text/plain)
2011-11-18 12:14 UTC, Sam Tygier
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.