MEMORY LEAK IN RADEAPCLIENT
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
On 21 Jul 2014, at 07:43, roshith <roshith.r@gadgeon.com> wrote:
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!!..
OMG WTFBBQ Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
If you cant answer, pls be quiet!. Is this the way you reply to questions???? On Monday 21 July 2014 05:17 PM, Arran Cudbard-Bell wrote:
On 21 Jul 2014, at 07:43, roshith <roshith.r@gadgeon.com> wrote:
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!!.. OMG WTFBBQ
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Hi, On Mon, Jul 21, 2014 at 05:25:31PM +0530, roshith wrote:
If you cant answer, pls be quiet!. Is this the way you reply to questions????
You've used a complex tool intended for experienced developers that understand its output, on ~5 year old software that runs for less than 2 seconds. It's no surprise you got that response, especially on the developers list. No, you shouldn't be worried about small memory leaks in something that exits so fast. Yes, you should be worried that your software is so out of date - upgrade. Cheers, Matthew
On Monday 21 July 2014 05:17 PM, Arran Cudbard-Bell wrote:
On 21 Jul 2014, at 07:43, roshith <roshith.r@gadgeon.com> wrote:
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!!.. OMG WTFBBQ
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
-- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
On 21 Jul 2014, at 07:55, roshith <roshith.r@gadgeon.com> wrote:
If you cant answer, pls be quiet!. Is this the way you reply to questions????
Your questions. Yes. Your use of hyperbolic formatting, and HTML on a text based mailing list invite mocking. Additionally you're posting an issue about a little used utility, in a version of the server which was released over four years ago. The problem you're posting about is not significant. radeapclient is not intended to run for long periods of time, and the amount of memory leaked is small. radeapclient will still function just find for the vast majority of situations. If you feel strongly about this please submit a patch for a recent version of the server to https://bugs.freeradius.org. -Arran
On Monday 21 July 2014 05:17 PM, Arran Cudbard-Bell wrote:
On 21 Jul 2014, at 07:43, roshith <roshith.r@gadgeon.com> wrote:
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!!..
OMG WTFBBQ
Arran Cudbard-Bell <a.cudbardb@freeradius.org>
FreeRADIUS development team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
roshith wrote:
If you cant answer, pls be quiet!. Is this the way you reply to questions????
Yes, this is the way we reply to questions which are full of panic, and which demand that *we* fix something. FreeRADIUS is free software. If you have a problem, you're free to submit a patch. Alan DeKok.
Hi,
freeradius: FreeRADIUS Version 2.1.10, for host i686-pc-linux-gnu, built on Feb 24 2014 at 15:16:51
that release is from 2010(!) http://freeradius.org/press/2010.html (I've really got to ask why your distro is still peddling such old software :( ) my initial response would be - use the latest version which has had many bug fixes sorted out since those dates - you know, thats why newer versions of code get released try 2.2.5 and see what happens - or maybe even 3.0.3 if you want the latest stuff certinly no need for even one exclaimation mark alan
On 21-07-14 14:21, A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
freeradius: FreeRADIUS Version 2.1.10, for host i686-pc-linux-gnu, built on Feb 24 2014 at 15:16:51
that release is from 2010(!) http://freeradius.org/press/2010.html (I've really got to ask why your distro is still peddling such old software :( )
Probably because the current maintainer appears to be missing in action. There's a bug report with a request for a newer version active for quite some time now, but it's still waiting for an official reaction: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691770 -- Herwin Weststrate
"Herwin" == Herwin Weststrate <herwin@quarantainenet.nl> writes:
Herwin> On 21-07-14 14:21, A.L.M.Buxey@lboro.ac.uk wrote: >> Hi, >> >>> freeradius: FreeRADIUS Version 2.1.10, for host >>> i686-pc-linux-gnu, built on Feb 24 2014 at 15:16:51 >> >> that release is from 2010(!) >> http://freeradius.org/press/2010.html (I've really got to ask why >> your distro is still peddling such old software :( ) Herwin> Probably because the current maintainer appears to be Herwin> missing in action. There's a bug report with a request for Herwin> a newer version active for quite some time now, but it's Herwin> still waiting for an official reaction: Herwin> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691770 Hi. I've agreed to package freeradius 3.x, and am waiting for things to settle down in terms of stability a bit. I don't have any personal interest in Freeradius 2.x, but may end up packaging a newer version if it doesn't look like Freeradius 3.x will be ready for Jessie.
participants (7)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Arran Cudbard-Bell -
Herwin Weststrate -
Matthew Newton -
roshith -
Sam Hartman