Hi I am integrating my rlm_otp module with freeradius code . if
I run radiusd server with the purify it is giving leaks As MLK :95 bytes Finished
radiusd
( 278 errors, 95 leaked bytes) Purify instrumented
/home/ravis/kshitij/freeradius-1.1.2/src/main/.libs/radiusd (pid 8830 at Fri
Aug 25 12:54:30 2006) Command-line: radiusd UMR: Uninitialized memory
read (18 times) UMR: Uninitialized memory
read (19 times) UMR: Uninitialized memory
read (6 times) UMR: Uninitialized memory
read (79 times) UMR: Uninitialized memory
read (96 times) UMR: Uninitialized memory
read (3 times) UMR: Uninitialized memory
read (2 times) UMR: Uninitialized memory
read ABR: Array bounds read (7
times) ABR: Array bounds read (7
times) ABR: Array bounds read (7
times) ABR: Array bounds read (3
times) ABR: Array bounds read (3
times) ABR: Array bounds read (3
times) UMR: Uninitialized memory
read (8 times) UMR: Uninitialized memory
read (3 times) UMR: Uninitialized memory
read (3 times) PAR: Bad function parameter
(7 times) ABR: Array bounds read ABR: Array bounds read ABR: Array bounds read Current file descriptors in
use: 7 Memory leaked: 95 bytes
(0.0142%); potentially leaked: 0 bytes (0%) MLK: 95
bytes leaked in 7 blocks This memory
was allocated from:
malloc [rtlib.o]
lt_emalloc [ltdl.c:863]
lt_emalloc (size)
size_t size;
{
=> lt_ptr mem = lt_dlmalloc (size);
if (size && !mem)
LT_DLMUTEX_SETERROR (LT_DLSTRERROR (NO_MEMORY));
return mem;
canonicalize_path [ltdl.c:2044]
assert (path && *path);
assert (pcanonical);
=> canonical = LT_EMALLOC (char, 1+ LT_STRLEN (path));
if (!canonical)
return 1;
try_dlopen [ltdl.c:2562]
lt_dlopenext [ltdl.c:2959]
linkto_module [modules.c:207] Block of 19
bytes at 0x32ed90 Block of 15
bytes at 0x231728 Block of 14
bytes at 0x22c9e0 Block of 12
bytes (3 times); last block at 0x2122b8 Block of 11
bytes at 0x32e480 Purify Heap
Analysis (combining suppressed and unsuppressed blocks) Thread Summary : 1 thread(s)
in existence Program exited with status
code 0. So please provide some usefull inputs to solve this problem Thanks & regards Ravi
|
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html