https://bugs.openldap.org/show_bug.cgi?id=9952
--- Comment #5 from Howard Chu hyc@openldap.org --- I was finally able to reproduce this crash on a Centos 9 container. The real bug is that OpenSSL's thread locking functions don't check for the passed in lock being NULL. https://github.com/openssl/openssl/pull/23616 will fix that bug.