valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=yes --logfile-fd=25 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==17368== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==17368== Copyright (C) 2002, and GNU GPL'd, by Julian Seward. ==17368== Using valgrind-1.9.2, a program instrumentation system for x86-linux. ==17368== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward. ==17368== Estimated CPU clock rate is 606 MHz ==17368== For more details, rerun with: -v ==17368== ==17368== Conditional jump or move depends on uninitialised value(s) ==17368== at 0x808431C: isc_cancel_idle_callback (isc_session.c:243) ==17368== by 0x8084392: isc_set_read_callback (isc_session.c:262) ==17368== by 0x8058EE2: login_request (connections.c:831) ==17368== by 0x80596AA: handle_accept_event (connections.c:1058) ==17368== by 0x8085E30: isc_accept_cb (isc_tcp.c:352) ==17368== by 0x8086EA4: oop_sys_run (sys.c:410) ==17368== by 0x805974A: toploop (connections.c:1082) ==17368== by 0x804AB3E: main (ramkomd.c:641) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== Conditional jump or move depends on uninitialised value(s) ==17368== at 0x80845C9: isc_check_read_callback (isc_session.c:331) ==17368== by 0x80843DE: isc_set_read_callback (isc_session.c:269) ==17368== by 0x8058EE2: login_request (connections.c:831) ==17368== by 0x80596AA: handle_accept_event (connections.c:1058) ==17368== by 0x8085E30: isc_accept_cb (isc_tcp.c:352) ==17368== by 0x8086EA4: oop_sys_run (sys.c:410) ==17368== by 0x805974A: toploop (connections.c:1082) ==17368== by 0x804AB3E: main (ramkomd.c:641) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== Conditional jump or move depends on uninitialised value(s) ==17368== at 0x808431C: isc_cancel_idle_callback (isc_session.c:243) ==17368== by 0x8084719: isc_destroy (isc_session.c:380) ==17368== by 0x8084C13: isc_shutdown (isc_master.c:127) ==17368== by 0x804AB5B: main (ramkomd.c:647) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 4 from 3) ==17368== malloc/free: in use at exit: 18566 bytes in 10 blocks. ==17368== malloc/free: 1483 allocs, 1473 frees, 1760597 bytes allocated. ==17368== For counts of detected errors, rerun with: -v ==17368== searching for pointers to 10 not-freed blocks. ==17368== checked 4477768 bytes. ==17368== ==17368== definitely lost: 640 bytes in 1 blocks. ==17368== possibly lost: 0 bytes in 0 blocks. ==17368== still reachable: 17926 bytes in 9 blocks. ==17368== ==17368== 23 bytes in 1 blocks are still reachable in loss record 1 of 8 ==17368== at 0x40160529: malloc (vg_clientfuncs.c:100) ==17368== by 0x40008A7E: _dl_new_object (dl-object.c:108) ==17368== by 0x400045EE: _dl_map_object_from_fd (dl-load.c:846) ==17368== by 0x40005ABC: _dl_map_object_internal (dl-load.c:1873) ==17368== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==17368== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==17368== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==17368== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==17368== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==17368== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==17368== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==17368== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==17368== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==17368== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==17368== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==17368== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==17368== by 0x808581E: isc_gethostname (isc_socket.c:224) ==17368== by 0x80589CA: get_host_name (connections.c:688) ==17368== by 0x8058C6D: login_request (connections.c:774) ==17368== by 0x80596AA: handle_accept_event (connections.c:1058) ==17368== by 0x8085E30: isc_accept_cb (isc_tcp.c:352) ==17368== by 0x8086EA4: oop_sys_run (sys.c:410) ==17368== by 0x805974A: toploop (connections.c:1082) ==17368== by 0x804AB3E: main (ramkomd.c:641) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== 23 bytes in 1 blocks are still reachable in loss record 2 of 8 ==17368== at 0x40160529: malloc (vg_clientfuncs.c:100) ==17368== by 0x40005E83: _dl_map_object_internal (dl-load.c:141) ==17368== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==17368== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==17368== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==17368== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==17368== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==17368== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==17368== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==17368== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==17368== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==17368== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==17368== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==17368== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==17368== by 0x808581E: isc_gethostname (isc_socket.c:224) ==17368== by 0x80589CA: get_host_name (connections.c:688) ==17368== by 0x8058C6D: login_request (connections.c:774) ==17368== by 0x80596AA: handle_accept_event (connections.c:1058) ==17368== by 0x8085E30: isc_accept_cb (isc_tcp.c:352) ==17368== by 0x8086EA4: oop_sys_run (sys.c:410) ==17368== by 0x805974A: toploop (connections.c:1082) ==17368== by 0x804AB3E: main (ramkomd.c:641) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== 28 bytes in 1 blocks are still reachable in loss record 3 of 8 ==17368== at 0x40160529: malloc (vg_clientfuncs.c:100) ==17368== by 0x40009CD4: _dl_map_object_deps_internal (dl-deps.c:487) ==17368== by 0x4037EB90: dl_open_worker (dl-open.c:249) ==17368== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==17368== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==17368== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==17368== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==17368== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==17368== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==17368== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==17368== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==17368== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==17368== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==17368== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==17368== by 0x808581E: isc_gethostname (isc_socket.c:224) ==17368== by 0x80589CA: get_host_name (connections.c:688) ==17368== by 0x8058C6D: login_request (connections.c:774) ==17368== by 0x80596AA: handle_accept_event (connections.c:1058) ==17368== by 0x8085E30: isc_accept_cb (isc_tcp.c:352) ==17368== by 0x8086EA4: oop_sys_run (sys.c:410) ==17368== by 0x805974A: toploop (connections.c:1082) ==17368== by 0x804AB3E: main (ramkomd.c:641) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== 144 bytes in 1 blocks are still reachable in loss record 4 of 8 ==17368== at 0x40160A21: calloc (vg_clientfuncs.c:242) ==17368== by 0x4000C153: _dl_check_map_versions_internal (dl-version.c:298) ==17368== by 0x4037EF0B: dl_open_worker (dl-open.c:221) ==17368== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==17368== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==17368== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==17368== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==17368== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==17368== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==17368== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==17368== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==17368== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==17368== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==17368== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==17368== by 0x808581E: isc_gethostname (isc_socket.c:224) ==17368== by 0x80589CA: get_host_name (connections.c:688) ==17368== by 0x8058C6D: login_request (connections.c:774) ==17368== by 0x80596AA: handle_accept_event (connections.c:1058) ==17368== by 0x8085E30: isc_accept_cb (isc_tcp.c:352) ==17368== by 0x8086EA4: oop_sys_run (sys.c:410) ==17368== by 0x805974A: toploop (connections.c:1082) ==17368== by 0x804AB3E: main (ramkomd.c:641) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== 554 bytes in 1 blocks are still reachable in loss record 5 of 8 ==17368== at 0x40160A21: calloc (vg_clientfuncs.c:242) ==17368== by 0x40008872: _dl_new_object (dl-object.c:43) ==17368== by 0x400045EE: _dl_map_object_from_fd (dl-load.c:846) ==17368== by 0x40005ABC: _dl_map_object_internal (dl-load.c:1873) ==17368== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==17368== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==17368== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==17368== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==17368== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==17368== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==17368== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==17368== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==17368== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==17368== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==17368== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==17368== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==17368== by 0x808581E: isc_gethostname (isc_socket.c:224) ==17368== by 0x80589CA: get_host_name (connections.c:688) ==17368== by 0x8058C6D: login_request (connections.c:774) ==17368== by 0x80596AA: handle_accept_event (connections.c:1058) ==17368== by 0x8085E30: isc_accept_cb (isc_tcp.c:352) ==17368== by 0x8086EA4: oop_sys_run (sys.c:410) ==17368== by 0x805974A: toploop (connections.c:1082) ==17368== by 0x804AB3E: main (ramkomd.c:641) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== 640 bytes in 1 blocks are definitely lost in loss record 6 of 8 ==17368== at 0x40160529: malloc (vg_clientfuncs.c:100) ==17368== by 0x8089A1A: regex_compile (regex.c:1132) ==17368== by 0x80912A3: re_compile_pattern (regex.c:4638) ==17368== by 0x806A754: aux_item_definition_cache_regexp (aux-items.c:436) ==17368== by 0x806B5DB: aux_item_validate (aux-items.c:944) ==17368== by 0x806B9D6: aux_item_add_perm (aux-items.c:1152) ==17368== by 0x806C969: text_stat_check_add_aux_item_list (aux-items.c:1744) ==17368== by 0x805CF24: do_create_text (text.c:2431) ==17368== by 0x805CC95: create_text (text.c:2320) ==17368== by 0x80577BE: call_function (call-switch.incl:354) ==17368== by 0x8058150: parse_unparsed (connections.c:437) ==17368== by 0x805902C: read_from_connection (connections.c:865) ==17368== by 0x80595D8: data_available_callback (connections.c:1034) ==17368== by 0x8086EA4: oop_sys_run (sys.c:410) ==17368== by 0x805974A: toploop (connections.c:1082) ==17368== by 0x804AB3E: main (ramkomd.c:641) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== 728 bytes in 2 blocks are still reachable in loss record 7 of 8 ==17368== at 0x40160529: malloc (vg_clientfuncs.c:100) ==17368== by 0x402DA232: __fopen_internal (iofopen.c:75) ==17368== by 0x402DA2FD: _IO_fopen@@GLIBC_2.1 (iofopen.c:106) ==17368== by 0x8091768: i_fopen (fopen.c:13) ==17368== by 0x804EFFC: init_cache (simple-cache.c:2617) ==17368== by 0x804A352: init_data_base (ramkomd.c:277) ==17368== by 0x804A8D0: initialize (ramkomd.c:547) ==17368== by 0x804AAD1: main (ramkomd.c:631) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== 16426 bytes in 2 blocks are still reachable in loss record 8 of 8 ==17368== at 0x40160529: malloc (vg_clientfuncs.c:100) ==17368== by 0x807F670: yy_flex_alloc (aux-item-def-scan.c:1883) ==17368== by 0x807F290: yy_create_buffer (aux-item-def-scan.c:1558) ==17368== by 0x807E1BE: aid_lex (aux-item-def-scan.c:737) ==17368== by 0x807C1EC: aid_parse (/i/bison/1.35/share/bison/bison.simple:573) ==17368== by 0x807DEBB: parse_aux_item_definitions (aux-item-def-parse.y:490) ==17368== by 0x806A880: initialize_aux_items (aux-items.c:478) ==17368== by 0x804A6C1: initialize (ramkomd.c:439) ==17368== by 0x804AAD1: main (ramkomd.c:631) ==17368== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==17368== by 0x8049E80: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==17368== ==17368== LEAK SUMMARY: ==17368== definitely lost: 640 bytes in 1 blocks. ==17368== possibly lost: 0 bytes in 0 blocks. ==17368== still reachable: 17926 bytes in 9 blocks. ==17368==