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

Test 'ServiceWorkerNewScriptLoaderTest.Error_Redirect' completed with the following status(es): 'CRASH','CRASH','CRASH','CRASH' Test 'ServiceWorkerNewScriptLoaderTest.Error_Redirect' had the following logs when run: ================================================================================ [ RUN ] ServiceWorkerNewScriptLoaderTest.Error_Redirect Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7fff6a2506d8, 4) ==29856==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x556337ff523e in WriteBytesCommon base/pickle.cc:430:3 #1 0x556337ff523e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x556339e10a00 in WritePOD<int> base/pickle.h:327:5 #3 0x556339e10a00 in WriteInt base/pickle.h:190:0 #4 0x556339e10a00 in WriteBool base/pickle.h:189:0 #5 0x556339e10a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x556339e10a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x556339e10a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x55632bcb9b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x55632bcb9b83 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 0x55632bcb9b83 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 0x556329439862 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:104:15 #12 0x5563347588ec in content::URLLoaderFactoryGetter::URLLoaderFactoryForIOThread::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/url_loader_factory_getter.cc:84:11 #13 0x55633451cd6e in content::ServiceWorkerNewScriptLoader::ServiceWorkerNewScriptLoader(int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader.cc:133:20 #14 0x556329435cdd in std::__1::__unique_if<content::ServiceWorkerNewScriptLoader>::__unique_single std::__1::make_unique<content::ServiceWorkerNewScriptLoader, int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag>(int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>&&, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>&&, net::MutableNetworkTrafficAnnotationTag&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 #15 0x55632940bea2 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest::DoRequest(GURL const&, std::__1::unique_ptr<network::TestURLLoaderClient, std::__1::default_delete<network::TestURLLoaderClient> >*, std::__1::unique_ptr<content::ServiceWorkerNewScriptLoader, std::__1::default_delete<content::ServiceWorkerNewScriptLoader> >*) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:247:19 #16 0x5563294169d5 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest_Error_Redirect_Test::TestBody() content/browser/service_worker/service_worker_new_script_loader_unittest.cc:436:3 #17 0x55632e1a9792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #18 0x55632e1a9792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #19 0x55632e1ad2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #20 0x55632e1aef39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #21 0x55632e1ea969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #22 0x55632e1e8fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #23 0x55632e1e8fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #24 0x5563355e77da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #25 0x5563355e77da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #26 0x55633546d54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #27 0x556335645479 in Run base/callback.h:97:12 #28 0x556335645479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #29 0x556335644bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #30 0x5563353077d5 in main content/test/run_all_unittests.cc:14:10 #31 0x7fd80ffa7f44 in __libc_start_main ??:0:0 #32 0x55632556e029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x556339e10c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x55632bcb9b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x55632bcb9b83 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 0x55632bcb9b83 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 0x556329439862 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:104:15 #5 0x5563347588ec in content::URLLoaderFactoryGetter::URLLoaderFactoryForIOThread::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/url_loader_factory_getter.cc:84:11 #6 0x55633451cd6e in content::ServiceWorkerNewScriptLoader::ServiceWorkerNewScriptLoader(int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader.cc:133:20 #7 0x556329435cdd in std::__1::__unique_if<content::ServiceWorkerNewScriptLoader>::__unique_single std::__1::make_unique<content::ServiceWorkerNewScriptLoader, int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag>(int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>&&, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>&&, net::MutableNetworkTrafficAnnotationTag&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 #8 0x55632940bea2 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest::DoRequest(GURL const&, std::__1::unique_ptr<network::TestURLLoaderClient, std::__1::default_delete<network::TestURLLoaderClient> >*, std::__1::unique_ptr<content::ServiceWorkerNewScriptLoader, std::__1::default_delete<content::ServiceWorkerNewScriptLoader> >*) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:247:19 #9 0x5563294169d5 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest_Error_Redirect_Test::TestBody() content/browser/service_worker/service_worker_new_script_loader_unittest.cc:436:3 #10 0x55632e1a9792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55632e1a9792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #12 0x55632e1ad2fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #13 0x55632e1aef39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #14 0x55632e1ea969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #15 0x55632e1e8fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x55632e1e8fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #17 0x5563355e77da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #18 0x5563355e77da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #19 0x55633546d54f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #20 0x556335645479 in Run base/callback.h:97:12 #21 0x556335645479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #22 0x556335644bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #23 0x5563353077d5 in main content/test/run_all_unittests.cc:14:10 #24 0x7fd80ffa7f44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'ref.tmp21' in the stack frame of function '_ZN7content41service_worker_new_script_loader_unittest27MockNetworkURLLoaderFactory20CreateLoaderAndStartEN4mojo16InterfaceRequestIN7network5mojom9URLLoaderEEEiijRKNS4_15ResourceRequestENS2_12InterfacePtrINS5_15URLLoaderClientEEERKN3net34MutableNetworkTrafficAnnotationTagE' #0 0x556329438ea0 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:85:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting [ RUN ] ServiceWorkerNewScriptLoaderTest.Error_Redirect Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffdc7226e88, 4) ==7185==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x55b8a526f23e in WriteBytesCommon base/pickle.cc:430:3 #1 0x55b8a526f23e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x55b8a708aa00 in WritePOD<int> base/pickle.h:327:5 #3 0x55b8a708aa00 in WriteInt base/pickle.h:190:0 #4 0x55b8a708aa00 in WriteBool base/pickle.h:189:0 #5 0x55b8a708aa00 in Write ipc/ipc_message_utils.h:133:0 #6 0x55b8a708aa00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x55b8a708aa00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x55b898f33b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x55b898f33b83 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 0x55b898f33b83 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 0x55b8966b3862 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:104:15 #12 0x55b8a19d28ec in content::URLLoaderFactoryGetter::URLLoaderFactoryForIOThread::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/url_loader_factory_getter.cc:84:11 #13 0x55b8a1796d6e in content::ServiceWorkerNewScriptLoader::ServiceWorkerNewScriptLoader(int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader.cc:133:20 #14 0x55b8966afcdd in std::__1::__unique_if<content::ServiceWorkerNewScriptLoader>::__unique_single std::__1::make_unique<content::ServiceWorkerNewScriptLoader, int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag>(int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>&&, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>&&, net::MutableNetworkTrafficAnnotationTag&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 #15 0x55b896685ea2 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest::DoRequest(GURL const&, std::__1::unique_ptr<network::TestURLLoaderClient, std::__1::default_delete<network::TestURLLoaderClient> >*, std::__1::unique_ptr<content::ServiceWorkerNewScriptLoader, std::__1::default_delete<content::ServiceWorkerNewScriptLoader> >*) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:247:19 #16 0x55b8966909d5 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest_Error_Redirect_Test::TestBody() content/browser/service_worker/service_worker_new_script_loader_unittest.cc:436:3 #17 0x55b89b423792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #18 0x55b89b423792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #19 0x55b89b4272fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #20 0x55b89b428f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #21 0x55b89b464969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #22 0x55b89b462fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #23 0x55b89b462fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #24 0x55b8a28617da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #25 0x55b8a28617da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #26 0x55b8a26e754f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #27 0x55b8a28bf479 in Run base/callback.h:97:12 #28 0x55b8a28bf479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #29 0x55b8a28bebd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #30 0x55b8a25817d5 in main content/test/run_all_unittests.cc:14:10 #31 0x7f8b60787f44 in __libc_start_main ??:0:0 #32 0x55b8927e8029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x55b8a708ac0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x55b898f33b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x55b898f33b83 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 0x55b898f33b83 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 0x55b8966b3862 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:104:15 #5 0x55b8a19d28ec in content::URLLoaderFactoryGetter::URLLoaderFactoryForIOThread::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/url_loader_factory_getter.cc:84:11 #6 0x55b8a1796d6e in content::ServiceWorkerNewScriptLoader::ServiceWorkerNewScriptLoader(int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader.cc:133:20 #7 0x55b8966afcdd in std::__1::__unique_if<content::ServiceWorkerNewScriptLoader>::__unique_single std::__1::make_unique<content::ServiceWorkerNewScriptLoader, int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag>(int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>&&, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>&&, net::MutableNetworkTrafficAnnotationTag&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 #8 0x55b896685ea2 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest::DoRequest(GURL const&, std::__1::unique_ptr<network::TestURLLoaderClient, std::__1::default_delete<network::TestURLLoaderClient> >*, std::__1::unique_ptr<content::ServiceWorkerNewScriptLoader, std::__1::default_delete<content::ServiceWorkerNewScriptLoader> >*) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:247:19 #9 0x55b8966909d5 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest_Error_Redirect_Test::TestBody() content/browser/service_worker/service_worker_new_script_loader_unittest.cc:436:3 #10 0x55b89b423792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55b89b423792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #12 0x55b89b4272fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #13 0x55b89b428f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #14 0x55b89b464969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #15 0x55b89b462fa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x55b89b462fa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #17 0x55b8a28617da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #18 0x55b8a28617da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #19 0x55b8a26e754f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #20 0x55b8a28bf479 in Run base/callback.h:97:12 #21 0x55b8a28bf479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #22 0x55b8a28bebd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55b8a25817d5 in main content/test/run_all_unittests.cc:14:10 #24 0x7f8b60787f44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'ref.tmp21' in the stack frame of function '_ZN7content41service_worker_new_script_loader_unittest27MockNetworkURLLoaderFactory20CreateLoaderAndStartEN4mojo16InterfaceRequestIN7network5mojom9URLLoaderEEEiijRKNS4_15ResourceRequestENS2_12InterfacePtrINS5_15URLLoaderClientEEERKN3net34MutableNetworkTrafficAnnotationTagE' #0 0x55b8966b2ea0 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:85:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting [ RUN ] ServiceWorkerNewScriptLoaderTest.Error_Redirect Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7ffe20fdf3a8, 4) ==7249==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x5609de56c23e in WriteBytesCommon base/pickle.cc:430:3 #1 0x5609de56c23e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x5609e0387a00 in WritePOD<int> base/pickle.h:327:5 #3 0x5609e0387a00 in WriteInt base/pickle.h:190:0 #4 0x5609e0387a00 in WriteBool base/pickle.h:189:0 #5 0x5609e0387a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x5609e0387a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x5609e0387a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x5609d2230b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x5609d2230b83 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 0x5609d2230b83 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 0x5609cf9b0862 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:104:15 #12 0x5609daccf8ec in content::URLLoaderFactoryGetter::URLLoaderFactoryForIOThread::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/url_loader_factory_getter.cc:84:11 #13 0x5609daa93d6e in content::ServiceWorkerNewScriptLoader::ServiceWorkerNewScriptLoader(int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader.cc:133:20 #14 0x5609cf9accdd in std::__1::__unique_if<content::ServiceWorkerNewScriptLoader>::__unique_single std::__1::make_unique<content::ServiceWorkerNewScriptLoader, int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag>(int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>&&, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>&&, net::MutableNetworkTrafficAnnotationTag&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 #15 0x5609cf982ea2 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest::DoRequest(GURL const&, std::__1::unique_ptr<network::TestURLLoaderClient, std::__1::default_delete<network::TestURLLoaderClient> >*, std::__1::unique_ptr<content::ServiceWorkerNewScriptLoader, std::__1::default_delete<content::ServiceWorkerNewScriptLoader> >*) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:247:19 #16 0x5609cf98d9d5 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest_Error_Redirect_Test::TestBody() content/browser/service_worker/service_worker_new_script_loader_unittest.cc:436:3 #17 0x5609d4720792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #18 0x5609d4720792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #19 0x5609d47242fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #20 0x5609d4725f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #21 0x5609d4761969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #22 0x5609d475ffa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #23 0x5609d475ffa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #24 0x5609dbb5e7da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #25 0x5609dbb5e7da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #26 0x5609db9e454f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #27 0x5609dbbbc479 in Run base/callback.h:97:12 #28 0x5609dbbbc479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #29 0x5609dbbbbbd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #30 0x5609db87e7d5 in main content/test/run_all_unittests.cc:14:10 #31 0x7f5431bf5f44 in __libc_start_main ??:0:0 #32 0x5609cbae5029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x5609e0387c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x5609d2230b83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x5609d2230b83 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 0x5609d2230b83 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 0x5609cf9b0862 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:104:15 #5 0x5609daccf8ec in content::URLLoaderFactoryGetter::URLLoaderFactoryForIOThread::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/url_loader_factory_getter.cc:84:11 #6 0x5609daa93d6e in content::ServiceWorkerNewScriptLoader::ServiceWorkerNewScriptLoader(int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader.cc:133:20 #7 0x5609cf9accdd in std::__1::__unique_if<content::ServiceWorkerNewScriptLoader>::__unique_single std::__1::make_unique<content::ServiceWorkerNewScriptLoader, int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag>(int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>&&, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>&&, net::MutableNetworkTrafficAnnotationTag&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 #8 0x5609cf982ea2 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest::DoRequest(GURL const&, std::__1::unique_ptr<network::TestURLLoaderClient, std::__1::default_delete<network::TestURLLoaderClient> >*, std::__1::unique_ptr<content::ServiceWorkerNewScriptLoader, std::__1::default_delete<content::ServiceWorkerNewScriptLoader> >*) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:247:19 #9 0x5609cf98d9d5 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest_Error_Redirect_Test::TestBody() content/browser/service_worker/service_worker_new_script_loader_unittest.cc:436:3 #10 0x5609d4720792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x5609d4720792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #12 0x5609d47242fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #13 0x5609d4725f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #14 0x5609d4761969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #15 0x5609d475ffa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x5609d475ffa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #17 0x5609dbb5e7da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #18 0x5609dbb5e7da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #19 0x5609db9e454f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #20 0x5609dbbbc479 in Run base/callback.h:97:12 #21 0x5609dbbbc479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #22 0x5609dbbbbbd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #23 0x5609db87e7d5 in main content/test/run_all_unittests.cc:14:10 #24 0x7f5431bf5f44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'ref.tmp21' in the stack frame of function '_ZN7content41service_worker_new_script_loader_unittest27MockNetworkURLLoaderFactory20CreateLoaderAndStartEN4mojo16InterfaceRequestIN7network5mojom9URLLoaderEEEiijRKNS4_15ResourceRequestENS2_12InterfacePtrINS5_15URLLoaderClientEEERKN3net34MutableNetworkTrafficAnnotationTagE' #0 0x5609cf9afea0 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:85:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting [ RUN ] ServiceWorkerNewScriptLoaderTest.Error_Redirect Uninitialized bytes in __msan_check_mem_is_initialized at offset 0 inside [0x7fff02b45958, 4) ==7313==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x55c5850d823e in WriteBytesCommon base/pickle.cc:430:3 #1 0x55c5850d823e in void base::Pickle::WriteBytesStatic<4ul>(void const*) base/pickle.cc:395:0 #2 0x55c586ef3a00 in WritePOD<int> base/pickle.h:327:5 #3 0x55c586ef3a00 in WriteInt base/pickle.h:190:0 #4 0x55c586ef3a00 in WriteBool base/pickle.h:189:0 #5 0x55c586ef3a00 in Write ipc/ipc_message_utils.h:133:0 #6 0x55c586ef3a00 in WriteParam<bool> ipc/ipc_message_utils.h:111:0 #7 0x55c586ef3a00 in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) services/network/public/cpp/net_ipc_param_traits.h:281:0 #8 0x55c578d9cb83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #9 0x55c578d9cb83 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 0x55c578d9cb83 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 0x55c57651c862 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:104:15 #12 0x55c58183b8ec in content::URLLoaderFactoryGetter::URLLoaderFactoryForIOThread::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/url_loader_factory_getter.cc:84:11 #13 0x55c5815ffd6e in content::ServiceWorkerNewScriptLoader::ServiceWorkerNewScriptLoader(int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader.cc:133:20 #14 0x55c576518cdd in std::__1::__unique_if<content::ServiceWorkerNewScriptLoader>::__unique_single std::__1::make_unique<content::ServiceWorkerNewScriptLoader, int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag>(int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>&&, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>&&, net::MutableNetworkTrafficAnnotationTag&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 #15 0x55c5764eeea2 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest::DoRequest(GURL const&, std::__1::unique_ptr<network::TestURLLoaderClient, std::__1::default_delete<network::TestURLLoaderClient> >*, std::__1::unique_ptr<content::ServiceWorkerNewScriptLoader, std::__1::default_delete<content::ServiceWorkerNewScriptLoader> >*) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:247:19 #16 0x55c5764f99d5 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest_Error_Redirect_Test::TestBody() content/browser/service_worker/service_worker_new_script_loader_unittest.cc:436:3 #17 0x55c57b28c792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #18 0x55c57b28c792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #19 0x55c57b2902fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #20 0x55c57b291f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #21 0x55c57b2cd969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #22 0x55c57b2cbfa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #23 0x55c57b2cbfa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #24 0x55c5826ca7da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #25 0x55c5826ca7da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #26 0x55c58255054f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #27 0x55c582728479 in Run base/callback.h:97:12 #28 0x55c582728479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #29 0x55c582727bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #30 0x55c5823ea7d5 in main content/test/run_all_unittests.cc:14:10 #31 0x7ffa8582cf44 in __libc_start_main ??:0:0 #32 0x55c572651029 in _start ??:0:0 Uninitialized value was stored to memory at #0 0x55c586ef3c0d in IPC::ParamTraits<net::RedirectInfo>::Write(base::Pickle*, net::RedirectInfo const&) base/strings/string_piece.h:0:27 #1 0x55c578d9cb83 in Serialize mojo/public/cpp/bindings/lib/native_struct_serialization.h:66:5 #2 0x55c578d9cb83 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 0x55c578d9cb83 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 0x55c57651c862 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:104:15 #5 0x55c58183b8ec in content::URLLoaderFactoryGetter::URLLoaderFactoryForIOThread::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/url_loader_factory_getter.cc:84:11 #6 0x55c5815ffd6e in content::ServiceWorkerNewScriptLoader::ServiceWorkerNewScriptLoader(int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader.cc:133:20 #7 0x55c576518cdd in std::__1::__unique_if<content::ServiceWorkerNewScriptLoader>::__unique_single std::__1::make_unique<content::ServiceWorkerNewScriptLoader, int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>, net::MutableNetworkTrafficAnnotationTag>(int&, int&, unsigned int&, network::ResourceRequest&, mojo::InterfacePtr<network::mojom::URLLoaderClient>&&, scoped_refptr<content::ServiceWorkerVersion>&, scoped_refptr<network::SharedURLLoaderFactory>&&, net::MutableNetworkTrafficAnnotationTag&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 #8 0x55c5764eeea2 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest::DoRequest(GURL const&, std::__1::unique_ptr<network::TestURLLoaderClient, std::__1::default_delete<network::TestURLLoaderClient> >*, std::__1::unique_ptr<content::ServiceWorkerNewScriptLoader, std::__1::default_delete<content::ServiceWorkerNewScriptLoader> >*) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:247:19 #9 0x55c5764f99d5 in content::service_worker_new_script_loader_unittest::ServiceWorkerNewScriptLoaderTest_Error_Redirect_Test::TestBody() content/browser/service_worker/service_worker_new_script_loader_unittest.cc:436:3 #10 0x55c57b28c792 in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:0:0 #11 0x55c57b28c792 in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499:0 #12 0x55c57b2902fc in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 #13 0x55c57b291f39 in testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 #14 0x55c57b2cd969 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 #15 0x55c57b2cbfa8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:0:0 #16 0x55c57b2cbfa8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845:0 #17 0x55c5826ca7da in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2504:46 #18 0x55c5826ca7da in base::TestSuite::Run() base/test/test_suite.cc:293:0 #19 0x55c58255054f in content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 #20 0x55c582728479 in Run base/callback.h:97:12 #21 0x55c582728479 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225:0 #22 0x55c582727bd7 in base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 #23 0x55c5823ea7d5 in main content/test/run_all_unittests.cc:14:10 #24 0x7ffa8582cf44 in __libc_start_main ??:0:0 Uninitialized value was created by an allocation of 'ref.tmp21' in the stack frame of function '_ZN7content41service_worker_new_script_loader_unittest27MockNetworkURLLoaderFactory20CreateLoaderAndStartEN4mojo16InterfaceRequestIN7network5mojom9URLLoaderEEEiijRKNS4_15ResourceRequestENS2_12InterfacePtrINS5_15URLLoaderClientEEERKN3net34MutableNetworkTrafficAnnotationTagE' #0 0x55c57651bea0 in content::service_worker_new_script_loader_unittest::MockNetworkURLLoaderFactory::CreateLoaderAndStart(mojo::InterfaceRequest<network::mojom::URLLoader>, int, int, unsigned int, network::ResourceRequest const&, mojo::InterfacePtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) content/browser/service_worker/service_worker_new_script_loader_unittest.cc:85:0 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/content_unittests+0x1502c23e) Exiting ================================================================================