Hello evryone, I am working with the auth_radius module.
In the openser it gives me that still reachable memory in memory log file of valgrind.
It gives the 127 blocks which is still reachable.
I have attched that file here.Plz Find it.
U can view this file using "alleyoop" command.
Then it gives the memory still reachable in openser.
So Please help me.
Regards, Dilip
==4347== Memcheck, a memory error detector. ==4347== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==4347== Using LibVEX rev 1658, a library for dynamic binary translation. ==4347== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==4347== Using valgrind-3.2.1, a dynamic binary instrumentation framework. ==4347== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==4347== For more details, rerun with: -v ==4347== ==4347== My PID = 4347, parent PID = 2679. Prog and args are: ==4347== openser ==4347== ==4347== ==4347== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 64 from 1) ==4347== malloc/free: in use at exit: 51,730 bytes in 127 blocks. ==4347== malloc/free: 999 allocs, 872 frees, 197,054 bytes allocated. ==4347== For counts of detected errors, rerun with: -v ==4347== searching for pointers to 127 not-freed blocks. ==4348== ==4348== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 64 from 1) ==4348== malloc/free: in use at exit: 51,730 bytes in 127 blocks. ==4348== malloc/free: 999 allocs, 872 frees, 197,054 bytes allocated. ==4348== For counts of detected errors, rerun with: -v ==4348== searching for pointers to 127 not-freed blocks. ==4347== checked 35,928,224 bytes. ==4347== ==4347== 16 bytes in 2 blocks are still reachable in loss record 1 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x3841E06807: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==4347== by 0x3841E07CC2: _dl_map_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E0B01C: openaux (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E0B6E5: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4347== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4347== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4347== ==4347== ==4347== 21 bytes in 2 blocks are still reachable in loss record 2 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x3842275EC1: strdup (in /lib64/libc-2.5.so) ==4347== by 0x42922F: set_mod_param_regex (modparam.c:118) ==4347== by 0x4959B8: yyparse (cfg.y:909) ==4347== by 0x4262BC: main (main.c:1307) ==4347== ==4347== ==4347== 56 bytes in 1 blocks are still reachable in loss record 3 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x48B931: yy_create_buffer (lex.yy.c:3472) ==4347== by 0x48C037: yylex (lex.yy.c:1492) ==4347== by 0x492FFF: yyparse (cfg.tab.c:2702) ==4347== by 0x4262BC: main (main.c:1307) ==4347== ==4347== ==4347== 294 bytes in 12 blocks are still reachable in loss record 4 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x3841E09EE5: _dl_new_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E05ACB: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==4347== by 0x3841E07CC2: _dl_map_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E0B01C: openaux (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E0B6E5: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4347== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4347== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== ==4347== ==4347== 294 bytes in 12 blocks are still reachable in loss record 5 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x3841E08145: _dl_map_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E0B01C: openaux (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E0B6E5: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4347== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4347== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4347== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4347== ==4347== ==4347== 513 bytes in 12 blocks are still reachable in loss record 6 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x3841E09EE5: _dl_new_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E05ACB: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==4347== by 0x3841E07CC2: _dl_map_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E10A9C: dl_open_worker (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4347== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4347== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4347== by 0x44B816: load_module (sr_module.c:207) ==4347== ==4347== ==4347== 513 bytes in 12 blocks are still reachable in loss record 7 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x3841E07033: expand_dynamic_string_token (in /lib64/ld-2.5.so) ==4347== by 0x3841E07C15: _dl_map_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E10A9C: dl_open_worker (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4347== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4347== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4347== by 0x44B816: load_module (sr_module.c:207) ==4347== by 0x49A67F: yyparse (cfg.y:902) ==4347== ==4347== ==4347== 568 bytes in 1 blocks are still reachable in loss record 8 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x384225F119: __fopen_internal (in /lib64/libc-2.5.so) ==4347== by 0x42618A: main (main.c:1267) ==4347== ==4347== ==4347== 928 bytes in 12 blocks are still reachable in loss record 9 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x3841E0B913: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4347== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4347== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4347== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4347== by 0x44B816: load_module (sr_module.c:207) ==4347== by 0x49A67F: yyparse (cfg.y:902) ==4347== by 0x4262BC: main (main.c:1307) ==4347== ==4347== ==4347== 944 bytes in 12 blocks are still reachable in loss record 10 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x3841E0B793: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4347== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4347== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4347== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4347== by 0x44B816: load_module (sr_module.c:207) ==4347== by 0x49A67F: yyparse (cfg.y:902) ==4347== by 0x4262BC: main (main.c:1307) ==4347== ==4347== ==4347== 3,048 bytes in 24 blocks are still reachable in loss record 11 of 14 ==4347== at 0x4A04BA2: calloc (vg_replace_malloc.c:279) ==4347== by 0x3841E0E675: _dl_check_map_versions (in /lib64/ld-2.5.so) ==4347== by 0x3841E10D98: dl_open_worker (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4347== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4347== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4347== by 0x44B816: load_module (sr_module.c:207) ==4347== by 0x49A67F: yyparse (cfg.y:902) ==4347== by 0x4262BC: main (main.c:1307) ==4347== ==4347== ==4347== 13,908 bytes in 12 blocks are still reachable in loss record 12 of 14 ==4347== at 0x4A04BA2: calloc (vg_replace_malloc.c:279) ==4347== by 0x3841E09C8B: _dl_new_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E05ACB: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==4347== by 0x3841E07CC2: _dl_map_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E0B01C: openaux (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E0B6E5: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4347== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4347== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== ==4347== ==4347== 14,241 bytes in 12 blocks are still reachable in loss record 13 of 14 ==4347== at 0x4A04BA2: calloc (vg_replace_malloc.c:279) ==4347== by 0x3841E09C8B: _dl_new_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E05ACB: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==4347== by 0x3841E07CC2: _dl_map_object (in /lib64/ld-2.5.so) ==4347== by 0x3841E10A9C: dl_open_worker (in /lib64/ld-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4347== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4347== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4347== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4347== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4347== by 0x44B816: load_module (sr_module.c:207) ==4347== ==4347== ==4347== 16,386 bytes in 1 blocks are still reachable in loss record 14 of 14 ==4347== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4347== by 0x48B948: yy_create_buffer (lex.yy.c:3472) ==4347== by 0x48C037: yylex (lex.yy.c:1492) ==4347== by 0x492FFF: yyparse (cfg.tab.c:2702) ==4347== by 0x4262BC: main (main.c:1307) ==4347== ==4347== LEAK SUMMARY: ==4347== definitely lost: 0 bytes in 0 blocks. ==4347== possibly lost: 0 bytes in 0 blocks. ==4347== still reachable: 51,730 bytes in 127 blocks. ==4347== suppressed: 0 bytes in 0 blocks. ==4349== Invalid read of size 4 ==4349== at 0x5FFC8C5: mod_init (authdb_mod.c:176) ==4349== by 0x44AC9C: init_mod (sr_module.c:435) ==4349== by 0x44AC55: init_mod (sr_module.c:432) ==4349== by 0x44AC55: init_mod (sr_module.c:432) ==4349== by 0x426F9A: main (main.c:1466) ==4349== Address 0x4C611A0 is 8 bytes inside a block of size 9 alloc'd ==4349== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4349== by 0x3842275EC1: strdup (in /lib64/libc-2.5.so) ==4349== by 0x42922F: set_mod_param_regex (modparam.c:118) ==4349== by 0x4959B8: yyparse (cfg.y:909) ==4349== by 0x4262BC: main (main.c:1307) ==4349== ==4349== Invalid read of size 4 ==4349== at 0x5FFC935: mod_init (authdb_mod.c:177) ==4349== by 0x44AC9C: init_mod (sr_module.c:435) ==4349== by 0x44AC55: init_mod (sr_module.c:432) ==4349== by 0x44AC55: init_mod (sr_module.c:432) ==4349== by 0x426F9A: main (main.c:1466) ==4349== Address 0x4C611A0 is 8 bytes inside a block of size 9 alloc'd ==4349== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4349== by 0x3842275EC1: strdup (in /lib64/libc-2.5.so) ==4349== by 0x42922F: set_mod_param_regex (modparam.c:118) ==4349== by 0x4959B8: yyparse (cfg.y:909) ==4349== by 0x4262BC: main (main.c:1307) ==4348== checked 35,928,224 bytes. ==4348== ==4348== 16 bytes in 2 blocks are still reachable in loss record 1 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x3841E06807: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==4348== by 0x3841E07CC2: _dl_map_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E0B01C: openaux (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E0B6E5: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4348== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4348== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4348== ==4348== ==4348== 21 bytes in 2 blocks are still reachable in loss record 2 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x3842275EC1: strdup (in /lib64/libc-2.5.so) ==4348== by 0x42922F: set_mod_param_regex (modparam.c:118) ==4348== by 0x4959B8: yyparse (cfg.y:909) ==4348== by 0x4262BC: main (main.c:1307) ==4348== ==4348== ==4348== 56 bytes in 1 blocks are still reachable in loss record 3 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x48B931: yy_create_buffer (lex.yy.c:3472) ==4348== by 0x48C037: yylex (lex.yy.c:1492) ==4348== by 0x492FFF: yyparse (cfg.tab.c:2702) ==4348== by 0x4262BC: main (main.c:1307) ==4348== ==4348== ==4348== 294 bytes in 12 blocks are still reachable in loss record 4 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x3841E09EE5: _dl_new_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E05ACB: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==4348== by 0x3841E07CC2: _dl_map_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E0B01C: openaux (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E0B6E5: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4348== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4348== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== ==4348== ==4348== 294 bytes in 12 blocks are still reachable in loss record 5 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x3841E08145: _dl_map_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E0B01C: openaux (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E0B6E5: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4348== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4348== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4348== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4348== ==4348== ==4348== 513 bytes in 12 blocks are still reachable in loss record 6 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x3841E09EE5: _dl_new_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E05ACB: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==4348== by 0x3841E07CC2: _dl_map_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E10A9C: dl_open_worker (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4348== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4348== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4348== by 0x44B816: load_module (sr_module.c:207) ==4348== ==4348== ==4348== 513 bytes in 12 blocks are still reachable in loss record 7 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x3841E07033: expand_dynamic_string_token (in /lib64/ld-2.5.so) ==4348== by 0x3841E07C15: _dl_map_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E10A9C: dl_open_worker (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4348== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4348== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4348== by 0x44B816: load_module (sr_module.c:207) ==4348== by 0x49A67F: yyparse (cfg.y:902) ==4348== ==4348== ==4348== 568 bytes in 1 blocks are still reachable in loss record 8 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x384225F119: __fopen_internal (in /lib64/libc-2.5.so) ==4348== by 0x42618A: main (main.c:1267) ==4348== ==4348== ==4348== 928 bytes in 12 blocks are still reachable in loss record 9 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x3841E0B913: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4348== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4348== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4348== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4348== by 0x44B816: load_module (sr_module.c:207) ==4348== by 0x49A67F: yyparse (cfg.y:902) ==4348== by 0x4262BC: main (main.c:1307) ==4348== ==4348== ==4348== 944 bytes in 12 blocks are still reachable in loss record 10 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x3841E0B793: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4348== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4348== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4348== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4348== by 0x44B816: load_module (sr_module.c:207) ==4348== by 0x49A67F: yyparse (cfg.y:902) ==4348== by 0x4262BC: main (main.c:1307) ==4348== ==4348== ==4348== 3,048 bytes in 24 blocks are still reachable in loss record 11 of 14 ==4348== at 0x4A04BA2: calloc (vg_replace_malloc.c:279) ==4348== by 0x3841E0E675: _dl_check_map_versions (in /lib64/ld-2.5.so) ==4348== by 0x3841E10D98: dl_open_worker (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4348== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4348== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4348== by 0x44B816: load_module (sr_module.c:207) ==4348== by 0x49A67F: yyparse (cfg.y:902) ==4348== by 0x4262BC: main (main.c:1307) ==4348== ==4348== ==4348== 13,908 bytes in 12 blocks are still reachable in loss record 12 of 14 ==4348== at 0x4A04BA2: calloc (vg_replace_malloc.c:279) ==4348== by 0x3841E09C8B: _dl_new_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E05ACB: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==4348== by 0x3841E07CC2: _dl_map_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E0B01C: openaux (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E0B6E5: _dl_map_object_deps (in /lib64/ld-2.5.so) ==4348== by 0x3841E10AFC: dl_open_worker (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4348== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== ==4348== ==4348== 14,241 bytes in 12 blocks are still reachable in loss record 13 of 14 ==4348== at 0x4A04BA2: calloc (vg_replace_malloc.c:279) ==4348== by 0x3841E09C8B: _dl_new_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E05ACB: _dl_map_object_from_fd (in /lib64/ld-2.5.so) ==4348== by 0x3841E07CC2: _dl_map_object (in /lib64/ld-2.5.so) ==4348== by 0x3841E10A9C: dl_open_worker (in /lib64/ld-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3841E1048B: _dl_open (in /lib64/ld-2.5.so) ==4348== by 0x3842A00F99: dlopen_doit (in /lib64/libdl-2.5.so) ==4348== by 0x3841E0CCE5: _dl_catch_error (in /lib64/ld-2.5.so) ==4348== by 0x3842A0150C: _dlerror_run (in /lib64/libdl-2.5.so) ==4348== by 0x3842A00F10: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.5.so) ==4348== by 0x44B816: load_module (sr_module.c:207) ==4348== ==4348== ==4348== 16,386 bytes in 1 blocks are still reachable in loss record 14 of 14 ==4348== at 0x4A05879: malloc (vg_replace_malloc.c:149) ==4348== by 0x48B948: yy_create_buffer (lex.yy.c:3472) ==4348== by 0x48C037: yylex (lex.yy.c:1492) ==4348== by 0x492FFF: yyparse (cfg.tab.c:2702) ==4348== by 0x4262BC: main (main.c:1307) ==4348== ==4348== LEAK SUMMARY: ==4348== definitely lost: 0 bytes in 0 blocks. ==4348== possibly lost: 0 bytes in 0 blocks. ==4348== still reachable: 51,730 bytes in 127 blocks. ==4348== suppressed: 0 bytes in 0 blocks.
Hello,
On 06/19/08 07:27, Dilip wrote:
Hello evryone, I am working with the auth_radius module.
In the openser it gives me that still reachable memory in memory log file of valgrind.
It gives the 127 blocks which is still reachable.
I have attched that file here.Plz Find it.
U can view this file using "alleyoop" command.
Then it gives the memory still reachable in openser.
So Please help me.
as I could see, the fragments are due to functions used once, at startup. Because of fixup mechanism in openser, how it initializes and shuts down, some chunks cannot be freed and have it clean all around. It is not leak unless it keeps consuming memory during runtime. Have you meet this situation, do you get out of memory during runtime?
However, you should upgrade to newer versions, 1.3, as 1.1 is pretty old.
Cheers, Daniel
Regards, Dilip