Bug 1460379

Summary: libdb update to libdb-5.3.28-21 causes rpm and dnf segfault
Product: [Fedora] Fedora Reporter: Chris Caudle <chris>
Component: libdbAssignee: Petr Kubat <pkubat>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: awilliam, hhorak, jstanek, jsynacek, mhonek, pkubat
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-09 23:26:36 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 Chris Caudle 2017-06-09 21:39:20 UTC
Description of problem: Ran dnf to update new packages.  Found libdb-5.3.28-21 as an available update, but after upgrade rpm and dnf crash with error in Berkely DB library.


Version-Release number of selected component (if applicable): 5.3.28-21


How reproducible: RPM and dnf crash every time now when run sudo or under su. Can run as normal user, but cannot update packages from my normal user account.  Occurred on two separate systems which were updating simultaneously.


Steps to Reproduce:
1. dnf upgrade libdb libdb-utils
2. sudo dnf check-update 
3. error: rpmdb: BDB0113 Thread/process 14829/140660169317184 failed: BDB1507 Thread died in Berkeley DB library

Actual results:
rpm crashes in Berkeley DB

Expected results:
rpm database is still accessible

Additional info:

Comment 1 Chris Caudle 2017-06-09 22:23:55 UTC
I was able to recover with sudo rpm --rebuilddb, so the severity of the bug can be reduced.

Comment 2 Adam Williamson 2017-06-09 23:26:36 UTC

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