RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1783897 - missing debuginfo packages
Summary: missing debuginfo packages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: abrt
Version: 8.2
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: 8.0
Assignee: abrt
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-16 08:36 UTC by Steeve Goveas
Modified: 2023-05-06 10:19 UTC (History)
5 users (show)

Fixed In Version: libreport-2.9.5-10.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 17:04:07 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-33171 0 None None None 2023-05-06 10:19:13 UTC
Red Hat Product Errata RHBA-2020:1917 0 None None None 2020-04-28 17:04:09 UTC

Description Steeve Goveas 2019-12-16 08:36:17 UTC
Description of problem:

[root@ci-vm-10-0-154-155 ccpp-2019-12-12-07:53:30-29128]# pwd
/var/spool/abrt/ccpp-2019-12-12-07:53:30-29128
 
[root@ci-vm-10-0-154-155 ccpp-2019-12-12-07:53:30-29128]# rpm -q abrt
abrt-2.10.9-11.el8.x86_64
 
[root@ci-vm-10-0-154-155 ccpp-2019-12-12-07:53:30-29128]# abrt-action-analyze-core -c coredump -o build_ids
Analyzing coredump 'coredump'
 
[root@ci-vm-10-0-154-155 ccpp-2019-12-12-07:53:30-29128]# abrt-action-install-debuginfo -y -v
All debuginfo files are available
 
[root@ci-vm-10-0-154-155 ccpp-2019-12-12-07:53:30-29128]# abrt-action-analyze-backtrace -v
 
[root@ci-vm-10-0-154-155 ccpp-2019-12-12-07:53:30-29128]# head backtrace
could not find '.gnu_debugaltlink' file for /var/cache/abrt-di/usr/lib/debug/usr/libexec/sssd/sssd_autofs-2.2.3-3.el8.x86_64.debug
[New LWP 29128]
Error while reading shared library symbols for /usr/lib64/sssd/libsss_util.so:
could not find '.gnu_debugaltlink' file for /var/cache/abrt-di/usr/lib/debug/usr/lib64/sssd/libsss_util.so-2.2.3-3.el8.x86_64.debug
Error while reading shared library symbols for /lib64/libbasicobjects.so.0:
could not find '.gnu_debugaltlink' file for /var/cache/abrt-di/usr/lib/debug/usr/lib64/libbasicobjects.so.0.1.0-0.6.1-39.el8.x86_64.debug
Error while reading shared library symbols for /lib64/libref_array.so.1:
could not find '.gnu_debugaltlink' file for /var/cache/abrt-di/usr/lib/debug/usr/lib64/libref_array.so.1.2.1-0.6.1-39.el8.x86_64.debug
Error while reading shared library symbols for /lib64/libcollection.so.4:
could not find '.gnu_debugaltlink' file for /var/cache/abrt-di/usr/lib/debug/usr/lib64/libcollection.so.4.1.1-0.6.1-39.el8.x86_64.debug
 
 
[root@ci-vm-10-0-154-155 ccpp-2019-12-12-07:53:30-29128]# abrt-action-install-debuginfo --help
Usage: abrt-action-install-debuginfo [-vy] [--ids=BUILD_IDS_FILE] [--pkgmgr=(yum|dnf)]
       [--tmpdir=TMPDIR] [--cache=CACHEDIR[:DEBUGINFODIR1:DEBUGINFODIR2...]] [--size_mb=SIZE]
       [-e, --exact=PATH[:PATH]...]
       [--releasever=RELEASEVER]
 
Installs debuginfos for all build-ids listed in BUILD_IDS_FILE
to CACHEDIR, using TMPDIR as temporary staging area.
Old files in CACHEDIR are deleted until it is smaller than SIZE.
 
