New issue
Advanced search Search tips

Issue 826055 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Flaky mus_browser_tests: PDFTestFiles/PDFExtensionTest.Load/5 on chromium.memory/Linux Chromium OS ASan LSan Tests (1)

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Mar 26 2018

Issue description

Filed by sheriff-o-matic@appspot.gserviceaccount.com on behalf of rogerm@chromium.org

mus_browser_tests failing on chromium.memory/Linux Chromium OS ASan LSan Tests (1)

Builders failed on: 
- Linux Chromium OS ASan LSan Tests (1): 
  https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29

PDFTestFiles/PDFExtensionTest.Load/5



 
Components: Blink>CSS
Labels: Type-Bug
Sample leaks from https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.memory%2FLinux_Chromium_OS_ASan_LSan_Tests__1_%2F26749%2F%2B%2Frecipes%2Fsteps%2Fmus_browser_tests%2F0%2Flogs%2FPDFTestFiles__x2f_PDFExtensionTest.Load__x2f_5%2F0:


=================================================================
==23184==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 43368 byte(s) in 417 object(s) allocated from:
    #0 0x9a1dc3 in __interceptor_malloc /b/build/slave/linux_upload_clang/build/src/third_party/llvm/compiler-rt/lib/asan/asan_malloc_linux.cc:88:3
    #1 0xbd00da0 in PartitionAllocGenericFlags base/allocator/partition_allocator/partition_alloc.h:947:18
    #2 0xbd00da0 in Alloc base/allocator/partition_allocator/partition_alloc.h:967
    #3 0xbd00da0 in WTF::Partitions::FastMalloc(unsigned long, char const*) third_party/WebKit/Source/platform/wtf/allocator/Partitions.h:121
    #4 0x1bdd20a6 in operator new third_party/WebKit/Source/core/css/CSSVariableData.h:21:3
    #5 0x1bdd20a6 in Create third_party/WebKit/Source/core/css/CSSVariableData.h:30
    #6 0x1bdd20a6 in blink::CSSVariableParser::ParseDeclarationValue(WTF::AtomicString const&, blink::CSSParserTokenRange, bool) third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp:132
    #7 0x1bd59741 in blink::CSSParserImpl::ConsumeVariableValue(blink::CSSParserTokenRange, WTF::AtomicString const&, bool, bool) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:970:11
    #8 0x1bd66dd2 in blink::CSSParserImpl::ConsumeDeclaration(blink::CSSParserTokenRange, blink::CSSParserImpl::RangeOffset const&, blink::StyleRuleBase::RuleType) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:946:5
    #9 0x1bd5b2cc in blink::CSSParserImpl::ConsumeDeclarationList(blink::CSSParserTokenStream&, blink::StyleRuleBase::RuleType) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:875:9
    #10 0x1bd7031a in blink::CSSParserImpl::ConsumeStyleRule(blink::CSSParserTokenStream&) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:827:3
    #11 0x1bd60d8e in blink::CSSParserImpl::ConsumeQualifiedRule(blink::CSSParserTokenStream&, blink::CSSParserImpl::AllowedRulesType) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:528:12
    #12 0x1bd61daf in ConsumeRuleList<(lambda at ../../third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:263:34)> third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:441:16
    #13 0x1bd61daf in blink::CSSParserImpl::ParseStyleSheet(WTF::String const&, blink::CSSParserContext const*, blink::StyleSheetContents*, bool) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:262
    #14 0x1bb3c414 in ParseSheet third_party/WebKit/Source/core/css/StyleEngine.cpp:700:28
    #15 0x1bb3c414 in blink::StyleEngine::CreateSheet(blink::Element&, WTF::String const&, WTF::TextPosition, blink::StyleEngineContext&) third_party/WebKit/Source/core/css/StyleEngine.cpp:669
    #16 0x23a1ab1d in blink::StyleElement::CreateSheet(blink::Element&, WTF::String const&) third_party/WebKit/Source/core/css/StyleElement.cpp:166:43
    #17 0x23a1958e in Process third_party/WebKit/Source/core/css/StyleElement.cpp:110:10
    #18 0x23a1958e in blink::StyleElement::ProcessStyleSheet(blink::Document&, blink::Element&) third_party/WebKit/Source/core/css/StyleElement.cpp:74
    #19 0x1ce2f473 in blink::HTMLStyleElement::DidNotifySubtreeInsertionsToDocument() third_party/WebKit/Source/core/html/HTMLStyleElement.cpp:89:21
    #20 0x1c07e102 in blink::ContainerNode::DidInsertNodeVector(blink::HeapVector<blink::Member<blink::Node>, 11ul> const&, blink::Node*, blink::HeapVector<blink::Member<blink::Node>, 11ul> const&) third_party/WebKit/Source/core/dom/ContainerNode.cpp:340:19
    #21 0x1c080349 in blink::ContainerNode::AppendChild(blink::Node*, blink::ExceptionState&) third_party/WebKit/Source/core/dom/ContainerNode.cpp:837:3
    #22 0x1c2f03e3 in blink::Node::appendChild(blink::Node*, blink::ExceptionState&) third_party/WebKit/Source/core/dom/Node.cpp:478:35
    #23 0x1abf8487 in appendChildMethodForMainWorld gen/blink/bindings/core/v8/V8Node.cpp:588:24
    #24 0x1abf8487 in blink::V8Node::appendChildMethodCallbackForMainWorld(v8::FunctionCallbackInfo<v8::Value> const&) gen/blink/bindings/core/v8/V8Node.cpp:937
    #25 0xbea0f17 in v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) v8/src/api-arguments.cc:29:3
    #26 0xc0f4c9b in v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) v8/src/builtins/builtins-api.cc:107:36
    #27 0xc0f0e09 in v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) v8/src/builtins/builtins-api.cc:137:5
    #28 0xc0eff9d in v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) v8/src/builtins/builtins-api.cc:125:1


