Bug 924417 - error: rpmdb: BDB0113 Thread/process 2698/140043716605952 failed: BDB1507 Thread died in Berkeley DB library
Summary: error: rpmdb: BDB0113 Thread/process 2698/140043716605952 failed: BDB1507 Thr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 966025 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-21 18:09 UTC by Martin
Modified: 2014-09-15 00:04 UTC (History)
11 users (show)

Fixed In Version: rpm-4.10.3.1-2.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-01 03:22:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
crash (148.83 KB, text/x-log)
2013-03-21 18:09 UTC, Martin
no flags Details

Description Martin 2013-03-21 18:09:15 UTC
Created attachment 714023 [details]
crash

Description of problem:
Updating F19 from 20130320 to 20130321 build.

Version-Release number of selected component (if applicable):
rpm-4.11.0.1-1.fc19.x86_64

How reproducible:
randomly

Steps to Reproduce:
yum update --skip-broken
  
Actual results:
Following error, but update continues and finishes successfully.

(116/118): policycoreutils-restorecond-2.1.14-23.fc19.x86_ | 152 kB   00:00     
(117/118): system-config-printer-libs-1.3.12-11.fc19.noarc | 910 kB   00:00     
(118/118): system-config-printer-udev-1.3.12-11.fc19.x86_6 |  88 kB   00:00     
error: rpmdb: BDB0113 Thread/process 2698/140043716605952 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in 
error: rpmdb: BDB0113 Thread/process 2704/140604955715584 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in 
error: rpmdb: BDB0113 Thread/process 2708/140136686217216 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in 


Expected results:
no error

Additional info:
see update.log for whole transaction

Comment 1 Panu Matilainen 2013-04-11 12:19:02 UTC
I've seen this myself on F18 at least once now. The errors appear to be related to deltarpm reconstruction, rpmdumpheader opens the rpmdb separately on each execution and some of those attempts fail because a previous process (possibly another rpmdumpheader) accessing rpmdb supposedly died while inside the BDB library.

A curious thing here is that DB_RUNRECOVERY condition is not supposed to go away by itself, getting it once should basically fail any consecutive rpmdb operations until the situation has been (manually) dealt with.

Comment 2 Satish Balay 2013-04-16 21:34:06 UTC
I see this on a f19 machine [upgraded via yum from f18]

(385/386): xemacs-filesystem-21.5.33-5.fc19.noarch.rpm                                                                                             |  14 kB  00:00:00     
(386/386): xorg-x11-glamor-0.5.0-5.20130401git81aadb8.fc19.x86_64.rpm                                                                              |  95 kB  00:00:00     
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
delta does not match installed data
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in 
delta does not match installed data
delta does not match installed data
error: rpmdb: BDB0113 Thread/process 3314/140103580526592 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in 
delta does not match installed data
error: rpmdb: BDB0113 Thread/process 3340/140398580344832 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in 
error: rpmdb: BDB0113 Thread/process 3365/140162162698240 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in 
Some delta RPMs failed to download or rebuild. Retrying..
(1/23): alsa-lib-1.0.27-2.fc19.i686.rpm                                                                                                            | 383 kB  00:00:00

Comment 3 Zdeněk Pavlas 2013-05-24 10:40:49 UTC
*** Bug 966025 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2013-05-28 07:26:41 UTC
rpm-4.11.0.1-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/rpm-4.11.0.1-2.fc19

Comment 5 Fedora Update System 2013-05-28 16:15:08 UTC
Package rpm-4.11.0.1-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rpm-4.11.0.1-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-9458/rpm-4.11.0.1-2.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-06-01 03:22:26 UTC
rpm-4.11.0.1-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-08-26 09:18:50 UTC
rpm-4.10.3.1-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/rpm-4.10.3.1-2.fc18

Comment 8 Fedora Update System 2013-09-01 23:01:43 UTC
rpm-4.10.3.1-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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