Hallvard B Furuseth wrote:
If you are using gcc, it might help to compile BDB and/or OpenLDAP without -O and see if that helps. The gcc mailinglist and comp.programming.threads recently discussed a some gcc optimizations that are invalid for threaded code. E.g. gcc can turn things like
I was hoping it wouldn't come to this. Also, as I recall, Aaron was seeing a similar problem, and he uses the Sun compiler.
Anyway, compiling both BDB and back-bdb without -O didn't prevent the problem.