Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1684270 - [hawkey] occasional segfault when interrupting (SIGINT) dnf process (may be caused by particular plugins in use, e.g. "leaves" ones in the past)
Summary: [hawkey] occasional segfault when interrupting (SIGINT) dnf process (may be c...
Status: POST
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libdnf
Version: 8.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 8.0
Assignee: amatej
QA Contact: BaseOS QE Security Team
Depends On: 1610456
TreeView+ depends on / blocked
Reported: 2019-02-28 20:41 UTC by Jan Pokorný [poki]
Modified: 2019-03-29 14:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1610456
Last Closed:
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

Description Jan Pokorný [poki] 2019-02-28 20:41:06 UTC
Have hit the same:

+++ This bug was initially created as a clone of Bug #1610456 +++

with pre GA 8.0 as well, sadly it was in systemd-nspawn container so
I have very little info to provide:

- it was, IIRC, during "dnf update *.rpm"
  (was located in a directory I wanted to update packages from)
  and again, I realized that I want to cancel that transaction for now

- default configuration (all installed plugin presumably enabled):

# find /usr/lib*/python3.6/site-packages/dnf-plugins/* -print0 \
  | xargs -0 rpm -qf | sort -u
> python3-dnf-
> python3-dnf-plugins-core-

- on the host in the journal/dmesg:

> kernel: dnf[12953]: segfault at 8 ip 00007f954d937d51 sp 00007fffa628feb0 error 4 in[7f954d833000+2bf000]
> kernel: Code: a0 03 00 00 41 c7 84 24 94 03 00 00 02 00 00 00 e9 c9 fb ff ff e8 2f 99 f5 ff e9 98 b9 f6 ff 48 83 c3 01 e9 74 fb ff ff 90 53 <48> 8b 47 08 48 89 fb 48 8b 80 d8 00 00 00 48 85 c0 74 28 ff d0 48

- packages in the container:

# rpm -q dnf rpm libdnf librepo libsolv
> dnf-
> rpm-4.14.2-9.el8.x86_64
> libdnf-0.22.5-4.el8.x86_64
> librepo-1.9.2-1.el8.x86_64
> libsolv-0.6.35-6.el8.x86_64

# rpm -qf /usr/lib64/
> python3-libs-3.6.8-1.el8.x86_64

Comment 1 amatej 2019-03-29 14:25:54 UTC
created PR:

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