Bug 1765718 - DNF segmentation fault
Summary: DNF segmentation fault
Keywords:
Status: CLOSED DUPLICATE of bug 1758737
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 30
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Lukáš Hrázký
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-25 19:53 UTC by SP
Modified: 2019-10-31 07:42 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-31 07:42:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description SP 2019-10-25 19:53:51 UTC
We are getting a segmentation fault each time we run dnf.  Core is not dumped.  Version is  dnf-0:4.2.11-2.fc30.noarch
Running it a second time after updates are completed closes dnf normally.
Initial run closes with:

Completion plugin: Generating completion cache...
Segmentation fault

Second run:
Completion plugin: Generating completion cache...
--> Starting dependency resolution
--> Finished dependency resolution
Dependencies resolved.
Nothing to do.
Complete!

Comment 1 Lukáš Hrázký 2019-10-29 09:42:27 UTC
Hello, any insight on why the core is not dumped? On Fedora 30 by default core dumps should be handled by systemd-coredump.

What dnf commands are you running? Are you updating the system? From what you're saying I'm getting the impression you have multiple systems and are updating them?

What is the version of libdnf? If you are updating, what are the versions before and after?

It may be caused by this problem: https://bugzilla.redhat.com/show_bug.cgi?id=1758737 Which was fixed in libdnf-0.35.5-4.

Comment 2 SP 2019-10-30 19:29:19 UTC
The segfault no longer occurs.  It occurred in two previous dnf updates on four different machines each running the same OS and Desktop  Fedora 30 with KDE Plasma.  Current Kernel version is now 5.3.7-200.fc30.x86_64  with KDE Plasma Version 5.15.5  Current libdbf version is 0.35.5-4.fc30
I should have checked the OS status when the segfault occurred.  I guess the last update must have fixed it.  Dnf update is run every day to check for updates.

Comment 3 SP 2019-10-30 19:30:39 UTC
Dnf is run with sudo dnf update -vvv -y

Comment 4 Lukáš Hrázký 2019-10-31 07:42:24 UTC
Thanks. There's little to go by, but since it seems libdnf-0.35.5-4.fc30 fixed your issue, I think it is most likely the log handler issue and I'm marking this as a duplicate of that.

*** This bug has been marked as a duplicate of bug 1758737 ***


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