FreeRadius 1.1.3 Memory Leak

This is a discussion on FreeRadius 1.1.3 Memory Leak within the FreeRADIUS Users forums, part of the Networking and Network Related category; --===============1184624694== Content-Type: multipart/alternative; boundary="0-1733298299-1165457522=:10549" Content-Transfer-Encoding: 8bit --0-1733298299-1165457522=:10549 ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-07-2006
Abdul Qadir
 
Posts: n/a
Default FreeRadius 1.1.3 Memory Leak

--===============1184624694==
Content-Type: multipart/alternative; boundary="0-1733298299-1165457522=:10549"
Content-Transfer-Encoding: 8bit

--0-1733298299-1165457522=:10549
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi,

I just configured radius 1.1.3 and found that there are some memory leaks in it.

Here is the output of Valgrind


==30841== ERROR SUMMARY: 4365 errors from 82 contexts (suppressed: 44 from 2)
==30841== malloc/free: in use at exit: 1,354,452 bytes in 25,976 blocks.
==30841== malloc/free: 35,826 allocs, 9,850 frees, 3,185,516 bytes allocated.
==30841== For counts of detected errors, rerun with: -v
==30841== searching for pointers to 25,976 not-freed blocks.
==30841== checked 75,458,816 bytes.
==30841==
==30841==
==30841== 11 bytes in 1 blocks are possibly lost in loss record 12 of 93
==30841== at 0x43BF53F: malloc (m_replacemalloc/vg_replace_malloc.c:149)
==30841== by 0x441F567: (within /usr/lib/libltdl.so.3.1.0)
==30841== by 0x44200B1: (within /usr/lib/libltdl.so.3.1.0)
==30841== by 0x4420CB7: (within /usr/lib/libltdl.so.3.1.0)
==30841== by 0x4421881: lt_dlopenext (in /usr/lib/libltdl.so.3.1.0)
==30841== by 0x8052C5A: (within /usr/local/sbin/radiusd)
==30841== by 0x8052F66: find_module_instance (in /usr/local/sbin/radiusd)
==30841== by 0x8054564: (within /usr/local/sbin/radiusd)
==30841== by 0x805475B: compile_modsingle (in /usr/local/sbin/radiusd)
==30841== by 0x8053422: (within /usr/local/sbin/radiusd)
==30841== by 0x8053958: setup_modules (in /usr/local/sbin/radiusd)
==30841== by 0x805683D: main (in /usr/local/sbin/radiusd)
==30841==
==30841==
==30841== 97 bytes in 6 blocks are definitely lost in loss record 43 of 93
==30841== at 0x43BF53F: malloc (m_replacemalloc/vg_replace_malloc.c:149)
==30841== by 0x441F567: (within /usr/lib/libltdl.so.3.1.0)
==30841== by 0x44200B1: (within /usr/lib/libltdl.so.3.1.0)
==30841== by 0x4420CB7: (within /usr/lib/libltdl.so.3.1.0)
==30841== by 0x4421881: lt_dlopenext (in /usr/lib/libltdl.so.3.1.0)
==30841== by 0x8052C5A: (within /usr/local/sbin/radiusd)
==30841== by 0x8052F66: find_module_instance (in /usr/local/sbin/radiusd)
==30841== by 0x8054564: (within /usr/local/sbin/radiusd)
==30841== by 0x805475B: compile_modsingle (in /usr/local/sbin/radiusd)
==30841== by 0x8053422: (within /usr/local/sbin/radiusd)
==30841== by 0x8053958: setup_modules (in /usr/local/sbin/radiusd)
==30841== by 0x805683D: main (in /usr/local/sbin/radiusd)
==30841==
==30841==
==30841== 476 bytes in 7 blocks are possibly lost in loss record 68 of 93
==30841== at 0x43C0C58: calloc (m_replacemalloc/vg_replace_malloc.c:279)
==30841== by 0x8464EA: _dl_allocate_tls (in /lib/ld-2.3.3.so)
==30841== by 0xAB978D: pthread_create@@GLIBC_2.1 (in /lib/tls/libpthread-2.3.3.so)
==30841== by 0x8059A3E: (within /usr/local/sbin/radiusd)
==30841== by 0x8059D20: thread_pool_init (in /usr/local/sbin/radiusd)
==30841== by 0x8056A8B: main (in /usr/local/sbin/radiusd)
==30841==
==30841== LEAK SUMMARY:
==30841== definitely lost: 97 bytes in 6 blocks.
==30841== possibly lost: 487 bytes in 8 blocks.
==30841== still reachable: 1,353,868 bytes in 25,962 blocks.
==30841== suppressed: 0 bytes in 0 blocks.
==30841== Reachable blocks (those to which a pointer was found) are not shown.
==30841== To see them, rerun with: --show-reachable=yes




