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

Test 'ThrottlingURLLoaderTest.ModifyHeadersBeforeRedirect' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'ThrottlingURLLoaderTest.ModifyHeadersBeforeRedirect' had the following logs when run: ================================================================================ [ RUN ] ThrottlingURLLoaderTest.ModifyHeadersBeforeRedirect Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffe1cfb1328, 4) ==7027==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x55de565c223e in WriteBytesCommon base/pickle.cc:430:3 #1 0x55de565c223e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x55de583dda00 in WritePOD<int> base/pickle.h:327:5 #3 0x55de583dda00 in WriteInt base/pickle.h:190:0 #4 0x55de583dda00 in WriteBool base/pickle.h:189:0 #5 0x55de583dda00 in Write ipc/ipc_message_utils.h:133:0 #6 0x55de583dda00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x55de583dda00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x55de4a286b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x55de4a286b83 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 0x55de4a286b83 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 0x55de485e6758 in NotifyClientOnReceiveRedirect content/common/throttling_url_loader_unittest.cc:74:18 #12 0x55de485e6758 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:609:0 #13 0x55de4c776792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x55de4c776792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #15 0x55de4c77a2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #16 0x55de4c77bf39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #17 0x55de4c7b7969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #18 0x55de4c7b5fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #19 0x55de4c7b5fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #20 0x55de53bb47da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #21 0x55de53bb47da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #22 0x55de53a3a54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #23 0x55de53c12479 in Run base/callback.h:97:12 #24 0x55de53c12479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #25 0x55de53c11bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #26 0x55de538d47d5 in main content/test/run_all_unittests.cc:14:10 #27 0x7f5357192f44 in __libc_start_main ??:0:0 #28 0x55de43b3b029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x55de583ddc0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x55de4a286b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x55de4a286b83 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 0x55de4a286b83 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 0x55de485e6758 in NotifyClientOnReceiveRedirect content/common/throttling_url_loader_unittest.cc:74:18 #5 0x55de485e6758 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:609:0 #6 0x55de4c776792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x55de4c776792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #8 0x55de4c77a2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #9 0x55de4c77bf39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #10 0x55de4c7b7969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #11 0x55de4c7b5fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x55de4c7b5fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #13 0x55de53bb47da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #14 0x55de53bb47da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #15 0x55de53a3a54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #16 0x55de53c12479 in Run base/callback.h:97:12 #17 0x55de53c12479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #18 0x55de53c11bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #19 0x55de538d47d5 in main content/test/run_all_unittests.cc:14:10 #20 0x7f5357192f44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'info.i' in the stack frame of function '_ZN7content12_GLOBAL__N_156ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test8TestBodyEv' #0 0x55de485e6050 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:590:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting [ RUN ] ThrottlingURLLoaderTest.ModifyHeadersBeforeRedirect Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffdd5b72028, 4) ==7157==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x5620de2c623e in WriteBytesCommon base/pickle.cc:430:3 #1 0x5620de2c623e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x5620e00e1a00 in WritePOD<int> base/pickle.h:327:5 #3 0x5620e00e1a00 in WriteInt base/pickle.h:190:0 #4 0x5620e00e1a00 in WriteBool base/pickle.h:189:0 #5 0x5620e00e1a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x5620e00e1a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x5620e00e1a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x5620d1f8ab83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x5620d1f8ab83 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 0x5620d1f8ab83 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 0x5620d02ea758 in NotifyClientOnReceiveRedirect content/common/throttling_url_loader_unittest.cc:74:18 #12 0x5620d02ea758 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:609:0 #13 0x5620d447a792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x5620d447a792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #15 0x5620d447e2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #16 0x5620d447ff39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #17 0x5620d44bb969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #18 0x5620d44b9fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #19 0x5620d44b9fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #20 0x5620db8b87da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #21 0x5620db8b87da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #22 0x5620db73e54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #23 0x5620db916479 in Run base/callback.h:97:12 #24 0x5620db916479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #25 0x5620db915bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #26 0x5620db5d87d5 in main content/test/run_all_unittests.cc:14:10 #27 0x7f5889dadf44 in __libc_start_main ??:0:0 #28 0x5620cb83f029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x5620e00e1c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x5620d1f8ab83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x5620d1f8ab83 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 0x5620d1f8ab83 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 0x5620d02ea758 in NotifyClientOnReceiveRedirect content/common/throttling_url_loader_unittest.cc:74:18 #5 0x5620d02ea758 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:609:0 #6 0x5620d447a792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x5620d447a792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #8 0x5620d447e2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #9 0x5620d447ff39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #10 0x5620d44bb969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #11 0x5620d44b9fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x5620d44b9fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #13 0x5620db8b87da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #14 0x5620db8b87da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #15 0x5620db73e54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #16 0x5620db916479 in Run base/callback.h:97:12 #17 0x5620db916479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #18 0x5620db915bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #19 0x5620db5d87d5 in main content/test/run_all_unittests.cc:14:10 #20 0x7f5889dadf44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'info.i' in the stack frame of function '_ZN7content12_GLOBAL__N_156ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test8TestBodyEv' #0 0x5620d02ea050 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:590:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting [ RUN ] ThrottlingURLLoaderTest.ModifyHeadersBeforeRedirect Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7fff341ef928, 4) ==7221==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x56231203923e in WriteBytesCommon base/pickle.cc:430:3 #1 0x56231203923e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x562313e54a00 in WritePOD<int> base/pickle.h:327:5 #3 0x562313e54a00 in WriteInt base/pickle.h:190:0 #4 0x562313e54a00 in WriteBool base/pickle.h:189:0 #5 0x562313e54a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x562313e54a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x562313e54a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x562305cfdb83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x562305cfdb83 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 0x562305cfdb83 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 0x56230405d758 in NotifyClientOnReceiveRedirect content/common/throttling_url_loader_unittest.cc:74:18 #12 0x56230405d758 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:609:0 #13 0x5623081ed792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x5623081ed792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #15 0x5623081f12fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #16 0x5623081f2f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #17 0x56230822e969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #18 0x56230822cfa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #19 0x56230822cfa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #20 0x56230f62b7da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #21 0x56230f62b7da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #22 0x56230f4b154f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #23 0x56230f689479 in Run base/callback.h:97:12 #24 0x56230f689479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #25 0x56230f688bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #26 0x56230f34b7d5 in main content/test/run_all_unittests.cc:14:10 #27 0x7f7911d4ef44 in __libc_start_main ??:0:0 #28 0x5622ff5b2029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x562313e54c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x562305cfdb83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x562305cfdb83 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 0x562305cfdb83 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 0x56230405d758 in NotifyClientOnReceiveRedirect content/common/throttling_url_loader_unittest.cc:74:18 #5 0x56230405d758 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:609:0 #6 0x5623081ed792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x5623081ed792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #8 0x5623081f12fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #9 0x5623081f2f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #10 0x56230822e969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #11 0x56230822cfa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x56230822cfa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #13 0x56230f62b7da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #14 0x56230f62b7da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #15 0x56230f4b154f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #16 0x56230f689479 in Run base/callback.h:97:12 #17 0x56230f689479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #18 0x56230f688bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #19 0x56230f34b7d5 in main content/test/run_all_unittests.cc:14:10 #20 0x7f7911d4ef44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'info.i' in the stack frame of function '_ZN7content12_GLOBAL__N_156ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test8TestBodyEv' #0 0x56230405d050 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:590:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting [ RUN ] ThrottlingURLLoaderTest.ModifyHeadersBeforeRedirect Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffe7e5af058, 4) ==7285==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x56394956523e in WriteBytesCommon base/pickle.cc:430:3 #1 0x56394956523e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x56394b380a00 in WritePOD<int> base/pickle.h:327:5 #3 0x56394b380a00 in WriteInt base/pickle.h:190:0 #4 0x56394b380a00 in WriteBool base/pickle.h:189:0 #5 0x56394b380a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x56394b380a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x56394b380a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x56393d229b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x56393d229b83 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 0x56393d229b83 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 0x56393b589758 in NotifyClientOnReceiveRedirect content/common/throttling_url_loader_unittest.cc:74:18 #12 0x56393b589758 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:609:0 #13 0x56393f719792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #14 0x56393f719792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #15 0x56393f71d2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #16 0x56393f71ef39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #17 0x56393f75a969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #18 0x56393f758fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #19 0x56393f758fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #20 0x563946b577da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #21 0x563946b577da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #22 0x5639469dd54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #23 0x563946bb5479 in Run base/callback.h:97:12 #24 0x563946bb5479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #25 0x563946bb4bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #26 0x5639468777d5 in main content/test/run_all_unittests.cc:14:10 #27 0x7f7df57f4f44 in __libc_start_main ??:0:0 #28 0x563936ade029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x56394b380c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x56393d229b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x56393d229b83 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 0x56393d229b83 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 0x56393b589758 in NotifyClientOnReceiveRedirect content/common/throttling_url_loader_unittest.cc:74:18 #5 0x56393b589758 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:609:0 #6 0x56393f719792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #7 0x56393f719792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #8 0x56393f71d2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #9 0x56393f71ef39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #10 0x56393f75a969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #11 0x56393f758fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #12 0x56393f758fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #13 0x563946b577da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #14 0x563946b577da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #15 0x5639469dd54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #16 0x563946bb5479 in Run base/callback.h:97:12 #17 0x563946bb5479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #18 0x563946bb4bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #19 0x5639468777d5 in main content/test/run_all_unittests.cc:14:10 #20 0x7f7df57f4f44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'info.i' in the stack frame of function '_ZN7content12_GLOBAL__N_156ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test8TestBodyEv' #0 0x56393b589050 in content::(anonymous namespace)::ThrottlingURLLoaderTest_ModifyHeadersBeforeRedirect_Test::TestBody() content/common/throttling_url_loader_unittest.cc:590:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting ================================================================================