Direct leak of 43368 byte(s) in 417 object(s) allocated from:
    #0 0x9a1dc3 in __interceptor_malloc /b/build/slave/linux_upload_clang/build/src/third_party/llvm/compiler-rt/lib/asan/asan_malloc_linux.cc:88:3
    #1 0xbd00da0 in PartitionAllocGenericFlags base/allocator/partition_allocator/partition_alloc.h:947:18
    #2 0xbd00da0 in Alloc base/allocator/partition_allocator/partition_alloc.h:967
    #3 0xbd00da0 in WTF::Partitions::FastMalloc(unsigned long, char const*) third_party/WebKit/Source/platform/wtf/allocator/Partitions.h:121
    #4 0x1bdd20a6 in operator new third_party/WebKit/Source/core/css/CSSVariableData.h:21:3
    #5 0x1bdd20a6 in Create third_party/WebKit/Source/core/css/CSSVariableData.h:30
    #6 0x1bdd20a6 in blink::CSSVariableParser::ParseDeclarationValue(WTF::AtomicString const&, blink::CSSParserTokenRange, bool) third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp:132
    #7 0x1bd59741 in blink::CSSParserImpl::ConsumeVariableValue(blink::CSSParserTokenRange, WTF::AtomicString const&, bool, bool) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:970:11
    #8 0x1bd66dd2 in blink::CSSParserImpl::ConsumeDeclaration(blink::CSSParserTokenRange, blink::CSSParserImpl::RangeOffset const&, blink::StyleRuleBase::RuleType) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:946:5
    #9 0x1bd5b2cc in blink::CSSParserImpl::ConsumeDeclarationList(blink::CSSParserTokenStream&, blink::StyleRuleBase::RuleType) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:875:9
    #10 0x1bd7031a in blink::CSSParserImpl::ConsumeStyleRule(blink::CSSParserTokenStream&) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:827:3
    #11 0x1bd60d8e in blink::CSSParserImpl::ConsumeQualifiedRule(blink::CSSParserTokenStream&, blink::CSSParserImpl::AllowedRulesType) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:528:12
    #12 0x1bd61daf in ConsumeRuleList<(lambda at ../../third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:263:34)> third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:441:16
    #13 0x1bd61daf in blink::CSSParserImpl::ParseStyleSheet(WTF::String const&, blink::CSSParserContext const*, blink::StyleSheetContents*, bool) third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp:262
    #14 0x1bb3c414 in ParseSheet third_party/WebKit/Source/core/css/StyleEngine.cpp:700:28
    #15 0x1bb3c414 in blink::StyleEngine::CreateSheet(blink::Element&, WTF::String const&, WTF::TextPosition, blink::StyleEngineContext&) third_party/WebKit/Source/core/css/StyleEngine.cpp:669
    #16 0x23a1ab1d in blink::StyleElement::CreateSheet(blink::Element&, WTF::String const&) third_party/WebKit/Source/core/css/StyleElement.cpp:166:43
    #17 0x23a1a1f8 in Process third_party/WebKit/Source/core/css/StyleElement.cpp:110:10
    #18 0x23a1a1f8 in blink::StyleElement::FinishParsingChildren(blink::Element&) third_party/WebKit/Source/core/css/StyleElement.cpp:102
    #19 0x1ce2ec68 in blink::HTMLStyleElement::FinishParsingChildren() third_party/WebKit/Source/core/html/HTMLStyleElement.cpp:70:21
    #20 0x1d01932d in blink::HTMLElementStack::PopCommon() third_party/WebKit/Source/core/html/parser/HTMLElementStack.cpp:501:10
    #21 0x1d01a12b in blink::HTMLElementStack::Pop() third_party/WebKit/Source/core/html/parser/HTMLElementStack.cpp:179:3
    #22 0x1cf681b8 in blink::HTMLTreeBuilder::ProcessEndTag(blink::AtomicHTMLToken*) third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp:2050:29
    #23 0x1cf4c5b7 in blink::HTMLTreeBuilder::ProcessToken(blink::AtomicHTMLToken*) third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp:359:7
    #24 0x1cf4450c in blink::HTMLTreeBuilder::ConstructTree(blink::AtomicHTMLToken*) third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp:313:5
    #25 0x1ce56164 in blink::HTMLDocumentParser::ConstructTreeFromCompactHTMLToken(blink::CompactHTMLToken const&) third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:750:18
    #26 0x1ce540fa in blink::HTMLDocumentParser::ProcessTokenizedChunkFromBackgroundParser(std::__1::unique_ptr<blink::HTMLDocumentParser::TokenizedChunk, std::__1::default_delete<blink::HTMLDocumentParser::TokenizedChunk> >) third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:534:5
    #27 0x1ce4c8a5 in blink::HTMLDocumentParser::PumpPendingSpeculations() third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:608:9
    #28 0x1ce4bac5 in blink::HTMLDocumentParser::ResumeParsingAfterYield() third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:274:3
    #29 0xe134cf0 in Run base/callback.h:95:12
    #30 0xe134cf0 in RunInternal third_party/WebKit/Source/platform/wtf/Functional.h:258
    #31 0xe134cf0 in WTF::ThreadCheckingCallbackWrapper<base::OnceCallback<void ()>, void ()>::Run() third_party/WebKit/Source/platform/wtf/Functional.h:245
    #32 0x1b2d518a in Run base/callback.h:95:12
    #33 0x1b2d518a in blink::TaskHandle::Runner::Run(blink::TaskHandle const&) third_party/WebKit/Source/platform/WebTaskRunner.cpp:75
    #34 0x1b2d6339 in Invoke<base::WeakPtr<blink::TaskHandle::Runner>, blink::TaskHandle> base/bind_internal.h:447:12
    #35 0x1b2d6339 in MakeItSo<void (blink::TaskHandle::Runner::*)(const blink::TaskHandle &), base::WeakPtr<blink::TaskHandle::Runner>, blink::TaskHandle> base/bind_internal.h:550
    #36 0x1b2d6339 in RunImpl<void (blink::TaskHandle::Runner::*)(const blink::TaskHandle &), std::__1::tuple<base::WeakPtr<blink::TaskHandle::Runner>, blink::TaskHandle>, 0, 1> base/bind_internal.h:604
    #37 0x1b2d6339 in base::internal::Invoker<base::internal::BindState<void (blink::TaskHandle::Runner::*)(blink::TaskHandle const&), base::WeakPtr<blink::TaskHandle::Runner>, blink::TaskHandle>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:572
    #38 0xe134cf0 in Run base/callback.h:95:12


