https://bugs.openldap.org/show_bug.cgi?id=10080
--- Comment #3 from Ondřej Kuzník ondra@mistotebe.net --- Hi Hiroyuki, I have now been able to reproduce the crash locally, thanks for the detailed description on how you got there!
The issue comes from rwm being asked to rename entries from ou=remote,ou=users,dc=example,dc=com to ou=users,dc=ad,dc=example,dc=com which no longer fits the glued DB's suffix and that confuses back-glue passing its entries to the wrong backend to be released.
We might need to wrap the entries returned by glue_entry_get_rw in a way that glue_entry_release_rw can route them back consistently.
In the interim you might have to adjust your configuration so that rwm doesn't rename entries outside of their DB's suffix (or have dc=example,dc=com also be a back-ldap proxy to another server where it is stored - this should avoid the crash until this issue is fixed).
Regards,