Hi
I am using openldap 2.2.4.33 with cyrus-sasl 2.1.25 to do a sasl bind and get the following valgrind leak message. Looking through the source it seems to be a variable only used inside the openldap library and not related to what I provide to ldap_sasl_interactive_bind_s.
==14039== 34 (32 direct, 2 indirect) bytes in 2 blocks are definitely lost in loss record 561 of 666 ==14039== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==14039== by 0x558E764: ber_memalloc_x (memory.c:228) ==14039== by 0x558A8B7: ber_get_stringal (decode.c:582) ==14039== by 0x558AFF5: ber_scanf (decode.c:806) ==14039== by 0x535535D: ldap_parse_sasl_bind_result (sasl.c:327) ==14039== by 0x5351FE1: ldap_int_sasl_bind (cyrus.c:551) ==14039== by 0x5355810: ldap_sasl_interactive_bind (sasl.c:474) ==14039== by 0x5355A0C: ldap_sasl_interactive_bind_s (sasl.c:511) ==14039== by 0x44DDC9: tool_sasl_bind (ldap.c:2338)
Is that a real memory leak or is it something I did wrong ?
Thank you Markus
Markus Moeller wrote:
I am using openldap 2.2.4.33 with cyrus-sasl 2.1.25
^^^^^^^^ Are you using 2.4.33?
Did you compile it yourself? If yes, why not try with the latest release 2.4.38 first?
Which OS? Are you using packages shipped with a distribution?
Ciao, Michael.
Apologies it is 2.4.33 and It is part of OpenSuse 12.3.
Markus
-----Original Message----- From: Michael Ströder Sent: Tuesday, December 03, 2013 7:51 AM To: Markus Moeller ; openldap-technical@openldap.org Subject: Re: Memory leak question
Markus Moeller wrote:
I am using openldap 2.2.4.33 with cyrus-sasl 2.1.25
^^^^^^^^ Are you using 2.4.33?
Did you compile it yourself? If yes, why not try with the latest release 2.4.38 first?
Which OS? Are you using packages shipped with a distribution?
Ciao, Michael.
Markus Moeller wrote:
Apologies it is 2.4.33 and It is part of OpenSuse 12.3.
Looks like a legitimate leak to me, please submit the info to the ITS. Thanks.
Markus
-----Original Message----- From: Michael Ströder Sent: Tuesday, December 03, 2013 7:51 AM To: Markus Moeller ; openldap-technical@openldap.org Subject: Re: Memory leak question
Markus Moeller wrote:
I am using openldap 2.2.4.33 with cyrus-sasl 2.1.25
^^^^^^^^
Are you using 2.4.33?
Did you compile it yourself? If yes, why not try with the latest release 2.4.38 first?
Which OS? Are you using packages shipped with a distribution?
Ciao, Michael.
Ok I opened ITS#7757
Markus
-----Original Message----- From: Howard Chu Sent: Tuesday, December 03, 2013 9:01 PM To: Markus Moeller ; Michael Ströder ; openldap-technical@openldap.org Subject: Re: Memory leak question
Markus Moeller wrote:
Apologies it is 2.4.33 and It is part of OpenSuse 12.3.
Looks like a legitimate leak to me, please submit the info to the ITS. Thanks.
Markus
-----Original Message----- From: Michael Ströder Sent: Tuesday, December 03, 2013 7:51 AM To: Markus Moeller ; openldap-technical@openldap.org Subject: Re: Memory leak question
Markus Moeller wrote:
I am using openldap 2.2.4.33 with cyrus-sasl 2.1.25
^^^^^^^^
Are you using 2.4.33?
Did you compile it yourself? If yes, why not try with the latest release 2.4.38 first?
Which OS? Are you using packages shipped with a distribution?
Ciao, Michael.
openldap-technical@openldap.org