-
Notifications
You must be signed in to change notification settings - Fork 11.1k
//test/cpp/end2end:async_end2end_test failing on msan #21722
Copy link
Copy link
Closed
Labels
kind/buglang/c++priority/P1release notes: noIndicates if PR should not be in release notesIndicates if PR should not be in release notes
Description
test/cpp/end2end/async_end2end_test.cc:138: Failure
Expected equality of these values:
cq->AsyncNext(&got_tag, &ok, deadline)
Which is: 2
CompletionQueue::GOT_EVENT
Which is: 1
==18==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x738554 in std::__1::__tree_iterator<std::__1::__value_type<void*, bool>, std::__1::__tree_node<std::__1::__value_type<void*, bool>, void*>*, long> std::__1::__tree<std::__1::__value_type<void*, bool>, std::__1::__map_value_compare<void*, std::__1::__value_type<void*, bool>, std::__1::less<void*>, true>, std::__1::allocator<std::__1::__value_type<void*, bool> > >::__lower_bound<void*>(void* const&, std::__1::__tree_node<std::__1::__value_type<void*, bool>, void*>*, std::__1::__tree_end_node<std::__1::__tree_node_base<void*>*>*) /usr/local/bin/../include/c++/v1/__tree:2634:13
#1 0x7377cc in std::__1::__tree_iterator<std::__1::__value_type<void*, bool>, std::__1::__tree_node<std::__1::__value_type<void*, bool>, void*>*, long> std::__1::__tree<std::__1::__value_type<void*, bool>, std::__1::__map_value_compare<void*, std::__1::__value_type<void*, bool>, std::__1::less<void*>, true>, std::__1::allocator<std::__1::__value_type<void*, bool> > >::find<void*>(void* const&) /usr/local/bin/../include/c++/v1/__tree:2563:20
#2 0x735fbe in std::__1::map<void*, bool, std::__1::less<void*>, std::__1::allocator<std::__1::pair<void* const, bool> > >::find(void* const&) /usr/local/bin/../include/c++/v1/map:1378:68
#3 0x50609a in grpc::testing::(anonymous namespace)::Verifier::GotTag(void*, bool, bool) /proc/self/cwd/test/cpp/end2end/async_end2end_test.cc:168:29
#4 0x5210c0 in grpc::testing::(anonymous namespace)::Verifier::Verify(grpc_impl::CompletionQueue*, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l> > >) /proc/self/cwd/test/cpp/end2end/async_end2end_test.cc:139:9
#5 0x51e163 in grpc::testing::(anonymous namespace)::AsyncEnd2endTest_AsyncNextRpc_Test::TestBody() /proc/self/cwd/test/cpp/end2end/async_end2end_test.cc:445:30
#6 0x7f3ac1e00699 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2439:10
#7 0x7f3ac1d3cf16 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2475:14
#8 0x7f3ac1cb4018 in testing::Test::Run() /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2514:5
#9 0x7f3ac1cb8af6 in testing::TestInfo::Run() /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2690:11
#10 0x7f3ac1cbc54f in testing::TestSuite::Run() /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2822:28
#11 0x7f3ac1d06c61 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:5342:44
#12 0x7f3ac1e3a5b4 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2439:10
#13 0x7f3ac1d534a8 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2475:14
#14 0x7f3ac1d040d6 in testing::UnitTest::Run() /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:4930:10
#15 0x66e5e5 in RUN_ALL_TESTS() /proc/self/cwd/external/com_github_google_googletest/googletest/include/gtest/gtest.h:2472:46
#16 0x4e1ce4 in main /proc/self/cwd/test/cpp/end2end/async_end2end_test.cc:1895:13
#17 0x7f3ac0e0582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#18 0x45a038 in _start (/b/f/w/bazel-out/k8-fastbuild/bin/test/cpp/end2end/async_end2end_test@poller=epoll1.runfiles/com_github_grpc_grpc/test/cpp/end2end/async_end2end_test+0x45a038)
Uninitialized value was stored to memory at
#0 0x505ebc in grpc::testing::(anonymous namespace)::Verifier::GotTag(void*, bool, bool) /proc/self/cwd/test/cpp/end2end/async_end2end_test.cc:167
#1 0x5210c0 in grpc::testing::(anonymous namespace)::Verifier::Verify(grpc_impl::CompletionQueue*, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l> > >) /proc/self/cwd/test/cpp/end2end/async_end2end_test.cc:139:9
#2 0x51e163 in grpc::testing::(anonymous namespace)::AsyncEnd2endTest_AsyncNextRpc_Test::TestBody() /proc/self/cwd/test/cpp/end2end/async_end2end_test.cc:445:30
#3 0x7f3ac1e00699 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2439:10
#4 0x7f3ac1d3cf16 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2475:14
#5 0x7f3ac1cb4018 in testing::Test::Run() /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2514:5
#6 0x7f3ac1cb8af6 in testing::TestInfo::Run() /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2690:11
#7 0x7f3ac1cbc54f in testing::TestSuite::Run() /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2822:28
#8 0x7f3ac1d06c61 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:5342:44
#9 0x7f3ac1e3a5b4 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2439:10
#10 0x7f3ac1d534a8 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:2475:14
#11 0x7f3ac1d040d6 in testing::UnitTest::Run() /proc/self/cwd/external/com_github_google_googletest/googletest/src/gtest.cc:4930:10
#12 0x66e5e5 in RUN_ALL_TESTS() /proc/self/cwd/external/com_github_google_googletest/googletest/include/gtest/gtest.h:2472:46
#13 0x4e1ce4 in main /proc/self/cwd/test/cpp/end2end/async_end2end_test.cc:1895:13
#14 0x7f3ac0e0582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
Uninitialized value was created by an allocation of 'got_tag27' in the stack frame of function '_ZN4grpc7testing12_GLOBAL__N_18Verifier6VerifyEPN9grpc_impl15CompletionQueueENSt3__16chrono10time_pointINS7_12system_clockENS7_8durationIxNS6_5ratioILl1ELl1000000EEEEEEE'
#0 0x51feb0 in grpc::testing::(anonymous namespace)::Verifier::Verify(grpc_impl::CompletionQueue*, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l> > >) /proc/self/cwd/test/cpp/end2end/async_end2end_test.cc:127
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/buglang/c++priority/P1release notes: noIndicates if PR should not be in release notesIndicates if PR should not be in release notes