Direct leak of 14592 byte(s) in 63 object(s) allocated from:
    #0 0x9a1dc3 in __interceptor_malloc /b/build/slave/linux_upload_clang/build/src/third_party/llvm/compiler-rt/lib/asan/asan_malloc_linux.cc:88:3
    #1 0x1a8a9430 in PartitionAllocGenericFlags base/allocator/partition_allocator/partition_alloc.h:947:18
    #2 0x1a8a9430 in Alloc base/allocator/partition_allocator/partition_alloc.h:967
    #3 0x1a8a9430 in BufferMalloc third_party/WebKit/Source/platform/wtf/allocator/Partitions.h:109
    #4 0x1a8a9430 in WTF::PartitionAllocator::AllocateBacking(unsigned long, char const*) third_party/WebKit/Source/platform/wtf/allocator/PartitionAllocator.cpp:13
    #5 0xe1bcab0 in AllocateZeroedHashTableBacking<WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::HashTable<WTF::AtomicString, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::KeyValuePairKeyExtractor, WTF::CaseFoldingHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::AtomicString> >, WTF::HashTraits<WTF::AtomicString>, WTF::PartitionAllocator> > third_party/WebKit/Source/platform/wtf/allocator/PartitionAllocator.h:81:20
    #6 0xe1bcab0 in AllocateTable third_party/WebKit/Source/platform/wtf/HashTable.h:1588
    #7 0xe1bcab0 in WTF::HashTable<WTF::AtomicString, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::KeyValuePairKeyExtractor, WTF::CaseFoldingHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::AtomicString> >, WTF::HashTraits<WTF::AtomicString>, WTF::PartitionAllocator>::Rehash(unsigned int, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>*) third_party/WebKit/Source/platform/wtf/HashTable.h:1805
    #8 0xe1bc90c in WTF::HashTable<WTF::AtomicString, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::KeyValuePairKeyExtractor, WTF::CaseFoldingHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::AtomicString> >, WTF::HashTraits<WTF::AtomicString>, WTF::PartitionAllocator>::ReserveCapacityForSize(unsigned int) third_party/WebKit/Source/platform/wtf/HashTable.h:1017:5
    #9 0xe1bc063 in WTF::HashTable<WTF::AtomicString, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::KeyValuePairKeyExtractor, WTF::CaseFoldingHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::AtomicString> >, WTF::HashTraits<WTF::AtomicString>, WTF::PartitionAllocator>::HashTable(WTF::HashTable<WTF::AtomicString, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::KeyValuePairKeyExtractor, WTF::CaseFoldingHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::AtomicString> >, WTF::HashTraits<WTF::AtomicString>, WTF::PartitionAllocator> const&) third_party/WebKit/Source/platform/wtf/HashTable.h:1866:5
    #10 0xe1c7625 in operator= third_party/WebKit/Source/platform/wtf/HashTable.h:1956:13
    #11 0xe1c7625 in operator= third_party/WebKit/Source/platform/wtf/HashMap.h:100
    #12 0xe1c7625 in operator= third_party/WebKit/Source/platform/network/HTTPHeaderMap.h:46
    #13 0xe1c7625 in blink::ResourceResponse::operator=(blink::ResourceResponse const&) third_party/WebKit/Source/platform/loader/fetch/ResourceResponse.cpp:152
    #14 0xe11d08d in blink::Resource::SetResponse(blink::ResourceResponse const&) third_party/WebKit/Source/platform/loader/fetch/Resource.cpp:494:13
    #15 0xe11d82a in blink::Resource::ResponseReceived(blink::ResourceResponse const&, std::__1::unique_ptr<blink::WebDataConsumerHandle, std::__1::default_delete<blink::WebDataConsumerHandle> >) third_party/WebKit/Source/platform/loader/fetch/Resource.cpp:537:3
    #16 0xe1052db in blink::RawResource::ResponseReceived(blink::ResourceResponse const&, std::__1::unique_ptr<blink::WebDataConsumerHandle, std::__1::default_delete<blink::WebDataConsumerHandle> >) third_party/WebKit/Source/platform/loader/fetch/RawResource.cpp:207:13
    #17 0xe1af90e in blink::ResourceLoader::DidReceiveResponse(blink::WebURLResponse const&, std::__1::unique_ptr<blink::WebDataConsumerHandle, std::__1::default_delete<blink::WebDataConsumerHandle> >) third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp:597:14
    #18 0xe1b03c7 in DidReceiveResponse third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp:607:3
    #19 0xe1b03c7 in non-virtual thunk to blink::ResourceLoader::DidReceiveResponse(blink::WebURLResponse const&) third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
    #20 0x20cf2d2b in content::WebURLLoaderImpl::Context::OnReceivedResponse(network::ResourceResponseInfo const&) content/renderer/loader/web_url_loader_impl.cc:880:12
    #21 0x20cf5c23 in content::WebURLLoaderImpl::RequestPeerImpl::OnReceivedResponse(network::ResourceResponseInfo const&) content/renderer/loader/web_url_loader_impl.cc:1105:13
    #22 0x206350a2 in content::ResourceDispatcher::OnReceivedResponse(int, network::ResourceResponseHead const&) content/renderer/loader/resource_dispatcher.cc:189:23
    #23 0x20647189 in content::URLLoaderClientImpl::OnReceiveResponse(network::ResourceResponseHead const&, base::Optional<net::SSLInfo> const&, mojo::InterfacePtr<network::mojom::DownloadedTempFile>) content/renderer/loader/url_loader_client_impl.cc:244:27
    #24 0x6bbfdc7 in content::ThrottlingURLLoader::OnReceiveResponse(network::ResourceResponseHead const&, base::Optional<net::SSLInfo> const&, mojo::InterfacePtr<network::mojom::DownloadedTempFile>) content/common/throttling_url_loader.cc:339:23
    #25 0x5b71277 in network::mojom::URLLoaderClientStubDispatch::Accept(network::mojom::URLLoaderClient*, mojo::Message*) gen/services/network/public/mojom/url_loader.mojom.cc:1988:13
    #26 0x12a0f31b in mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:419:32
    #27 0x12a0d957 in mojo::FilterChain::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/filter_chain.cc:40:17
    #28 0x12a1360c in mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:306:19
    #29 0x12a274cc in mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::internal::MultiplexRouter::MessageWrapper*, mojo::internal::MultiplexRouter::ClientCallBehavior, base::SequencedTaskRunner*) mojo/public/cpp/bindings/lib/multiplex_router.cc:880:42
    #30 0x12a25118 in mojo::internal::MultiplexRouter::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/multiplex_router.cc:604:38
    #31 0x12a0d957 in mojo::FilterChain::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/filter_chain.cc:40:17
    #32 0x12a04ccd in mojo::Connector::ReadSingleMessage(unsigned int*) mojo/public/cpp/bindings/lib/connector.cc:443:51
    #33 0x12a06ef7 in mojo::Connector::ReadAllAvailableMessages() mojo/public/cpp/bindings/lib/connector.cc:472:10
    #34 0x12a06893 in mojo::Connector::OnHandleReadyInternal(unsigned int) mojo/public/cpp/bindings/lib/connector.cc:373:3
    #35 0x8471893 in Run base/callback.h:124:12
    #36 0x8471893 in mojo::SimpleWatcher::DiscardReadyState(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&) mojo/public/cpp/system/simple_watcher.h:194
    #37 0x129f028f in Run base/callback.h:124:12
    #38 0x129f028f in mojo::SimpleWatcher::OnHandleReady(int, unsigned int, mojo::HandleSignalsState const&) mojo/public/cpp/system/simple_watcher.cc:273
    #39 0x129f1463 in Invoke<const base::WeakPtr<mojo::SimpleWatcher> &, const int &, const unsigned int &, const mojo::HandleSignalsState &> base/bind_internal.h:447:12
    #40 0x129f1463 in MakeItSo<void (mojo::SimpleWatcher::*const &)(int, unsigned int, const mojo::HandleSignalsState &), const base::WeakPtr<mojo::SimpleWatcher> &, const int &, const unsigned int &, const mojo::HandleSignalsState &> base/bind_internal.h:550
    #41 0x129f1463 in void base::internal::Invoker<base::internal::BindState<void (mojo::SimpleWatcher::*)(int, unsigned int, mojo::HandleSignalsState const&), base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState>, void ()>::RunImpl<void (mojo::SimpleWatcher::* const&)(int, unsigned int, mojo::HandleSignalsState const&), std::__1::tuple<base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState> const&, 0ul, 1ul, 2ul, 3ul>(void (mojo::SimpleWatcher::* const&&&)(int, unsigned int, mojo::HandleSignalsState const&), std::__1::tuple<base::WeakPtr<mojo::SimpleWatcher>, int, unsigned int, mojo::HandleSignalsState> const&&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>) base/bind_internal.h:604
    #42 0xeafed43 in Run base/callback.h:95:12


