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

exit while in ldap_ld_free



Hi
 
I'm experiencing an unexpected exit while in the function ldap_ld_free(). This happens when the server I am connected to in TLS is stopped. When I try to perform a search after this stop, I get an error code LDAP_SERVER_DOWN. I then call ldap_ld free to free the handle (I use this function to avoid memory leaks) and the process exits. I had never met this problem before although I already tested (with and without TLS) this case, but this time I experienced it 3 times in a row and I managed to see more with my debugger. So the exit occured in :
 
#0  0xef33eaac in nvmatch ()
#1  0xef33ea70 in getenv ()
#2  0xef31bae8 in dcgettext_u ()
#3  0xef31ba50 in dgettext ()
#4  0xef749280 in sb_debug_write (sbiod=0x5185c8, buf=0x0, len=29) at sockbuf.c:840
#5  0xef785dd8 in sb_tls_bio_write (b=0x512f10, buf=0x531168 "\025\003\001", len=29) at tls.c:498
#6  0xef5ee4b8 in BIO_write ()
#7  0xef6ff298 in ssl3_write_pending ()
#8  0xef6fe570 in do_ssl3_write ()
#9  0xef6ff024 in ssl3_dispatch_alert ()
#10 0xef6fefdc in ssl3_send_alert ()
#11 0xef6fca3c in ssl3_shutdown ()
#12 0xef705a1c in SSL_shutdown ()
#13 0xef7859a4 in sb_tls_close (sbiod=0x518190) at tls.c:347
#14 0xef7482d4 in ber_int_sb_close (sb=0x512710) at sockbuf.c:364
#15 0xef747938 in ber_sockbuf_free (sb=0x512710) at sockbuf.c:61
#16 0xef775bb4 in ldap_ld_free (ld=0x51de30, close=0, sctrls=0x0, cctrls=0x0) at unbind.c:142

Has this issue already been reported (and fixed) ? I had a quick look at the list of bug reports, the releases changes and the mailing list archiving but I was not sure about it. If I'm the first one to report that, please tell me so that I can post an IT.
 
Thanks for any hint.
 
Virginie SELTRECHT