Oh dear, that was a well and truly confused late-night report, from a patched source tree. I got a similar backtrace with that patch too in a cleaner source tree though, in slapd - not slapadd. I still suspect that if(), and maybe the same if-test in ldap_int_thread_pool_wrapper too, but I'll apparently have to run a lot of tests to see. -- Hallvard