Can any one help me how to fix this.?

Best Regards,
Abdul Qadir

---------------------------------
Need a quick answer? Get one in minutes from people who know. Ask your question on Yahoo! Answers.
--0-1733298299-1165457522=:10549
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi,<br><br>&nbsp;&nbsp;&nbsp; I just configured radius 1.1.3 and found that there are some memory leaks in it. <br><br>Here is the output of Valgrind<br><br><br>==30841== ERROR SUMMARY: 4365 errors from 82 contexts (suppressed: 44 from 2)<br>==30841== malloc/free: in use at exit: 1,354,452 bytes in 25,976 blocks.<br>==30841== malloc/free: 35,826 allocs, 9,850 frees, 3,185,516 bytes allocated.<br>==30841== For counts of detected errors, rerun with: -v<br>==30841== searching for pointers to 25,976 not-freed blocks.<br>==30841== checked 75,458,816 bytes.<br>==30841== <br>==30841== <br>==30841== 11 bytes in 1 blocks are possibly lost in loss record 12 of 93<br>==30841==&nbsp;&nbsp;&nbsp; at 0x43BF53F: malloc (m_replacemalloc/vg_replace_malloc.c:149)<br>==30841==&nbsp;&nbsp;& nbsp; by 0x441F567: (within /usr/lib/libltdl.so.3.1.0)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x44200B1: (within /usr/lib/libltdl.so.3.1.0)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x4420CB7: (within
/usr/lib/libltdl.so.3.1.0)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x4421881: lt_dlopenext (in /usr/lib/libltdl.so.3.1.0)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8052C5A: (within /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8052F66: find_module_instance (in /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8054564: (within /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x805475B: compile_modsingle (in /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8053422: (within /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8053958: setup_modules (in /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x805683D: main (in /usr/local/sbin/radiusd)<br>==30841== <br>==30841== <br>==30841== 97 bytes in 6 blocks are definitely lost in loss record 43 of 93<br>==30841==&nbsp;&nbsp;&nbsp; at 0x43BF53F: malloc (m_replacemalloc/vg_replace_malloc.c:149)<br>==30841==&nbsp;&nbsp;& nbsp; by 0x441F567: (within
/usr/lib/libltdl.so.3.1.0)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x44200B1: (within /usr/lib/libltdl.so.3.1.0)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x4420CB7: (within /usr/lib/libltdl.so.3.1.0)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x4421881: lt_dlopenext (in /usr/lib/libltdl.so.3.1.0)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8052C5A: (within /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8052F66: find_module_instance (in /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8054564: (within /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x805475B: compile_modsingle (in /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8053422: (within /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8053958: setup_modules (in /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x805683D: main (in /usr/local/sbin/radiusd)<br>==30841== <br>==30841== <br>==30841== 476 bytes in 7 blocks are possibly lost in loss record 68 of
93<br>==30841==&nbsp;&nbsp;&nbsp; at 0x43C0C58: calloc (m_replacemalloc/vg_replace_malloc.c:279)<br>==30841==&nbsp;&nbsp;& nbsp; by 0x8464EA: _dl_allocate_tls (in /lib/ld-2.3.3.so)<br>==30841==&nbsp;&nbsp;&nbsp; by 0xAB978D: pthread_create@@GLIBC_2.1 (in /lib/tls/libpthread-2.3.3.so)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8059A3E: (within /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8059D20: thread_pool_init (in /usr/local/sbin/radiusd)<br>==30841==&nbsp;&nbsp;&nbsp; by 0x8056A8B: main (in /usr/local/sbin/radiusd)<br>==30841== <br>==30841== LEAK SUMMARY:<br>==30841==&nbsp;&nbsp;&nbsp; definitely lost: 97 bytes in 6 blocks.<br>==30841==&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; possibly lost: 487 bytes in 8 blocks.<br>==30841==&nbsp;&nbsp;&nbsp; still reachable: 1,353,868 bytes in 25,962 blocks.<br>==30841==&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; suppressed: 0 bytes in 0 blocks.<br>==30841== Reachable blocks (those to which a pointer was found) are not
shown.<br>==30841== To see them, rerun with: --show-reachable=yes<br><br><br><br><br>Can any one help me how to fix this.?<br><br>Best Regards,<br>Abdul Qadir<p>

<hr size=1>Need a quick answer? Get one in minutes from people who know. Ask your question on
<a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1 NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx"> Yahoo! Answers</a>.
--0-1733298299-1165457522=:10549--

--===============1184624694==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--===============1184624694==--
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0