Re: My application hangs on call to ldap_result when connection to DS is in SSL mode

Rich Megginson <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Richa Pandey wrote:
> Hi,
>         I have a server which communicates with DS using the LDAP C SDK API. 
> I am currently running my server on RHEL 5 (NPTL Thread), on a call to 
> ldap_result() the thread hangs and following are the stack trace
> 
> #0  0x00b41402 in __kernel_vsyscall ()
> #1  0x00a86a1e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
> #2  0x00a82870 in _L_mutex_lock_85 () from /lib/libpthread.so.0
> #3  0x00a823bd in pthread_mutex_lock () from /lib/libpthread.so.0
> #4  0x005fbfab in ldap_result () from ../../../lib/libldap_wrapper.so

What is libldap_wrapper.so?

> 
> This happens only when the connection between the server and the DS is in 
> SSL mode, it works fine when the connection is in opne mode.

I'm assuming by "opne mode" you mean non-SSL mode.

> The C- SDK was compiled on RHEL-3 with gcc 3.3.2.

What versions of NSPR and NSS are you using?  What LDAP server are you 
using?

> 
> Thanks in advance.
> 
> Regards,
> Richa Pandey
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.