Direct leak of 6912 byte(s) in 54 object(s) allocated from:
    #0 0x9a1dc3 in __interceptor_malloc /b/build/slave/linux_upload_clang/build/src/third_party/llvm/compiler-rt/lib/asan/asan_malloc_linux.cc:88:3
    #1 0x1a8a9430 in PartitionAllocGenericFlags base/allocator/partition_allocator/partition_alloc.h:947:18
    #2 0x1a8a9430 in Alloc base/allocator/partition_allocator/partition_alloc.h:967
    #3 0x1a8a9430 in BufferMalloc third_party/WebKit/Source/platform/wtf/allocator/Partitions.h:109
    #4 0x1a8a9430 in WTF::PartitionAllocator::AllocateBacking(unsigned long, char const*) third_party/WebKit/Source/platform/wtf/allocator/PartitionAllocator.cpp:13
    #5 0xe1bcab0 in AllocateZeroedHashTableBacking<WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::HashTable<WTF::AtomicString, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::KeyValuePairKeyExtractor, WTF::CaseFoldingHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::AtomicString> >, WTF::HashTraits<WTF::AtomicString>, WTF::PartitionAllocator> > third_party/WebKit/Source/platform/wtf/allocator/PartitionAllocator.h:81:20
    #6 0xe1bcab0 in AllocateTable third_party/WebKit/Source/platform/wtf/HashTable.h:1588
    #7 0xe1bcab0 in WTF::HashTable<WTF::AtomicString, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::KeyValuePairKeyExtractor, WTF::CaseFoldingHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::AtomicString> >, WTF::HashTraits<WTF::AtomicString>, WTF::PartitionAllocator>::Rehash(unsigned int, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>*) third_party/WebKit/Source/platform/wtf/HashTable.h:1805
    #8 0xe1bc90c in WTF::HashTable<WTF::AtomicString, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::KeyValuePairKeyExtractor, WTF::CaseFoldingHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::AtomicString> >, WTF::HashTraits<WTF::AtomicString>, WTF::PartitionAllocator>::ReserveCapacityForSize(unsigned int) third_party/WebKit/Source/platform/wtf/HashTable.h:1017:5
    #9 0xe1bc063 in WTF::HashTable<WTF::AtomicString, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::KeyValuePairKeyExtractor, WTF::CaseFoldingHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::AtomicString> >, WTF::HashTraits<WTF::AtomicString>, WTF::PartitionAllocator>::HashTable(WTF::HashTable<WTF::AtomicString, WTF::KeyValuePair<WTF::AtomicString, WTF::AtomicString>, WTF::KeyValuePairKeyExtractor, WTF::CaseFoldingHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::AtomicString> >, WTF::HashTraits<WTF::AtomicString>, WTF::PartitionAllocator> const&) third_party/WebKit/Source/platform/wtf/HashTable.h:1866:5
    #10 0xe1b63a0 in operator= third_party/WebKit/Source/platform/wtf/HashTable.h:1956:13
    #11 0xe1b63a0 in operator= third_party/WebKit/Source/platform/wtf/HashMap.h:100
    #12 0xe1b63a0 in operator= third_party/WebKit/Source/platform/network/HTTPHeaderMap.h:46
    #13 0xe1b63a0 in blink::ResourceRequest::operator=(blink::ResourceRequest const&) third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.cpp:129
    #14 0xe1521ad in SetResourceRequest third_party/WebKit/Source/platform/loader/fetch/Resource.h:336:23
    #15 0xe1521ad in blink::ResourceFetcher::StartLoad(blink::Resource*) third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp:1529
    #16 0xe14e3d1 in blink::ResourceFetcher::RequestResourceInternal(blink::FetchParameters&, blink::ResourceFactory const&, blink::SubstituteData const&) third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp:819:9
    #17 0xe14ceef in blink::ResourceFetcher::RequestResource(blink::FetchParameters&, blink::ResourceFactory const&, blink::ResourceClient*, blink::SubstituteData const&) third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp:685:7
    #18 0xe101315 in blink::RawResource::FetchImport(blink::FetchParameters&, blink::ResourceFetcher*, blink::RawResourceClient*) third_party/WebKit/Source/platform/loader/fetch/RawResource.cpp:55:33
    #19 0x1d359aeb in blink::HTMLImportsController::Load(blink::Document const&, blink::HTMLImportChildClient*, blink::FetchParameters&) third_party/WebKit/Source/core/html/imports/HTMLImportsController.cpp:116:3
    #20 0x1d3600fc in blink::LinkImport::Process() third_party/WebKit/Source/core/html/imports/LinkImport.cpp:96:24
    #21 0x1cdcfb2a in Process third_party/WebKit/Source/core/html/HTMLLinkElement.cpp:179:11
    #22 0x1cdcfb2a in blink::HTMLLinkElement::InsertedInto(blink::ContainerNode*) third_party/WebKit/Source/core/html/HTMLLinkElement.cpp:198
    #23 0x1c08cbdd in blink::ContainerNode::NotifyNodeInsertedInternal(blink::Node&, blink::HeapVector<blink::Member<blink::Node>, 11ul>&) third_party/WebKit/Source/core/dom/ContainerNode.cpp:915:14
    #24 0x1c084b02 in blink::ContainerNode::NotifyNodeInserted(blink::Node&, blink::ContainerNode::ChildrenChangeSource) third_party/WebKit/Source/core/dom/ContainerNode.cpp:891:3
    #25 0x1c07bfc9 in blink::ContainerNode::ParserAppendChild(blink::Node*) third_party/WebKit/Source/core/dom/ContainerNode.cpp:874:3
    #26 0x1d01334f in blink::Insert(blink::HTMLConstructionSiteTask&) third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp:119:18
    #27 0x1cffa5a5 in ExecuteInsertTask third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp:125:3
    #28 0x1cffa5a5 in blink::HTMLConstructionSite::ExecuteTask(blink::HTMLConstructionSiteTask&) third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp:179
    #29 0x1cfffad1 in blink::HTMLConstructionSite::ExecuteQueuedTasks() third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp:335:5
    #30 0x1cf446bd in blink::HTMLTreeBuilder::ConstructTree(blink::AtomicHTMLToken*) third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp:331:9
    #31 0x1ce56164 in blink::HTMLDocumentParser::ConstructTreeFromCompactHTMLToken(blink::CompactHTMLToken const&) third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:750:18
    #32 0x1ce540fa in blink::HTMLDocumentParser::ProcessTokenizedChunkFromBackgroundParser(std::__1::unique_ptr<blink::HTMLDocumentParser::TokenizedChunk, std::__1::default_delete<blink::HTMLDocumentParser::TokenizedChunk> >) third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:534:5
    #33 0x1ce4c8a5 in blink::HTMLDocumentParser::PumpPendingSpeculations() third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:608:9
    #34 0x1ce4bac5 in blink::HTMLDocumentParser::ResumeParsingAfterYield() third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:274:3
    #35 0xe134cf0 in Run base/callback.h:95:12


