Your message dated Thu, 10 Oct 2024 10:35:17 +0000
with message-id <[email protected]>
and subject line Bug#932758: fixed in db5.3 5.3.28+dfsg2-8
has caused the Debian Bug report #932758,
regarding OPD checkpoint deadlock in libdb5.3.28-12+deb9u1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
932758: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932758
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libdb5.3
Version: 5.3.28-12+deb9u1
I've been running into https://bugzilla.redhat.com/show_bug.cgi?id=1349779
for some time now and patched it locally more than a year ago and the issue
went away. Only recently when we updated to a more recent version of Debian
and began running into the issue again did I realize that I had never pushed
the patch with Debian upstream.
Unfortunately, I don't have an easy reproducer (we run into it every month or
two, but presumably increasing compaction frequency in 389ds would make it
happen somewhat sooner).
Note that this also used to be:
https://pagure.io/389-ds-base/issue/49360
Which is what I originally found, but that issue seems to have disappeared.
The patch I got from there in Jan 2018 and the one in Fedora appear to be the
same (with the exception of some fuzz) though.
Patch is little more than:
$ cat debian/patches/checkpoint-opd-deadlock.patch
Index: db5.3-5.3.28/src/db/db_cam.c
===================================================================
--- db5.3-5.3.28.orig/src/db/db_cam.c
+++ db5.3-5.3.28/src/db/db_cam.c
@@ -868,6 +868,11 @@ __dbc_iget(dbc, key, data, flags)
flags == DB_PREV || flags == DB_PREV_DUP)) {
if (tmp_rmw && (ret = dbc->am_writelock(dbc)) != 0)
goto err;
+ /* Latch the primary tree page here in order to not deadlock
later. */
+ if (cp->page == NULL &&
+ (ret = __memp_fget(mpf, &cp->pgno,
+ dbc->thread_info, dbc->txn, 0, &cp->page)) != 0)
+ goto err;
if (F_ISSET(dbc, DBC_TRANSIENT))
opd = cp->opd;
else if ((ret = __dbc_idup(cp->opd, &opd, DB_POSITION)) != 0)
--- End Message ---
--- Begin Message ---
Source: db5.3
Source-Version: 5.3.28+dfsg2-8
Done: Bastian Germann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
db5.3, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated db5.3 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 10 Oct 2024 11:54:04 +0200
Source: db5.3
Architecture: source
Version: 5.3.28+dfsg2-8
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 932758 1084782
Changes:
db5.3 (5.3.28+dfsg2-8) unstable; urgency=medium
.
* QA upload
.
[ Samuel Thibault ]
* control: Generalize hurd-i386 into hurd-any.
.
[ Bastian Germann ]
* Fix FTBFS because of implicit-int (Closes: #1084782)
* Fix OPD checkpoint deadlock (Closes: #932758)
Checksums-Sha1:
2750637f6a68e627c65673a8a638c7645de340ff 2222 db5.3_5.3.28+dfsg2-8.dsc
04678179b179308e3d74f05e104ab88868e78682 36184
db5.3_5.3.28+dfsg2-8.debian.tar.xz
02320e8cfbedaf15e1107260e689c366d49ed15b 5507
db5.3_5.3.28+dfsg2-8_source.buildinfo
Checksums-Sha256:
c86e3a3c9d02e86ab17e38c23112eade6c5d8cc97319ab7f67dd041d4e22a58d 2222
db5.3_5.3.28+dfsg2-8.dsc
9c98fca63f4487d22c33075e1e72927cbe7ae494cd68eb7ddf5e3a2a9f4fda4c 36184
db5.3_5.3.28+dfsg2-8.debian.tar.xz
78be100589e34b13777bce2bf6435a7dab897d7896dc55c65f5c983e15a0b67b 5507
db5.3_5.3.28+dfsg2-8_source.buildinfo
Files:
410ee5053d27d77724827b4a9095b7b0 2222 libs optional db5.3_5.3.28+dfsg2-8.dsc
7e96af22119dad088592d4837ecf20b3 36184 libs optional
db5.3_5.3.28+dfsg2-8.debian.tar.xz
c4e3bbfcbec13b889c2f3d88ad25d1ec 5507 libs optional
db5.3_5.3.28+dfsg2-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmcHpLsQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFDscDACQsX2JSbMMhQXZ68SjcIF7vWnIlLrIjXpz
Tm0Vux6LI9TN9CACRUzshBTeJGrjRmRLQpU9aQ6WHl5UnGsdSpJ/Vhzff3F8DEOX
5OdQMa8+toxOaPgnFrjG3GAs4cjxbAo9y7w++h+1mhBTMqyFM7IRhpN6EMJ4/7/Z
nU7vFiPaJ1ikTFX5Quc/23r3IJB3rIE4x6Aag5y2B6umaeSj5T/0moRKVfLxTWva
qpmBOVsNvpKOi3yHyiDXSF7cQhUmUugCxPnZs5v7RleqkZPr5lXysGLOVS8iz+Hp
lfFryanyMCmiXfaKKxWstYZ/GKkOwLy4aKU7XvXTaSjSRFDXMC28lvOl0QRIB6sT
0gJw/nY9hKROyNCPMTE2S/g643Pe0U0hXMeO+yUBIAbe3FsTv8DKt60dLBDGd9We
UwaXrkq1kLzUmUvbY2hC1j7j0ghTa96BpzVAibAAvHs3GiDwasqLuMV/fckeOHnN
CPxIuI9q/8goU45wJlLKsK4+913tOos=
=HOOU
-----END PGP SIGNATURE-----
pgpv1uiyCvTfm.pgp
Description: PGP signature
--- End Message ---