[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#6638) ldapseach segfault on OSX
> --On Sunday, September 05, 2010 9:19 PM +0200 masarati@aero.polimi.it
> wrote:
>
>
>>> /opt/zimbra/openldap/bin/ldapsearch -LLL -D ... -w ... -H
>>> ldap://...:3268
>>> -x -E
>>> deref=member:mail "(CN=test)" mail
>
>>From the ITS. Only thing I removed was binddn, password, and hostname.
> Note that the same search against OpenLDAP also segfaults, so it is not a
> server side issue.
It is clearly a client-side issue: the core dump appears while cooking the
control's value. Your backtrace shows a failure on strlen() being passed
an invalid string. The string appears invalid to gdb as well, as it fails
to show the contents of the string's pointer. Using valgrind with Linux I
notice a memory allocation error. Checking...
p.