valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=yes --logfile-fd=25 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==757== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==757== Copyright (C) 2002, and GNU GPL'd, by Julian Seward. ==757== Using valgrind-1.9.2, a program instrumentation system for x86-linux. ==757== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward. ==757== Estimated CPU clock rate is 607 MHz ==757== For more details, rerun with: -v ==757== ==757== Conditional jump or move depends on uninitialised value(s) ==757== at 0x8083A7C: isc_cancel_idle_callback (isc_session.c:243) ==757== by 0x8083AF2: isc_set_read_callback (isc_session.c:262) ==757== by 0x8058DB2: login_request (connections.c:831) ==757== by 0x805957A: handle_accept_event (connections.c:1058) ==757== by 0x8085600: isc_accept_cb (isc_tcp.c:352) ==757== by 0x8086674: oop_sys_run (sys.c:410) ==757== by 0x805961A: toploop (connections.c:1082) ==757== by 0x804AA5E: main (ramkomd.c:641) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== Conditional jump or move depends on uninitialised value(s) ==757== at 0x8083D29: isc_check_read_callback (isc_session.c:331) ==757== by 0x8083B3E: isc_set_read_callback (isc_session.c:269) ==757== by 0x8058DB2: login_request (connections.c:831) ==757== by 0x805957A: handle_accept_event (connections.c:1058) ==757== by 0x8085600: isc_accept_cb (isc_tcp.c:352) ==757== by 0x8086674: oop_sys_run (sys.c:410) ==757== by 0x805961A: toploop (connections.c:1082) ==757== by 0x804AA5E: main (ramkomd.c:641) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== Conditional jump or move depends on uninitialised value(s) ==757== at 0x8083A7C: isc_cancel_idle_callback (isc_session.c:243) ==757== by 0x8083E79: isc_destroy (isc_session.c:380) ==757== by 0x80843E3: isc_shutdown (isc_master.c:127) ==757== by 0x804AA7B: main (ramkomd.c:647) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 4 from 3) ==757== malloc/free: in use at exit: 18566 bytes in 10 blocks. ==757== malloc/free: 1043 allocs, 1033 frees, 657913 bytes allocated. ==757== For counts of detected errors, rerun with: -v ==757== searching for pointers to 10 not-freed blocks. ==757== checked 4472208 bytes. ==757== ==757== definitely lost: 640 bytes in 1 blocks. ==757== possibly lost: 0 bytes in 0 blocks. ==757== still reachable: 17926 bytes in 9 blocks. ==757== ==757== 23 bytes in 1 blocks are still reachable in loss record 1 of 8 ==757== at 0x40160529: malloc (vg_clientfuncs.c:100) ==757== by 0x40008A7E: _dl_new_object (dl-object.c:108) ==757== by 0x400045EE: _dl_map_object_from_fd (dl-load.c:846) ==757== by 0x40005ABC: _dl_map_object_internal (dl-load.c:1873) ==757== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==757== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==757== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==757== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==757== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==757== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==757== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==757== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==757== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==757== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==757== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==757== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==757== by 0x8084FEE: isc_gethostname (isc_socket.c:224) ==757== by 0x805889A: get_host_name (connections.c:688) ==757== by 0x8058B3D: login_request (connections.c:774) ==757== by 0x805957A: handle_accept_event (connections.c:1058) ==757== by 0x8085600: isc_accept_cb (isc_tcp.c:352) ==757== by 0x8086674: oop_sys_run (sys.c:410) ==757== by 0x805961A: toploop (connections.c:1082) ==757== by 0x804AA5E: main (ramkomd.c:641) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== 23 bytes in 1 blocks are still reachable in loss record 2 of 8 ==757== at 0x40160529: malloc (vg_clientfuncs.c:100) ==757== by 0x40005E83: _dl_map_object_internal (dl-load.c:141) ==757== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==757== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==757== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==757== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==757== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==757== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==757== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==757== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==757== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==757== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==757== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==757== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==757== by 0x8084FEE: isc_gethostname (isc_socket.c:224) ==757== by 0x805889A: get_host_name (connections.c:688) ==757== by 0x8058B3D: login_request (connections.c:774) ==757== by 0x805957A: handle_accept_event (connections.c:1058) ==757== by 0x8085600: isc_accept_cb (isc_tcp.c:352) ==757== by 0x8086674: oop_sys_run (sys.c:410) ==757== by 0x805961A: toploop (connections.c:1082) ==757== by 0x804AA5E: main (ramkomd.c:641) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== 28 bytes in 1 blocks are still reachable in loss record 3 of 8 ==757== at 0x40160529: malloc (vg_clientfuncs.c:100) ==757== by 0x40009CD4: _dl_map_object_deps_internal (dl-deps.c:487) ==757== by 0x4037EB90: dl_open_worker (dl-open.c:249) ==757== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==757== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==757== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==757== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==757== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==757== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==757== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==757== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==757== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==757== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==757== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==757== by 0x8084FEE: isc_gethostname (isc_socket.c:224) ==757== by 0x805889A: get_host_name (connections.c:688) ==757== by 0x8058B3D: login_request (connections.c:774) ==757== by 0x805957A: handle_accept_event (connections.c:1058) ==757== by 0x8085600: isc_accept_cb (isc_tcp.c:352) ==757== by 0x8086674: oop_sys_run (sys.c:410) ==757== by 0x805961A: toploop (connections.c:1082) ==757== by 0x804AA5E: main (ramkomd.c:641) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== 144 bytes in 1 blocks are still reachable in loss record 4 of 8 ==757== at 0x40160A21: calloc (vg_clientfuncs.c:242) ==757== by 0x4000C153: _dl_check_map_versions_internal (dl-version.c:298) ==757== by 0x4037EF0B: dl_open_worker (dl-open.c:221) ==757== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==757== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==757== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==757== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==757== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==757== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==757== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==757== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==757== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==757== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==757== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==757== by 0x8084FEE: isc_gethostname (isc_socket.c:224) ==757== by 0x805889A: get_host_name (connections.c:688) ==757== by 0x8058B3D: login_request (connections.c:774) ==757== by 0x805957A: handle_accept_event (connections.c:1058) ==757== by 0x8085600: isc_accept_cb (isc_tcp.c:352) ==757== by 0x8086674: oop_sys_run (sys.c:410) ==757== by 0x805961A: toploop (connections.c:1082) ==757== by 0x804AA5E: main (ramkomd.c:641) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== 554 bytes in 1 blocks are still reachable in loss record 5 of 8 ==757== at 0x40160A21: calloc (vg_clientfuncs.c:242) ==757== by 0x40008872: _dl_new_object (dl-object.c:43) ==757== by 0x400045EE: _dl_map_object_from_fd (dl-load.c:846) ==757== by 0x40005ABC: _dl_map_object_internal (dl-load.c:1873) ==757== by 0x4037EAEA: dl_open_worker (dl-open.c:215) ==757== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==757== by 0x4037F13E: __GI__dl_open (dl-open.c:487) ==757== by 0x4037FE08: do_dlopen (dl-libc.c:78) ==757== by 0x4000ADF5: _dl_catch_error_internal (dl-error.c:159) ==757== by 0x4037FDAD: dlerror_run (dl-libc.c:42) ==757== by 0x4037FED7: __libc_dlopen (dl-libc.c:105) ==757== by 0x403600CC: __nss_lookup_function (nsswitch.c:342) ==757== by 0x4035FCBA: __nss_lookup (nsswitch.c:148) ==757== by 0x40361CC4: __GI___nss_hosts_lookup (XXX-lookup.c:73) ==757== by 0x403631A0: gethostbyaddr_r@@GLIBC_2.1.2 (../nss/getXXbyYY_r.c:178) ==757== by 0x40362F04: gethostbyaddr (../nss/getXXbyYY.c:147) ==757== by 0x8084FEE: isc_gethostname (isc_socket.c:224) ==757== by 0x805889A: get_host_name (connections.c:688) ==757== by 0x8058B3D: login_request (connections.c:774) ==757== by 0x805957A: handle_accept_event (connections.c:1058) ==757== by 0x8085600: isc_accept_cb (isc_tcp.c:352) ==757== by 0x8086674: oop_sys_run (sys.c:410) ==757== by 0x805961A: toploop (connections.c:1082) ==757== by 0x804AA5E: main (ramkomd.c:641) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== 640 bytes in 1 blocks are definitely lost in loss record 6 of 8 ==757== at 0x40160529: malloc (vg_clientfuncs.c:100) ==757== by 0x80891EA: regex_compile (regex.c:1132) ==757== by 0x8090A73: re_compile_pattern (regex.c:4638) ==757== by 0x8069D32: lookup_regexp (regex-match.c:93) ==757== by 0x806A0B2: re_z_lookup (regex-match.c:184) ==757== by 0x80575AE: call_function (call-switch.incl:306) ==757== by 0x8058020: parse_unparsed (connections.c:437) ==757== by 0x8058EFC: read_from_connection (connections.c:865) ==757== by 0x80594A8: data_available_callback (connections.c:1034) ==757== by 0x8086674: oop_sys_run (sys.c:410) ==757== by 0x805961A: toploop (connections.c:1082) ==757== by 0x804AA5E: main (ramkomd.c:641) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== 728 bytes in 2 blocks are still reachable in loss record 7 of 8 ==757== at 0x40160529: malloc (vg_clientfuncs.c:100) ==757== by 0x402DA232: __fopen_internal (iofopen.c:75) ==757== by 0x402DA2FD: _IO_fopen@@GLIBC_2.1 (iofopen.c:106) ==757== by 0x8090F38: i_fopen (fopen.c:13) ==757== by 0x804F05C: init_cache (simple-cache.c:2617) ==757== by 0x804A292: init_data_base (ramkomd.c:277) ==757== by 0x804A810: initialize (ramkomd.c:547) ==757== by 0x804A9F1: main (ramkomd.c:631) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== 16426 bytes in 2 blocks are still reachable in loss record 8 of 8 ==757== at 0x40160529: malloc (vg_clientfuncs.c:100) ==757== by 0x807EF50: yy_flex_alloc (aux-item-def-scan.c:1883) ==757== by 0x807EB70: yy_create_buffer (aux-item-def-scan.c:1558) ==757== by 0x807DA9E: aid_lex (aux-item-def-scan.c:737) ==757== by 0x807BACC: aid_parse (/i/bison/1.35/share/bison/bison.simple:573) ==757== by 0x807D79B: parse_aux_item_definitions (aux-item-def-parse.y:490) ==757== by 0x806A710: initialize_aux_items (aux-items.c:478) ==757== by 0x804A601: initialize (ramkomd.c:439) ==757== by 0x804A9F1: main (ramkomd.c:631) ==757== by 0x4028BFB3: __libc_start_main (../sysdeps/generic/libc-start.c:144) ==757== by 0x8049DC0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/moria/buildtmp/dist/lyskom-server-2.0.7/src/server/lyskomd) ==757== ==757== LEAK SUMMARY: ==757== definitely lost: 640 bytes in 1 blocks. ==757== possibly lost: 0 bytes in 0 blocks. ==757== still reachable: 17926 bytes in 9 blocks. ==757==