[ I posted this to the OpenLDAP tech list, and they suggested
re-posting here. It was suggested to upgrade to a newer version of
OpenLDAP, but for various reasons, upgrading to is problematic, and
I'm willing to endure an unreasonable amount of pain to try to get it
working with my ancient version. :) ]
In this case your amount of pain includes learning how to debug code yourself,
because nobody on the Project cares to spend any time debugging obsolete code.
I suggest you read up on how to use gdb.
Some tips to get started are here
but you'll likely need to dig deeper than a simple backtrace.
Running OpenLDAP 2.2.19 on Darwin kernel v. 8.11.1, and when I issue:
/usr/sbin/slapcat -d 5 -v -l /Users/localadmin/Desktop/bkup.ldif
I get the following output:
slapcat shutdown: initiated
Anyone know how I can track down what's causing this segmentation fault?
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/