-
Type:
Bug
-
Resolution: Incomplete
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.2.0-rc0
-
Component/s: Sharding
-
None
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
git version: 11559c9bf74be4d4640ba651d98f86909a83bd53
32-bit debug build running on Fedora 17
Valgrind reports this when running jstests/replsets/stale_cluster.js. Not sure if this is ok, but this can be triggered almost all the time, and only in the config server.
There are 2 instances of this report in the attached log, with similar stack traces:
1st stack trace:
sh26174| ==26179== Thread 5: sh26174| ==26179== Syscall param write(buf) points to uninitialised byte(s) sh26174| ==26179== at 0x408510B: ??? (in /usr/lib/libpthread-2.15.so) sh26174| ==26179== by 0x888F04E: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:735) sh26174| ==26179== by 0x888EB24: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:679) sh26174| ==26179== by 0x870B2B5: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:575) sh26174| ==26179== by 0x870B3E2: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:599) sh26174| ==26179== by 0x870BC47: mongo::dur::durThreadGroupCommit() (dur.cpp:734) sh26174| ==26179== by 0x870BFF1: mongo::dur::durThread() (dur.cpp:805) sh26174| ==26179== by 0x855B792: boost::detail::thread_data<void (*)()>::run() (thread.hpp:62) sh26174| ==26179== by 0x88652EC: thread_proxy (thread.cpp:121) sh26174| ==26179== by 0x407EADE: start_thread (in /usr/lib/libpthread-2.15.so) sh26174| ==26179== by 0x418354D: clone (in /usr/lib/libc-2.15.so) sh26174| ==26179== Address 0x1006874a is 1,866 bytes inside a block of size 33,554,432 alloc'd sh26174| ==26179== at 0x4028556: memalign (vg_replace_malloc.c:694) sh26174| ==26179== by 0x402860E: posix_memalign (vg_replace_malloc.c:835) sh26174| ==26179== by 0x85946A7: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) sh26174| ==26179== by 0x85942B9: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) sh26174| ==26179== by 0x888ECA8: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:684) sh26174| ==26179== by 0x888EB24: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:679) sh26174| ==26179== by 0x870B2B5: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:575) sh26174| ==26179== by 0x870B3E2: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:599) sh26174| ==26179== by 0x870BC47: mongo::dur::durThreadGroupCommit() (dur.cpp:734) sh26174| ==26179== by 0x870BFF1: mongo::dur::durThread() (dur.cpp:805) sh26174| ==26179== by 0x855B792: boost::detail::thread_data<void (*)()>::run() (thread.hpp:62) sh26174| ==26179== by 0x88652EC: thread_proxy (thread.cpp:121) sh26174| ==26179==
2nd stack trace:
sh26174| ==26179== Syscall param write(buf) points to uninitialised byte(s) sh26174| ==26179== at 0x408510B: ??? (in /usr/lib/libpthread-2.15.so) sh26174| ==26179== by 0x888F04E: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:735) sh26174| ==26179== by 0x888EB24: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:679) sh26174| ==26179== by 0x870B779: mongo::dur::_groupCommit(mongo::Lock::GlobalWrite*) (dur.cpp:648) sh26174| ==26179== by 0x870B8D2: mongo::dur::groupCommit(mongo::Lock::GlobalWrite*) (dur.cpp:704) sh26174| ==26179== by 0x870BC83: mongo::dur::durThreadGroupCommit() (dur.cpp:744) sh26174| ==26179== by 0x870BFF1: mongo::dur::durThread() (dur.cpp:805) sh26174| ==26179== by 0x855B792: boost::detail::thread_data<void (*)()>::run() (thread.hpp:62) sh26174| ==26179== by 0x88652EC: thread_proxy (thread.cpp:121) sh26174| ==26179== by 0x407EADE: start_thread (in /usr/lib/libpthread-2.15.so) sh26174| ==26179== by 0x418354D: clone (in /usr/lib/libc-2.15.so) sh26174| ==26179== Address 0x10068ac8 is 2,760 bytes inside a block of size 33,554,432 alloc'd sh26174| ==26179== at 0x4028556: memalign (vg_replace_malloc.c:694) sh26174| ==26179== by 0x402860E: posix_memalign (vg_replace_malloc.c:835) sh26174| ==26179== by 0x85946A7: mongo::AlignedBuilder::_malloc(unsigned int) (alignedbuilder.cpp:108) sh26174| ==26179== by 0x85942B9: mongo::AlignedBuilder::AlignedBuilder(unsigned int) (alignedbuilder.cpp:26) sh26174| ==26179== by 0x888ECA8: mongo::dur::Journal::journal(mongo::dur::JSectHeader const&, mongo::AlignedBuilder const&) (dur_journal.cpp:684) sh26174| ==26179== by 0x888EB24: mongo::dur::WRITETOJOURNAL(mongo::dur::JSectHeader, mongo::AlignedBuilder&) (dur_journal.cpp:679) sh26174| ==26179== by 0x870B2B5: mongo::dur::_groupCommitWithLimitedLocks() (dur.cpp:575) sh26174| ==26179== by 0x870B3E2: mongo::dur::groupCommitWithLimitedLocks() (dur.cpp:599) sh26174| ==26179== by 0x870BC47: mongo::dur::durThreadGroupCommit() (dur.cpp:734) sh26174| ==26179== by 0x870BFF1: mongo::dur::durThread() (dur.cpp:805) sh26174| ==26179== by 0x855B792: boost::detail::thread_data<void (*)()>::run() (thread.hpp:62) sh26174| ==26179== by 0x88652EC: thread_proxy (thread.cpp:121) sh26174| ==26179==