Bug 823940

Summary: thunderbird-debuginfo unnecessarily large
Product: [Fedora] Fedora Reporter: Jakub Jelinek <jakub>
Component: thunderbirdAssignee: Jan Horak <jhorak>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: gecko-bugs-nobody, jhorak, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-10 13:34:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakub Jelinek 2012-05-22 13:40:35 UTC
rpm -qplv thunderbird-debuginfo-12.0.1-2.fc18.x86_64.rpm | grep libxul.so.debug
lrwxrwxrwx    1 root    root                       64 May  7 09:38 /usr/lib/debug/.build-id/ec/2eac414eb00d547f953d141170019222f76b11.1.debug -> ../../usr/lib64/thunderbird-devel-12.0.1/sdk/lib/libxul.so.debug
lrwxrwxrwx    1 root    root                       43 May  7 09:37 /usr/lib/debug/.build-id/ec/2eac414eb00d547f953d141170019222f76b11.debug -> ../../usr/lib64/thunderbird/libxul.so.debug
-r--r--r--    1 root    root                510144032 May  7 09:38 /usr/lib/debug/usr/lib64/thunderbird-devel-12.0.1/sdk/lib/libxul.so.debug
-r--r--r--    1 root    root                510144032 May  7 09:37 /usr/lib/debug/usr/lib64/thunderbird/libxul.so.debug

Note the huge .5GB files, which according to build-id and file size are most likely identical, but they aren't hardlinked.  Seen in F17 and F18.
I couldn't find where the thunderbird-devel-* libraries are actually shipped, so either you should be able to remove that directory before find-debuginfo.sh is run, or at least hardlink them together.  There are a few small *.debug files alongside of these, but as they are small they aren't as important.

Discovered while testing dwz utility and wondering why it needed so much memory on this package - the two .5GB identical files not hardlinked together result in
attempt of sharing most of the DIEs in it in a common file.

Comment 1 Jan Horak 2012-08-10 13:34:44 UTC
Will be fixed in next security release.