Direct leak of 6448 byte(s) in 62 object(s) allocated from:
    #0 0x9a1dc3 in __interceptor_malloc /b/build/slave/linux_upload_clang/build/src/third_party/llvm/compiler-rt/lib/asan/asan_malloc_linux.cc:88:3
    #1 0xbd00da0 in PartitionAllocGenericFlags base/allocator/partition_allocator/partition_alloc.h:947:18
    #2 0xbd00da0 in Alloc base/allocator/partition_allocator/partition_alloc.h:967
    #3 0xbd00da0 in WTF::Partitions::FastMalloc(unsigned long, char const*) third_party/WebKit/Source/platform/wtf/allocator/Partitions.h:121
    #4 0xe119565 in operator new third_party/WebKit/Source/platform/wtf/RefCounted.h:44:3
    #5 0xe119565 in Create<unsigned long> third_party/WebKit/Source/platform/SharedBuffer.h:62
    #6 0xe119565 in blink::Resource::AppendData(char const*, unsigned long) third_party/WebKit/Source/platform/loader/fetch/Resource.cpp:299
    #7 0xe10338d in blink::RawResource::AppendData(char const*, unsigned long) third_party/WebKit/Source/platform/loader/fetch/RawResource.cpp:141:15
    #8 0xe1b09f1 in blink::ResourceLoader::DidReceiveData(char const*, int) third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp:620:14
    #9 0x20cf3f1d in content::WebURLLoaderImpl::Context::OnReceivedData(std::__1::unique_ptr<content::RequestPeer::ReceivedData, std::__1::default_delete<content::RequestPeer::ReceivedData> >) content/renderer/loader/web_url_loader_impl.cc:921:12
    #10 0x20cf60ed in content::WebURLLoaderImpl::RequestPeerImpl::OnReceivedData(std::__1::unique_ptr<content::RequestPeer::ReceivedData, std::__1::default_delete<content::RequestPeer::ReceivedData> >) content/renderer/loader/web_url_loader_impl.cc:1118:13
    #11 0x2064c3f6 in content::URLResponseBodyConsumer::OnReadable(unsigned int) content/renderer/loader/url_response_body_consumer.cc:150:25
    #12 0x20648f2a in content::URLLoaderClientImpl::OnStartLoadingResponseBody(mojo::ScopedHandleBase<mojo::DataPipeConsumerHandle>) content/renderer/loader/url_loader_client_impl.cc:317:19
    #13 0x6bc1c31 in content::ThrottlingURLLoader::OnStartLoadingResponseBody(mojo::ScopedHandleBase<mojo::DataPipeConsumerHandle>) content/common/throttling_url_loader.cc:419:23
    #14 0x5b70922 in network::mojom::URLLoaderClientStubDispatch::Accept(network::mojom::URLLoaderClient*, mojo::Message*) gen/services/network/public/mojom/url_loader.mojom.cc:2231:13
    #15 0x12a0f31b in mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:419:32
    #16 0x12a0d957 in mojo::FilterChain::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/filter_chain.cc:40:17
    #17 0x12a1360c in mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:306:19
    #18 0x12a274cc in mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::internal::MultiplexRouter::MessageWrapper*, mojo::internal::MultiplexRouter::ClientCallBehavior, base::SequencedTaskRunner*) mojo/public/cpp/bindings/lib/multiplex_router.cc:880:42
    #19 0x12a25118 in mojo::internal::MultiplexRouter::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/multiplex_router.cc:604:38
    #20 0x12a0d957 in mojo::FilterChain::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/filter_chain.cc:40:17
    #21 0x12a04ccd in mojo::Connector::ReadSingleMessage(unsigned int*) mojo/public/cpp/bindings/lib/connector.cc:443:51
    #22 0x12a06ef7 in mojo::Connector::ReadAllAvailableMessages() mojo/public/cpp/bindings/lib/connector.cc:472:10
    #23 0x12a06893 in mojo::Connector::OnHandleReadyInternal(unsigned int) mojo/public/cpp/bindings/lib/connector.cc:373:3
    #24 0x8471893 in Run base/callback.h:124:12


