Leak triggered by WebRtcBrowserTest.RunsAudioVideoWebRTCCallInTwoTabsGetStatsPromise |
||||
Issue descriptionhttps://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=browser_tests&tests=WebRtcBrowserTest.RunsAudioVideoWebRTCCallInTwoTabsGetStatsPromise Often time the test passes on the retry, but pretty frequently WebRtcBrowserTest.RunsAudioVideoWebRTCCallInTwoTabsGetStatsPromise generates leaks on the Linux LSAN/ASAN bot (including ChromeOS). The output is ginormous, so I'm only going to paste a portion of it: [ RUN ] WebRtcBrowserTest.RunsAudioVideoWebRTCCallInTwoTabsGetStatsPromise Xlib: extension "RANDR" missing on display ":99". [9943:9943:1019/084110.087120:ERROR:browser_dm_token_storage_linux.cc(93)] Error: /etc/machine-id contains 0 characters (32 were expected). [9943:9943:1019/084110.429585:ERROR:external_web_apps.cc(207)] Scanning [9943:10076:1019/084110.500466:ERROR:bus.cc(396)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [9943:9943:1019/084110.618179:WARNING:password_store_factory.cc(261)] Using basic (unencrypted) store for password storage. See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_password_storage.md for more information about password storage options. (browser_tests:9943): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport 'disabled' for address 'disabled:' [9943:9943:1019/084111.553194:WARNING:gaia_auth_fetcher.cc(858)] Could not reach Google Accounts servers: errno -11 [9943:9943:1019/084112.119958:WARNING:message_loop_task_runner.cc(26)] Requesting super-long task delay period of 99999999 seconds from here: SchedulePerformStateTransitions@../../chrome/browser/resource_coordinator/tab_manager.cc:955 [9943:9943:1019/084112.443159:WARNING:gaia_auth_fetcher.cc(858)] Could not reach Google Accounts servers: errno -11 [9943:9943:1019/084114.853213:WARNING:one_google_bar_loader_impl.cc(316)] Request failed with error: -11 [9943:9943:1019/084115.013634:WARNING:gaia_auth_fetcher.cc(858)] Could not reach Google Accounts servers: errno -11 [9943:10143:1019/084115.284180:WARNING:embedded_test_server.cc(239)] Request not handled. Returning 404: /favicon.ico [9943:9943:1019/084115.306150:INFO:CONSOLE(13)] "Requesting doGetUserMedia: constraints: {"audio":true,"video":true}", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [10144:10144:1019/084115.863971:WARNING:render_delay_buffer2.cc(336)] Applying total delay of 5 blocks. [10144:10458:1019/084115.977657:WARNING:render_delay_buffer2.cc(336)] Applying total delay of 5 blocks. [10144:10458:1019/084115.991081:WARNING:render_delay_buffer2.cc(308)] Receiving a first externally reported audio buffer delay of 1 ms. [9943:9943:1019/084116.002511:INFO:CONSOLE(13)] "Returning request-callback-granted to test.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [9943:9943:1019/084116.029971:INFO:CONSOLE(13)] "Returning ok-got-stream to test.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [9943:9943:1019/084119.346205:WARNING:one_google_bar_loader_impl.cc(316)] Request failed with error: -11 [9943:9943:1019/084119.682845:INFO:CONSOLE(13)] "Requesting doGetUserMedia: constraints: {"audio":true,"video":true}", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [10461:10461:1019/084119.715869:WARNING:render_delay_buffer2.cc(336)] Applying total delay of 5 blocks. [10461:10642:1019/084119.770674:WARNING:render_delay_buffer2.cc(336)] Applying total delay of 5 blocks. [10461:10642:1019/084119.773940:WARNING:render_delay_buffer2.cc(308)] Receiving a first externally reported audio buffer delay of 6 ms. [9943:9943:1019/084119.780395:INFO:CONSOLE(13)] "Returning request-callback-granted to test.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [9943:9943:1019/084119.821157:INFO:CONSOLE(13)] "Returning ok-got-stream to test.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [9943:9943:1019/084119.870762:INFO:CONSOLE(13)] "Returning ok-peerconnection-created to test.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [10144:10144:1019/084119.883560:WARNING:rtc_peer_connection.cc(1453)] mediaConstraints is not a supported argument to addStream. [10144:10144:1019/084119.883734:WARNING:rtc_peer_connection.cc(1455)] mediaConstraints was [9943:9943:1019/084119.930060:INFO:CONSOLE(13)] "Added local stream.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [9943:9943:1019/084119.932245:INFO:CONSOLE(13)] "Returning ok-added to test.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [9943:9943:1019/084120.033415:INFO:CONSOLE(13)] "Returning ok-peerconnection-created to test.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [10461:10461:1019/084120.039810:WARNING:rtc_peer_connection.cc(1453)] mediaConstraints is not a supported argument to addStream. [10461:10461:1019/084120.040000:WARNING:rtc_peer_connection.cc(1455)] mediaConstraints was [9943:9943:1019/084120.078877:INFO:CONSOLE(13)] "Added local stream.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) [9943:9943:1019/084120.080518:INFO:CONSOLE(13)] "Returning ok-added to test.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) ================================================================= ==10147==ERROR: LeakSanitizer: detected memory leaks Direct leak of 408 byte(s) in 3 object(s) allocated from: #0 0x8d70683 in __interceptor_malloc /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3 #1 0x13ce6afd in PartitionAllocGenericFlags base/allocator/partition_allocator/partition_alloc.h:354:48 #2 0x13ce6afd in Alloc base/allocator/partition_allocator/partition_alloc.h:375 #3 0x13ce6afd in WTF::Partitions::FastMalloc(unsigned long, char const*) third_party/blink/renderer/platform/wtf/allocator/partitions.h:114 #4 0x24bcd34e in operator new third_party/blink/renderer/platform/wtf/ref_counted.h:44:3 #5 0x24bcd34e in blink::SecurityOrigin::CreateUniqueOpaque() third_party/blink/renderer/platform/weborigin/security_origin.cc:193 #6 0x24bcd060 in blink::SecurityOrigin::CreateWithReferenceOrigin(blink::KURL const&, blink::SecurityOrigin const*) third_party/blink/renderer/platform/weborigin/security_origin.cc:177:14 #7 0x24bcdc6f in blink::SecurityOrigin::Create(blink::KURL const&) third_party/blink/renderer/platform/weborigin/security_origin.cc:188:10 #8 0x25a0b9cf in blink::Document::InitSecurityContext(blink::DocumentInit const&) third_party/blink/renderer/core/dom/document.cc:6384:23 #9 0x25a0735e in blink::Document::Document(blink::DocumentInit const&, unsigned char) third_party/blink/renderer/core/dom/document.cc:740:3 #10 0x26cddc6b in blink::HTMLDocument::HTMLDocument(blink::DocumentInit const&, unsigned char) third_party/blink/renderer/core/html/html_document.cc:68:7 #11 0x26cde053 in blink::HTMLDocument::Create(blink::DocumentInit const&) third_party/blink/renderer/core/html/html_document.cc:77:14 #12 0x25b586a4 in blink::DOMImplementation::createDocument(WTF::String const&, blink::DocumentInit const&, bool) third_party/blink/renderer/core/dom/dom_implementation.cc:233:12 #13 0x26663147 in blink::LocalDOMWindow::CreateDocument(WTF::String const&, blink::DocumentInit const&, bool) third_party/blink/renderer/core/frame/local_dom_window.cc:305:16 #14 0x266637a8 in blink::LocalDOMWindow::InstallNewDocument(WTF::String const&, blink::DocumentInit const&, bool) third_party/blink/renderer/core/frame/local_dom_window.cc:327:15 #15 0x27fe9f94 in blink::DocumentLoader::InstallNewDocument(blink::KURL const&, blink::Document*, blink::WebGlobalObjectReusePolicy, WTF::AtomicString const&, WTF::AtomicString const&, blink::DocumentLoader::InstallNewDocumentReason, blink::ParserSynchronizationPolicy, blink::KURL const&) third_party/blink/renderer/core/loader/document_loader.cc:1128:45 #16 0x27fe9543 in blink::DocumentLoader::CommitNavigation(WTF::AtomicString const&, blink::KURL const&) third_party/blink/renderer/core/loader/document_loader.cc:746:3 #17 0x27fe4fea in blink::DocumentLoader::CommitData(char const*, unsigned long) third_party/blink/renderer/core/loader/document_loader.cc:762:3 #18 0x27fe3767 in blink::DocumentLoader::FinishedLoading(base::TimeTicks) third_party/blink/renderer/core/loader/document_loader.cc:492:7 #19 0x27fec4f1 in blink::DocumentLoader::MaybeLoadEmpty() third_party/blink/renderer/core/loader/document_loader.cc:918:3 #20 0x27fec8d9 in blink::DocumentLoader::StartLoading() third_party/blink/renderer/core/loader/document_loader.cc:928:7 #21 0x2802045e in blink::FrameLoader::Init() third_party/blink/renderer/core/loader/frame_loader.cc:241:33 #22 0x266b324c in blink::LocalFrame::Init() third_party/blink/renderer/core/frame/local_frame.cc:176:11 #23 0x288b229b in blink::SVGImage::DataChanged(bool) third_party/blink/renderer/core/svg/graphics/svg_image.cc:796:12 #24 0x248e7aa0 in blink::Image::SetData(scoped_refptr<blink::SharedBuffer>, bool) third_party/blink/renderer/platform/graphics/image.cc:115:10 #25 0x280c2855 in blink::ImageResourceContent::UpdateImage(scoped_refptr<blink::SharedBuffer>, blink::ResourceStatus, blink::ImageResourceContent::UpdateImageOption, bool, bool) third_party/blink/renderer/core/loader/resource/image_resource_content.cc:426:35 #26 0x280b30e9 in UpdateImage third_party/blink/renderer/core/loader/resource/image_resource.cc:735:31 #27 0x280b30e9 in blink::ImageResource::Finish(base::TimeTicks, base::SingleThreadTaskRunner*) third_party/blink/renderer/core/loader/resource/image_resource.cc:435 #28 0x1653c19c in blink::ResourceFetcher::ResourceForStaticData(blink::FetchParameters const&, blink::ResourceFactory const&, blink::SubstituteData const&) third_party/blink/renderer/platform/loader/fetch/resource_fetcher.cc:570:13 #29 0x16541b6c in blink::ResourceFetcher::RequestResource(blink::FetchParameters&, blink::ResourceFactory const&, blink::ResourceClient*, blink::SubstituteData const&) third_party/blink/renderer/platform/loader/fetch/resource_fetcher.cc:834:16 #30 0x280aca5b in blink::ImageResource::Fetch(blink::FetchParameters&, blink::ResourceFetcher*) third_party/blink/renderer/core/loader/resource/image_resource.cc:180:16 #31 0x280bd448 in blink::ImageResourceContent::Fetch(blink::FetchParameters&, blink::ResourceFetcher*) third_party/blink/renderer/core/loader/resource/image_resource_content.cc:124:29 #32 0x28859300 in blink::StyleFetchedImage::StyleFetchedImage(blink::Document const&, blink::FetchParameters&, bool) third_party/blink/renderer/core/style/style_fetched_image.cc:44:12 #33 0x250e778f in Create third_party/blink/renderer/core/style/style_fetched_image.h:46:16 #34 0x250e778f in blink::CSSImageValue::CacheImage(blink::Document const&, blink::FetchParameters::ImageRequestOptimization, blink::CrossOriginAttributeValue) third_party/blink/renderer/core/css/css_image_value.cc:81 Direct leak of 144 byte(s) in 2 object(s) allocated from: #0 0x8d9cc02 in operator new(unsigned long) /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/compiler-rt/lib/asan/asan_new_delete.cc:106:3 #1 0x1bf1f11e in make_unique<ukm::MojoUkmRecorder, mojo::InterfacePtr<ukm::mojom::UkmRecorderInterface> > buildtools/third_party/libc++/trunk/include/memory:3118:28 #2 0x1bf1f11e in ukm::MojoUkmRecorder::Create(service_manager::Connector*) services/metrics/public/cpp/mojo_ukm_recorder.cc:25 #3 0x25a38481 in blink::Document::UkmRecorder() third_party/blink/renderer/core/dom/document.cc:6309:7 #4 0x25a36790 in blink::Document::Shutdown() third_party/blink/renderer/core/dom/document.cc:2931:5 #5 0x266c58b8 in blink::LocalFrame::ForceSynchronousDocumentInstall(WTF::AtomicString const&, scoped_refptr<blink::SharedBuffer>) third_party/blink/renderer/core/frame/local_frame.cc:1348:18 #6 0x288b243e in blink::SVGImage::DataChanged(bool) third_party/blink/renderer/core/svg/graphics/svg_image.cc:812:10 #7 0x248e7aa0 in blink::Image::SetData(scoped_refptr<blink::SharedBuffer>, bool) third_party/blink/renderer/platform/graphics/image.cc:115:10 #8 0x280c2855 in blink::ImageResourceContent::UpdateImage(scoped_refptr<blink::SharedBuffer>, blink::ResourceStatus, blink::ImageResourceContent::UpdateImageOption, bool, bool) third_party/blink/renderer/core/loader/resource/image_resource_content.cc:426:35 #9 0x280b30e9 in UpdateImage third_party/blink/renderer/core/loader/resource/image_resource.cc:735:31 #10 0x280b30e9 in blink::ImageResource::Finish(base::TimeTicks, base::SingleThreadTaskRunner*) third_party/blink/renderer/core/loader/resource/image_resource.cc:435 #11 0x1653c19c in blink::ResourceFetcher::ResourceForStaticData(blink::FetchParameters const&, blink::ResourceFactory const&, blink::SubstituteData const&) third_party/blink/renderer/platform/loader/fetch/resource_fetcher.cc:570:13 #12 0x16541b6c in blink::ResourceFetcher::RequestResource(blink::FetchParameters&, blink::ResourceFactory const&, blink::ResourceClient*, blink::SubstituteData const&) third_party/blink/renderer/platform/loader/fetch/resource_fetcher.cc:834:16 #13 0x280aca5b in blink::ImageResource::Fetch(blink::FetchParameters&, blink::ResourceFetcher*) third_party/blink/renderer/core/loader/resource/image_resource.cc:180:16 #14 0x280bd448 in blink::ImageResourceContent::Fetch(blink::FetchParameters&, blink::ResourceFetcher*) third_party/blink/renderer/core/loader/resource/image_resource_content.cc:124:29 #15 0x28859300 in blink::StyleFetchedImage::StyleFetchedImage(blink::Document const&, blink::FetchParameters&, bool) third_party/blink/renderer/core/style/style_fetched_image.cc:44:12 #16 0x250e778f in Create third_party/blink/renderer/core/style/style_fetched_image.h:46:16 #17 0x250e778f in blink::CSSImageValue::CacheImage(blink::Document const&, blink::FetchParameters::ImageRequestOptimization, blink::CrossOriginAttributeValue) third_party/blink/renderer/core/css/css_image_value.cc:81 #18 0x256e540e in blink::ElementStyleResources::LoadPendingImage(blink::ComputedStyle*, blink::StylePendingImage*, blink::FetchParameters::ImageRequestOptimization, blink::CrossOriginAttributeValue) third_party/blink/renderer/core/css/resolver/element_style_resources.cc:151:25 #19 0x256e7430 in blink::ElementStyleResources::LoadPendingImages(blink::ComputedStyle*) third_party/blink/renderer/core/css/resolver/element_style_resources.cc:215:17 #20 0x256e92b1 in blink::ElementStyleResources::LoadPendingResources(blink::ComputedStyle*) third_party/blink/renderer/core/css/resolver/element_style_resources.cc:329:3 #21 0x2574c994 in LoadPendingResources third_party/blink/renderer/core/css/resolver/style_resolver.cc:608:36 #22 0x2574c994 in blink::StyleResolver::ApplyMatchedStandardProperties(blink::StyleResolverState&, blink::MatchResult const&, blink::StyleResolver::CacheSuccess const&, blink::StyleResolver::NeedsApplyPass&) third_party/blink/renderer/core/css/resolver/style_resolver.cc:1837 #23 0x2573fda2 in blink::StyleResolver::ApplyMatchedPropertiesAndCustomPropertyAnimations(blink::StyleResolverState&, blink::MatchResult const&, blink::Element const*) third_party/blink/renderer/core/css/resolver/style_resolver.cc:1597:5 #24 0x2573e61a in blink::StyleResolver::StyleForElement(blink::Element*, blink::ComputedStyle const*, blink::ComputedStyle const*, blink::RuleMatchingBehavior) third_party/blink/renderer/core/css/resolver/style_resolver.cc:776:5 #25 0x25bada7e in blink::Element::OriginalStyleForLayoutObject() third_party/blink/renderer/core/dom/element.cc:2356:46 #26 0x25bacc56 in blink::Element::StyleForLayoutObject() third_party/blink/renderer/core/dom/element.cc:2325:46 #27 0x25baff0f in blink::Element::RecalcOwnStyle(blink::StyleRecalcChange) third_party/blink/renderer/core/dom/element.cc:2520:17 #28 0x25bae5d7 in blink::Element::RecalcStyle(blink::StyleRecalcChange) third_party/blink/renderer/core/dom/element.cc:2430:16 #29 0x259a6786 in blink::ContainerNode::RecalcDescendantStyles(blink::StyleRecalcChange) third_party/blink/renderer/core/dom/container_node.cc:1404:18 #30 0x25bae921 in blink::Element::RecalcStyle(blink::StyleRecalcChange) third_party/blink/renderer/core/dom/element.cc:2467:7 #31 0x259a6786 in blink::ContainerNode::RecalcDescendantStyles(blink::StyleRecalcChange) third_party/blink/renderer/core/dom/container_node.cc:1404:18 #32 0x25bae921 in blink::Element::RecalcStyle(blink::StyleRecalcChange) third_party/blink/renderer/core/dom/element.cc:2467:7 #33 0x259a6786 in blink::ContainerNode::RecalcDescendantStyles(blink::StyleRecalcChange) third_party/blink/renderer/core/dom/container_node.cc:1404:18 Direct leak of 136 byte(s) in 1 object(s) allocated from: #0 0x8d70683 in __interceptor_malloc /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3 #1 0x13ce6afd in PartitionAllocGenericFlags base/allocator/partition_allocator/partition_alloc.h:354:48 #2 0x13ce6afd in Alloc base/allocator/partition_allocator/partition_alloc.h:375 #3 0x13ce6afd in WTF::Partitions::FastMalloc(unsigned long, char const*) third_party/blink/renderer/platform/wtf/allocator/partitions.h:114 #4 0x24bcd34e in operator new third_party/blink/renderer/platform/wtf/ref_counted.h:44:3 #5 0x24bcd34e in blink::SecurityOrigin::CreateUniqueOpaque() third_party/blink/renderer/platform/weborigin/security_origin.cc:193 #6 0x24bcd060 in blink::SecurityOrigin::CreateWithReferenceOrigin(blink::KURL const&, blink::SecurityOrigin const*) third_party/blink/renderer/platform/weborigin/security_origin.cc:177:14 #7 0x24bcdc6f in blink::SecurityOrigin::Create(blink::KURL const&) third_party/blink/renderer/platform/weborigin/security_origin.cc:188:10 #8 0x25a0b9cf in blink::Document::InitSecurityContext(blink::DocumentInit const&) third_party/blink/renderer/core/dom/document.cc:6384:23 #9 0x25a0735e in blink::Document::Document(blink::DocumentInit const&, unsigned char) third_party/blink/renderer/core/dom/document.cc:740:3 #10 0x26cddc6b in blink::HTMLDocument::HTMLDocument(blink::DocumentInit const&, unsigned char) third_party/blink/renderer/core/html/html_document.cc:68:7 #11 0x26cde053 in blink::HTMLDocument::Create(blink::DocumentInit const&) third_party/blink/renderer/core/html/html_document.cc:77:14 #12 0x25b586a4 in blink::DOMImplementation::createDocument(WTF::String const&, blink::DocumentInit const&, bool) third_party/blink/renderer/core/dom/dom_implementation.cc:233:12 #13 0x26663147 in blink::LocalDOMWindow::CreateDocument(WTF::String const&, blink::DocumentInit const&, bool) third_party/blink/renderer/core/frame/local_dom_window.cc:305:16 #14 0x266637a8 in blink::LocalDOMWindow::InstallNewDocument(WTF::String const&, blink::DocumentInit const&, bool) third_party/blink/renderer/core/frame/local_dom_window.cc:327:15 #15 0x27fe9f94 in blink::DocumentLoader::InstallNewDocument(blink::KURL const&, blink::Document*, blink::WebGlobalObjectReusePolicy, WTF::AtomicString const&, WTF::AtomicString const&, blink::DocumentLoader::InstallNewDocumentReason, blink::ParserSynchronizationPolicy, blink::KURL const&) third_party/blink/renderer/core/loader/document_loader.cc:1128:45 #16 0x27fe9543 in blink::DocumentLoader::CommitNavigation(WTF::AtomicString const&, blink::KURL const&) third_party/blink/renderer/core/loader/document_loader.cc:746:3 #17 0x27fe4fea in blink::DocumentLoader::CommitData(char const*, unsigned long) third_party/blink/renderer/core/loader/document_loader.cc:762:3 #18 0x27fe3767 in blink::DocumentLoader::FinishedLoading(base::TimeTicks) third_party/blink/renderer/core/loader/document_loader.cc:492:7 #19 0x27fec4f1 in blink::DocumentLoader::MaybeLoadEmpty() third_party/blink/renderer/core/loader/document_loader.cc:918:3 #20 0x27fec8d9 in blink::DocumentLoader::StartLoading() third_party/blink/renderer/core/loader/document_loader.cc:928:7 #21 0x2802045e in blink::FrameLoader::Init() third_party/blink/renderer/core/loader/frame_loader.cc:241:33 [9943:9943:1019/084120.093714:INFO:CONSOLE(13)] "Returning ok-created to test.", source: http://127.0.0.1:37500/webrtc/test_functions.js (13) #22 0x266b324c in blink::LocalFrame::Init() third_party/blink/renderer/core/frame/local_frame.cc:176:11 #23 0x268c6885 in blink::WebLocalFrameImpl::InitializeCoreFrame(blink::Page&, blink::FrameOwner*, WTF::AtomicString const&) third_party/blink/renderer/core/frame/web_local_frame_impl.cc:1804:11 #24 0x268c584e in blink::WebLocalFrameImpl::CreateMainFrame(blink::WebView*, blink::WebLocalFrameClient*, blink::InterfaceRegistry*, blink::WebFrame*, blink::WebString const&, blink::WebSandboxFlags) third_party/blink/renderer/core/frame/web_local_frame_impl.cc:1685:10 #25 0x2b432610 in content::RenderFrameImpl::CreateMainFrame(content::RenderViewImpl*, int, mojo::InterfacePtr<service_manager::mojom::InterfaceProvider>, int, bool, content::ScreenInfo const&, content::CompositorDependencies*, blink::WebFrame*, base::UnguessableToken const&, content::FrameReplicationState const&, bool) content/renderer/render_frame_impl.cc:1272:30 #26 0x2c1e4b8d in content::RenderViewImpl::Initialize(mojo::StructPtr<content::mojom::CreateViewParams>, base::OnceCallback<void (content::RenderWidget*, blink::WebNavigationPolicy, gfx::Rect const&)>, scoped_refptr<base::SingleThreadTaskRunner>) content/renderer/render_view_impl.cc:539:26 #27 0x2c1ed9d4 in content::RenderViewImpl::Create(content::CompositorDependencies*, mojo::StructPtr<content::mojom::CreateViewParams>, base::OnceCallback<void (content::RenderWidget*, blink::WebNavigationPolicy, gfx::Rect const&)>, scoped_refptr<base::SingleThreadTaskRunner>) content/renderer/render_view_impl.cc:1037:16 #28 0x2c176c1d in content::RenderThreadImpl::CreateView(mojo::StructPtr<content::mojom::CreateViewParams>) content/renderer/render_thread_impl.cc:2118:3 #29 0xfba708c in content::mojom::RendererStubDispatch::Accept(content::mojom::Renderer*, mojo::Message*) gen/content/common/renderer.mojom.cc:946:13 #30 0x1b812452 in mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:423:32 #31 0x1b81c158 in mojo::FilterChain::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/filter_chain.cc:40:17 #32 0x1b81672b in mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:306:19 Maybe the renderer is leaking a frame, or something similarly large during shutdown? I'm not sure who should investigate this. I'm going to start with the owner of the test, they can hand off as necessary. I'm also going to disable for the sanitizer builds on linux to cut down on the noise.
,
Oct 21
Leaks from blink::SecurityOrigin::CreateUniqueOpaque() and blink::Document::UkmRecorder()? I know the WebRTC code but I don't know the relevance of this particular test and these leaks. All these browser tests start a browser and navigate to a page, in this case a page that runs WebRTC stuff. If there was a WebRTC change causing leaks I would expect the leak to reside in WebRTC related objects. Perhaps the cause is in SecurityOrigin or UkmRecorded? Thought I would expect the other tests to leak too. nasko@ can you take a look? You modified blink::SecurityOrigin::CreateUniqueOpaque() 10th of Oct: https://chromium.googlesource.com/chromium/src/+/99445acdfcc014c69c3df7e19ecf7242a536bcb7 CC holte@ for blink::Document::UkmRecorder() too and phoglund@ for initially authoring browser tests.
,
Oct 24
Issue 898172 has been merged into this issue.
,
Oct 24
see de-duped issue for additional failing (flakily leaking) tests
,
Oct 24
SecurityOrigin is held by Document and given that it is used everywhere, I'd expect more leak reports to be generated if it was just a leak by SecurityOrigin. It seems to me that somehow a Document is either leaked or not cleaning up correctly. In reality, I won't be able to look at this in the next few days, so I'll leave it as available if someone has cycles to investigate where the leak comes from.
,
Oct 29
|
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Oct 19