Reads configuration from /etc/abrt/plugins/CCpp.conf
 
    -v          Be verbose
    -y          Noninteractive, assume 'Yes' to all questions
    --ids       Default: build_ids
    --tmpdir    Default: /var/tmp/abrt-tmp-debuginfo-RANDOM_SUFFIX
    --cache     Colon separated list of directories. The first one is used for
                saving installed debuginfos.
                Default: /var/cache/abrt-dir                           <--- also default path in help is wrong
    --size_mb   Default: 4096
    --pkgmgr   Default: PackageManager from CCpp.conf or 'dnf'
    -e,--exact  Download only specified files
    --repo      Pattern to use when searching for repos.
                Default: *debug*
    --releasever RELEASEVER
                Pass this OS version to package managers.

Comment 1 Steeve Goveas 2019-12-17 08:50:03 UTC
Above command should be 'abrt-action-generate-backtrace -v' instead of 'abrt-action-analyze-backtrace -v'

Confirmed abrt-action-install-debuginfo is not unpacking all required packages in /var/cache/abrt-di
Manually install multiple debuginfo packages to get complete bt

[root@ci-vm-10-0-154-252 ccpp-2019-12-16-09:06:19-29173]# grep -c "Error while reading shared" backtrace
25

history
   13  dnf debuginfo-install sssd-common libkrb5support libkeyutilsmemberof libldb libtevent libtalloc libtdb
   14  dnf debuginfo-install sssd-common libkrb5support libldb libtevent libtalloc libtdb
   15  dnf debuginfo-install sssd-common libldb libtevent libtalloc libtdb
   34  dnf debuginfo-install libbasicobjects
   37  dnf debuginfo-install systemd-libs
   39  dnf debuginfo-install systemd-libs
   63  dnf debuginfo-install libblkid-devel libuuid-devel cyrus-sasl-devel krb5-devel libcom_err-devel keyutils-libs-devel sssd-common systemd-devel
   78  dnf debuginfo-install lz4-devel libblkid-devel libuuid-devel cyrus-sasl-devel krb5-devel libcom_err-devel keyutils-libs-devel 
   84  dnf debuginfo-install libcom_err uuidd util-linux-debugsource libuuid libpsm2-debugsource libblkid libmount libpath_utils libdhash peripety-debugsource stratisd-debugsource libsss_certmap libcollection libref_array
   89  dnf debuginfo-install liblz4 libgcc_s libsasl2 libk5crypto libkrb5support libkeyutils
   96  dnf debuginfo-install glibc
  108  dnf debuginfo-install lz4-devel libgcc cyrus-sasl-devel krb5-devel keyutils-libs-devel krb5-libs 
  109  dnf debuginfo-install lz4 libgcc cyrus-sasl krb5 keyutils-libs
  110  dnf debuginfo-install lz4 libgcc cyrus-sasl  keyutils-libs
  115  dnf debuginfo-install lz4-devel
  116  dnf debuginfo-install lz4
  118  dnf debuginfo-install lz4-debuginfo
  124  dnf debuginfo-install cyrus-sasl
  125  dnf debuginfo-install cyrus-sasl-devel
  126  dnf debuginfo-install cyrus-sasl-debugsource
  134  dnf debuginfo-install cyrus-sasl-lib

[root@ci-vm-10-0-154-252 ccpp-2019-12-16-09:06:19-29173]# abrt-action-generate-backtrace -v
Generating backtrace
Backtrace is generated and saved, 26081 bytes

[root@ci-vm-10-0-154-252 ccpp-2019-12-16-09:06:19-29173]# grep -c "Error while reading shared" backtrace
0

Comment 2 Steeve Goveas 2020-01-09 13:05:48 UTC
Hello,

Can this be fixed in 8.2?

Comment 3 Martin Kutlak 2020-01-15 09:53:55 UTC
(In reply to Steeve Goveas from comment #2)
> Hello,
> 
> Can this be fixed in 8.2?

Hello, 
yes, we have a fix that should solve the issue.

--- 

Pull-request with backported changes that should fix this bugzilla:
https://gitlab.cee.redhat.com/abrt/libreport/merge_requests/27

Comment 9 errata-xmlrpc 2020-04-28 17:04:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1917


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