Fedora Account System
Red Hat Associate
Red Hat Customer
+++ This bug was initially created as a clone of Bug #1349779 +++ libdb does not lock its internal buffers in correct order when accessing pages located in a off-page duplicate (OPD) tree while doing operations on a cursor. As a result of this a race condition is possible where a writer process can access the primary tree first and then the OPD tree, locking the pages accessed, while a reader process can do the same in reverse order. This causes a deadlock in libdb since neither of the processes release their respective locks. This is a Fedora clone of a bug originally found in RHEL, for detailed information about the issue please check the original bug.
Created attachment 1370347 [details] libdb deadlock reproducer
Fixed in git: https://src.fedoraproject.org/rpms/libdb/c/f3503c4fcb064f6b90ad123721f7310b36e90353?branch=f27
libdb-5.3.28-27.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4eff8b26bc
libdb-5.3.28-27.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4eff8b26bc
libdb-5.3.28-27.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.