==28048== Memcheck, a memory error detector ==28048== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==28048== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==28048== Command: /var/cfengine/bin/cf-monitord --no-fork ==28048== ==28048== Syscall param pwrite64(buf) points to uninitialised byte(s) ==28048== at 0x61451B3: __pwrite_nocancel (in /lib64/libpthread-2.11.3.so) ==28048== by 0x4E3661B: mdb_page_flush (mdb.c:3351) ==28048== by 0x4E3E8ED: mdb_txn_commit (mdb.c:3630) ==28048== by 0x4070E84: DBPrivCommit (dbm_lmdb.c:372) ==28048== by 0x406F95B: CloseDB (dbm_api.c:436) ==28048== by 0x40963B2: WriteLock (locks.c:1108) ==28048== by 0x409727C: AcquireLock (locks.c:727) ==28048== by 0x40598B: MonitorStartServer (in /var/cfengine/bin/cf-monitord) ==28048== by 0x4051BA: main (in /var/cfengine/bin/cf-monitord) ==28048== Address 0x6ee7ff6 is 2,294 bytes inside a block of size 4,096 alloc'd ==28048== at 0x4C29F09: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==28048== by 0x4E34FAA: mdb_page_malloc (mdb.c:1795) ==28048== by 0x4E379E9: mdb_page_alloc (mdb.c:2300) ==28048== by 0x4E37B19: mdb_page_touch (mdb.c:2433) ==28048== by 0x4E39A7A: mdb_cursor_touch (mdb.c:6498) ==28048== by 0x4E3B595: mdb_cursor_put (mdb.c:6632) ==28048== by 0x4E3F2A6: mdb_put (mdb.c:8997) ==28048== by 0x40711D6: DBPrivWrite (dbm_lmdb.c:475) ==28048== by 0x406FB5F: WriteDB (dbm_api.c:495) ==28048== by 0x409635B: WriteLock (locks.c:162) ==28048== by 0x409727C: AcquireLock (locks.c:727) ==28048== by 0x40598B: MonitorStartServer (in /var/cfengine/bin/cf-monitord) ==28048== ==28048== Syscall param writev(vector[...]) points to uninitialised byte(s) ==28048== at 0x6429F4E: writev (in /lib64/libc-2.11.3.so) ==28048== by 0x4E36656: mdb_page_flush (mdb.c:3361) ==28048== by 0x4E3E8ED: mdb_txn_commit (mdb.c:3630) ==28048== by 0x4070E84: DBPrivCommit (dbm_lmdb.c:372) ==28048== by 0x406F95B: CloseDB (dbm_api.c:436) ==28048== by 0x40963B2: WriteLock (locks.c:1108) ==28048== by 0x409727C: AcquireLock (locks.c:727) ==28048== by 0x40B5A2: HistoryUpdate (in /var/cfengine/bin/cf-monitord) ==28048== by 0x40643F: MonitorStartServer (in /var/cfengine/bin/cf-monitord) ==28048== by 0x4051BA: main (in /var/cfengine/bin/cf-monitord) ==28048== Address 0x80bab56 is 2,294 bytes inside a block of size 4,096 alloc'd ==28048== at 0x4C29F09: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==28048== by 0x4E34FAA: mdb_page_malloc (mdb.c:1795) ==28048== by 0x4E379E9: mdb_page_alloc (mdb.c:2300) ==28048== by 0x4E37B19: mdb_page_touch (mdb.c:2433) ==28048== by 0x4E39A7A: mdb_cursor_touch (mdb.c:6498) ==28048== by 0x4E3B595: mdb_cursor_put (mdb.c:6632) ==28048== by 0x4E3F2A6: mdb_put (mdb.c:8997) ==28048== by 0x40711D6: DBPrivWrite (dbm_lmdb.c:475) ==28048== by 0x406FB5F: WriteDB (dbm_api.c:495) ==28048== by 0x409635B: WriteLock (locks.c:162) ==28048== by 0x409727C: AcquireLock (locks.c:727) ==28048== by 0x40B5A2: HistoryUpdate (in /var/cfengine/bin/cf-monitord) ==28048== ==28048== ==28048== HEAP SUMMARY: ==28048== in use at exit: 21,604 bytes in 214 blocks ==28048== total heap usage: 206,867,261 allocs, 206,867,047 frees, 128,839,552,864 bytes allocated ==28048== ==28048== 56 bytes in 1 blocks are possibly lost in loss record 48 of 67 ==28048== at 0x4C29F09: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==28048== by 0x400C6C4: _dl_map_object_deps (in /lib64/ld-2.11.3.so) ==28048== by 0x40124D2: dl_open_worker (in /lib64/ld-2.11.3.so) ==28048== by 0x400DEF5: _dl_catch_error (in /lib64/ld-2.11.3.so) ==28048== by 0x4011EAA: _dl_open (in /lib64/ld-2.11.3.so) ==28048== by 0x646942F: do_dlopen (in /lib64/libc-2.11.3.so) ==28048== by 0x400DEF5: _dl_catch_error (in /lib64/ld-2.11.3.so) ==28048== by 0x64694E4: dlerror_run (in /lib64/libc-2.11.3.so) ==28048== by 0x64695D6: __libc_dlopen_mode (in /lib64/libc-2.11.3.so) ==28048== by 0x6441D31: __nss_lookup_function (in /lib64/libc-2.11.3.so) ==28048== by 0x641A929: gaih_inet (in /lib64/libc-2.11.3.so) ==28048== by 0x641D3C0: getaddrinfo (in /lib64/libc-2.11.3.so) ==28048== ==28048== 504 (192 direct, 312 indirect) bytes in 8 blocks are definitely lost in loss record 63 of 67 ==28048== at 0x4C29F09: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==28048== by 0x40B0FBD: xmalloc (alloc.c:42) ==28048== by 0x40A53DA: RlistAppendRval (rlist.c:302) ==28048== by 0x40A58C5: RlistAppendScalar (rlist.c:526) ==28048== by 0x40A6F08: RlistFromContainer (rlist.c:1612) ==28048== by 0x408D8EA: LoadAugmentsData (generic_agent.c:267) ==28048== by 0x408D1D5: LoadAugmentsFiles (generic_agent.c:438) ==28048== by 0x408D962: LoadAugments (generic_agent.c:456) ==28048== by 0x40904BF: GenericAgentDiscoverContext (generic_agent.c:604) ==28048== by 0x405003: main (in /var/cfengine/bin/cf-monitord) ==28048== ==28048== LEAK SUMMARY: ==28048== definitely lost: 192 bytes in 8 blocks ==28048== indirectly lost: 312 bytes in 16 blocks ==28048== possibly lost: 56 bytes in 1 blocks ==28048== still reachable: 21,044 bytes in 189 blocks ==28048== suppressed: 0 bytes in 0 blocks ==28048== Reachable blocks (those to which a pointer was found) are not shown. ==28048== To see them, rerun with: --leak-check=full --show-reachable=yes ==28048== ==28048== For counts of detected and suppressed errors, rerun with: -v ==28048== Use --track-origins=yes to see where uninitialised values come from ==28048== ERROR SUMMARY: 1808 errors from 4 contexts (suppressed: 6 from 4)