MEMORY LEAK IN RADEAPCLIENT
roshith
roshith.r at gadgeon.com
Mon Jul 21 13:43:08 CEST 2014
Hi,
Iam setting up a freeradius server in my ubuntu12.04 .
freeradius: *FreeRADIUS Version 2.1.10*, for host i686-pc-linux-gnu,
built on Feb 24 2014 at 15:16:51
I installed freeradius using : apt-get install freeradius.
I tested my server using radtest (both radclient and radeapclient) thats
provided along with it.
This works fine...
I tested radclient and radeapclient using valgrind to check the memory
usages.
Radclient didnt show any memory leak, but *Radeapclient shows memory
leakage!!*..*
*Is it something to worry about?
Is this issue been fixed?
Please help me asap.
Any help is much appreciated.
valgrind out for radeapclient:
==8675== HEAP SUMMARY:
==8675== in use at exit: 791,034 bytes in 20,950 blocks
==8675== total heap usage: 21,238 allocs, 288 frees, 888,567 bytes
allocated
==8675==
==8675== Searching for pointers to 20,950 not-freed blocks
==8675== Checked 1,262,820 bytes
==8675==
==8675== 31 bytes in 2 blocks are definitely lost in loss record 4 of 46
==8675== at 0x402BE68: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==8675== by 0x4058F71: eap_wireformat (in
/usr/lib/freeradius/libfreeradius-eap-2.1.10.so)
==8675== by 0x4059112: eap_basic_compose (in
/usr/lib/freeradius/libfreeradius-eap-2.1.10.so)
==8675== by 0x8049B84: ??? (in /usr/bin/radeapclient)
==8675== by 0x41094D2: (below main) (libc-start.c:226)
==8675==
==8675== 2,544 (104 direct, 2,440 indirect) bytes in 1 blocks are
definitely lost in loss record 32 of 46
==8675== at 0x402BE68: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==8675== by 0x4044B29: rad_alloc (in
/usr/lib/freeradius/libfreeradius-radius-2.1.10.so)
==8675== by 0x41094D2: (below main) (libc-start.c:226)
==8675==
==8675== 8,324 (208 direct, 8,116 indirect) bytes in 2 blocks are
definitely lost in loss record 37 of 46
==8675== at 0x402BE68: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==8675== by 0x4044D1F: rad_recv (in
/usr/lib/freeradius/libfreeradius-radius-2.1.10.so)
==8675== by 0x804B530: ??? (in /usr/bin/radeapclient)
==8675== by 0x8049C2B: ??? (in /usr/bin/radeapclient)
==8675== by 0x41094D2: (below main) (libc-start.c:226)
==8675==
==8675== LEAK SUMMARY:
==8675== definitely lost: 343 bytes in 5 blocks
==8675== indirectly lost: 10,556 bytes in 38 blocks
==8675== possibly lost: 0 bytes in 0 blocks
==8675== still reachable: 780,135 bytes in 20,907 blocks
==8675== suppressed: 0 bytes in 0 blocks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20140721/ffe9b22d/attachment.html>
More information about the Freeradius-Devel
mailing list