I'm seeing some test failures for unit tests for msan (check-msan) happening in googletest, which I find weird. I'm on Arch Linux, with r342711. Below is one type of error that I see. The full log is 416MB (!) big. My guess is that those errors are related, but if anyone needs the full log, I'll provide it. Here is a reduced log from the end: https://drive.google.com/file/d/1R5bLcCvgmgojkbDo6lB3jYBTBxweJP3v/view?usp=sharing What could be the problem? Thanks! :) SUMMARY: MemorySanitizer: use-of-uninitialized-value /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:474:31 in testing::internal::UnitTestOptions::PatternMatchesString(char const*, char const*) ==15959==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x739054 in testing::internal::UnitTestOptions::PatternMatchesString(char const*, char const*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:474:31 #1 0x738fc7 in testing::internal::UnitTestOptions::PatternMatchesString(char const*, char const*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 #2 0x738fc7 in testing::internal::UnitTestOptions::PatternMatchesString(char const*, char const*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 #3 0x738fc7 in testing::internal::UnitTestOptions::PatternMatchesString(char const*, char const*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 #4 0x738fc7 in testing::internal::UnitTestOptions::PatternMatchesString(char const*, char const*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 #5 0x7aaeb8 in testing::internal::UnitTestOptions::MatchesFilter(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:483:9 #6 0x7aaeb8 in testing::internal::UnitTestImpl::GetTestCase(char const*, char const*, void (*)(), void (*)()) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4519 #7 0x77250b in testing::internal::UnitTestImpl::AddTestInfo(void (*)(), void (*)(), testing::TestInfo*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest-internal-inl.h:661:5 #8 0x771e64 in testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2556:22 #9 0x715f10 in testing::internal::ParameterizedTestCaseInfo<MemorySanitizerIpTest>::RegisterTests() /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:586:11 #10 0x7b8899 in testing::internal::ParameterizedTestCaseRegistry::RegisterTests() /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:714:14 #11 0x7b8899 in testing::internal::UnitTestImpl::RegisterParameterizedTests() /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2620 #12 0x7b8899 in testing::internal::UnitTestImpl::PostFlagParsingInit() /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4454 #13 0x7b8899 in void testing::internal::InitGoogleTestImpl<char>(int*, char**) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:5356 #14 0x73080b in main /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/tests/msan_test_main.cc:19:3 #15 0x7fd75b533222 in __libc_start_main (/usr/lib/libc.so.6+0x24222) #16 0x46740d in _start (/home/blitz/projects/bllvm/projects/compiler-rt/lib/msan/tests/Msan-x86_64-with-call-Test+0x46740d) Uninitialized value was stored to memory at #0 0x470553 in __msan_memcpy.part.350 /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:1488:3 #1 0x7aadab in std::__1::char_traits<char>::copy(char*, char const*, unsigned long) /home/blitz/projects/llvm/projects/libcxx/include/__string:225:50 #2 0x7aadab in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long) /home/blitz/projects/llvm/projects/libcxx/include/string:1779 #3 0x7aadab in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string<std::nullptr_t>(char const*)/home/blitz/projects/llvm/projects/libcxx/include/string:814 #4 0x7aadab in testing::internal::UnitTestImpl::GetTestCase(char const*, char const*, void (*)(), void (*)()) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4519 #5 0x77250b in testing::internal::UnitTestImpl::AddTestInfo(void (*)(), void (*)(), testing::TestInfo*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest-internal-inl.h:661:5 #6 0x771e64 in testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2556:22 #7 0x715f10 in testing::internal::ParameterizedTestCaseInfo<MemorySanitizerIpTest>::RegisterTests() /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:586:11 #8 0x7b8899 in testing::internal::ParameterizedTestCaseRegistry::RegisterTests() /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:714:14 #9 0x7b8899 in testing::internal::UnitTestImpl::RegisterParameterizedTests() /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2620 #10 0x7b8899 in testing::internal::UnitTestImpl::PostFlagParsingInit() /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4454 #11 0x7b8899 in void testing::internal::InitGoogleTestImpl<char>(int*, char**) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:5356 #12 0x73080b in main /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/tests/msan_test_main.cc:19:3 #13 0x7fd75b533222 in __libc_start_main (/usr/lib/libc.so.6+0x24222) Uninitialized value was stored to memory at #0 0x470553 in __msan_memcpy.part.350 /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:1488:3 #1 0x7fd75baf9acf in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>,std::__1::allocator<char> > const&) (/usr/local/lib/libc++.so.1+0x92acf) Uninitialized value was stored to memory at #0 0x470553 in __msan_memcpy.part.350 /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:1488:3 #1 0x7718eb in std::__1::char_traits<char>::copy(char*, char const*, unsigned long) /home/blitz/projects/llvm/projects/libcxx/include/__string:225:50 #2 0x7718eb in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long) /home/blitz/projects/llvm/projects/libcxx/include/string:1779 #3 0x7718eb in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string<std::nullptr_t>(char const*)/home/blitz/projects/llvm/projects/libcxx/include/string:814 #4 0x7718eb in testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2554 #5 0x715f10 in testing::internal::ParameterizedTestCaseInfo<MemorySanitizerIpTest>::RegisterTests() /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:586:11 #6 0x7b8899 in testing::internal::ParameterizedTestCaseRegistry::RegisterTests() /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:714:14 #7 0x7b8899 in testing::internal::UnitTestImpl::RegisterParameterizedTests() /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2620 #8 0x7b8899 in testing::internal::UnitTestImpl::PostFlagParsingInit() /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4454 #9 0x7b8899 in void testing::internal::InitGoogleTestImpl<char>(int*, char**) /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:5356 #10 0x73080b in main /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/tests/msan_test_main.cc:19:3 #11 0x7fd75b533222 in __libc_start_main (/usr/lib/libc.so.6+0x24222) Uninitialized value was created by a heap allocation #0 0x4709ec in __interceptor_malloc /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:910:3 #1 0x7fd75baf8b0b in operator new(unsigned long) (/usr/local/lib/libc++.so.1+0x91b0b) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180921/181c0e7e/attachment-0001.html>
On Fri, Sep 21, 2018 at 11:28 AM, Nicolas Lesser via llvm-dev <llvm-dev at lists.llvm.org> wrote:> I'm seeing some test failures for unit tests for msan (check-msan) happening > in googletest, which I find weird. I'm on Arch Linux, with r342711. Below is > one type of error that I see. The full log is 416MB (!) big. My guess is > that those errors are related, but if anyone needs the full log, I'll > provide it. Here is a reduced log from the end: > https://drive.google.com/file/d/1R5bLcCvgmgojkbDo6lB3jYBTBxweJP3v/view?usp=sharingCould be https://github.com/google/sanitizers/issues/993 that was fixed by https://reviews.llvm.org/D52272> What could be the problem? Thanks! :) > > SUMMARY: MemorySanitizer: use-of-uninitialized-value > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:474:31 in > testing::internal::UnitTestOptions::PatternMatchesString(char const*, char > const*) > ==15959==WARNING: MemorySanitizer: use-of-uninitialized-value > #0 0x739054 in > testing::internal::UnitTestOptions::PatternMatchesString(char const*, char > const*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:474:31 > #1 0x738fc7 in > testing::internal::UnitTestOptions::PatternMatchesString(char const*, char > const*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 > #2 0x738fc7 in > testing::internal::UnitTestOptions::PatternMatchesString(char const*, char > const*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 > #3 0x738fc7 in > testing::internal::UnitTestOptions::PatternMatchesString(char const*, char > const*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 > #4 0x738fc7 in > testing::internal::UnitTestOptions::PatternMatchesString(char const*, char > const*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 > #5 0x7aaeb8 in > testing::internal::UnitTestOptions::MatchesFilter(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> > const&, char > const*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:483:9 > #6 0x7aaeb8 in testing::internal::UnitTestImpl::GetTestCase(char const*, > char const*, void (*)(), void (*)()) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4519 > #7 0x77250b in testing::internal::UnitTestImpl::AddTestInfo(void (*)(), > void (*)(), testing::TestInfo*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest-internal-inl.h:661:5 > #8 0x771e64 in testing::internal::MakeAndRegisterTestInfo(char const*, > char const*, char const*, char const*, testing::internal::CodeLocation, void > const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2556:22 > #9 0x715f10 in > testing::internal::ParameterizedTestCaseInfo<MemorySanitizerIpTest>::RegisterTests() > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:586:11 > #10 0x7b8899 in > testing::internal::ParameterizedTestCaseRegistry::RegisterTests() > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:714:14 > #11 0x7b8899 in > testing::internal::UnitTestImpl::RegisterParameterizedTests() > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2620 > #12 0x7b8899 in testing::internal::UnitTestImpl::PostFlagParsingInit() > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4454 > #13 0x7b8899 in void testing::internal::InitGoogleTestImpl<char>(int*, > char**) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:5356 > #14 0x73080b in main > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/tests/msan_test_main.cc:19:3 > #15 0x7fd75b533222 in __libc_start_main (/usr/lib/libc.so.6+0x24222) > #16 0x46740d in _start > (/home/blitz/projects/bllvm/projects/compiler-rt/lib/msan/tests/Msan-x86_64-with-call-Test+0x46740d) > > Uninitialized value was stored to memory at > #0 0x470553 in __msan_memcpy.part.350 > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:1488:3 > #1 0x7aadab in std::__1::char_traits<char>::copy(char*, char const*, > unsigned long) > /home/blitz/projects/llvm/projects/libcxx/include/__string:225:50 > #2 0x7aadab in std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> >::__init(char const*, unsigned long) > /home/blitz/projects/llvm/projects/libcxx/include/string:1779 > #3 0x7aadab in std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) > /home/blitz/projects/llvm/projects/libcxx/include/string:814 > #4 0x7aadab in testing::internal::UnitTestImpl::GetTestCase(char const*, > char const*, void (*)(), void (*)()) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4519 > #5 0x77250b in testing::internal::UnitTestImpl::AddTestInfo(void (*)(), > void (*)(), testing::TestInfo*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest-internal-inl.h:661:5 > #6 0x771e64 in testing::internal::MakeAndRegisterTestInfo(char const*, > char const*, char const*, char const*, testing::internal::CodeLocation, void > const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2556:22 > #7 0x715f10 in > testing::internal::ParameterizedTestCaseInfo<MemorySanitizerIpTest>::RegisterTests() > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:586:11 > #8 0x7b8899 in > testing::internal::ParameterizedTestCaseRegistry::RegisterTests() > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:714:14 > #9 0x7b8899 in > testing::internal::UnitTestImpl::RegisterParameterizedTests() > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2620 > #10 0x7b8899 in testing::internal::UnitTestImpl::PostFlagParsingInit() > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4454 > #11 0x7b8899 in void testing::internal::InitGoogleTestImpl<char>(int*, > char**) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:5356 > #12 0x73080b in main > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/tests/msan_test_main.cc:19:3 > #13 0x7fd75b533222 in __libc_start_main (/usr/lib/libc.so.6+0x24222) > > Uninitialized value was stored to memory at > #0 0x470553 in __msan_memcpy.part.350 > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:1488:3 > #1 0x7fd75baf9acf in std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >>::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> > const&) (/usr/local/lib/libc++.so.1+0x92acf) > > Uninitialized value was stored to memory at > #0 0x470553 in __msan_memcpy.part.350 > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:1488:3 > #1 0x7718eb in std::__1::char_traits<char>::copy(char*, char const*, > unsigned long) > /home/blitz/projects/llvm/projects/libcxx/include/__string:225:50 > #2 0x7718eb in std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> >::__init(char const*, unsigned long) > /home/blitz/projects/llvm/projects/libcxx/include/string:1779 > #3 0x7718eb in std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) > /home/blitz/projects/llvm/projects/libcxx/include/string:814 > #4 0x7718eb in testing::internal::MakeAndRegisterTestInfo(char const*, > char const*, char const*, char const*, testing::internal::CodeLocation, void > const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2554 > #5 0x715f10 in > testing::internal::ParameterizedTestCaseInfo<MemorySanitizerIpTest>::RegisterTests() > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:586:11 > #6 0x7b8899 in > testing::internal::ParameterizedTestCaseRegistry::RegisterTests() > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:714:14 > #7 0x7b8899 in > testing::internal::UnitTestImpl::RegisterParameterizedTests() > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2620 > #8 0x7b8899 in testing::internal::UnitTestImpl::PostFlagParsingInit() > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4454 > #9 0x7b8899 in void testing::internal::InitGoogleTestImpl<char>(int*, > char**) > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:5356 > #10 0x73080b in main > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/tests/msan_test_main.cc:19:3 > #11 0x7fd75b533222 in __libc_start_main (/usr/lib/libc.so.6+0x24222) > > Uninitialized value was created by a heap allocation > #0 0x4709ec in __interceptor_malloc > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:910:3 > #1 0x7fd75baf8b0b in operator new(unsigned long) > (/usr/local/lib/libc++.so.1+0x91b0b) > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >
Now I'm on r342755 (200 revisions later), and I still see the errors unfortunately :( So that can't be it. On Fri, Sep 21, 2018 at 6:03 PM Roman Lebedev <lebedev.ri at gmail.com> wrote:> On Fri, Sep 21, 2018 at 11:28 AM, Nicolas Lesser via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > I'm seeing some test failures for unit tests for msan (check-msan) > happening > > in googletest, which I find weird. I'm on Arch Linux, with r342711. > Below is > > one type of error that I see. The full log is 416MB (!) big. My guess is > > that those errors are related, but if anyone needs the full log, I'll > > provide it. Here is a reduced log from the end: > > > https://drive.google.com/file/d/1R5bLcCvgmgojkbDo6lB3jYBTBxweJP3v/view?usp=sharing > Could be https://github.com/google/sanitizers/issues/993 that was > fixed by https://reviews.llvm.org/D52272 > > > What could be the problem? Thanks! :) > > > > SUMMARY: MemorySanitizer: use-of-uninitialized-value > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:474:31 > in > > testing::internal::UnitTestOptions::PatternMatchesString(char const*, > char > > const*) > > ==15959==WARNING: MemorySanitizer: use-of-uninitialized-value > > #0 0x739054 in > > testing::internal::UnitTestOptions::PatternMatchesString(char const*, > char > > const*) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:474:31 > > #1 0x738fc7 in > > testing::internal::UnitTestOptions::PatternMatchesString(char const*, > char > > const*) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 > > #2 0x738fc7 in > > testing::internal::UnitTestOptions::PatternMatchesString(char const*, > char > > const*) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 > > #3 0x738fc7 in > > testing::internal::UnitTestOptions::PatternMatchesString(char const*, > char > > const*) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 > > #4 0x738fc7 in > > testing::internal::UnitTestOptions::PatternMatchesString(char const*, > char > > const*) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:471:31 > > #5 0x7aaeb8 in > > > testing::internal::UnitTestOptions::MatchesFilter(std::__1::basic_string<char, > > std::__1::char_traits<char>, std::__1::allocator<char> > const&, char > > const*) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:483:9 > > #6 0x7aaeb8 in testing::internal::UnitTestImpl::GetTestCase(char > const*, > > char const*, void (*)(), void (*)()) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4519 > > #7 0x77250b in testing::internal::UnitTestImpl::AddTestInfo(void > (*)(), > > void (*)(), testing::TestInfo*) > > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest-internal-inl.h:661:5 > > #8 0x771e64 in testing::internal::MakeAndRegisterTestInfo(char > const*, > > char const*, char const*, char const*, testing::internal::CodeLocation, > void > > const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2556:22 > > #9 0x715f10 in > > > testing::internal::ParameterizedTestCaseInfo<MemorySanitizerIpTest>::RegisterTests() > > > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:586:11 > > #10 0x7b8899 in > > testing::internal::ParameterizedTestCaseRegistry::RegisterTests() > > > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:714:14 > > #11 0x7b8899 in > > testing::internal::UnitTestImpl::RegisterParameterizedTests() > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2620 > > #12 0x7b8899 in > testing::internal::UnitTestImpl::PostFlagParsingInit() > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4454 > > #13 0x7b8899 in void > testing::internal::InitGoogleTestImpl<char>(int*, > > char**) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:5356 > > #14 0x73080b in main > > > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/tests/msan_test_main.cc:19:3 > > #15 0x7fd75b533222 in __libc_start_main (/usr/lib/libc.so.6+0x24222) > > #16 0x46740d in _start > > > (/home/blitz/projects/bllvm/projects/compiler-rt/lib/msan/tests/Msan-x86_64-with-call-Test+0x46740d) > > > > Uninitialized value was stored to memory at > > #0 0x470553 in __msan_memcpy.part.350 > > > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:1488:3 > > #1 0x7aadab in std::__1::char_traits<char>::copy(char*, char const*, > > unsigned long) > > /home/blitz/projects/llvm/projects/libcxx/include/__string:225:50 > > #2 0x7aadab in std::__1::basic_string<char, > std::__1::char_traits<char>, > > std::__1::allocator<char> >::__init(char const*, unsigned long) > > /home/blitz/projects/llvm/projects/libcxx/include/string:1779 > > #3 0x7aadab in std::__1::basic_string<char, > std::__1::char_traits<char>, > > std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) > > /home/blitz/projects/llvm/projects/libcxx/include/string:814 > > #4 0x7aadab in testing::internal::UnitTestImpl::GetTestCase(char > const*, > > char const*, void (*)(), void (*)()) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4519 > > #5 0x77250b in testing::internal::UnitTestImpl::AddTestInfo(void > (*)(), > > void (*)(), testing::TestInfo*) > > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest-internal-inl.h:661:5 > > #6 0x771e64 in testing::internal::MakeAndRegisterTestInfo(char > const*, > > char const*, char const*, char const*, testing::internal::CodeLocation, > void > > const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2556:22 > > #7 0x715f10 in > > > testing::internal::ParameterizedTestCaseInfo<MemorySanitizerIpTest>::RegisterTests() > > > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:586:11 > > #8 0x7b8899 in > > testing::internal::ParameterizedTestCaseRegistry::RegisterTests() > > > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:714:14 > > #9 0x7b8899 in > > testing::internal::UnitTestImpl::RegisterParameterizedTests() > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2620 > > #10 0x7b8899 in > testing::internal::UnitTestImpl::PostFlagParsingInit() > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4454 > > #11 0x7b8899 in void > testing::internal::InitGoogleTestImpl<char>(int*, > > char**) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:5356 > > #12 0x73080b in main > > > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/tests/msan_test_main.cc:19:3 > > #13 0x7fd75b533222 in __libc_start_main (/usr/lib/libc.so.6+0x24222) > > > > Uninitialized value was stored to memory at > > #0 0x470553 in __msan_memcpy.part.350 > > > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:1488:3 > > #1 0x7fd75baf9acf in std::__1::basic_string<char, > > std::__1::char_traits<char>, std::__1::allocator<char> > >>::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, > > std::__1::allocator<char> > const&) (/usr/local/lib/libc++.so.1+0x92acf) > > > > Uninitialized value was stored to memory at > > #0 0x470553 in __msan_memcpy.part.350 > > > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:1488:3 > > #1 0x7718eb in std::__1::char_traits<char>::copy(char*, char const*, > > unsigned long) > > /home/blitz/projects/llvm/projects/libcxx/include/__string:225:50 > > #2 0x7718eb in std::__1::basic_string<char, > std::__1::char_traits<char>, > > std::__1::allocator<char> >::__init(char const*, unsigned long) > > /home/blitz/projects/llvm/projects/libcxx/include/string:1779 > > #3 0x7718eb in std::__1::basic_string<char, > std::__1::char_traits<char>, > > std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) > > /home/blitz/projects/llvm/projects/libcxx/include/string:814 > > #4 0x7718eb in testing::internal::MakeAndRegisterTestInfo(char > const*, > > char const*, char const*, char const*, testing::internal::CodeLocation, > void > > const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2554 > > #5 0x715f10 in > > > testing::internal::ParameterizedTestCaseInfo<MemorySanitizerIpTest>::RegisterTests() > > > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:586:11 > > #6 0x7b8899 in > > testing::internal::ParameterizedTestCaseRegistry::RegisterTests() > > > /home/blitz/projects/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:714:14 > > #7 0x7b8899 in > > testing::internal::UnitTestImpl::RegisterParameterizedTests() > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:2620 > > #8 0x7b8899 in testing::internal::UnitTestImpl::PostFlagParsingInit() > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:4454 > > #9 0x7b8899 in void testing::internal::InitGoogleTestImpl<char>(int*, > > char**) > > /home/blitz/projects/llvm/utils/unittest/googletest/src/gtest.cc:5356 > > #10 0x73080b in main > > > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/tests/msan_test_main.cc:19:3 > > #11 0x7fd75b533222 in __libc_start_main (/usr/lib/libc.so.6+0x24222) > > > > Uninitialized value was created by a heap allocation > > #0 0x4709ec in __interceptor_malloc > > > /home/blitz/projects/llvm/projects/compiler-rt/lib/msan/msan_interceptors.cc:910:3 > > #1 0x7fd75baf8b0b in operator new(unsigned long) > > (/usr/local/lib/libc++.so.1+0x91b0b) > > > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180921/7908c339/attachment.html>