valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=yes --logfile-fd=25 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==9011== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==9011== Copyright (C) 2002, and GNU GPL'd, by Julian Seward. ==9011== Using valgrind-1.9.2, a program instrumentation system for x86-linux. ==9011== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward. ==9011== Estimated CPU clock rate is 606 MHz ==9011== For more details, rerun with: -v ==9011== ==9011== Conditional jump or move depends on uninitialised value(s) ==9011== at 0x808439C: isc_cancel_idle_callback (isc_session.c:249) ==9011== by 0x8084412: isc_set_read_callback (isc_session.c:268) ==9011== by 0x8058EE2: login_request (connections.c:831) ==9011== by 0x80596AA: handle_accept_event (connections.c:1058) ==9011== by 0x8085EA0: isc_accept_cb (isc_tcp.c:352) ==9011== by 0x8086F14: oop_sys_run (sys.c:410) ==9011== by 0x805974A: toploop (connections.c:1082) ==9011== by 0x804AB3E: main (ramkomd.c:641) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== Conditional jump or move depends on uninitialised value(s) ==9011== at 0x8084643: isc_check_read_callback (isc_session.c:337) ==9011== by 0x808445E: isc_set_read_callback (isc_session.c:275) ==9011== by 0x8058EE2: login_request (connections.c:831) ==9011== by 0x80596AA: handle_accept_event (connections.c:1058) ==9011== by 0x8085EA0: isc_accept_cb (isc_tcp.c:352) ==9011== by 0x8086F14: oop_sys_run (sys.c:410) ==9011== by 0x805974A: toploop (connections.c:1082) ==9011== by 0x804AB3E: main (ramkomd.c:641) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== Conditional jump or move depends on uninitialised value(s) ==9011== at 0x808439C: isc_cancel_idle_callback (isc_session.c:249) ==9011== by 0x8084789: isc_destroy (isc_session.c:385) ==9011== by 0x8084C83: isc_shutdown (isc_master.c:127) ==9011== by 0x804AB5B: main (ramkomd.c:647) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 4 from 3) ==9011== malloc/free: in use at exit: 18566 bytes in 10 blocks. ==9011== malloc/free: 1043 allocs, 1033 frees, 635484 bytes allocated. ==9011== For counts of detected errors, rerun with: -v ==9011== searching for pointers to 10 not-freed blocks. ==9011== checked 4484496 bytes. ==9011== ==9011== definitely lost: 640 bytes in 1 blocks. ==9011== possibly lost: 0 bytes in 0 blocks. ==9011== still reachable: 17926 bytes in 9 blocks. ==9011== ==9011== 23 bytes in 1 blocks are still reachable in loss record 1 of 8 ==9011== at 0x40160529: malloc (vg_clientfuncs.c:100) ==9011== by 0x40008A7E: _dl_new_object (dl-object.c:108) ==9011== by 0x400045EE: _dl_map_object_from_fd (dl-load.c:846) ==9011== by 0x40005ABC: _dl_map_object_internal (dl-load.c:1873) ==9011== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==9011== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==9011== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==9011== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==9011== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==9011== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==9011== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==9011== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==9011== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==9011== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==9011== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==9011== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==9011== by 0x808588E: isc_gethostname (isc_socket.c:224) ==9011== by 0x80589CA: get_host_name (connections.c:688) ==9011== by 0x8058C6D: login_request (connections.c:774) ==9011== by 0x80596AA: handle_accept_event (connections.c:1058) ==9011== by 0x8085EA0: isc_accept_cb (isc_tcp.c:352) ==9011== by 0x8086F14: oop_sys_run (sys.c:410) ==9011== by 0x805974A: toploop (connections.c:1082) ==9011== by 0x804AB3E: main (ramkomd.c:641) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== 23 bytes in 1 blocks are still reachable in loss record 2 of 8 ==9011== at 0x40160529: malloc (vg_clientfuncs.c:100) ==9011== by 0x40005E83: _dl_map_object_internal (dl-load.c:141) ==9011== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==9011== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==9011== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==9011== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==9011== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==9011== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==9011== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==9011== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==9011== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==9011== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==9011== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==9011== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==9011== by 0x808588E: isc_gethostname (isc_socket.c:224) ==9011== by 0x80589CA: get_host_name (connections.c:688) ==9011== by 0x8058C6D: login_request (connections.c:774) ==9011== by 0x80596AA: handle_accept_event (connections.c:1058) ==9011== by 0x8085EA0: isc_accept_cb (isc_tcp.c:352) ==9011== by 0x8086F14: oop_sys_run (sys.c:410) ==9011== by 0x805974A: toploop (connections.c:1082) ==9011== by 0x804AB3E: main (ramkomd.c:641) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== 28 bytes in 1 blocks are still reachable in loss record 3 of 8 ==9011== at 0x40160529: malloc (vg_clientfuncs.c:100) ==9011== by 0x40009CD4: _dl_map_object_deps_internal (dl-deps.c:487) ==9011== by 0x4037EB90: dl_open_worker (dl-open.c:249) ==9011== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==9011== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==9011== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==9011== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==9011== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==9011== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==9011== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==9011== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==9011== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==9011== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==9011== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==9011== by 0x808588E: isc_gethostname (isc_socket.c:224) ==9011== by 0x80589CA: get_host_name (connections.c:688) ==9011== by 0x8058C6D: login_request (connections.c:774) ==9011== by 0x80596AA: handle_accept_event (connections.c:1058) ==9011== by 0x8085EA0: isc_accept_cb (isc_tcp.c:352) ==9011== by 0x8086F14: oop_sys_run (sys.c:410) ==9011== by 0x805974A: toploop (connections.c:1082) ==9011== by 0x804AB3E: main (ramkomd.c:641) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== 144 bytes in 1 blocks are still reachable in loss record 4 of 8 ==9011== at 0x40160A21: calloc (vg_clientfuncs.c:242) ==9011== by 0x4000C153: _dl_check_map_versions_internal (dl-version.c:298) ==9011== by 0x4037EF0B: dl_open_worker (dl-open.c:221) ==9011== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==9011== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==9011== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==9011== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==9011== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==9011== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==9011== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==9011== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==9011== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==9011== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==9011== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==9011== by 0x808588E: isc_gethostname (isc_socket.c:224) ==9011== by 0x80589CA: get_host_name (connections.c:688) ==9011== by 0x8058C6D: login_request (connections.c:774) ==9011== by 0x80596AA: handle_accept_event (connections.c:1058) ==9011== by 0x8085EA0: isc_accept_cb (isc_tcp.c:352) ==9011== by 0x8086F14: oop_sys_run (sys.c:410) ==9011== by 0x805974A: toploop (connections.c:1082) ==9011== by 0x804AB3E: main (ramkomd.c:641) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== 554 bytes in 1 blocks are still reachable in loss record 5 of 8 ==9011== at 0x40160A21: calloc (vg_clientfuncs.c:242) ==9011== by 0x40008872: _dl_new_object (dl-object.c:43) ==9011== by 0x400045EE: _dl_map_object_from_fd (dl-load.c:846) ==9011== by 0x40005ABC: _dl_map_object_internal (dl-load.c:1873) ==9011== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==9011== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==9011== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==9011== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==9011== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==9011== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==9011== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==9011== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==9011== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==9011== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==9011== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==9011== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==9011== by 0x808588E: isc_gethostname (isc_socket.c:224) ==9011== by 0x80589CA: get_host_name (connections.c:688) ==9011== by 0x8058C6D: login_request (connections.c:774) ==9011== by 0x80596AA: handle_accept_event (connections.c:1058) ==9011== by 0x8085EA0: isc_accept_cb (isc_tcp.c:352) ==9011== by 0x8086F14: oop_sys_run (sys.c:410) ==9011== by 0x805974A: toploop (connections.c:1082) ==9011== by 0x804AB3E: main (ramkomd.c:641) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== 640 bytes in 1 blocks are definitely lost in loss record 6 of 8 ==9011== at 0x40160529: malloc (vg_clientfuncs.c:100) ==9011== by 0x8089A8A: regex_compile (regex.c:1132) ==9011== by 0x8091313: re_compile_pattern (regex.c:4638) ==9011== by 0x8069EA2: lookup_regexp (regex-match.c:93) ==9011== by 0x806A222: re_z_lookup (regex-match.c:184) ==9011== by 0x805762E: call_function (call-switch.incl:306) ==9011== by 0x8058150: parse_unparsed (connections.c:437) ==9011== by 0x805902C: read_from_connection (connections.c:865) ==9011== by 0x80595D8: data_available_callback (connections.c:1034) ==9011== by 0x8086F14: oop_sys_run (sys.c:410) ==9011== by 0x805974A: toploop (connections.c:1082) ==9011== by 0x804AB3E: main (ramkomd.c:641) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== 728 bytes in 2 blocks are still reachable in loss record 7 of 8 ==9011== at 0x40160529: malloc (vg_clientfuncs.c:100) ==9011== by 0x402DA232: __fopen_internal (iofopen.c:75) ==9011== by 0x402DA2FD: _IO_fopen@@GLIBC_2.1 (iofopen.c:106) ==9011== by 0x80917D8: i_fopen (fopen.c:13) ==9011== by 0x804EFFC: init_cache (simple-cache.c:2617) ==9011== by 0x804A352: init_data_base (ramkomd.c:277) ==9011== by 0x804A8D0: initialize (ramkomd.c:547) ==9011== by 0x804AAD1: main (ramkomd.c:631) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== 16426 bytes in 2 blocks are still reachable in loss record 8 of 8 ==9011== at 0x40160529: malloc (vg_clientfuncs.c:100) ==9011== by 0x807F5B0: yy_flex_alloc (aux-item-def-scan.c:1883) ==9011== by 0x807F1D0: yy_create_buffer (aux-item-def-scan.c:1558) ==9011== by 0x807E0FE: aid_lex (aux-item-def-scan.c:737) ==9011== by 0x807C12C: aid_parse (/i/bison/1.35/share/bison/bison.simple:573) ==9011== by 0x807DDFB: parse_aux_item_definitions (aux-item-def-parse.y:490) ==9011== by 0x806A880: initialize_aux_items (aux-items.c:478) ==9011== by 0x804A6C1: initialize (ramkomd.c:439) ==9011== by 0x804AAD1: main (ramkomd.c:631) ==9011== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==9011== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==9011== ==9011== LEAK SUMMARY: ==9011== definitely lost: 640 bytes in 1 blocks. ==9011== possibly lost: 0 bytes in 0 blocks. ==9011== still reachable: 17926 bytes in 9 blocks. ==9011==