https://bugs.openldap.org/show_bug.cgi?id=9785
Issue ID: 9785 Summary: test050 deadlock Product: OpenLDAP Version: 2.5.11 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
Running test050 in a loop sometimes results in a deadlock. Took 17 iterations on one system, was 100% on another.
https://bugs.openldap.org/show_bug.cgi?id=9785
--- Comment #1 from Michael Ströder michael@stroeder.com --- Do you suspect this to also happen with 2.6.1? Should I run test050 in a loop with 2.6.1?
https://bugs.openldap.org/show_bug.cgi?id=9785
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to Michael Ströder from comment #1)
Do you suspect this to also happen with 2.6.1?
Yes it will.
Should I run test050 in a loop with 2.6.1?
No, the problem commit has been identified.
https://bugs.openldap.org/show_bug.cgi?id=9785
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- Deadlock is caused by:
commit 6f31d73dc0b28c49784ec0aed5ae47554c411421 Author: Ondřej Kuzník ondra@mistotebe.net Date: Mon Jan 10 16:10:57 2022 +0000
ITS#9776 Fix check on what backend we're operating on
Reverting this commit results in periodic core dumps in slapd instead. Not sure which is worse.
https://bugs.openldap.org/show_bug.cgi?id=9785
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.12 Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=9785
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |ondra@mistotebe.net Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/485
https://bugs.openldap.org/show_bug.cgi?id=9785
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Quanah Gibson-Mount quanah@openldap.org --- head:
• ca19a774 by Ondřej Kuzník at 2022-01-27T15:59:39+00:00 ITS#9785 clear runqueue task as soon as it's getting started
RE26:
• c77f655e by Ondřej Kuzník at 2022-01-31T20:07:09+00:00 ITS#9785 clear runqueue task as soon as it's getting started
RE25:
• a516ee56 by Ondřej Kuzník at 2022-02-02T17:13:13+00:00 ITS#9785 clear runqueue task as soon as it's getting started
https://bugs.openldap.org/show_bug.cgi?id=9785
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED