https://bugs.openldap.org/show_bug.cgi?id=9924
--- Comment #3 from Howard Chu hyc@openldap.org --- You need to also use the valgrind option --keep-debuginfo=yes otherwise the symbols for dynamically loaded modules are lost when they're unloaded at slapd shutdown time.