[squid-users] Re: negotiate_kerberos_auth helpers stay busy

From: Markus Moeller <huaraz_at_moeller.plus.com>
Date: Tue, 6 Aug 2013 23:55:11 +0100

Hi Klaus,

  If I did not make an error it is the following line:

            service_principal = xstrdup(optarg);

  and it is not part of a loop and should not create a leak. It gets freed
when the helper exits.

Markus

"Klaus Walter" <klaus.walter_at_spb.de> wrote in message
news:1c3bf830b7785fbff9f25e2486d5a902_at_myway.de...
> Hi Markus,
>
> here the output of valgrind with source code lines form the
> negotiate_kerberos_auth
> helper that comes with squid 3.2.1:
>
> ==6124== 14 bytes in 1 blocks are definitely lost in loss record 1 of 1
> ==6124== at 0x4A069EE: malloc (vg_replace_malloc.c:270)
> ==6124== by 0x403384: xmalloc (xalloc.cc:116)
> ==6124== by 0x40359B: xstrdup (xstring.cc:27)
> ==6124== by 0x401ADE: main (negotiate_kerberos_auth.cc:251)
>
> I also tested the latest helper that comes with squid 3.3.8 with valgrind:
>
> ==2745== 14 bytes in 1 blocks are definitely lost in loss record 1 of 1
> ==2745== at 0x4A069EE: malloc (vg_replace_malloc.c:270)
> ==2745== by 0x403724: xmalloc (xalloc.cc:116)
> ==2745== by 0x40393B: xstrdup (xstring.cc:27)
> ==2745== by 0x401A8E: main (negotiate_kerberos_auth.cc:250)
>
> I hope this helps.
>
> By the way:
> Because of bug 3848 in squid 3.3.x I can't use this squid version at the
> moment,
> but should I use the latest helper together with my squid 3.2.1?
>
> Klaus
>
>
>>
>> Hi Klaus,
>>
>> Thank you for the valgrind output. Could you compile and link the
>> helper
>> with -g to get the source code line.
>>
>> Thank you
>> Markus
>>
>
>
Received on Tue Aug 06 2013 - 22:55:32 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 07 2013 - 12:00:06 MDT