Re: Exception handling!!!
"Pratima Shet" <[email protected]> Mon, 26 Apr 2010 11:17:41 +0530
| Newsgroups | gmane.network.openldap.general |
|---|---|
| Message-ID | <9D5E1752379A43408015F7FE984661150808D6E1@CHNEXVS01.VSNLXCHANGE.COM> |
This is a multi-part message in MIME format. ------_=_NextPart_001_01CAE503.FCA0C015 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ya, application is multi threaded, but only one thread will handle all ldap= related operations.=20 I am linking to "libldap" not "libldap_r". Crash happened only once. Am unabled to reproduce it. So, I dont have much = information regarding the=20 line in the library where it crashed exactly. =20 Handle was not NULL, but it was corrupted. Is there any way, to check whether ldap handle is proper or valid apart fro= m NULL check ? =20 Regards, Pratima =20 =20 ------_=_NextPart_001_01CAE503.FCA0C015 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML dir=3Dltr><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode"> <META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial color=3D#000000 size=3D2>Ya, application is multi t= hreaded, but only one thread will handle all ldap related operations. = </FONT></DIV> <DIV><FONT face=3DArial color=3D#000000 size=3D2>I am linking to "libldap" = not "libldap_r".</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Crash happened only once. Am unabled to re= produce it. So, I dont have much information regarding the </FONT></DIV> <DIV><FONT face=3DArial size=3D2>line in the library where it crashed = exactly.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Handle was not NULL, but it was = corrupted.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Is there any way, to check whether ldap ha= ndle is proper or valid apart from NULL check ?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Pratima</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV><pre style=3D"white-spa= ce:normal"><br></pre></BODY></HTML> ------_=_NextPart_001_01CAE503.FCA0C015--