==1991== Memcheck, a memory error detector ==1991== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==1991== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info ==1991== Command: mongod -f /etc/mongod.conf ==1991== --1991-- Valgrind options: --1991-- -v --1991-- Contents of /proc/version: --1991-- Linux version 2.6.32-220.4.1.el6.x86_64 (mockbuild@c6b18n1.dev.centos.org) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Tue Jan 24 02:13:44 GMT 2012 --1991-- Arch and hwcaps: AMD64, amd64-sse3-cx16 --1991-- Page sizes: currently 4096, max supported 4096 --1991-- Valgrind library directory: /usr/lib64/valgrind --1991-- Reading syms from /usr/bin/mongod (0x400000) --1991-- object doesn't have a symbol table --1991-- Reading syms from /lib64/ld-2.12.so (0x4000000) --1991-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux (0x38000000) --1991-- object doesn't have a dynamic symbol table --1991-- Reading suppressions file: /usr/lib64/valgrind/default.supp --1991-- REDIR: 0x4017460 (strlen) redirected to 0x38042ae7 (vgPlain_amd64_linux_REDIR_FOR_strlen) --1991-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so (0x4a22000) --1991-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c23000) ==1991== WARNING: new redirection conflicts with existing -- ignoring it --1991-- new: 0x04017460 (strlen ) R-> 0x04c28830 strlen --1991-- REDIR: 0x40172d0 (index) redirected to 0x4c28470 (index) --1991-- REDIR: 0x4017350 (strcmp) redirected to 0x4c28df0 (strcmp) --1991-- Reading syms from /lib64/libpthread-2.12.so (0x4e2d000) --1991-- Reading syms from /usr/lib64/libstdc++.so.6.0.13 (0x5049000) --1991-- object doesn't have a symbol table --1991-- Reading syms from /lib64/libm-2.12.so (0x534f000) --1991-- Reading syms from /lib64/libgcc_s-4.4.6-20110824.so.1 (0x55d3000) --1991-- object doesn't have a symbol table --1991-- Reading syms from /lib64/libc-2.12.so (0x57e9000) --1991-- REDIR: 0x586c980 (strcasecmp) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1991-- REDIR: 0x586ec40 (strncasecmp) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1991-- REDIR: 0x586a8f0 (__GI_strrchr) redirected to 0x4c282f0 (__GI_strrchr) --1991-- REDIR: 0x5868e10 (__GI_strlen) redirected to 0x4c287f0 (__GI_strlen) --1991-- REDIR: 0x5867390 (strcmp) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1991-- REDIR: 0x590dca0 (__strcmp_sse42) redirected to 0x4c28d50 (strcmp) --1991-- REDIR: 0x5868dd0 (strlen) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1991-- REDIR: 0x5918f70 (__strlen_sse42) redirected to 0x4c287d0 (strlen) --1991-- REDIR: 0x51060a0 (operator new(unsigned long)) redirected to 0x4c27bc0 (operator new(unsigned long)) --1991-- REDIR: 0x5871320 (memcpy) redirected to 0x4c28ec0 (memcpy) --1991-- REDIR: 0x5862760 (malloc) redirected to 0x4c26f10 (malloc) --1991-- REDIR: 0xffffffffff600000 (???) redirected to 0x38042ad3 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday) --1991-- REDIR: 0x586b080 (bcmp) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1991-- REDIR: 0x5924010 (__memcmp_sse4_1) redirected to 0x4c29a50 (bcmp) --1991-- REDIR: 0x58623b0 (calloc) redirected to 0x4c25900 (calloc) --1991-- REDIR: 0x586b4b0 (memmove) redirected to 0x4c29ed0 (memmove) --1991-- REDIR: 0x5104310 (operator delete(void*)) redirected to 0x4c26390 (operator delete(void*)) --1991-- REDIR: 0xffffffffff600400 (???) redirected to 0x38042add (vgPlain_amd64_linux_REDIR_FOR_vtime) --1991-- REDIR: 0x586b650 (memset) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1991-- REDIR: 0x586b690 (__GI_memset) redirected to 0x4c29e30 (memset) --1991-- REDIR: 0x58727a0 (strchrnul) redirected to 0x4c29f40 (strchrnul) --1991-- REDIR: 0x5863590 (free) redirected to 0x4c26890 (free) --1991-- REDIR: 0x586b000 (memchr) redirected to 0x4c28e90 (memchr) --1991-- REDIR: 0x5863520 (posix_memalign) redirected to 0x4c258a0 (posix_memalign) --1991-- REDIR: 0x5868850 (__GI_strcpy) redirected to 0x4c28920 (__GI_strcpy) --1991-- REDIR: 0x58673d0 (__GI_strcmp) redirected to 0x4c28da0 (__GI_strcmp) --1991-- REDIR: 0x51061d0 (operator new[](unsigned long)) redirected to 0x4c27680 (operator new[](unsigned long)) --1991-- REDIR: 0x58672e0 (index) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1991-- REDIR: 0x590dbf0 (__strchr_sse42) redirected to 0x4c28380 (index) --1991-- REDIR: 0x5104350 (operator delete[](void*)) redirected to 0x4c25d90 (operator delete[](void*)) ==1991== ==1991== HEAP SUMMARY: ==1991== in use at exit: 4,445,753 bytes in 1,342 blocks ==1991== total heap usage: 2,579 allocs, 1,237 frees, 4,533,170 bytes allocated ==1991== ==1991== Searching for pointers to 1,342 not-freed blocks forked process: 1994 --1994-- REDIR: 0x586c1b0 (mempcpy) redirected to 0x4c29fb0 (mempcpy) all output going to: /var/log/mongo/mongod.log ==1993== ==1993== HEAP SUMMARY: ==1993== in use at exit: 4,445,465 bytes in 1,341 blocks ==1993== total heap usage: 2,579 allocs, 1,238 frees, 4,533,170 bytes allocated ==1993== ==1993== Searching for pointers to 1,341 not-freed blocks ==1993== Checked 10,930,896 bytes ==1993== ==1993== LEAK SUMMARY: ==1993== definitely lost: 320 bytes in 2 blocks ==1993== indirectly lost: 24 bytes in 1 blocks ==1993== possibly lost: 39,380 bytes in 486 blocks ==1993== still reachable: 4,405,741 bytes in 852 blocks ==1993== suppressed: 0 bytes in 0 blocks ==1993== Rerun with --leak-check=full to see details of leaked memory ==1993== ==1993== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6) --1993-- --1993-- used_suppression: 6 dl-hack3-cond-1 ==1993== ==1993== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6) ==1991== Checked 21,415,712 bytes ==1991== ==1991== LEAK SUMMARY: ==1991== definitely lost: 0 bytes in 0 blocks ==1991== indirectly lost: 0 bytes in 0 blocks ==1991== possibly lost: 39,668 bytes in 487 blocks ==1991== still reachable: 4,406,085 bytes in 855 blocks ==1991== suppressed: 0 bytes in 0 blocks ==1991== Rerun with --leak-check=full to see details of leaked memory ==1991== ==1991== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6) --1991-- --1991-- used_suppression: 6 dl-hack3-cond-1 ==1991== ==1991== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6) [root@localhost mongo]# --1994-- REDIR: 0x5863a10 (realloc) redirected to 0x4c27030 (realloc) --1994-- REDIR: 0x5869000 (strncmp) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1994-- REDIR: 0x590eb40 (__strncmp_sse42) redirected to 0x4c28c90 (strncmp) --1994-- REDIR: 0x586a890 (strncpy) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1994-- REDIR: 0x591a420 (???) redirected to 0x4c289f0 (strncpy) --1994-- REDIR: 0x5868ef0 (strnlen) redirected to 0x4c28770 (strnlen) --1994-- REDIR: 0x586a8c0 (rindex) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1994-- REDIR: 0x590fd00 (__strrchr_sse42) redirected to 0x4c282c0 (rindex) --1994-- REDIR: 0x5876180 (strstr) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1994-- REDIR: 0x590fea0 (__strstr_sse42) redirected to 0x4c2a190 (strstr) ==1994== Syscall param write(buf) points to uninitialised byte(s) ==1994== at 0x4E3B48D: ??? (in /lib64/libpthread-2.12.so) ==1994== by 0x75B29E: mongo::LogFile::synchronousAppend(void const*, unsigned long) (in /usr/bin/mongod) ==1994== by 0x775B11: mongo::dur::_preallocateIsFaster() (in /usr/bin/mongod) ==1994== by 0x775D90: mongo::dur::preallocateIsFaster() (in /usr/bin/mongod) ==1994== by 0x776F2A: mongo::dur::preallocateFiles() (in /usr/bin/mongod) ==1994== by 0x75F334: mongo::dur::startup() (in /usr/bin/mongod) ==1994== by 0xA94838: mongo::_initAndListen(int) (in /usr/bin/mongod) ==1994== by 0xA951AC: mongo::initAndListen(int) (in /usr/bin/mongod) ==1994== by 0xA9EED9: main (in /usr/bin/mongod) ==1994== Address 0x5c70000 is 0 bytes inside a block of size 8,192 alloc'd ==1994== at 0x4C25820: memalign (vg_replace_malloc.c:581) ==1994== by 0x4C258D7: posix_memalign (vg_replace_malloc.c:709) ==1994== by 0x75C4C4: mongo::AlignedBuilder::_malloc(unsigned int) (in /usr/bin/mongod) ==1994== by 0x75C79F: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (in /usr/bin/mongod) ==1994== by 0x775A83: mongo::dur::_preallocateIsFaster() (in /usr/bin/mongod) ==1994== by 0x775D90: mongo::dur::preallocateIsFaster() (in /usr/bin/mongod) ==1994== by 0x776F2A: mongo::dur::preallocateFiles() (in /usr/bin/mongod) ==1994== by 0x75F334: mongo::dur::startup() (in /usr/bin/mongod) ==1994== by 0xA94838: mongo::_initAndListen(int) (in /usr/bin/mongod) ==1994== by 0xA951AC: mongo::initAndListen(int) (in /usr/bin/mongod) ==1994== by 0xA9EED9: main (in /usr/bin/mongod) ==1994== ==1994== Syscall param write(buf) points to uninitialised byte(s) ==1994== at 0x4E3B48D: ??? (in /lib64/libpthread-2.12.so) ==1994== by 0x75B29E: mongo::LogFile::synchronousAppend(void const*, unsigned long) (in /usr/bin/mongod) ==1994== by 0x775B11: mongo::dur::_preallocateIsFaster() (in /usr/bin/mongod) ==1994== by 0x775E84: mongo::dur::preallocateIsFaster() (in /usr/bin/mongod) ==1994== by 0x776F2A: mongo::dur::preallocateFiles() (in /usr/bin/mongod) ==1994== by 0x75F334: mongo::dur::startup() (in /usr/bin/mongod) ==1994== by 0xA94838: mongo::_initAndListen(int) (in /usr/bin/mongod) ==1994== by 0xA951AC: mongo::initAndListen(int) (in /usr/bin/mongod) ==1994== by 0xA9EED9: main (in /usr/bin/mongod) ==1994== Address 0x5c76000 is 0 bytes inside a block of size 8,192 alloc'd ==1994== at 0x4C25820: memalign (vg_replace_malloc.c:581) ==1994== by 0x4C258D7: posix_memalign (vg_replace_malloc.c:709) ==1994== by 0x75C4C4: mongo::AlignedBuilder::_malloc(unsigned int) (in /usr/bin/mongod) ==1994== by 0x75C79F: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (in /usr/bin/mongod) ==1994== by 0x775A83: mongo::dur::_preallocateIsFaster() (in /usr/bin/mongod) ==1994== by 0x775E84: mongo::dur::preallocateIsFaster() (in /usr/bin/mongod) ==1994== by 0x776F2A: mongo::dur::preallocateFiles() (in /usr/bin/mongod) ==1994== by 0x75F334: mongo::dur::startup() (in /usr/bin/mongod) ==1994== by 0xA94838: mongo::_initAndListen(int) (in /usr/bin/mongod) ==1994== by 0xA951AC: mongo::initAndListen(int) (in /usr/bin/mongod) ==1994== by 0xA9EED9: main (in /usr/bin/mongod) ==1994== --1994-- REDIR: 0x5868930 (strcspn) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1994-- REDIR: 0x5919010 (__strcspn_sse42) redirected to 0x4c2a270 (strcspn) --1994-- REDIR: 0x5910d40 (__strcasecmp_sse42) redirected to 0x4c2ace0 (strcasecmp) --1994-- REDIR: 0x5868820 (strcpy) redirected to 0x4a22560 (_vgnU_ifunc_wrapper) --1994-- REDIR: 0x5919a00 (???) redirected to 0x4c28850 (strcpy) ==1994== Warning: set address range perms: large range [0x59426000, 0x79426000) (defined) ==1994== Warning: set address range perms: large range [0x79426000, 0x99426000) (defined) ==1994== Warning: set address range perms: large range [0x59426000, 0x79426000) (noaccess) ==1994== Warning: set address range perms: large range [0x79426000, 0x99426000) (noaccess) --1994-- REDIR: 0x585f380 (mallinfo) redirected to 0x4c253d0 (mallinfo) ==1994== Thread 5: ==1994== Syscall param write(buf) points to uninitialised byte(s) ==1994== at 0x4E3B48D: ??? (in /lib64/libpthread-2.12.so) ==1994== by 0x75B29E: mongo::LogFile::synchronousAppend(void const*, unsigned long) (in /usr/bin/mongod) ==1994== by 0x7778C4: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (in /usr/bin/mongod) ==1994== by 0x777AFD: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (in /usr/bin/mongod) ==1994== by 0x76054B: ??? (in /usr/bin/mongod) ==1994== by 0x762CF1: ??? (in /usr/bin/mongod) ==1994== by 0x76346A: mongo::dur::durThread() (in /usr/bin/mongod) ==1994== by 0xAAB3DF: thread_proxy (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) ==1994== Address 0x7f428354 is 852 bytes inside a block of size 33,554,432 alloc'd ==1994== at 0x4C25820: memalign (vg_replace_malloc.c:581) ==1994== by 0x4C258D7: posix_memalign (vg_replace_malloc.c:709) ==1994== by 0x75C4C4: mongo::AlignedBuilder::_malloc(unsigned int) (in /usr/bin/mongod) ==1994== by 0x75C79F: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (in /usr/bin/mongod) ==1994== by 0x777900: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (in /usr/bin/mongod) ==1994== by 0x777AFD: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (in /usr/bin/mongod) ==1994== by 0x76054B: ??? (in /usr/bin/mongod) ==1994== by 0x762CF1: ??? (in /usr/bin/mongod) ==1994== by 0x76346A: mongo::dur::durThread() (in /usr/bin/mongod) ==1994== by 0xAAB3DF: thread_proxy (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) ==1994== Memcheck: mc_malloc_wrappers.c:113 (add_to_freed_queue): Assertion 'VG_(free_queue_volume) >= 0' failed. ==1994== at 0x3802D247: report_and_quit (m_libcassert.c:210) ==1994== by 0x3802D480: vgPlain_assert_fail (m_libcassert.c:284) ==1994== by 0x38001F86: die_and_free_mem (mc_malloc_wrappers.c:113) ==1994== by 0x380688C3: vgPlain_scheduler (scheduler.c:1402) ==1994== by 0x380913F4: run_a_thread_NORETURN (syswrap-linux.c:95) ==1994== by 0x3809161A: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:234) ==1994== by 0x38093F5D: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux) ==1994== by 0xDEADBEEFDEADBEEE: ??? v==1994== by 0xDEADBEEFDEADBEEE: ??? ==1994== by 0xDEADBEEFDEADBEEE: ??? sched status: running_tid=22 Thread 1: status = VgTs_WaitSys ==1994== at 0x58C78B3: ??? (in /lib64/libc-2.12.so) ==1994== by 0x5AB36F: mongo::Listener::initAndListen() (in /usr/bin/mongod) ==1994== by 0xA93983: mongo::listen(int) (in /usr/bin/mongod) ==1994== by 0xA9491A: mongo::_initAndListen(int) (in /usr/bin/mongod) ==1994== by 0xA951AC: mongo::initAndListen(int) (in /usr/bin/mongod) ==1994== by 0xA9EED9: main (in /usr/bin/mongod) Thread 2: status = VgTs_WaitSys ==1994== at 0x4E3C245: sigwait (in /lib64/libpthread-2.12.so) ==1994== by 0xA8FC57: mongo::interruptThread() (in /usr/bin/mongod) ==1994== by 0xAAB3DF: thread_proxy (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 3: status = VgTs_WaitSys ==1994== at 0x4E3BCCD: ??? (in /lib64/libpthread-2.12.so) ==1994== by 0xA9FB30: mongo::DataFileSync::run() (in /usr/bin/mongod) ==1994== by 0x573C5E: mongo::BackgroundJob::jobBody(boost::shared_ptr) (in /usr/bin/mongod) ==1994== by 0x575CB3: boost::detail::thread_data >, boost::_bi::list2, boost::_bi::value > > > >::run() (in /usr/bin/mongod) ==1994== by 0xAAB3DF: thread_proxy (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 4: status = VgTs_WaitSys ==1994== at 0x4E383DC: pthread_cond_wait@@GLIBC_2.3.2 (in /lib64/libpthread-2.12.so) ==1994== by 0x57F86B: void boost::condition_variable_any::wait >(boost::unique_lock&) (in /usr/bin/mongod) ==1994== by 0x57DA1A: mongo::FileAllocator::run(mongo::FileAllocator*) (in /usr/bin/mongod) ==1994== by 0xAAB3DF: thread_proxy (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 5: status = VgTs_WaitSys ==1994== at 0x58C7C1D: ??? (in /lib64/libc-2.12.so) ==1994== by 0x75B4C7: mongo::LogFile::synchronousAppend(void const*, unsigned long) (in /usr/bin/mongod) ==1994== by 0x7778C4: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (in /usr/bin/mongod) ==1994== by 0x777AFD: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (in /usr/bin/mongod) ==1994== by 0x76239A: mongo::dur::_groupCommitWithLimitedLocks() (in /usr/bin/mongod) ==1994== by 0x7629BC: mongo::dur::groupCommitWithLimitedLocks() (in /usr/bin/mongod) ==1994== by 0x762CDC: ??? (in /usr/bin/mongod) ==1994== by 0x76346A: mongo::dur::durThread() (in /usr/bin/mongod) ==1994== by 0xAAB3DF: thread_proxy (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 6: status = VgTs_WaitSys ==1994== at 0x4E3BCCD: ??? (in /lib64/libpthread-2.12.so) ==1994== by 0x68C032: mongo::SnapshotThread::run() (in /usr/bin/mongod) ==1994== by 0x573C5E: mongo::BackgroundJob::jobBody(boost::shared_ptr) (in /usr/bin/mongod) ==1994== by 0x575CB3: boost::detail::thread_data >, boost::_bi::list2, boost::_bi::value > > > >::run() (in /usr/bin/mongod) ==1994== by 0xAAB3DF: thread_proxy (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 7: status = VgTs_WaitSys ==1994== at 0x4E3BCCD: ??? (in /lib64/libpthread-2.12.so) ==1994== by 0x79F0FE: mongo::ClientCursorMonitor::run() (in /usr/bin/mongod) ==1994== by 0x573C5E: mongo::BackgroundJob::jobBody(boost::shared_ptr) (in /usr/bin/mongod) ==1994== by 0x575CB3: boost::detail::thread_data >, boost::_bi::list2, boost::_bi::value > > > >::run() (in /usr/bin/mongod) ==1994== by 0xAAB3DF: thread_proxy (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 8: status = VgTs_WaitSys ==1994== at 0x4E3BCCD: ??? (in /lib64/libpthread-2.12.so) ==1994== by 0x574417: mongo::PeriodicTask::Runner::run() (in /usr/bin/mongod) ==1994== by 0x573C5E: mongo::BackgroundJob::jobBody(boost::shared_ptr) (in /usr/bin/mongod) ==1994== by 0x575CB3: boost::detail::thread_data >, boost::_bi::list2, boost::_bi::value > > > >::run() (in /usr/bin/mongod) ==1994== by 0xAAB3DF: thread_proxy (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 9: status = VgTs_WaitSys ==1994== at 0x58C78B3: ??? (in /lib64/libc-2.12.so) ==1994== by 0x5AB36F: mongo::Listener::initAndListen() (in /usr/bin/mongod) ==1994== by 0x65441D: mongo::webServerThread(mongo::AdminAccess const*) (in /usr/bin/mongod) ==1994== by 0xAAB3DF: thread_proxy (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 10: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 11: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 12: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 13: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 14: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 15: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 16: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 17: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 18: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 19: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 20: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 21: status = VgTs_WaitSys ==1994== at 0x4E3B8EC: recv (in /lib64/libpthread-2.12.so) ==1994== by 0x59EDD2: mongo::Socket::_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x59EDE8: mongo::Socket::unsafe_recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A0043: mongo::Socket::recv(char*, int) (in /usr/bin/mongod) ==1994== by 0x5A7345: mongo::MessagingPort::recv(mongo::Message&) (in /usr/bin/mongod) ==1994== by 0x6373EC: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Thread 22: status = VgTs_Runnable ==1994== at 0x4C2695D: free (vg_replace_malloc.c:366) ==1994== by 0x781EC4: mongo::BtreeBucket::customFind(int, int, mongo::BSONObj const&, int, bool, std::vector > const&, std::vector > const&, mongo::Ordering const&, int, mongo::DiskLoc&, int&, std::pair&) const (in /usr/bin/mongod) ==1994== by 0x782CC5: mongo::BtreeBucket::customLocate(mongo::DiskLoc&, int&, mongo::BSONObj const&, int, bool, std::vector > const&, std::vector > const&, mongo::Ordering const&, int, std::pair&) const (in /usr/bin/mongod) ==1994== by 0x8483BF: mongo::BtreeCursor::make(mongo::NamespaceDetails*, int, mongo::IndexDetails const&, boost::shared_ptr const&, int) (in /usr/bin/mongod) ==1994== by 0x8CF36A: mongo::QueryPlan::newCursor(mongo::DiskLoc const&, int) const (in /usr/bin/mongod) ==1994== by 0x964FB9: mongo::UpdateOp::_init() (in /usr/bin/mongod) ==1994== by 0x8CB959: mongo::QueryOp::init() (in /usr/bin/mongod) ==1994== by 0x8CBD72: mongo::QueryPlanSet::Runner::initOp(mongo::QueryOp&) (in /usr/bin/mongod) ==1994== by 0x8CC27B: mongo::QueryPlanSet::Runner::init() (in /usr/bin/mongod) ==1994== by 0x8D5A0D: mongo::QueryPlanSet::Runner::runUntilFirstCompletes() (in /usr/bin/mongod) ==1994== by 0x8DD49D: mongo::QueryPlanSet::runOp(mongo::QueryOp&) (in /usr/bin/mongod) ==1994== by 0x8DEEB2: mongo::MultiPlanScanner::runOpOnce(mongo::QueryOp&) (in /usr/bin/mongod) ==1994== by 0x8DF3AF: mongo::MultiCursor::nextClause() (in /usr/bin/mongod) ==1994== by 0x8E12DF: mongo::MultiCursor::MultiCursor(char const*, mongo::BSONObj const&, mongo::BSONObj const&, boost::shared_ptr, bool) (in /usr/bin/mongod) ==1994== by 0x95F78C: mongo::_updateObjects(bool, char const*, mongo::BSONObj const&, mongo::BSONObj, bool, bool, bool, mongo::OpDebug&, mongo::RemoveSaver*) (in /usr/bin/mongod) ==1994== by 0x964504: mongo::updateObjects(char const*, mongo::BSONObj const&, mongo::BSONObj, bool, bool, bool, mongo::OpDebug&) (in /usr/bin/mongod) ==1994== by 0x88B54B: mongo::receivedUpdate(mongo::Message&, mongo::CurOp&) (in /usr/bin/mongod) ==1994== by 0x88E83E: mongo::assembleResponse(mongo::Message&, mongo::DbResponse&, mongo::HostAndPort const&) (in /usr/bin/mongod) ==1994== by 0xAA33F5: mongo::MyMessageHandler::process(mongo::Message&, mongo::AbstractMessagingPort*, mongo::LastError*) (in /usr/bin/mongod) ==1994== by 0x637406: mongo::pms::threadRun(mongo::MessagingPort*) (in /usr/bin/mongod) ==1994== by 0x4E347F0: start_thread (in /lib64/libpthread-2.12.so) ==1994== by 0x58CECCC: clone (in /lib64/libc-2.12.so) Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks.