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

Test 'MojoAsyncResourceHandlerWithAllocationSizeTest/MojoAsyncResourceHandlerWithAllocationSizeTest.RedirectHandling/1' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'MojoAsyncResourceHandlerWithAllocationSizeTest/MojoAsyncResourceHandlerWithAllocationSizeTest.RedirectHandling/1' had the following logs when run: ================================================================================ [ RUN ] MojoAsyncResourceHandlerWithAllocationSizeTest/MojoAsyncResourceHandlerWithAllocationSizeTest.RedirectHandling/1 Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffc2bea72d8, 4) ==7069==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x55b62471123e in WriteBytesCommon base/pickle.cc:430:3 #1 0x55b62471123e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x55b62652ca00 in WritePOD<int> base/pickle.h:327:5 #3 0x55b62652ca00 in WriteInt base/pickle.h:190:0 #4 0x55b62652ca00 in WriteBool base/pickle.h:189:0 #5 0x55b62652ca00 in Write ipc/ipc_message_utils.h:133:0 #6 0x55b62652ca00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x55b62652ca00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x55b6183d5b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x55b6183d5b83 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 0x55b6183d5b83 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 0x55b6202b190d 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 0x55b613de5dc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #13 0x55b613e51a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #14 0x55b61a8c5792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55b61a8c5792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #16 0x55b61a8c92fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #17 0x55b61a8caf39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #18 0x55b61a906969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #19 0x55b61a904fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55b61a904fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #21 0x55b621d037da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #22 0x55b621d037da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #23 0x55b621b8954f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #24 0x55b621d61479 in Run base/callback.h:97:12 #25 0x55b621d61479 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 0x55b621d60bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #27 0x55b621a237d5 in main content/test/run_all_unittests.cc:14:10 #28 0x7f47af80ef44 in __libc_start_main ??:0:0 #29 0x55b611c8a029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x55b62652cc0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x55b6183d5b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x55b6183d5b83 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 0x55b6183d5b83 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 0x55b6202b190d 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 0x55b613de5dc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #6 0x55b613e51a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #7 0x55b61a8c5792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x55b61a8c5792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #9 0x55b61a8c92fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #10 0x55b61a8caf39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #11 0x55b61a906969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #12 0x55b61a904fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x55b61a904fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #14 0x55b621d037da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #15 0x55b621d037da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #16 0x55b621b8954f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #17 0x55b621d61479 in Run base/callback.h:97:12 #18 0x55b621d61479 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 0x55b621d60bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #20 0x55b621a237d5 in main content/test/run_all_unittests.cc:14:10 #21 0x7f47af80ef44 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 0x55b613e501e0 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/1 Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7fffc295aa88, 4) ==7189==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x556014a0023e in WriteBytesCommon base/pickle.cc:430:3 #1 0x556014a0023e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x55601681ba00 in WritePOD<int> base/pickle.h:327:5 #3 0x55601681ba00 in WriteInt base/pickle.h:190:0 #4 0x55601681ba00 in WriteBool base/pickle.h:189:0 #5 0x55601681ba00 in Write ipc/ipc_message_utils.h:133:0 #6 0x55601681ba00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x55601681ba00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x5560086c4b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x5560086c4b83 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 0x5560086c4b83 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 0x5560105a090d 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 0x5560040d4dc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #13 0x556004140a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #14 0x55600abb4792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55600abb4792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #16 0x55600abb82fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #17 0x55600abb9f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #18 0x55600abf5969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #19 0x55600abf3fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55600abf3fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #21 0x556011ff27da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #22 0x556011ff27da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #23 0x556011e7854f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #24 0x556012050479 in Run base/callback.h:97:12 #25 0x556012050479 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 0x55601204fbd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #27 0x556011d127d5 in main content/test/run_all_unittests.cc:14:10 #28 0x7f08689f8f44 in __libc_start_main ??:0:0 #29 0x556001f79029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x55601681bc0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x5560086c4b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x5560086c4b83 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 0x5560086c4b83 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 0x5560105a090d 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 0x5560040d4dc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #6 0x556004140a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #7 0x55600abb4792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x55600abb4792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #9 0x55600abb82fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #10 0x55600abb9f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #11 0x55600abf5969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #12 0x55600abf3fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x55600abf3fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #14 0x556011ff27da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #15 0x556011ff27da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #16 0x556011e7854f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #17 0x556012050479 in Run base/callback.h:97:12 #18 0x556012050479 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 0x55601204fbd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #20 0x556011d127d5 in main content/test/run_all_unittests.cc:14:10 #21 0x7f08689f8f44 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 0x55600413f1e0 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/1 Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffed9e96df8, 4) ==7253==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x5624a160e23e in WriteBytesCommon base/pickle.cc:430:3 #1 0x5624a160e23e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x5624a3429a00 in WritePOD<int> base/pickle.h:327:5 #3 0x5624a3429a00 in WriteInt base/pickle.h:190:0 #4 0x5624a3429a00 in WriteBool base/pickle.h:189:0 #5 0x5624a3429a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x5624a3429a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x5624a3429a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x5624952d2b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x5624952d2b83 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 0x5624952d2b83 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 0x56249d1ae90d 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 0x562490ce2dc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #13 0x562490d4ea18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #14 0x5624977c2792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x5624977c2792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #16 0x5624977c62fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #17 0x5624977c7f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #18 0x562497803969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #19 0x562497801fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x562497801fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #21 0x56249ec007da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #22 0x56249ec007da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #23 0x56249ea8654f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #24 0x56249ec5e479 in Run base/callback.h:97:12 #25 0x56249ec5e479 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 0x56249ec5dbd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #27 0x56249e9207d5 in main content/test/run_all_unittests.cc:14:10 #28 0x7fec56971f44 in __libc_start_main ??:0:0 #29 0x56248eb87029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x5624a3429c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x5624952d2b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x5624952d2b83 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 0x5624952d2b83 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 0x56249d1ae90d 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 0x562490ce2dc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #6 0x562490d4ea18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #7 0x5624977c2792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x5624977c2792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #9 0x5624977c62fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #10 0x5624977c7f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #11 0x562497803969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #12 0x562497801fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x562497801fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #14 0x56249ec007da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #15 0x56249ec007da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #16 0x56249ea8654f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #17 0x56249ec5e479 in Run base/callback.h:97:12 #18 0x56249ec5e479 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 0x56249ec5dbd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #20 0x56249e9207d5 in main content/test/run_all_unittests.cc:14:10 #21 0x7fec56971f44 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 0x562490d4d1e0 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/1 Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffdf458db18, 4) ==7318==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x55a34dee823e in WriteBytesCommon base/pickle.cc:430:3 #1 0x55a34dee823e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x55a34fd03a00 in WritePOD<int> base/pickle.h:327:5 #3 0x55a34fd03a00 in WriteInt base/pickle.h:190:0 #4 0x55a34fd03a00 in WriteBool base/pickle.h:189:0 #5 0x55a34fd03a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x55a34fd03a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x55a34fd03a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x55a341bacb83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x55a341bacb83 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 0x55a341bacb83 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 0x55a349a8890d 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 0x55a33d5bcdc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #13 0x55a33d628a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #14 0x55a34409c792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #15 0x55a34409c792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #16 0x55a3440a02fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #17 0x55a3440a1f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #18 0x55a3440dd969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #19 0x55a3440dbfa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #20 0x55a3440dbfa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #21 0x55a34b4da7da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #22 0x55a34b4da7da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #23 0x55a34b36054f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #24 0x55a34b538479 in Run base/callback.h:97:12 #25 0x55a34b538479 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 0x55a34b537bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #27 0x55a34b1fa7d5 in main content/test/run_all_unittests.cc:14:10 #28 0x7f16defc5f44 in __libc_start_main ??:0:0 #29 0x55a33b461029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x55a34fd03c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x55a341bacb83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x55a341bacb83 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 0x55a341bacb83 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 0x55a349a8890d 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 0x55a33d5bcdc5 in content::MockResourceLoader::OnRequestRedirected(net::RedirectInfo const&, scoped_refptr<network::ResourceResponse>) content/browser/loader/mock_resource_loader.cc:75:22 #6 0x55a33d628a18 in content::(anonymous namespace)::MojoAsyncResourceHandlerWithAllocationSizeTest_RedirectHandling_Test::TestBody() content/browser/loader/mojo_async_resource_handler_unittest.cc:1197:3 #7 0x55a34409c792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #8 0x55a34409c792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #9 0x55a3440a02fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #10 0x55a3440a1f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #11 0x55a3440dd969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #12 0x55a3440dbfa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #13 0x55a3440dbfa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #14 0x55a34b4da7da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #15 0x55a34b4da7da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #16 0x55a34b36054f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #17 0x55a34b538479 in Run base/callback.h:97:12 #18 0x55a34b538479 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 0x55a34b537bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #20 0x55a34b1fa7d5 in main content/test/run_all_unittests.cc:14:10 #21 0x7f16defc5f44 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 0x55a33d6271e0 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 ================================================================================