[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Exception handling!!!



> Thanks for your reply.
> In last mail, I have  mentioned ldap API's used in my code. After all API
> call, am checking the return value. If it is success, then only am going
> for  next api call, otherwise I will return from that point.
> In that crash scenario, ldap_start_tls_s() returned LDAP_SUCCESS, but it
> crashed inside
> ldap_sasl_interactive_bind_s().
>     That is why, I suspected ldap_start_tls_s() has corrupted the handle.

Please carefully read instructions here
<http://www.openldap.org/faq/data/cache/56.html>, then report useful
information about what is happening:

- a complete code snippet, without anyone having to guess what happens
between the lines;

- a stack backtrace from a core dump from an *unstripped*, *non-optimized*
build with *debug symbols* in your code *and* in the OpenLDAP libraries

p.