valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=yes --logfile-fd=25 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==4846== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==4846== Copyright (C) 2002, and GNU GPL'd, by Julian Seward. ==4846== Using valgrind-1.9.2, a program instrumentation system for x86-linux. ==4846== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward. ==4846== Estimated CPU clock rate is 605 MHz ==4846== For more details, rerun with: -v ==4846== ==4322== ==4322== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 12 from 3) ==4322== malloc/free: in use at exit: 17926 bytes in 9 blocks. ==4322== malloc/free: 37913 allocs, 37904 frees, 24728842 bytes allocated. ==4322== For counts of detected errors, rerun with: -v ==4322== searching for pointers to 9 not-freed blocks. ==4322== checked 4435440 bytes. ==4322== ==4322== definitely lost: 0 bytes in 0 blocks. ==4322== possibly lost: 0 bytes in 0 blocks. ==4322== still reachable: 17926 bytes in 9 blocks. ==4322== ==4322== 23 bytes in 1 blocks are still reachable in loss record 1 of 7 ==4322== at 0x40160529: malloc (vg_clientfuncs.c:100) ==4322== by 0x40008A7E: _dl_new_object (dl-object.c:108) ==4322== by 0x400045EE: _dl_map_object_from_fd (dl-load.c:846) ==4322== by 0x40005ABC: _dl_map_object_internal (dl-load.c:1873) ==4322== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==4322== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==4322== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==4322== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==4322== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==4322== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==4322== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==4322== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==4322== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==4322== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==4322== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==4322== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==4322== by 0x8084D8E: isc_gethostname (isc_socket.c:224) ==4322== by 0x80588AA: get_host_name (connections.c:677) ==4322== by 0x8058A8D: login_request (connections.c:738) ==4322== by 0x805950C: handle_accept_event (connections.c:1042) ==4322== by 0x80853A7: isc_accept_cb (isc_tcp.c:351) ==4322== by 0x8086414: oop_sys_run (sys.c:410) ==4322== by 0x80595AA: toploop (connections.c:1066) ==4322== by 0x804AABE: main (ramkomd.c:624) ==4322== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==4322== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==4322== ==4322== 23 bytes in 1 blocks are still reachable in loss record 2 of 7 ==4322== at 0x40160529: malloc (vg_clientfuncs.c:100) ==4322== by 0x40005E83: _dl_map_object_internal (dl-load.c:141) ==4322== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==4322== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==4322== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==4322== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==4322== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==4322== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==4322== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==4322== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==4322== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==4322== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==4322== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==4322== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==4322== by 0x8084D8E: isc_gethostname (isc_socket.c:224) ==4322== by 0x80588AA: get_host_name (connections.c:677) ==4322== by 0x8058A8D: login_request (connections.c:738) ==4322== by 0x805950C: handle_accept_event (connections.c:1042) ==4322== by 0x80853A7: isc_accept_cb (isc_tcp.c:351) ==4322== by 0x8086414: oop_sys_run (sys.c:410) ==4322== by 0x80595AA: toploop (connections.c:1066) ==4322== by 0x804AABE: main (ramkomd.c:624) ==4322== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==4322== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==4322== ==4322== 28 bytes in 1 blocks are still reachable in loss record 3 of 7 ==4322== at 0x40160529: malloc (vg_clientfuncs.c:100) ==4322== by 0x40009CD4: _dl_map_object_deps_internal (dl-deps.c:487) ==4322== by 0x4037EB90: dl_open_worker (dl-open.c:249) ==4322== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==4322== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==4322== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==4322== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==4322== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==4322== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==4322== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==4322== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==4322== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==4322== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==4322== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==4322== by 0x8084D8E: isc_gethostname (isc_socket.c:224) ==4322== by 0x80588AA: get_host_name (connections.c:677) ==4322== by 0x8058A8D: login_request (connections.c:738) ==4322== by 0x805950C: handle_accept_event (connections.c:1042) ==4322== by 0x80853A7: isc_accept_cb (isc_tcp.c:351) ==4322== by 0x8086414: oop_sys_run (sys.c:410) ==4322== by 0x80595AA: toploop (connections.c:1066) ==4322== by 0x804AABE: main (ramkomd.c:624) ==4322== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==4322== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==4322== ==4322== 144 bytes in 1 blocks are still reachable in loss record 4 of 7 ==4322== at 0x40160A21: calloc (vg_clientfuncs.c:242) ==4322== by 0x4000C153: _dl_check_map_versions_internal (dl-version.c:298) ==4322== by 0x4037EF0B: dl_open_worker (dl-open.c:221) ==4322== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==4322== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==4322== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==4322== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==4322== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==4322== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==4322== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==4322== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==4322== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==4322== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==4322== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==4322== by 0x8084D8E: isc_gethostname (isc_socket.c:224) ==4322== by 0x80588AA: get_host_name (connections.c:677) ==4322== by 0x8058A8D: login_request (connections.c:738) ==4322== by 0x805950C: handle_accept_event (connections.c:1042) ==4322== by 0x80853A7: isc_accept_cb (isc_tcp.c:351) ==4322== by 0x8086414: oop_sys_run (sys.c:410) ==4322== by 0x80595AA: toploop (connections.c:1066) ==4322== by 0x804AABE: main (ramkomd.c:624) ==4322== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==4322== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==4322== ==4322== 554 bytes in 1 blocks are still reachable in loss record 5 of 7 ==4322== at 0x40160A21: calloc (vg_clientfuncs.c:242) ==4322== by 0x40008872: _dl_new_object (dl-object.c:43) ==4322== by 0x400045EE: _dl_map_object_from_fd (dl-load.c:846) ==4322== by 0x40005ABC: _dl_map_object_internal (dl-load.c:1873) ==4322== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==4322== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==4322== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==4322== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==4322== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==4322== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==4322== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==4322== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==4322== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==4322== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==4322== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==4322== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==4322== by 0x8084D8E: isc_gethostname (isc_socket.c:224) ==4322== by 0x80588AA: get_host_name (connections.c:677) ==4322== by 0x8058A8D: login_request (connections.c:738) ==4322== by 0x805950C: handle_accept_event (connections.c:1042) ==4322== by 0x80853A7: isc_accept_cb (isc_tcp.c:351) ==4322== by 0x8086414: oop_sys_run (sys.c:410) ==4322== by 0x80595AA: toploop (connections.c:1066) ==4322== by 0x804AABE: main (ramkomd.c:624) ==4322== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==4322== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==4322== ==4322== 728 bytes in 2 blocks are still reachable in loss record 6 of 7 ==4322== at 0x40160529: malloc (vg_clientfuncs.c:100) ==4322== by 0x402DA232: __fopen_internal (iofopen.c:75) ==4322== by 0x402DA2FD: _IO_fopen@@GLIBC_2.1 (iofopen.c:106) ==4322== by 0x8090BF8: i_fopen (fopen.c:13) ==4322== by 0x804EF7C: init_cache (simple-cache.c:2617) ==4322== by 0x804A2D2: init_data_base (ramkomd.c:260) ==4322== by 0x804A850: initialize (ramkomd.c:530) ==4322== by 0x804AA51: main (ramkomd.c:614) ==4322== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==4322== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==4322== ==4322== 16426 bytes in 2 blocks are still reachable in loss record 7 of 7 ==4322== at 0x40160529: malloc (vg_clientfuncs.c:100) ==4322== by 0x807F2F0: yy_flex_alloc (aux-item-def-scan.c:1883) ==4322== by 0x807EF10: yy_create_buffer (aux-item-def-scan.c:1558) ==4322== by 0x807DE3E: aid_lex (aux-item-def-scan.c:737) ==4322== by 0x807BE6C: aid_parse (/i/bison/1.35/share/bison/bison.simple:573) ==4322== by 0x807DB3B: parse_aux_item_definitions (aux-item-def-parse.y:490) ==4322== by 0x806A670: initialize_aux_items (aux-items.c:478) ==4322== by 0x804A641: initialize (ramkomd.c:422) ==4322== by 0x804AA51: main (ramkomd.c:614) ==4322== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==4322== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==4322== ==4322== LEAK SUMMARY: ==4322== definitely lost: 0 bytes in 0 blocks. ==4322== possibly lost: 0 bytes in 0 blocks. ==4322== still reachable: 17926 bytes in 9 blocks. ==4322==