Components: Internals>Plugins>PDF
Project Member

Comment 3 by bugdroid1@chromium.org, Mar 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bf6b8a35395f37773c16ec21ba86f62e552efa14

commit bf6b8a35395f37773c16ec21ba86f62e552efa14
Author: Roger McFarlane <rogerm@chromium.org>
Date: Tue Mar 27 17:23:10 2018

[sheriff] add scoped trace to LoadAllPdfsTests

There's a leak being detected by the Chromium OS ASan LSan bot
when loading the test pdf files. Adding tracing of the filenames
to see which one(s).

Bug: 826055
Change-Id: I9ad1c6a3d67c906e2713492271b68139803d59c4
R: battre@chromium.org
TBR: sky@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/980962
Reviewed-by: Roger McFarlane <rogerm@chromium.org>
Commit-Queue: Roger McFarlane <rogerm@chromium.org>
Commit-Queue: Dominic Battré <battre@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546147}
[modify] https://crrev.com/bf6b8a35395f37773c16ec21ba86f62e552efa14/chrome/browser/pdf/pdf_extension_test.cc

Comment 4 by shend@chromium.org, Apr 6 2018

IDK if the scoped tracing did anything, but here's the new output:

[ RUN      ] PDFTestFiles/PDFExtensionTest.Load/5
[3345:3345:0405/041819.207198:WARNING:chrome_browser_main_chromeos.cc(627)] Running as stub user with profile dir: test-user
[3345:3475:0405/041819.587442:ERROR:logging_chrome.cc(218)] Unable to create symlink /b/s/w/itM_5j1o/.org.chromium.Chromium.EDeR00/d8glm4Y/test-user/chrome_debug.log pointing at /b/s/w/itM_5j1o/.org.chromium.Chromium.EDeR00/d8glm4Y/test-user/chrome_debug_20180405-041819: No such file or directory (2)
[3345:3345:0405/041820.033509:WARNING:user_session_manager.cc(1068)] Attempting to save user password for non enterprise user.
[3345:3345:0405/041820.846909:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[3345:3345:0405/041820.849944:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[3345:3345:0405/041820.854881:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[3345:3345:0405/041820.855794:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[3345:3345:0405/041822.030488:INFO:pdf_extension_test.cc(247)] Loading: pdf/test-title.pdf
[3345:3629:0405/041822.559754:WARNING:embedded_test_server.cc(228)] Request not handled. Returning 404: /favicon.ico
[3345:3345:0405/041823.460761:INFO:CONSOLE(0)] "Styling master document from stylesheets defined in HTML Imports is deprecated. Please refer to https://goo.gl/EGXzpw for possible migration paths.", source:  (0)
[3638:3638:0405/041828.544759:WARNING:resource_message_handler.cc(49)] 'Post' message handler failed to complete successfully.
[3345:3345:0405/041828.675234:INFO:pdf_extension_test.cc(247)] Loading: pdf/combobox_form.pdf
[3345:3345:0405/041830.083825:INFO:CONSOLE(0)] "Styling master document from stylesheets defined in HTML Imports is deprecated. Please refer to https://goo.gl/EGXzpw for possible migration paths.", source:  (0)
[3883:3883:0405/041835.637369:WARNING:resource_message_handler.cc(49)] 'Post' message handler failed to complete successfully.
[3345:3345:0405/041835.912625:WARNING:render_widget_host_impl.cc(271)] Input request on unbound interface
[3345:3345:0405/041835.912714:WARNING:render_widget_host_impl.cc(271)] Input request on unbound interface
[3486:3486:0405/041837.075422:ERROR:gles2_cmd_decoder.cc(17311)] [.RenderWorker-0x61b00000e080]GL ERROR :GL_INVALID_VALUE : glCopySubTextureCHROMIUM: source texture has no data for level
[3486:3486:0405/041837.076769:ERROR:gles2_cmd_decoder.cc(17311)] [.RenderWorker-0x61b00000e080]GL ERROR :GL_INVALID_VALUE : glCopySubTextureCHROMIUM: source texture has no data for level
=================================================================
==3638==ERROR: LeakSanitizer: detected memory leaks

Seems like the leaks are coming from pdf/combobox_form.pdf? Most of the leaks seem to be from CSS or HTML.
Summary: Flaky mus_browser_tests: PDFTestFiles/PDFExtensionTest.Load/5 on chromium.memory/Linux Chromium OS ASan LSan Tests (1) (was: mus_browser_tests failing on chromium.memory/Linux Chromium OS ASan LSan Tests (1))
It looks still flaky according to the flakiness dashboard. I'll disable the test tentatively.

https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=mus_browser_tests&tests=PDFTestFiles%2FPDFExtensionTest.Load%2F5
Project Member

Comment 6 by bugdroid1@chromium.org, Apr 9 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3ef42ee1eb58149dc4483fc33199614746679672

commit 3ef42ee1eb58149dc4483fc33199614746679672
Author: Makoto Shimazu <shimazu@chromium.org>
Date: Mon Apr 09 06:38:54 2018

Disable PDFExtensionTest.Load when MSan/LSan/ASan

TBR=dsinclair@chromium.org
NOTRY=true

Bug: 826055
Change-Id: Ib74050857a0af95cb0d75bf1e84a2784e8219de1
Reviewed-on: https://chromium-review.googlesource.com/1002346
Commit-Queue: Makoto Shimazu <shimazu@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549115}
[modify] https://crrev.com/3ef42ee1eb58149dc4483fc33199614746679672/chrome/browser/pdf/pdf_extension_test.cc

Labels: -Sheriff-Chromium
Components: -Blink>CSS

Sign in to add a comment