Back to build
Raw log | Switch to full mode | Login

Test 'MojoAsyncResourceHandlerWithAllocationSizeTest/MojoAsyncResourceHandlerWithAllocationSizeTest.RedirectHandling/0' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'MojoAsyncResourceHandlerWithAllocationSizeTest/MojoAsyncResourceHandlerWithAllocationSizeTest.RedirectHandling/0' had the following logs when run: ================================================================================ [ RUN ] MojoAsyncResourceHandlerWithAllocationSizeTest/MojoAsyncResourceHandlerWithAllocationSizeTest.RedirectHandling/0 Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffdb132e068, 4) ==4717==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x55d3f049523e in WriteBytesCommon base/pickle.cc:430:3 #1 0x55d3f049523e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x55d3f22b0a00 in WritePOD<int> base/pickle.h:327:5 #3 0x55d3f22b0a00 in WriteInt base/pickle.h:190:0 #4 0x55d3f22b0a00 in WriteBool base/pickle.h:189:0 #5 0x55d3f22b0a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x55d3f22b0a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x55d3f22b0a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x55d3e4159b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x55d3e4159b83 in Serialize<mojo::native::NativeStructDataView, const net::RedirectInfo &, mojo::internal::Buffer *&, mojo::native::internal::NativeStruct_Data::BufferWriter *, mojo::internal::SerializationContext *, nullptr> mojo/public/cpp/bindings/lib/serialization_forward.h:42:0 #10 0x55d3e4159b83 in network::mojom::URLLoaderClientProxy::OnReceiveRedirect(net::RedirectInfo const&, network::ResourceResponseHead const&) /b/s/w/ir/cache/builder/src/out/Release/gen/services/network/public/mojom/url_loader.mojom.cc:869:0 #11 0x55d3ec03590d in content::MojoAsyncResourceHandler::OnRequestRedirected(net::RedirectInfo const&, network::ResourceResponse*, std::__1::unique_ptr<content::ResourceController, std::__1::default_delete<content::ResourceController> >) content/browser/loader/mojo_async_resource_handler.cc:170:23 #12 0x55d3dfb69dc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #13 0x55d3dfbd5a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #14 0x55d3e6649792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55d3e6649792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #16 0x55d3e664d2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #17 0x55d3e664ef39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #18 0x55d3e668a969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #19 0x55d3e6688fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55d3e6688fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #21 0x55d3eda877da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #22 0x55d3eda877da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #23 0x55d3ed90d54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #24 0x55d3edae5479 in Run base/callback.h:97:12 #25 0x55d3edae5479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #26 0x55d3edae4bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #27 0x55d3ed7a77d5 in main content/test/run_all_unittests.cc:14:10 #28 0x7f453016cf44 in __libc_start_main ??:0:0 #29 0x55d3dda0e029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x55d3f22b0c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x55d3e4159b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x55d3e4159b83 in Serialize<mojo::native::NativeStructDataView, const net::RedirectInfo &, mojo::internal::Buffer *&, mojo::native::internal::NativeStruct_Data::BufferWriter *, mojo::internal::SerializationContext *, nullptr> mojo/public/cpp/bindings/lib/serialization_forward.h:42:0 #3 0x55d3e4159b83 in network::mojom::URLLoaderClientProxy::OnReceiveRedirect(net::RedirectInfo const&, network::ResourceResponseHead const&) /b/s/w/ir/cache/builder/src/out/Release/gen/services/network/public/mojom/url_loader.mojom.cc:869:0 #4 0x55d3ec03590d in content::MojoAsyncResourceHandler::OnRequestRedirected(net::RedirectInfo const&, network::ResourceResponse*, std::__1::unique_ptr<content::ResourceController, std::__1::default_delete<content::ResourceController> >) content/browser/loader/mojo_async_resource_handler.cc:170:23 #5 0x55d3dfb69dc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #6 0x55d3dfbd5a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #7 0x55d3e6649792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x55d3e6649792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #9 0x55d3e664d2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #10 0x55d3e664ef39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #11 0x55d3e668a969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #12 0x55d3e6688fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x55d3e6688fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #14 0x55d3eda877da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #15 0x55d3eda877da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #16 0x55d3ed90d54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #17 0x55d3edae5479 in Run base/callback.h:97:12 #18 0x55d3edae5479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #19 0x55d3edae4bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #20 0x55d3ed7a77d5 in main content/test/run_all_unittests.cc:14:10 #21 0x7f453016cf44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'redirect_info' in the stack frame of function '_ZN7content12_GLOBAL__N_168MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test8TestBodyEv' #0 0x55d3dfbd41e0 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1191:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting [ RUN ] MojoAsyncResourceHandlerWithAllocationSizeTest/MojoAsyncResourceHandlerWithAllocationSizeTest.RedirectHandling/0 Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffcb0b53398, 4) ==7193==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x55f79008e23e in WriteBytesCommon base/pickle.cc:430:3 #1 0x55f79008e23e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x55f791ea9a00 in WritePOD<int> base/pickle.h:327:5 #3 0x55f791ea9a00 in WriteInt base/pickle.h:190:0 #4 0x55f791ea9a00 in WriteBool base/pickle.h:189:0 #5 0x55f791ea9a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x55f791ea9a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x55f791ea9a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x55f783d52b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x55f783d52b83 in Serialize<mojo::native::NativeStructDataView, const net::RedirectInfo &, mojo::internal::Buffer *&, mojo::native::internal::NativeStruct_Data::BufferWriter *, mojo::internal::SerializationContext *, nullptr> mojo/public/cpp/bindings/lib/serialization_forward.h:42:0 #10 0x55f783d52b83 in network::mojom::URLLoaderClientProxy::OnReceiveRedirect(net::RedirectInfo const&, network::ResourceResponseHead const&) /b/s/w/ir/cache/builder/src/out/Release/gen/services/network/public/mojom/url_loader.mojom.cc:869:0 #11 0x55f78bc2e90d in content::MojoAsyncResourceHandler::OnRequestRedirected(net::RedirectInfo const&, network::ResourceResponse*, std::__1::unique_ptr<content::ResourceController, std::__1::default_delete<content::ResourceController> >) content/browser/loader/mojo_async_resource_handler.cc:170:23 #12 0x55f77f762dc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #13 0x55f77f7cea18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #14 0x55f786242792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55f786242792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #16 0x55f7862462fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #17 0x55f786247f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #18 0x55f786283969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #19 0x55f786281fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55f786281fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #21 0x55f78d6807da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #22 0x55f78d6807da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #23 0x55f78d50654f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #24 0x55f78d6de479 in Run base/callback.h:97:12 #25 0x55f78d6de479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #26 0x55f78d6ddbd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #27 0x55f78d3a07d5 in main content/test/run_all_unittests.cc:14:10 #28 0x7f838b316f44 in __libc_start_main ??:0:0 #29 0x55f77d607029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x55f791ea9c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x55f783d52b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x55f783d52b83 in Serialize<mojo::native::NativeStructDataView, const net::RedirectInfo &, mojo::internal::Buffer *&, mojo::native::internal::NativeStruct_Data::BufferWriter *, mojo::internal::SerializationContext *, nullptr> mojo/public/cpp/bindings/lib/serialization_forward.h:42:0 #3 0x55f783d52b83 in network::mojom::URLLoaderClientProxy::OnReceiveRedirect(net::RedirectInfo const&, network::ResourceResponseHead const&) /b/s/w/ir/cache/builder/src/out/Release/gen/services/network/public/mojom/url_loader.mojom.cc:869:0 #4 0x55f78bc2e90d in content::MojoAsyncResourceHandler::OnRequestRedirected(net::RedirectInfo const&, network::ResourceResponse*, std::__1::unique_ptr<content::ResourceController, std::__1::default_delete<content::ResourceController> >) content/browser/loader/mojo_async_resource_handler.cc:170:23 #5 0x55f77f762dc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #6 0x55f77f7cea18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #7 0x55f786242792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x55f786242792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #9 0x55f7862462fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #10 0x55f786247f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #11 0x55f786283969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #12 0x55f786281fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x55f786281fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #14 0x55f78d6807da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #15 0x55f78d6807da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #16 0x55f78d50654f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #17 0x55f78d6de479 in Run base/callback.h:97:12 #18 0x55f78d6de479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #19 0x55f78d6ddbd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #20 0x55f78d3a07d5 in main content/test/run_all_unittests.cc:14:10 #21 0x7f838b316f44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'redirect_info' in the stack frame of function '_ZN7content12_GLOBAL__N_168MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test8TestBodyEv' #0 0x55f77f7cd1e0 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1191:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting [ RUN ] MojoAsyncResourceHandlerWithAllocationSizeTest/MojoAsyncResourceHandlerWithAllocationSizeTest.RedirectHandling/0 Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffd9493e148, 4) ==7257==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x56434507723e in WriteBytesCommon base/pickle.cc:430:3 #1 0x56434507723e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x564346e92a00 in WritePOD<int> base/pickle.h:327:5 #3 0x564346e92a00 in WriteInt base/pickle.h:190:0 #4 0x564346e92a00 in WriteBool base/pickle.h:189:0 #5 0x564346e92a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x564346e92a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x564346e92a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x564338d3bb83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x564338d3bb83 in Serialize<mojo::native::NativeStructDataView, const net::RedirectInfo &, mojo::internal::Buffer *&, mojo::native::internal::NativeStruct_Data::BufferWriter *, mojo::internal::SerializationContext *, nullptr> mojo/public/cpp/bindings/lib/serialization_forward.h:42:0 #10 0x564338d3bb83 in network::mojom::URLLoaderClientProxy::OnReceiveRedirect(net::RedirectInfo const&, network::ResourceResponseHead const&) /b/s/w/ir/cache/builder/src/out/Release/gen/services/network/public/mojom/url_loader.mojom.cc:869:0 #11 0x564340c1790d in content::MojoAsyncResourceHandler::OnRequestRedirected(net::RedirectInfo const&, network::ResourceResponse*, std::__1::unique_ptr<content::ResourceController, std::__1::default_delete<content::ResourceController> >) content/browser/loader/mojo_async_resource_handler.cc:170:23 #12 0x56433474bdc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #13 0x5643347b7a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #14 0x56433b22b792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x56433b22b792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #16 0x56433b22f2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #17 0x56433b230f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #18 0x56433b26c969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #19 0x56433b26afa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x56433b26afa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #21 0x5643426697da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #22 0x5643426697da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #23 0x5643424ef54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #24 0x5643426c7479 in Run base/callback.h:97:12 #25 0x5643426c7479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #26 0x5643426c6bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #27 0x5643423897d5 in main content/test/run_all_unittests.cc:14:10 #28 0x7f14ab1aef44 in __libc_start_main ??:0:0 #29 0x5643325f0029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x564346e92c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x564338d3bb83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x564338d3bb83 in Serialize<mojo::native::NativeStructDataView, const net::RedirectInfo &, mojo::internal::Buffer *&, mojo::native::internal::NativeStruct_Data::BufferWriter *, mojo::internal::SerializationContext *, nullptr> mojo/public/cpp/bindings/lib/serialization_forward.h:42:0 #3 0x564338d3bb83 in network::mojom::URLLoaderClientProxy::OnReceiveRedirect(net::RedirectInfo const&, network::ResourceResponseHead const&) /b/s/w/ir/cache/builder/src/out/Release/gen/services/network/public/mojom/url_loader.mojom.cc:869:0 #4 0x564340c1790d in content::MojoAsyncResourceHandler::OnRequestRedirected(net::RedirectInfo const&, network::ResourceResponse*, std::__1::unique_ptr<content::ResourceController, std::__1::default_delete<content::ResourceController> >) content/browser/loader/mojo_async_resource_handler.cc:170:23 #5 0x56433474bdc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #6 0x5643347b7a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #7 0x56433b22b792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x56433b22b792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #9 0x56433b22f2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #10 0x56433b230f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #11 0x56433b26c969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #12 0x56433b26afa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x56433b26afa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #14 0x5643426697da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #15 0x5643426697da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #16 0x5643424ef54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #17 0x5643426c7479 in Run base/callback.h:97:12 #18 0x5643426c7479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #19 0x5643426c6bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #20 0x5643423897d5 in main content/test/run_all_unittests.cc:14:10 #21 0x7f14ab1aef44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'redirect_info' in the stack frame of function '_ZN7content12_GLOBAL__N_168MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test8TestBodyEv' #0 0x5643347b61e0 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1191:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting [ RUN ] MojoAsyncResourceHandlerWithAllocationSizeTest/MojoAsyncResourceHandlerWithAllocationSizeTest.RedirectHandling/0 Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffc0414bc08, 4) ==7322==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x5596d3a6623e in WriteBytesCommon base/pickle.cc:430:3 #1 0x5596d3a6623e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x5596d5881a00 in WritePOD<int> base/pickle.h:327:5 #3 0x5596d5881a00 in WriteInt base/pickle.h:190:0 #4 0x5596d5881a00 in WriteBool base/pickle.h:189:0 #5 0x5596d5881a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x5596d5881a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x5596d5881a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x5596c772ab83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x5596c772ab83 in Serialize<mojo::native::NativeStructDataView, const net::RedirectInfo &, mojo::internal::Buffer *&, mojo::native::internal::NativeStruct_Data::BufferWriter *, mojo::internal::SerializationContext *, nullptr> mojo/public/cpp/bindings/lib/serialization_forward.h:42:0 #10 0x5596c772ab83 in network::mojom::URLLoaderClientProxy::OnReceiveRedirect(net::RedirectInfo const&, network::ResourceResponseHead const&) /b/s/w/ir/cache/builder/src/out/Release/gen/services/network/public/mojom/url_loader.mojom.cc:869:0 #11 0x5596cf60690d in content::MojoAsyncResourceHandler::OnRequestRedirected(net::RedirectInfo const&, network::ResourceResponse*, std::__1::unique_ptr<content::ResourceController, std::__1::default_delete<content::ResourceController> >) content/browser/loader/mojo_async_resource_handler.cc:170:23 #12 0x5596c313adc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #13 0x5596c31a6a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #14 0x5596c9c1a792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x5596c9c1a792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #16 0x5596c9c1e2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #17 0x5596c9c1ff39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #18 0x5596c9c5b969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #19 0x5596c9c59fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x5596c9c59fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #21 0x5596d10587da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #22 0x5596d10587da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #23 0x5596d0ede54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #24 0x5596d10b6479 in Run base/callback.h:97:12 #25 0x5596d10b6479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #26 0x5596d10b5bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #27 0x5596d0d787d5 in main content/test/run_all_unittests.cc:14:10 #28 0x7f526df25f44 in __libc_start_main ??:0:0 #29 0x5596c0fdf029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x5596d5881c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x5596c772ab83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x5596c772ab83 in Serialize<mojo::native::NativeStructDataView, const net::RedirectInfo &, mojo::internal::Buffer *&, mojo::native::internal::NativeStruct_Data::BufferWriter *, mojo::internal::SerializationContext *, nullptr> mojo/public/cpp/bindings/lib/serialization_forward.h:42:0 #3 0x5596c772ab83 in network::mojom::URLLoaderClientProxy::OnReceiveRedirect(net::RedirectInfo const&, network::ResourceResponseHead const&) /b/s/w/ir/cache/builder/src/out/Release/gen/services/network/public/mojom/url_loader.mojom.cc:869:0 #4 0x5596cf60690d in content::MojoAsyncResourceHandler::OnRequestRedirected(net::RedirectInfo const&, network::ResourceResponse*, std::__1::unique_ptr<content::ResourceController, std::__1::default_delete<content::ResourceController> >) content/browser/loader/mojo_async_resource_handler.cc:170:23 #5 0x5596c313adc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #6 0x5596c31a6a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #7 0x5596c9c1a792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x5596c9c1a792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #9 0x5596c9c1e2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #10 0x5596c9c1ff39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #11 0x5596c9c5b969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #12 0x5596c9c59fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x5596c9c59fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #14 0x5596d10587da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #15 0x5596d10587da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #16 0x5596d0ede54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #17 0x5596d10b6479 in Run base/callback.h:97:12 #18 0x5596d10b6479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #19 0x5596d10b5bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #20 0x5596d0d787d5 in main content/test/run_all_unittests.cc:14:10 #21 0x7f526df25f44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'redirect_info' in the stack frame of function '_ZN7content12_GLOBAL__N_168MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test8TestBodyEv' #0 0x5596c31a51e0 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1191:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting ================================================================================