If this happened with OpenLDAP 2.4.26 you should file an ITS; otherwise I suggest you upgrade, since I recall some recent changes in this area, including fixing memory-related issues.
Yes, it is a 2.4.26 rpm on a 64bit CentOS 6. I will try so see if I get more info with gdb before I file an ITS.
Thanks for the feedback. I think I spotted the bug; I'll file an ITS about it. I would appreciate if you could test code out of git after the fix is committed. Instructions here http://www.openldap.org/software/repo.html.
Thanks, p.