Issue metadata
Sign in to add a comment
|
ProcessManagementTest.ExtensionProcessBalancing is flaky |
||||||||||||||||||||||||
Issue descriptionFlaky test: ProcessManagementTest.ExtensionProcessBalancing Sample failed build due to flakiness: https://ci.chromium.org/buildbot/chromium.linux/linux-xenial-rel/4406 Test output log: https://chromium-swarm.appspot.com/task?id=40c058e43a9ad510 Culprit (70.0% confidence): r602389 Analysis: https://findit-for-me.appspot.com/waterfall/flake?key=ag9zfmZpbmRpdC1mb3ItbWVyygELEhdNYXN0ZXJGbGFrZUFuYWx5c2lzUm9vdCKTAWNocm9taXVtLmxpbnV4L2xpbnV4LXhlbmlhbC1yZWwvNDQwNi9uZXR3b3JrX3NlcnZpY2VfYnJvd3Nlcl90ZXN0cyBvbiBVYnVudHUtMTYuMDQvVUhKdlkyVnpjMDFoYm1GblpXMWxiblJVWlhOMExrVjRkR1Z1YzJsdmJsQnliMk5sYzNOQ1lXeGhibU5wYm1jPQwLEhNNYXN0ZXJGbGFrZUFuYWx5c2lzGAEM Please revert the culprit, or disable the test and find the appropriate owner. If the culprit above is wrong, please file a bug using this link: https://bugs.chromium.org/p/chromium/issues/entry?status=Unconfirmed&labels=Pri-1,Test-Findit-Wrong&components=Tools%3ETest%3EFindit%3EFlakiness&summary=%5BFindit%5D%20Flake%20Analyzer%20-%20Wrong%20result%20for%20ProcessManagementTest.ExtensionProcessBalancing&comment=Link%20to%20Analysis%3A%20https://findit-for-me.appspot.com/waterfall/flake?key=ag9zfmZpbmRpdC1mb3ItbWVyygELEhdNYXN0ZXJGbGFrZUFuYWx5c2lzUm9vdCKTAWNocm9taXVtLmxpbnV4L2xpbnV4LXhlbmlhbC1yZWwvNDQwNi9uZXR3b3JrX3NlcnZpY2VfYnJvd3Nlcl90ZXN0cyBvbiBVYnVudHUtMTYuMDQvVUhKdlkyVnpjMDFoYm1GblpXMWxiblJVWlhOMExrVjRkR1Z1YzJsdmJsQnliMk5sYzNOQ1lXeGhibU5wYm1jPQwLEhNNYXN0ZXJGbGFrZUFuYWx5c2lzGAEM Automatically posted by the findit-for-me app (https://goo.gl/Ot9f7N).
,
Oct 24
Having difficulty to reproduce this flake, but it looks like others on https://chromium-review.googlesource.com/c/chromium/src/+/1290140 It's using MaybeTakeSpareRenderProcessHost() and expecting it to return a process host, which appears to be very timing dependent, and making swapped out RenderView/Widget start faster seems to exacerbate it.
,
Oct 24
,
Oct 24
This test is failing because there are more process in the map than it expected (6 instead of 5)
../../chrome/browser/extensions/process_management_browsertest.cc:359: Failure
Expected equality of these values:
5u
Which is: 5
process_map->size()
Which is: 6
Even though there were the right number of background_hosts (5)
,
Oct 24
It looks like this was only flaking on network_service_browser_tests which runs with --enable-features=NetworkService Using that isn't helping me reproduce the flake locally though, with my patch either.
,
Oct 24
I hope that https://chromium-review.googlesource.com/1298080 would also help for this particular bug.
,
Oct 24
Actually, I am not so sure about #c6 - the test counts only *background* hosts and so I don't think waiting for frames swapped-out by navigations should or would help...
,
Oct 24
Dropping sheriff label since revert of Dana's CL resolved this.
,
Oct 25
This test depends on this stack happening to take the process map from 6 down to 5 before the test checks the process map size. [170111:170125:1025/124035.074911:ERROR:process_map.cc(78)] ** REMOVE ALL 7 from size 6 #0 0x7fbcbb1b6f3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7fbcbb0c0b02 base::debug::TaskAnnotator::RunTask() #4 0x7fbcbb0edf2f base::MessageLoop::RunTask() #5 0x7fbcbb0ee3c2 base::MessageLoop::DoWork() #6 0x7fbcbb1dc7d9 base::MessagePumpLibevent::Run() #7 0x7fbcbb0eda01 base::MessageLoop::Run() #8 0x7fbcbb121d96 base::RunLoop::Run() #9 0x7fbcbb17f55a base::Thread::Run() #10 0x7fbcb69d0654 content::BrowserProcessSubThread::IOThreadRun() #11 0x7fbcb69d059f content::BrowserProcessSubThread::Run() #12 0x7fbcbb17fb05 base::Thread::ThreadMain() #13 0x7fbcbb1cd65f base::(anonymous namespace)::ThreadFunc() #14 0x7fbcae87f494 start_thread #15 0x7fbcac7d2a8f clone
,
Oct 25
The OnSwapOut IPC to the browser appears to be involved in this race.
,
Oct 25
Passing run: [ RUN ] ProcessManagementTest.ExtensionProcessBalancing [172744:172744:1025/124529.837100:ERROR:external_web_apps.cc(207)] Scanning [172744:172744:1025/124529.871139: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. [172744:172860:1025/124529.873809:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.Notifications.GetCapabilities: object_path= /org/freedesktop/Notifications: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files [172744:172744:1025/124529.909216:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [172744:172744:1025/124529.909274:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [172744:172744:1025/124529.912480:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124529.918449:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124529.919135:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124529.998609:WARNING:gaia_auth_fetcher.cc(858)] Could not reach Google Accounts servers: errno -11 [172744:172744:1025/124530.042161:ERROR:render_process_host_impl.cc(3986)] PROCESS_PER_SITE got host (nil) [172744:172744:1025/124530.042188:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [172744:172744:1025/124530.042228:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [172744:172744:1025/124530.042447:ERROR:process_map.cc(67)] ** INSERT 5 to size 0 [172744:172790:1025/124530.043043:ERROR:process_map.cc(67)] ** INSERT 5 to size 0 [172744:172744:1025/124530.046643:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.050547:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.050955:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.182011:ERROR:render_process_host_impl.cc(3986)] PROCESS_PER_SITE got host (nil) [172744:172744:1025/124530.182067:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [172744:172744:1025/124530.182128:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [172744:172744:1025/124530.182571:ERROR:process_map.cc(67)] ** INSERT 6 to size 1 [172744:172790:1025/124530.183249:ERROR:process_map.cc(67)] ** INSERT 6 to size 1 [172744:172744:1025/124530.190567:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.195367:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.196039:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.341829:ERROR:render_process_host_impl.cc(3986)] PROCESS_PER_SITE got host (nil) [172744:172744:1025/124530.341888:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [172744:172744:1025/124530.341942:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [172744:172744:1025/124530.342097:ERROR:process_map.cc(67)] ** INSERT 5 to size 2 [172744:172790:1025/124530.342183:ERROR:process_map.cc(67)] ** INSERT 5 to size 2 [172744:172744:1025/124530.348723:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.352404:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.352848:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.397397:ERROR:render_process_host_impl.cc(3986)] PROCESS_PER_SITE got host (nil) [172744:172744:1025/124530.397430:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [172744:172744:1025/124530.397461:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [172744:172744:1025/124530.397609:ERROR:process_map.cc(67)] ** INSERT 6 to size 3 [172744:172790:1025/124530.397701:ERROR:process_map.cc(67)] ** INSERT 6 to size 3 [172744:172744:1025/124530.402892:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.406488:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.406999:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.494414:ERROR:render_process_host_impl.cc(3986)] PROCESS_PER_SITE got host (nil) [172744:172744:1025/124530.494480:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [172744:172744:1025/124530.494549:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [172744:172744:1025/124530.494748:ERROR:process_map.cc(67)] ** INSERT 6 to size 4 [172744:172790:1025/124530.494824:ERROR:process_map.cc(67)] ** INSERT 6 to size 4 [172744:172744:1025/124530.504532:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.511099:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.511570:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.613889:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [172744:172744:1025/124530.613997:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [172744:172744:1025/124530.614293:ERROR:process_map.cc(67)] ** INSERT 7 to size 5 [172744:172790:1025/124530.617371:ERROR:process_map.cc(67)] ** INSERT 7 to size 5 [172744:172792:1025/124530.659717:WARNING:simple_synchronous_entry.cc(1251)] Could not open platform files for entry. [172744:172744:1025/124530.676590:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124530.761291:ERROR:process_map.cc(78)] ** REMOVE ALL 3 from size 6 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000003dd2655 extensions::ExtensionService::Observe() #3 0x7ff4945e0fe1 content::NotificationServiceImpl::Notify() #4 0x7ff4946c3e5f content::RenderProcessHostImpl::Cleanup() #5 0x7ff4946beef0 content::RenderProcessHostImpl::RemoveRoute() #6 0x7ff4946cf96d content::RenderViewHostImpl::~RenderViewHostImpl() #7 0x7ff4946cfb8e content::RenderViewHostImpl::~RenderViewHostImpl() #8 0x7ff4946d2bad content::RenderViewHostImpl::ShutdownAndDestroy() #9 0x7ff49444d27d content::FrameTree::ReleaseRenderViewHostRef() #10 0x7ff494480b81 content::RenderFrameHostImpl::~RenderFrameHostImpl() #11 0x7ff494481f3e content::RenderFrameHostImpl::~RenderFrameHostImpl() #12 0x7ff4944ab5f3 content::RenderFrameHostManager::DeleteFromPendingList() #13 0x7ff4944801c5 content::RenderFrameHostImpl::OnSwappedOut() #14 0x7ff494486931 _ZN3IPC8MessageTI29FrameHostMsg_SwapOut_ACK_MetaNSt3__15tupleIJEEEvE8DispatchIN7content19RenderFrameHostImplES8_vMS8_FvvEEEbPKNS_7MessageEPT_PT0_PT1_T2_ #15 0x7ff4944849e8 content::RenderFrameHostImpl::OnMessageReceived() #16 0x7ff4946c24bb content::RenderProcessHostImpl::OnMessageReceived() #17 0x7ff49556b8a1 IPC::ChannelProxy::Context::OnDispatchMessage() #18 0x7ff49556e5b8 _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12ChannelProxy7ContextEFvRKNS3_7MessageEEJ13scoped_refptrIS5_ES6_EEEFvvEE3RunEPNS0_13BindStateBaseE #19 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask() #20 0x7ff4989e6f2f base::MessageLoop::RunTask() #21 0x7ff4989e73c2 base::MessageLoop::DoWork() #22 0x7ff4989eb75f base::(anonymous namespace)::WorkSourceDispatch() #23 0x7ff48bc53fc7 g_main_context_dispatch #24 0x7ff48bc54200 <unknown> #25 0x7ff48bc5428c g_main_context_iteration #26 0x7ff4989eb482 base::MessagePumpGlib::Run() #27 0x7ff4989e6a01 base::MessageLoop::Run() #28 0x7ff498a1ad96 base::RunLoop::Run() #29 0x00000366eb20 content::MessageLoopRunner::Run() #30 0x00000366d306 content::TestNavigationObserver::Wait() #31 0x00000302e840 ui_test_utils::NavigateToURLWithDispositionBlockUntilNavigationsComplete() #32 0x00000226140e extensions::ProcessManagementTest_ExtensionProcessBalancing_Test::RunTestOnMainThread() #33 0x00000363ea52 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #34 0x0000030900e6 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #35 0x00000308ed45 ChromeBrowserMainParts::PreMainMessageLoopRun() #36 0x7ff4942be27a content::BrowserMainLoop::PreMainMessageLoopRun() #37 0x7ff494807525 content::StartupTaskRunner::RunAllTasksNow() #38 0x7ff4942bcdfe content::BrowserMainLoop::CreateStartupTasks() #39 0x7ff4942c0e9d content::BrowserMainRunnerImpl::Initialize() #40 0x7ff4942ba6d2 content::BrowserMain() #41 0x7ff494e0fa70 content::ContentMainRunnerImpl::Run() #42 0x7ff487e8d3e9 service_manager::Main() #43 0x7ff494e0db41 content::ContentMain() #44 0x00000363e5ad content::BrowserTestBase::SetUp() #45 0x00000302a4c2 InProcessBrowserTest::SetUp() #46 0x0000027ac64d testing::Test::Run() #47 0x0000027ad2b0 testing::TestInfo::Run() #48 0x0000027ad7c7 testing::TestCase::Run() #49 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #50 0x0000027b96cd testing::UnitTest::Run() #51 0x00000303da01 base::TestSuite::Run() #52 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #53 0x00000366a205 content::LaunchTests() #54 0x000002ff8e70 LaunchChromeTests() #55 0x000002ff894e main #56 0x7ff48a0032b1 __libc_start_main #57 0x0000012c902a _start [172744:172744:1025/124531.130411:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172790:1025/124531.122987:ERROR:process_map.cc(78)] ** REMOVE ALL 3 from size 6 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask() #4 0x7ff4989e6f2f base::MessageLoop::RunTask() #5 0x7ff4989e73c2 base::MessageLoop::DoWork() #6 0x7ff498ad57d9 base::MessagePumpLibevent::Run() #7 0x7ff4989e6a01 base::MessageLoop::Run() #8 0x7ff498a1ad96 base::RunLoop::Run() #9 0x7ff498a7855a base::Thread::Run() #10 0x7ff4942c9654 content::BrowserProcessSubThread::IOThreadRun() #11 0x7ff4942c959f content::BrowserProcessSubThread::Run() #12 0x7ff498a78b05 base::Thread::ThreadMain() #13 0x7ff498ac665f base::(anonymous namespace)::ThreadFunc() #14 0x7ff48c178494 start_thread #15 0x7ff48a0cba8f clone [172744:172744:1025/124531.178536:WARNING:gaia_auth_fetcher.cc(858)] Could not reach Google Accounts servers: errno -102 [172744:172744:1025/124531.179212:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124531.180267:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172927:1025/124531.210260:WARNING:embedded_test_server.cc(239)] Request not handled. Returning 404: /favicon.ico [172744:172744:1025/124531.215333:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [172744:172744:1025/124531.215387:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host 0x3b907d558000 [172744:172744:1025/124531.244398:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [172744:172744:1025/124531.288142:INFO:CONSOLE(5)] "Uncaught TypeError: Cannot read property 'assertEq' of undefined", source: http://localhost:37347/extensions/api_test/management/test/common.js (5) [172744:172744:1025/124531.288918:INFO:CONSOLE(191)] "Uncaught TypeError: Cannot read property 'runTests' of undefined", source: http://localhost:37347/extensions/api_test/management/test/basics.js (191) [172744:172744:1025/124531.305038:ERROR:process_map.cc(78)] ** REMOVE ALL 7 from size 6 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000003dd2655 extensions::ExtensionService::Observe() #3 0x7ff4945e0fe1 content::NotificationServiceImpl::Notify() #4 0x7ff4946c3e5f content::RenderProcessHostImpl::Cleanup() #5 0x7ff4946beef0 content::RenderProcessHostImpl::RemoveRoute() #6 0x7ff4946cf96d content::RenderViewHostImpl::~RenderViewHostImpl() #7 0x7ff4946cfb8e content::RenderViewHostImpl::~RenderViewHostImpl() #8 0x7ff4946d2bad content::RenderViewHostImpl::ShutdownAndDestroy() #9 0x7ff49444d27d content::FrameTree::ReleaseRenderViewHostRef() #10 0x7ff494480b81 content::RenderFrameHostImpl::~RenderFrameHostImpl() #11 0x7ff494481f3e content::RenderFrameHostImpl::~RenderFrameHostImpl() #12 0x7ff4944ab5f3 content::RenderFrameHostManager::DeleteFromPendingList() #13 0x7ff4944801c5 content::RenderFrameHostImpl::OnSwappedOut() #14 0x7ff494486931 _ZN3IPC8MessageTI29FrameHostMsg_SwapOut_ACK_MetaNSt3__15tupleIJEEEvE8DispatchIN7content19RenderFrameHostImplES8_vMS8_FvvEEEbPKNS_7MessageEPT_PT0_PT1_T2_ #15 0x7ff4944849e8 content::RenderFrameHostImpl::OnMessageReceived() #16 0x7ff4946c24bb content::RenderProcessHostImpl::OnMessageReceived() #17 0x7ff49556b8a1 IPC::ChannelProxy::Context::OnDispatchMessage() #18 0x7ff49556e5b8 _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12ChannelProxy7ContextEFvRKNS3_7MessageEEJ13scoped_refptrIS5_ES6_EEEFvvEE3RunEPNS0_13BindStateBaseE #19 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask() #20 0x7ff4989e6f2f base::MessageLoop::RunTask() #21 0x7ff4989e73c2 base::MessageLoop::DoWork() #22 0x7ff4989eb75f base::(anonymous namespace)::WorkSourceDispatch() #23 0x7ff48bc53fc7 g_main_context_dispatch #24 0x7ff48bc54200 <unknown> #25 0x7ff48bc5428c g_main_context_iteration #26 0x7ff4989eb482 base::MessagePumpGlib::Run() #27 0x7ff4989e6a01 base::MessageLoop::Run() #28 0x7ff498a1ad96 base::RunLoop::Run() #29 0x00000366eb20 content::MessageLoopRunner::Run() #30 0x00000366d306 content::TestNavigationObserver::Wait() #31 0x00000302e840 ui_test_utils::NavigateToURLWithDispositionBlockUntilNavigationsComplete() #32 0x00000226144c extensions::ProcessManagementTest_ExtensionProcessBalancing_Test::RunTestOnMainThread() #33 0x00000363ea52 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #34 0x0000030900e6 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #35 0x00000308ed45 ChromeBrowserMainParts::PreMainMessageLoopRun() #36 0x7ff4942be27a content::BrowserMainLoop::PreMainMessageLoopRun() #37 0x7ff494807525 content::StartupTaskRunner::RunAllTasksNow() #38 0x7ff4942bcdfe content::BrowserMainLoop::CreateStartupTasks() #39 0x7ff4942c0e9d content::BrowserMainRunnerImpl::Initialize() #40 0x7ff4942ba6d2 content::BrowserMain() #41 0x7ff494e0fa70 content::ContentMainRunnerImpl::Run() #42 0x7ff487e8d3e9 service_manager::Main() #43 0x7ff494e0db41 content::ContentMain() #44 0x00000363e5ad content::BrowserTestBase::SetUp() #45 0x00000302a4c2 InProcessBrowserTest::SetUp() #46 0x0000027ac64d testing::Test::Run() #47 0x0000027ad2b0 testing::TestInfo::Run() #48 0x0000027ad7c7 testing::TestCase::Run() #49 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #50 0x0000027b96cd testing::UnitTest::Run() #51 0x00000303da01 base::TestSuite::Run() #52 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #53 0x00000366a205 content::LaunchTests() #54 0x000002ff8e70 LaunchChromeTests() #55 0x000002ff894e main #56 0x7ff48a0032b1 __libc_start_main #57 0x0000012c902a _start [172744:172790:1025/124531.707289:ERROR:process_map.cc(78)] ** REMOVE ALL 7 from size 6 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask() #4 0x7ff4989e6f2f base::MessageLoop::RunTask() #5 0x7ff4989e73c2 base::MessageLoop::DoWork() #6 0x7ff498ad57d9 base::MessagePumpLibevent::Run() #7 0x7ff4989e6a01 base::MessageLoop::Run() #8 0x7ff498a1ad96 base::RunLoop::Run() #9 0x7ff498a7855a base::Thread::Run() #10 0x7ff4942c9654 content::BrowserProcessSubThread::IOThreadRun() #11 0x7ff4942c959f content::BrowserProcessSubThread::Run() #12 0x7ff498a78b05 base::Thread::ThreadMain() #13 0x7ff498ac665f base::(anonymous namespace)::ThreadFunc() #14 0x7ff48c178494 start_thread #15 0x7ff48a0cba8f clone [172744:172744:1025/124531.763480:ERROR:process_management_browsertest.cc(360)] ** CHECK [172744:172744:1025/124531.769158:ERROR:process_map.cc(78)] ** REMOVE ALL 8 from size 5 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000003dd2655 extensions::ExtensionService::Observe() #3 0x7ff4945e0fe1 content::NotificationServiceImpl::Notify() #4 0x7ff4946c3e5f content::RenderProcessHostImpl::Cleanup() #5 0x7ff4946c1f05 content::RenderProcessHostImpl::ProcessDied() #6 0x7ff4946c197b content::RenderProcessHostImpl::FastShutdownIfPossible() #7 0x000003111132 browser_shutdown::OnShutdownStarting() #8 0x0000043d4a2b Browser::OnWindowClosing() #9 0x00000455670c BrowserView::CanClose() #10 0x7ff496160bb2 views::Widget::Close() #11 0x00000330c391 BrowserCloseManager::CloseBrowsers() #12 0x00000330c5eb BrowserCloseManager::TryToCloseBrowsers() #13 0x00000311070a chrome::CloseAllBrowsers() #14 0x000003110b4c chrome::AttemptExit() #15 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask() #16 0x7ff4989e6f2f base::MessageLoop::RunTask() #17 0x7ff4989e73c2 base::MessageLoop::DoWork() #18 0x7ff4989eb75f base::(anonymous namespace)::WorkSourceDispatch() #19 0x7ff48bc53fc7 g_main_context_dispatch #20 0x7ff48bc54200 <unknown> #21 0x7ff48bc5428c g_main_context_iteration #22 0x7ff4989eb3fc base::MessagePumpGlib::Run() #23 0x7ff4989e6a01 base::MessageLoop::Run() #24 0x7ff498a1ad96 base::RunLoop::Run() #25 0x00000302c034 InProcessBrowserTest::QuitBrowsers() #26 0x00000302be89 InProcessBrowserTest::PostRunTestOnMainThread() #27 0x00000363ec31 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #28 0x0000030900e6 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #29 0x00000308ed45 ChromeBrowserMainParts::PreMainMessageLoopRun() #30 0x7ff4942be27a content::BrowserMainLoop::PreMainMessageLoopRun() #31 0x7ff494807525 content::StartupTaskRunner::RunAllTasksNow() #32 0x7ff4942bcdfe content::BrowserMainLoop::CreateStartupTasks() #33 0x7ff4942c0e9d content::BrowserMainRunnerImpl::Initialize() #34 0x7ff4942ba6d2 content::BrowserMain() #35 0x7ff494e0fa70 content::ContentMainRunnerImpl::Run() #36 0x7ff487e8d3e9 service_manager::Main() #37 0x7ff494e0db41 content::ContentMain() #38 0x00000363e5ad content::BrowserTestBase::SetUp() #39 0x00000302a4c2 InProcessBrowserTest::SetUp() #40 0x0000027ac64d testing::Test::Run() #41 0x0000027ad2b0 testing::TestInfo::Run() #42 0x0000027ad7c7 testing::TestCase::Run() #43 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #44 0x0000027b96cd testing::UnitTest::Run() #45 0x00000303da01 base::TestSuite::Run() #46 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #47 0x00000366a205 content::LaunchTests() #48 0x000002ff8e70 LaunchChromeTests() #49 0x000002ff894e main #50 0x7ff48a0032b1 __libc_start_main #51 0x0000012c902a _start [172744:172790:1025/124532.133510:ERROR:process_map.cc(78)] ** REMOVE ALL 8 from size 5 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask() #4 0x7ff4989e6f2f base::MessageLoop::RunTask() #5 0x7ff4989e73c2 base::MessageLoop::DoWork() #6 0x7ff498ad57d9 base::MessagePumpLibevent::Run() #7 0x7ff4989e6a01 base::MessageLoop::Run() #8 0x7ff498a1ad96 base::RunLoop::Run() #9 0x7ff498a7855a base::Thread::Run() #10 0x7ff4942c9654 <unknown> #11 0x7ff4942c959f <unknown> #12 0x7ff498a78b05 base::Thread::ThreadMain() #13 0x7ff498ac665f base::(anonymous namespace)::ThreadFunc() #14 0x7ff48c178494 start_thread #15 0x7ff48a0cba8f clone [172744:172744:1025/124532.147090:ERROR:process_map.cc(78)] ** REMOVE ALL 4 from size 5 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 <unknown> #2 0x000003dd2655 <unknown> #3 0x7ff4945e0fe1 content::NotificationServiceImpl::Notify() #4 0x7ff4946c3e5f content::RenderProcessHostImpl::Cleanup() #5 0x7ff4946beef0 content::RenderProcessHostImpl::RemoveRoute() #6 0x7ff4946cf96d content::RenderViewHostImpl::~RenderViewHostImpl() #7 0x7ff4946cfb8e content::RenderViewHostImpl::~RenderViewHostImpl() #8 0x7ff4946d2bad content::RenderViewHostImpl::ShutdownAndDestroy() #9 0x7ff49444d27d content::FrameTree::ReleaseRenderViewHostRef() #10 0x7ff494480b81 content::RenderFrameHostImpl::~RenderFrameHostImpl() #11 0x7ff494481f3e content::RenderFrameHostImpl::~RenderFrameHostImpl() #12 0x7ff4944a9464 content::RenderFrameHostManager::~RenderFrameHostManager() #13 0x7ff49444e195 content::FrameTreeNode::~FrameTreeNode() #14 0x7ff49444bf0e content::FrameTree::~FrameTree() #15 0x7ff494833813 content::WebContentsImpl::~WebContentsImpl() #16 0x7ff494833c0e content::WebContentsImpl::~WebContentsImpl() #17 0x00000442068f TabStripModel::SendDetachWebContentsNotifications() #18 0x000004425888 TabStripModel::CloseWebContentses() #19 0x000004422382 TabStripModel::InternalCloseTabs() #20 0x0000044220ae TabStripModel::CloseAllTabs() #21 0x00000455670c BrowserView::CanClose() #22 0x7ff496160bb2 views::Widget::Close() #23 0x00000330c391 BrowserCloseManager::CloseBrowsers() #24 0x00000330c5eb BrowserCloseManager::TryToCloseBrowsers() #25 0x00000311070a chrome::CloseAllBrowsers() #26 0x000003110b4c chrome::AttemptExit() #27 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask() #28 0x7ff4989e6f2f base::MessageLoop::RunTask() #29 0x7ff4989e73c2 base::MessageLoop::DoWork() #30 0x7ff4989eb75f base::(anonymous namespace)::WorkSourceDispatch() #31 0x7ff48bc53fc7 g_main_context_dispatch #32 0x7ff48bc54200 <unknown> #33 0x7ff48bc5428c g_main_context_iteration #34 0x7ff4989eb3fc base::MessagePumpGlib::Run() #35 0x7ff4989e6a01 base::MessageLoop::Run() #36 0x7ff498a1ad96 base::RunLoop::Run() #37 0x00000302c034 InProcessBrowserTest::QuitBrowsers() #38 0x00000302be89 InProcessBrowserTest::PostRunTestOnMainThread() #39 0x00000363ec31 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #40 0x0000030900e6 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #41 0x00000308ed45 ChromeBrowserMainParts::PreMainMessageLoopRun() #42 0x7ff4942be27a content::BrowserMainLoop::PreMainMessageLoopRun() #43 0x7ff494807525 content::StartupTaskRunner::RunAllTasksNow() #44 0x7ff4942bcdfe content::BrowserMainLoop::CreateStartupTasks() #45 0x7ff4942c0e9d content::BrowserMainRunnerImpl::Initialize() #46 0x7ff4942ba6d2 content::BrowserMain() #47 0x7ff494e0fa70 content::ContentMainRunnerImpl::Run() #48 0x7ff487e8d3e9 service_manager::Main() #49 0x7ff494e0db41 content::ContentMain() #50 0x00000363e5ad content::BrowserTestBase::SetUp() #51 0x00000302a4c2 InProcessBrowserTest::SetUp() #52 0x0000027ac64d testing::Test::Run() #53 0x0000027ad2b0 testing::TestInfo::Run() #54 0x0000027ad7c7 testing::TestCase::Run() #55 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #56 0x0000027b96cd testing::UnitTest::Run() #57 0x00000303da01 base::TestSuite::Run() #58 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #59 0x00000366a205 content::LaunchTests() #60 0x000002ff8e70 LaunchChromeTests() #61 0x000002ff894e main #62 0x7ff48a0032b1 __libc_start_main #63 0x0000012c902a _start [172744:172790:1025/124532.569299:ERROR:process_map.cc(78)] ** REMOVE ALL 4 from size 5 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask() #4 0x7ff4989e6f2f base::MessageLoop::RunTask() #5 0x7ff4989e73c2 base::MessageLoop::DoWork() #6 0x7ff498ad57d9 base::MessagePumpLibevent::Run() #7 0x7ff4989e6a01 base::MessageLoop::Run() #8 0x7ff498a1ad96 base::RunLoop::Run() #9 0x7ff498a7855a base::Thread::Run() #10 0x7ff4942c9654 content::BrowserProcessSubThread::IOThreadRun() #11 0x7ff4942c959f content::BrowserProcessSubThread::Run() #12 0x7ff498a78b05 base::Thread::ThreadMain() #13 0x7ff498ac665f base::(anonymous namespace)::ThreadFunc() #14 0x7ff48c178494 start_thread #15 0x7ff48a0cba8f clone [172744:172744:1025/124532.629764:ERROR:process_map.cc(73)] ** REMOVE 5 from size 5 [172744:172790:1025/124532.630015:ERROR:process_map.cc(73)] ** REMOVE 5 from size 5 [172744:172744:1025/124532.630177:ERROR:process_map.cc(73)] ** REMOVE 6 from size 4 [172744:172790:1025/124532.630315:ERROR:process_map.cc(73)] ** REMOVE 6 from size 4 [172744:172744:1025/124532.630585:ERROR:process_map.cc(73)] ** REMOVE 6 from size 3 [172744:172790:1025/124532.630737:ERROR:process_map.cc(73)] ** REMOVE 6 from size 3 [172744:172744:1025/124532.630984:ERROR:process_map.cc(78)] ** REMOVE ALL 5 from size 2 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000003dd2655 extensions::ExtensionService::Observe() #3 0x7ff4945e0fe1 content::NotificationServiceImpl::Notify() #4 0x7ff4946c3e5f content::RenderProcessHostImpl::Cleanup() #5 0x7ff4946beef0 content::RenderProcessHostImpl::RemoveRoute() #6 0x7ff4946cf96d content::RenderViewHostImpl::~RenderViewHostImpl() #7 0x7ff4946cfb8e content::RenderViewHostImpl::~RenderViewHostImpl() #8 0x7ff4946d2bad content::RenderViewHostImpl::ShutdownAndDestroy() #9 0x7ff49444d27d content::FrameTree::ReleaseRenderViewHostRef() #10 0x7ff494480b81 content::RenderFrameHostImpl::~RenderFrameHostImpl() #11 0x7ff494481f3e content::RenderFrameHostImpl::~RenderFrameHostImpl() #12 0x7ff4944a9464 content::RenderFrameHostManager::~RenderFrameHostManager() #13 0x7ff49444e195 content::FrameTreeNode::~FrameTreeNode() #14 0x7ff49444bf0e content::FrameTree::~FrameTree() #15 0x7ff494833813 content::WebContentsImpl::~WebContentsImpl() #16 0x7ff494833c0e content::WebContentsImpl::~WebContentsImpl() #17 0x00000297b806 extensions::ExtensionHost::~ExtensionHost() #18 0x00000297b8be extensions::ExtensionHost::~ExtensionHost() #19 0x0000029cc8a3 extensions::ProcessManager::CloseBackgroundHosts() #20 0x000003d9fb7a extensions::ChromeProcessManagerDelegate::Observe() #21 0x7ff4945e0fe1 content::NotificationServiceImpl::Notify() #22 0x000003259203 Profile::MaybeSendDestroyedNotification() #23 0x000003260e1c ProfileDestroyer::DestroyProfileWhenAppropriate() #24 0x00000328147a std::__1::__tree<>::destroy() #25 0x0000032813b6 ProfileManager::~ProfileManager() #26 0x000003277bfe ProfileManager::~ProfileManager() #27 0x000003092842 BrowserProcessImpl::StartTearDown() #28 0x000003090ee2 ChromeBrowserMainParts::PostMainMessageLoopRun() #29 0x7ff4942be80a content::BrowserMainLoop::ShutdownThreadsAndCleanUp() #30 0x7ff4942c16df content::BrowserMainRunnerImpl::Shutdown() #31 0x7ff4942ba6f5 content::BrowserMain() #32 0x7ff494e0fa70 content::ContentMainRunnerImpl::Run() #33 0x7ff487e8d3e9 service_manager::Main() #34 0x7ff494e0db41 content::ContentMain() #35 0x00000363e5ad content::BrowserTestBase::SetUp() #36 0x00000302a4c2 InProcessBrowserTest::SetUp() #37 0x0000027ac64d testing::Test::Run() #38 0x0000027ad2b0 testing::TestInfo::Run() #39 0x0000027ad7c7 testing::TestCase::Run() #40 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #41 0x0000027b96cd testing::UnitTest::Run() #42 0x00000303da01 base::TestSuite::Run() #43 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #44 0x00000366a205 content::LaunchTests() #45 0x000002ff8e70 LaunchChromeTests() #46 0x000002ff894e main #47 0x7ff48a0032b1 __libc_start_main #48 0x0000012c902a _start [172744:172790:1025/124532.999655:ERROR:process_map.cc(78)] ** REMOVE ALL 5 from size 2 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 <unknown> #2 0x000002a48a4e <unknown> #3 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask() #4 0x7ff4989e6f2f base::MessageLoop::RunTask() #5 0x7ff4989e73c2 base::MessageLoop::DoWork() #6 0x7ff498ad57d9 base::MessagePumpLibevent::Run() #7 0x7ff4989e6a01 base::MessageLoop::Run() #8 0x7ff498a1ad96 base::RunLoop::Run() #9 0x7ff498a7855a base::Thread::Run() #10 0x7ff4942c9654 content::BrowserProcessSubThread::IOThreadRun() #11 0x7ff4942c959f content::BrowserProcessSubThread::Run() #12 0x7ff498a78b05 base::Thread::ThreadMain() #13 0x7ff498ac665f base::(anonymous namespace)::ThreadFunc() #14 0x7ff48c178494 start_thread #15 0x7ff48a0cba8f clone [172744:172744:1025/124533.000284:ERROR:process_map.cc(78)] ** REMOVE ALL 6 from size 1 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000003dd2655 extensions::ExtensionService::Observe() #3 0x7ff4945e0fe1 <unknown> #4 0x7ff4946c3e5f <unknown> #5 0x7ff4946beef0 <unknown> #6 0x7ff4946cf96d <unknown> #7 0x7ff4946cfb8e <unknown> #8 0x7ff4946d2bad <unknown> #9 0x7ff49444d27d <unknown> #10 0x7ff494480b81 Eb #11 0x7ff494481f3e <unknown> #12 0x7ff4944a9464 <unknown> #13 0x7ff49444e195 <unknown> #14 0x7ff49444bf0e <unknown> #15 0x7ff494833813 <unknown> #16 0x7ff494833c0e <unknown> #17 0x00000297b806 extensions::ExtensionHost::~ExtensionHost() #18 0x00000297b8be extensions::ExtensionHost::~ExtensionHost() #19 0x0000029cc8a3 extensions::ProcessManager::CloseBackgroundHosts() #20 0x000003d9fb7a extensions::ChromeProcessManagerDelegate::Observe() #21 0x7ff4945e0fe1 content::NotificationServiceImpl::Notify() #22 0x000003259203 Profile::MaybeSendDestroyedNotification() #23 0x000003260e1c ProfileDestroyer::DestroyProfileWhenAppropriate() #24 0x00000328147a std::__1::__tree<>::destroy() #25 0x0000032813b6 ProfileManager::~ProfileManager() #26 0x000003277bfe ProfileManager::~ProfileManager() #27 0x000003092842 BrowserProcessImpl::StartTearDown() #28 0x000003090ee2 ChromeBrowserMainParts::PostMainMessageLoopRun() #29 0x7ff4942be80a content::BrowserMainLoop::ShutdownThreadsAndCleanUp() #30 0x7ff4942c16df content::BrowserMainRunnerImpl::Shutdown() #31 0x7ff4942ba6f5 content::BrowserMain() #32 0x7ff494e0fa70 content::ContentMainRunnerImpl::Run() #33 0x7ff487e8d3e9 service_manager::Main() #34 0x7ff494e0db41 content::ContentMain() #35 0x00000363e5ad content::BrowserTestBase::SetUp() #36 0x00000302a4c2 InProcessBrowserTest::SetUp() #37 0x0000027ac64d testing::Test::Run() #38 0x0000027ad2b0 testing::TestInfo::Run() #39 0x0000027ad7c7 testing::TestCase::Run() #40 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #41 0x0000027b96cd testing::UnitTest::Run() #42 0x00000303da01 base::TestSuite::Run() #43 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #44 0x00000366a205 content::LaunchTests() #45 0x000002ff8e70 LaunchChromeTests() #46 0x000002ff894e main #47 0x7ff48a0032b1 __libc_start_main #48 0x0000012c902a _start [172744:172790:1025/124533.312035:ERROR:process_map.cc(78)] ** REMOVE ALL 6 from size 1 #0 0x7ff498aaff3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask() #4 0x7ff4989e6f2f base::MessageLoop::RunTask() #5 0x7ff4989e73c2 base::MessageLoop::DoWork() #6 0x7ff498ad57d9 base::MessagePumpLibevent::Run() #7 0x7ff4989e6a01 base::MessageLoop::Run() #8 0x7ff498a1ad96 base::RunLoop::Run() #9 0x7ff498a7855a base::Thread::Run() #10 0x7ff4942c9654 content::BrowserProcessSubThread::IOThreadRun() #11 0x7ff4942c959f content::BrowserProcessSubThread::Run() #12 0x7ff498a78b05 base::Thread::ThreadMain() #13 0x7ff498ac665f base::(anonymous namespace)::ThreadFunc() #14 0x7ff48c178494 start_thread #15 0x7ff48a0cba8f clone [172744:172790:1025/124533.370113:WARNING:discardable_shared_memory_manager.cc(409)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. They will be leaked. [172744:172744:1025/124533.373585:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown. [172744:172744:1025/124533.373631:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown. [172744:173022:1025/124533.384382:WARNING:internal_linux.cc(64)] Failed to read /proc/172816/stat [ OK ] ProcessManagementTest.ExtensionProcessBalancing (5120 ms)
,
Oct 25
Failing run: [ RUN ] ProcessManagementTest.ExtensionProcessBalancing [173054:173054:1025/124545.731416:ERROR:external_web_apps.cc(207)] Scanning [173054:173138:1025/124545.767203:ERROR:object_proxy.cc(621)] Failed to call method: org.freedesktop.Notifications.GetCapabilities: object_path= /org/freedesktop/Notifications: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files [173054:173054:1025/124545.771804: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. [173054:173054:1025/124545.814616:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [173054:173054:1025/124545.814687:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [173054:173054:1025/124545.818310:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124545.825558:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124545.826346:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124545.962693:WARNING:gaia_auth_fetcher.cc(858)] Could not reach Google Accounts servers: errno -11 [173054:173054:1025/124545.975658:ERROR:render_process_host_impl.cc(3986)] PROCESS_PER_SITE got host (nil) [173054:173054:1025/124545.975709:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [173054:173054:1025/124545.975769:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [173054:173054:1025/124545.976203:ERROR:process_map.cc(67)] ** INSERT 5 to size 0 [173054:173063:1025/124545.976511:ERROR:process_map.cc(67)] ** INSERT 5 to size 0 [173054:173054:1025/124545.984695:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124545.991217:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124545.991656:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.123740:ERROR:render_process_host_impl.cc(3986)] PROCESS_PER_SITE got host (nil) [173054:173054:1025/124546.123777:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [173054:173054:1025/124546.123816:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [173054:173054:1025/124546.124122:ERROR:process_map.cc(67)] ** INSERT 6 to size 1 [173054:173063:1025/124546.124371:ERROR:process_map.cc(67)] ** INSERT 6 to size 1 [173054:173054:1025/124546.130060:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.133814:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.134242:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.278718:ERROR:render_process_host_impl.cc(3986)] PROCESS_PER_SITE got host (nil) [173054:173054:1025/124546.278757:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [173054:173054:1025/124546.278797:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [173054:173054:1025/124546.278912:ERROR:process_map.cc(67)] ** INSERT 6 to size 2 [173054:173063:1025/124546.278954:ERROR:process_map.cc(67)] ** INSERT 6 to size 2 [173054:173054:1025/124546.283830:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.287614:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.288080:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.352987:ERROR:render_process_host_impl.cc(3986)] PROCESS_PER_SITE got host (nil) [173054:173054:1025/124546.353031:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [173054:173054:1025/124546.353069:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [173054:173054:1025/124546.353187:ERROR:process_map.cc(67)] ** INSERT 5 to size 3 [173054:173063:1025/124546.353291:ERROR:process_map.cc(67)] ** INSERT 5 to size 3 [173054:173054:1025/124546.358741:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.362261:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.362730:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.391929:ERROR:render_process_host_impl.cc(3986)] PROCESS_PER_SITE got host (nil) [173054:173054:1025/124546.391991:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [173054:173054:1025/124546.392042:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [173054:173054:1025/124546.392183:ERROR:process_map.cc(67)] ** INSERT 6 to size 4 [173054:173063:1025/124546.392236:ERROR:process_map.cc(67)] ** INSERT 6 to size 4 [173054:173054:1025/124546.398953:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.405100:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.405525:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.476541:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [173054:173054:1025/124546.476599:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host (nil) [173054:173054:1025/124546.476859:ERROR:process_map.cc(67)] ** INSERT 7 to size 5 [173054:173063:1025/124546.479198:ERROR:process_map.cc(67)] ** INSERT 7 to size 5 [173054:173083:1025/124546.519270:WARNING:simple_synchronous_entry.cc(1251)] Could not open platform files for entry. [173054:173054:1025/124546.525510:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124546.625521:ERROR:process_map.cc(78)] ** REMOVE ALL 3 from size 6 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000003dd2655 extensions::ExtensionService::Observe() #3 0x7f6971edefe1 content::NotificationServiceImpl::Notify() #4 0x7f6971fc1e5f content::RenderProcessHostImpl::Cleanup() #5 0x7f6971fbcef0 content::RenderProcessHostImpl::RemoveRoute() #6 0x7f6971fcd96d content::RenderViewHostImpl::~RenderViewHostImpl() #7 0x7f6971fcdb8e content::RenderViewHostImpl::~RenderViewHostImpl() #8 0x7f6971fd0bad content::RenderViewHostImpl::ShutdownAndDestroy() #9 0x7f6971d4b27d content::FrameTree::ReleaseRenderViewHostRef() #10 0x7f6971d7eb81 content::RenderFrameHostImpl::~RenderFrameHostImpl() #11 0x7f6971d7ff3e content::RenderFrameHostImpl::~RenderFrameHostImpl() #12 0x7f6971da95f3 content::RenderFrameHostManager::DeleteFromPendingList() #13 0x7f6971d7e1c5 content::RenderFrameHostImpl::OnSwappedOut() #14 0x7f6971d84931 _ZN3IPC8MessageTI29FrameHostMsg_SwapOut_ACK_MetaNSt3__15tupleIJEEEvE8DispatchIN7content19RenderFrameHostImplES8_vMS8_FvvEEEbPKNS_7MessageEPT_PT0_PT1_T2_ #15 0x7f6971d829e8 content::RenderFrameHostImpl::OnMessageReceived() #16 0x7f6971fc04bb content::RenderProcessHostImpl::OnMessageReceived() #17 0x7f6972e698a1 IPC::ChannelProxy::Context::OnDispatchMessage() #18 0x7f6972e6c5b8 _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12ChannelProxy7ContextEFvRKNS3_7MessageEEJ13scoped_refptrIS5_ES6_EEEFvvEE3RunEPNS0_13BindStateBaseE #19 0x7f69762b7b02 base::debug::TaskAnnotator::RunTask() #20 0x7f69762e4f2f base::MessageLoop::RunTask() #21 0x7f69762e53c2 base::MessageLoop::DoWork() #22 0x7f69762e9429 base::MessagePumpGlib::Run() #23 0x7f69762e4a01 base::MessageLoop::Run() #24 0x7f6976318d96 base::RunLoop::Run() #25 0x00000366eb20 content::MessageLoopRunner::Run() #26 0x00000366d306 content::TestNavigationObserver::Wait() #27 0x00000302e840 ui_test_utils::NavigateToURLWithDispositionBlockUntilNavigationsComplete() #28 0x00000226140e extensions::ProcessManagementTest_ExtensionProcessBalancing_Test::RunTestOnMainThread() #29 0x00000363ea52 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #30 0x0000030900e6 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #31 0x00000308ed45 ChromeBrowserMainParts::PreMainMessageLoopRun() #32 0x7f6971bbc27a content::BrowserMainLoop::PreMainMessageLoopRun() #33 0x7f6972105525 content::StartupTaskRunner::RunAllTasksNow() #34 0x7f6971bbadfe content::BrowserMainLoop::CreateStartupTasks() #35 0x7f6971bbee9d content::BrowserMainRunnerImpl::Initialize() #36 0x7f6971bb86d2 content::BrowserMain() #37 0x7f697270da70 content::ContentMainRunnerImpl::Run() #38 0x7f696578b3e9 service_manager::Main() #39 0x7f697270bb41 content::ContentMain() #40 0x00000363e5ad content::BrowserTestBase::SetUp() #41 0x00000302a4c2 InProcessBrowserTest::SetUp() #42 0x0000027ac64d testing::Test::Run() #43 0x0000027ad2b0 testing::TestInfo::Run() #44 0x0000027ad7c7 testing::TestCase::Run() #45 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #46 0x0000027b96cd testing::UnitTest::Run() #47 0x00000303da01 base::TestSuite::Run() #48 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #49 0x00000366a205 content::LaunchTests() #50 0x000002ff8e70 LaunchChromeTests() #51 0x000002ff894e main #52 0x7f69679012b1 __libc_start_main #53 0x0000012c902a _start [173054:173054:1025/124547.016891:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173063:1025/124547.013181:ERROR:process_map.cc(78)] ** REMOVE ALL 3 from size 6 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7f69762b7b02 base::debug::TaskAnnotator::RunTask() #4 0x7f69762e4f2f base::MessageLoop::RunTask() #5 0x7f69762e53c2 base::MessageLoop::DoWork() #6 0x7f69763d37d9 base::MessagePumpLibevent::Run() #7 0x7f69762e4a01 base::MessageLoop::Run() #8 0x7f6976318d96 base::RunLoop::Run() #9 0x7f697637655a base::Thread::Run() #10 0x7f6971bc7654 content::BrowserProcessSubThread::IOThreadRun() #11 0x7f6971bc759f content::BrowserProcessSubThread::Run() #12 0x7f6976376b05 base::Thread::ThreadMain() #13 0x7f69763c465f base::(anonymous namespace)::ThreadFunc() #14 0x7f6969a76494 start_thread #15 0x7f69679c9a8f clone [173054:173054:1025/124547.068238:WARNING:gaia_auth_fetcher.cc(858)] Could not reach Google Accounts servers: errno -102 [173054:173054:1025/124547.068833:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124547.069787:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173216:1025/124547.099799:WARNING:embedded_test_server.cc(239)] Request not handled. Returning 404: /favicon.ico [173054:173054:1025/124547.100225:ERROR:render_process_host_impl.cc(4011)] UnmatchedServiceWorkerProcessTracker got host (nil) [173054:173054:1025/124547.100254:ERROR:render_process_host_impl.cc(4021)] MaybeTakeSpareRenderProcessHost got host 0x3c107ae7c000 [173054:173054:1025/124547.116325:ERROR:render_process_host_impl.cc(2805)] NotifySpareManagerAboutRecentlyUsedBrowserContext [173054:173054:1025/124547.153490:INFO:CONSOLE(5)] "Uncaught TypeError: Cannot read property 'assertEq' of undefined", source: http://localhost:44031/extensions/api_test/management/test/common.js (5) [173054:173054:1025/124547.155585:INFO:CONSOLE(191)] "Uncaught TypeError: Cannot read property 'runTests' of undefined", source: http://localhost:44031/extensions/api_test/management/test/basics.js (191) ../../chrome/browser/extensions/process_management_browsertest.cc:359: Failure Expected equality of these values: 5u Which is: 5 process_map->size() Which is: 6 Stack trace: #0 0x0000027a6e3c testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop() #1 0x0000027a6809 testing::internal::AssertHelper::operator=() #2 0x000002261de1 extensions::ProcessManagementTest_ExtensionProcessBalancing_Test::RunTestOnMainThread() #3 0x00000363ea52 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #4 0x0000030900e6 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #5 0x00000308ed45 ChromeBrowserMainParts::PreMainMessageLoopRun() #6 0x7f6971bbc27a content::BrowserMainLoop::PreMainMessageLoopRun() #7 0x7f6972105525 content::StartupTaskRunner::RunAllTasksNow() #8 0x7f6971bbadfe content::BrowserMainLoop::CreateStartupTasks() #9 0x7f6971bbee9d content::BrowserMainRunnerImpl::Initialize() #10 0x7f6971bb86d2 content::BrowserMain() #11 0x7f697270da70 content::ContentMainRunnerImpl::Run() #12 0x7f696578b3e9 service_manager::Main() #13 0x7f697270bb41 content::ContentMain() #14 0x00000363e5ad content::BrowserTestBase::SetUp() #15 0x00000302a4c2 InProcessBrowserTest::SetUp() [173054:173054:1025/124547.271379:ERROR:process_management_browsertest.cc(360)] ** CHECK [173054:173054:1025/124547.274731:ERROR:process_map.cc(78)] ** REMOVE ALL 7 from size 6 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000003dd2655 extensions::ExtensionService::Observe() #3 0x7f6971edefe1 content::NotificationServiceImpl::Notify() #4 0x7f6971fc1e5f content::RenderProcessHostImpl::Cleanup() #5 0x7f6971fbcef0 content::RenderProcessHostImpl::RemoveRoute() #6 0x7f6971fcd96d content::RenderViewHostImpl::~RenderViewHostImpl() #7 0x7f6971fcdb8e content::RenderViewHostImpl::~RenderViewHostImpl() #8 0x7f6971fd0bad content::RenderViewHostImpl::ShutdownAndDestroy() #9 0x7f6971d4b27d content::FrameTree::ReleaseRenderViewHostRef() #10 0x7f6971d7eb81 content::RenderFrameHostImpl::~RenderFrameHostImpl() #11 0x7f6971d7ff3e content::RenderFrameHostImpl::~RenderFrameHostImpl() #12 0x7f6971da95f3 content::RenderFrameHostManager::DeleteFromPendingList() #13 0x7f6971d7e1c5 content::RenderFrameHostImpl::OnSwappedOut() #14 0x7f6971d84931 _ZN3IPC8MessageTI29FrameHostMsg_SwapOut_ACK_MetaNSt3__15tupleIJEEEvE8DispatchIN7content19RenderFrameHostImplES8_vMS8_FvvEEEbPKNS_7MessageEPT_PT0_PT1_T2_ #15 0x7f6971d829e8 content::RenderFrameHostImpl::OnMessageReceived() #16 0x7f6971fc04bb content::RenderProcessHostImpl::OnMessageReceived() #17 0x7f6972e698a1 IPC::ChannelProxy::Context::OnDispatchMessage() #18 0x7f6972e6c5b8 _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12ChannelProxy7ContextEFvRKNS3_7MessageEEJ13scoped_refptrIS5_ES6_EEEFvvEE3RunEPNS0_13BindStateBaseE #19 0x7f69762b7b02 base::debug::TaskAnnotator::RunTask() #20 0x7f69762e4f2f base::MessageLoop::RunTask() #21 0x7f69762e53c2 base::MessageLoop::DoWork() #22 0x7f69762e975f base::(anonymous namespace)::WorkSourceDispatch() #23 0x7f6969551fc7 g_main_context_dispatch #24 0x7f6969552200 <unknown> #25 0x7f696955228c g_main_context_iteration #26 0x7f69762e9482 base::MessagePumpGlib::Run() #27 0x7f69762e4a01 base::MessageLoop::Run() #28 0x7f6976318d96 base::RunLoop::Run() #29 0x00000366e185 content::RunAllPendingInMessageLoop() #30 0x00000302be81 InProcessBrowserTest::PostRunTestOnMainThread() #31 0x00000363ec31 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #32 0x0000030900e6 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #33 0x00000308ed45 ChromeBrowserMainParts::PreMainMessageLoopRun() #34 0x7f6971bbc27a content::BrowserMainLoop::PreMainMessageLoopRun() #35 0x7f6972105525 content::StartupTaskRunner::RunAllTasksNow() #36 0x7f6971bbadfe content::BrowserMainLoop::CreateStartupTasks() #37 0x7f6971bbee9d content::BrowserMainRunnerImpl::Initialize() #38 0x7f6971bb86d2 content::BrowserMain() #39 0x7f697270da70 content::ContentMainRunnerImpl::Run() #40 0x7f696578b3e9 service_manager::Main() #41 0x7f697270bb41 content::ContentMain() #42 0x00000363e5ad content::BrowserTestBase::SetUp() #43 0x00000302a4c2 InProcessBrowserTest::SetUp() #44 0x0000027ac64d testing::Test::Run() #45 0x0000027ad2b0 testing::TestInfo::Run() #46 0x0000027ad7c7 testing::TestCase::Run() #47 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #48 0x0000027b96cd testing::UnitTest::Run() #49 0x00000303da01 base::TestSuite::Run() #50 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #51 0x00000366a205 content::LaunchTests() #52 0x000002ff8e70 LaunchChromeTests() #53 0x000002ff894e main #54 0x7f69679012b1 __libc_start_main #55 0x0000012c902a _start [173054:173063:1025/124547.588959:ERROR:process_map.cc(78)] ** REMOVE ALL 7 from size 6 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7f69762b7b02 base::debug::TaskAnnotator::RunTask() #4 0x7f69762e4f2f base::MessageLoop::RunTask() #5 0x7f69762e53c2 base::MessageLoop::DoWork() #6 0x7f69763d37d9 base::MessagePumpLibevent::Run() #7 0x7f69762e4a01 base::MessageLoop::Run() #8 0x7f6976318d96 base::RunLoop::Run() #9 0x7f697637655a base::Thread::Run() #10 0x7f6971bc7654 <unknown> #11 0x7f6971bc759f <unknown> #12 0x7f6976376b05 base::Thread::ThreadMain() #13 0x7f69763c465f base::(anonymous namespace)::ThreadFunc() #14 0x7f6969a76494 start_thread #15 0x7f69679c9a8f clone [173054:173054:1025/124547.599303:ERROR:process_map.cc(78)] ** REMOVE ALL 8 from size 5 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 <unknown> #2 0x000003dd2655 <unknown> #3 0x7f6971edefe1 content::NotificationServiceImpl::Notify() #4 0x7f6971fc1e5f content::RenderProcessHostImpl::Cleanup() #5 0x7f6971fbff05 content::RenderProcessHostImpl::ProcessDied() #6 0x7f6971fbf97b content::RenderProcessHostImpl::FastShutdownIfPossible() #7 0x000003111132 browser_shutdown::OnShutdownStarting() #8 0x0000043d4a2b Browser::OnWindowClosing() #9 0x00000455670c BrowserView::CanClose() #10 0x7f6973a5ebb2 views::Widget::Close() #11 0x00000330c391 BrowserCloseManager::CloseBrowsers() #12 0x00000330c5eb BrowserCloseManager::TryToCloseBrowsers() #13 0x00000311070a chrome::CloseAllBrowsers() #14 0x000003110b4c chrome::AttemptExit() #15 0x7f69762b7b02 base::debug::TaskAnnotator::RunTask() #16 0x7f69762e4f2f base::MessageLoop::RunTask() #17 0x7f69762e53c2 base::MessageLoop::DoWork() #18 0x7f69762e975f base::(anonymous namespace)::WorkSourceDispatch() #19 0x7f6969551fc7 g_main_context_dispatch #20 0x7f6969552200 <unknown> #21 0x7f696955228c g_main_context_iteration #22 0x7f69762e93fc base::MessagePumpGlib::Run() #23 0x7f69762e4a01 base::MessageLoop::Run() #24 0x7f6976318d96 base::RunLoop::Run() #25 0x00000302c034 InProcessBrowserTest::QuitBrowsers() #26 0x00000302be89 InProcessBrowserTest::PostRunTestOnMainThread() #27 0x00000363ec31 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #28 0x0000030900e6 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #29 0x00000308ed45 ChromeBrowserMainParts::PreMainMessageLoopRun() #30 0x7f6971bbc27a content::BrowserMainLoop::PreMainMessageLoopRun() #31 0x7f6972105525 content::StartupTaskRunner::RunAllTasksNow() #32 0x7f6971bbadfe content::BrowserMainLoop::CreateStartupTasks() #33 0x7f6971bbee9d content::BrowserMainRunnerImpl::Initialize() #34 0x7f6971bb86d2 content::BrowserMain() #35 0x7f697270da70 content::ContentMainRunnerImpl::Run() #36 0x7f696578b3e9 service_manager::Main() #37 0x7f697270bb41 content::ContentMain() #38 0x00000363e5ad content::BrowserTestBase::SetUp() #39 0x00000302a4c2 InProcessBrowserTest::SetUp() #40 0x0000027ac64d testing::Test::Run() #41 0x0000027ad2b0 testing::TestInfo::Run() #42 0x0000027ad7c7 testing::TestCase::Run() #43 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #44 0x0000027b96cd testing::UnitTest::Run() #45 0x00000303da01 base::TestSuite::Run() #46 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #47 0x00000366a205 content::LaunchTests() #48 0x000002ff8e70 LaunchChromeTests() #49 0x000002ff894e main #50 0x7f69679012b1 __libc_start_main #51 0x0000012c902a _start [173054:173063:1025/124547.922254:ERROR:process_map.cc(78)] ** REMOVE ALL 8 from size 5 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 <unknown> #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7f69762b7b02 base::debug::TaskAnnotator::RunTask() #4 0x7f69762e4f2f base::MessageLoop::RunTask() #5 0x7f69762e53c2 base::MessageLoop::DoWork() #6 0x7f69763d37d9 base::MessagePumpLibevent::Run() #7 0x7f69762e4a01 base::MessageLoop::Run() #8 0x7f6976318d96 base::RunLoop::Run() #9 0x7f697637655a base::Thread::Run() #10 0x7f6971bc7654 <unknown> #11 0x7f6971bc759f <unknown> #12 0x7f6976376b05 base::Thread::ThreadMain() #13 0x7f69763c465f base::(anonymous namespace)::ThreadFunc() #14 0x7f6969a76494 start_thread #15 0x7f69679c9a8f clone [173054:173054:1025/124547.934980:ERROR:process_map.cc(78)] ** REMOVE ALL 4 from size 5 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 <unknown> #2 0x000003dd2655 <unknown> #3 0x7f6971edefe1 content::NotificationServiceImpl::Notify() #4 0x7f6971fc1e5f content::RenderProcessHostImpl::Cleanup() #5 0x7f6971fbcef0 content::RenderProcessHostImpl::RemoveRoute() #6 0x7f6971fcd96d content::RenderViewHostImpl::~RenderViewHostImpl() #7 0x7f6971fcdb8e content::RenderViewHostImpl::~RenderViewHostImpl() #8 0x7f6971fd0bad content::RenderViewHostImpl::ShutdownAndDestroy() #9 0x7f6971d4b27d content::FrameTree::ReleaseRenderViewHostRef() #10 0x7f6971d7eb81 content::RenderFrameHostImpl::~RenderFrameHostImpl() #11 0x7f6971d7ff3e content::RenderFrameHostImpl::~RenderFrameHostImpl() #12 0x7f6971da7464 content::RenderFrameHostManager::~RenderFrameHostManager() #13 0x7f6971d4c195 content::FrameTreeNode::~FrameTreeNode() #14 0x7f6971d49f0e content::FrameTree::~FrameTree() #15 0x7f6972131813 content::WebContentsImpl::~WebContentsImpl() #16 0x7f6972131c0e content::WebContentsImpl::~WebContentsImpl() #17 0x00000442068f TabStripModel::SendDetachWebContentsNotifications() #18 0x000004425888 TabStripModel::CloseWebContentses() #19 0x000004422382 TabStripModel::InternalCloseTabs() #20 0x0000044220ae TabStripModel::CloseAllTabs() #21 0x00000455670c BrowserView::CanClose() #22 0x7f6973a5ebb2 views::Widget::Close() #23 0x00000330c391 BrowserCloseManager::CloseBrowsers() #24 0x00000330c5eb BrowserCloseManager::TryToCloseBrowsers() #25 0x00000311070a chrome::CloseAllBrowsers() #26 0x000003110b4c chrome::AttemptExit() #27 0x7f69762b7b02 base::debug::TaskAnnotator::RunTask() #28 0x7f69762e4f2f base::MessageLoop::RunTask() #29 0x7f69762e53c2 base::MessageLoop::DoWork() #30 0x7f69762e975f base::(anonymous namespace)::WorkSourceDispatch() #31 0x7f6969551fc7 g_main_context_dispatch #32 0x7f6969552200 <unknown> #33 0x7f696955228c g_main_context_iteration #34 0x7f69762e93fc base::MessagePumpGlib::Run() #35 0x7f69762e4a01 base::MessageLoop::Run() #36 0x7f6976318d96 base::RunLoop::Run() #37 0x00000302c034 InProcessBrowserTest::QuitBrowsers() #38 0x00000302be89 InProcessBrowserTest::PostRunTestOnMainThread() #39 0x00000363ec31 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #40 0x0000030900e6 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #41 0x00000308ed45 ChromeBrowserMainParts::PreMainMessageLoopRun() #42 0x7f6971bbc27a content::BrowserMainLoop::PreMainMessageLoopRun() #43 0x7f6972105525 content::StartupTaskRunner::RunAllTasksNow() #44 0x7f6971bbadfe content::BrowserMainLoop::CreateStartupTasks() #45 0x7f6971bbee9d content::BrowserMainRunnerImpl::Initialize() #46 0x7f6971bb86d2 content::BrowserMain() #47 0x7f697270da70 content::ContentMainRunnerImpl::Run() #48 0x7f696578b3e9 service_manager::Main() #49 0x7f697270bb41 content::ContentMain() #50 0x00000363e5ad content::BrowserTestBase::SetUp() #51 0x00000302a4c2 InProcessBrowserTest::SetUp() #52 0x0000027ac64d testing::Test::Run() #53 0x0000027ad2b0 testing::TestInfo::Run() #54 0x0000027ad7c7 testing::TestCase::Run() #55 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #56 0x0000027b96cd testing::UnitTest::Run() #57 0x00000303da01 base::TestSuite::Run() #58 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #59 0x00000366a205 content::LaunchTests() #60 0x000002ff8e70 LaunchChromeTests() #61 0x000002ff894e main #62 0x7f69679012b1 __libc_start_main #63 0x0000012c902a _start [173054:173063:1025/124548.358750:ERROR:process_map.cc(78)] ** REMOVE ALL 4 from size 5 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7f69762b7b02 base::debug::TaskAnnotator::RunTask() #4 0x7f69762e4f2f base::MessageLoop::RunTask() #5 0x7f69762e53c2 base::MessageLoop::DoWork() #6 0x7f69763d37d9 base::MessagePumpLibevent::Run() #7 0x7f69762e4a01 base::MessageLoop::Run() #8 0x7f6976318d96 base::RunLoop::Run() #9 0x7f697637655a base::Thread::Run() #10 0x7f6971bc7654 content::BrowserProcessSubThread::IOThreadRun() #11 0x7f6971bc759f content::BrowserProcessSubThread::Run() #12 0x7f6976376b05 base::Thread::ThreadMain() #13 0x7f69763c465f base::(anonymous namespace)::ThreadFunc() #14 0x7f6969a76494 start_thread #15 0x7f69679c9a8f clone [173054:173054:1025/124548.418611:ERROR:process_map.cc(73)] ** REMOVE 5 from size 5 [173054:173063:1025/124548.418670:ERROR:process_map.cc(73)] ** REMOVE 5 from size 5 [173054:173054:1025/124548.419228:ERROR:process_map.cc(73)] ** REMOVE 6 from size 4 [173054:173063:1025/124548.419271:ERROR:process_map.cc(73)] ** REMOVE 6 from size 4 [173054:173054:1025/124548.419726:ERROR:process_map.cc(78)] ** REMOVE ALL 5 from size 3 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000003dd2655 extensions::ExtensionService::Observe() #3 0x7f6971edefe1 content::NotificationServiceImpl::Notify() #4 0x7f6971fc1e5f content::RenderProcessHostImpl::Cleanup() #5 0x7f6971fbcef0 content::RenderProcessHostImpl::RemoveRoute() #6 0x7f6971fcd96d content::RenderViewHostImpl::~RenderViewHostImpl() #7 0x7f6971fcdb8e content::RenderViewHostImpl::~RenderViewHostImpl() #8 0x7f6971fd0bad content::RenderViewHostImpl::ShutdownAndDestroy() #9 0x7f6971d4b27d content::FrameTree::ReleaseRenderViewHostRef() #10 0x7f6971d7eb81 content::RenderFrameHostImpl::~RenderFrameHostImpl() #11 0x7f6971d7ff3e content::RenderFrameHostImpl::~RenderFrameHostImpl() #12 0x7f6971da7464 content::RenderFrameHostManager::~RenderFrameHostManager() #13 0x7f6971d4c195 content::FrameTreeNode::~FrameTreeNode() #14 0x7f6971d49f0e content::FrameTree::~FrameTree() #15 0x7f6972131813 content::WebContentsImpl::~WebContentsImpl() #16 0x7f6972131c0e content::WebContentsImpl::~WebContentsImpl() #17 0x00000297b806 extensions::ExtensionHost::~ExtensionHost() #18 0x00000297b8be extensions::ExtensionHost::~ExtensionHost() #19 0x0000029cc8a3 extensions::ProcessManager::CloseBackgroundHosts() #20 0x000003d9fb7a extensions::ChromeProcessManagerDelegate::Observe() #21 0x7f6971edefe1 content::NotificationServiceImpl::Notify() #22 0x000003259203 Profile::MaybeSendDestroyedNotification() #23 0x000003260e1c ProfileDestroyer::DestroyProfileWhenAppropriate() #24 0x00000328147a std::__1::__tree<>::destroy() #25 0x0000032813b6 ProfileManager::~ProfileManager() #26 0x000003277bfe ProfileManager::~ProfileManager() #27 0x000003092842 BrowserProcessImpl::StartTearDown() #28 0x000003090ee2 ChromeBrowserMainParts::PostMainMessageLoopRun() #29 0x7f6971bbc80a content::BrowserMainLoop::ShutdownThreadsAndCleanUp() #30 0x7f6971bbf6df content::BrowserMainRunnerImpl::Shutdown() #31 0x7f6971bb86f5 content::BrowserMain() #32 0x7f697270da70 content::ContentMainRunnerImpl::Run() #33 0x7f696578b3e9 service_manager::Main() #34 0x7f697270bb41 content::ContentMain() #35 0x00000363e5ad content::BrowserTestBase::SetUp() #36 0x00000302a4c2 InProcessBrowserTest::SetUp() #37 0x0000027ac64d testing::Test::Run() #38 0x0000027ad2b0 testing::TestInfo::Run() #39 0x0000027ad7c7 testing::TestCase::Run() #40 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #41 0x0000027b96cd testing::UnitTest::Run() #42 0x00000303da01 base::TestSuite::Run() #43 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #44 0x00000366a205 content::LaunchTests() #45 0x000002ff8e70 LaunchChromeTests() #46 0x000002ff894e main #47 0x7f69679012b1 __libc_start_main #48 0x0000012c902a _start [173054:173054:1025/124548.785196:ERROR:process_map.cc(73)] ** REMOVE 6 from size 2 [173054:173063:1025/124548.784271:ERROR:process_map.cc(78)] ** REMOVE ALL 5 from size 3 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7f69762b7b02 base::debug::TaskAnnotator::RunTask() #4 0x7f69762e4f2f base::MessageLoop::RunTask() #5 0x7f69762e53c2 base::MessageLoop::DoWork() #6 0x7f69763d37d9 base::MessagePumpLibevent::Run() #7 0x7f69762e4a01 base::MessageLoop::Run() #8 0x7f6976318d96 base::RunLoop::Run() #9 0x7f697637655a base::Thread::Run() #10 0x7f6971bc7654 <unknown> #11 0x7f6971bc759f <unknown> #12 0x7f6976376b05 base::Thread::ThreadMain() #13 0x7f69763c465f base::(anonymous namespace)::ThreadFunc() #14 0x7f6969a76494 start_thread #15 0x7f69679c9a8f clone [173054:173063:1025/124548.815406:ERROR:process_map.cc(73)] ** REMOVE 6 from size 2 [173054:173054:1025/124548.785481:ERROR:process_map.cc(78)] ** REMOVE ALL 6 from size 1 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 <unknown> #2 0x000003dd2655 <unknown> #3 0x7f6971edefe1 content::NotificationServiceImpl::Notify() #4 0x7f6971fc1e5f content::RenderProcessHostImpl::Cleanup() #5 0x7f6971fbcef0 content::RenderProcessHostImpl::RemoveRoute() #6 0x7f6971fcd96d content::RenderViewHostImpl::~RenderViewHostImpl() #7 0x7f6971fcdb8e content::RenderViewHostImpl::~RenderViewHostImpl() #8 0x7f6971fd0bad content::RenderViewHostImpl::ShutdownAndDestroy() #9 0x7f6971d4b27d content::FrameTree::ReleaseRenderViewHostRef() #10 0x7f6971d7eb81 content::RenderFrameHostImpl::~RenderFrameHostImpl() #11 0x7f6971d7ff3e content::RenderFrameHostImpl::~RenderFrameHostImpl() #12 0x7f6971da7464 content::RenderFrameHostManager::~RenderFrameHostManager() #13 0x7f6971d4c195 content::FrameTreeNode::~FrameTreeNode() #14 0x7f6971d49f0e content::FrameTree::~FrameTree() #15 0x7f6972131813 content::WebContentsImpl::~WebContentsImpl() #16 0x7f6972131c0e content::WebContentsImpl::~WebContentsImpl() #17 0x00000297b806 extensions::ExtensionHost::~ExtensionHost() #18 0x00000297b8be extensions::ExtensionHost::~ExtensionHost() #19 0x0000029cc8a3 extensions::ProcessManager::CloseBackgroundHosts() #20 0x000003d9fb7a extensions::ChromeProcessManagerDelegate::Observe() #21 0x7f6971edefe1 content::NotificationServiceImpl::Notify() #22 0x000003259203 Profile::MaybeSendDestroyedNotification() #23 0x000003260e1c ProfileDestroyer::DestroyProfileWhenAppropriate() #24 0x00000328147a std::__1::__tree<>::destroy() #25 0x0000032813b6 ProfileManager::~ProfileManager() #26 0x000003277bfe ProfileManager::~ProfileManager() #27 0x000003092842 BrowserProcessImpl::StartTearDown() #28 0x000003090ee2 ChromeBrowserMainParts::PostMainMessageLoopRun() #29 0x7f6971bbc80a content::BrowserMainLoop::ShutdownThreadsAndCleanUp() #30 0x7f6971bbf6df content::BrowserMainRunnerImpl::Shutdown() #31 0x7f6971bb86f5 content::BrowserMain() #32 0x7f697270da70 content::ContentMainRunnerImpl::Run() #33 0x7f696578b3e9 service_manager::Main() #34 0x7f697270bb41 content::ContentMain() #35 0x00000363e5ad content::BrowserTestBase::SetUp() #36 0x00000302a4c2 InProcessBrowserTest::SetUp() #37 0x0000027ac64d testing::Test::Run() #38 0x0000027ad2b0 testing::TestInfo::Run() #39 0x0000027ad7c7 testing::TestCase::Run() #40 0x0000027b9b57 testing::internal::UnitTestImpl::RunAllTests() #41 0x0000027b96cd testing::UnitTest::Run() #42 0x00000303da01 base::TestSuite::Run() #43 0x000002ff89ca ChromeTestSuiteRunner::RunTestSuite() #44 0x00000366a205 content::LaunchTests() #45 0x000002ff8e70 LaunchChromeTests() #46 0x000002ff894e main #47 0x7f69679012b1 __libc_start_main #48 0x0000012c902a _start [173054:173063:1025/124549.126889:ERROR:process_map.cc(78)] ** REMOVE ALL 6 from size 1 #0 0x7f69763adf3f base::debug::StackTrace::StackTrace() #1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess() #2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE #3 0x7f69762b7b02 base::debug::TaskAnnotator::RunTask() #4 0x7f69762e4f2f base::MessageLoop::RunTask() #5 0x7f69762e53c2 base::MessageLoop::DoWork() #6 0x7f69763d37d9 base::MessagePumpLibevent::Run() #7 0x7f69762e4a01 base::MessageLoop::Run() #8 0x7f6976318d96 base::RunLoop::Run() #9 0x7f697637655a base::Thread::Run() #10 0x7f6971bc7654 content::BrowserProcessSubThread::IOThreadRun() #11 0x7f6971bc759f content::BrowserProcessSubThread::Run() #12 0x7f6976376b05 base::Thread::ThreadMain() #13 0x7f69763c465f base::(anonymous namespace)::ThreadFunc() #14 0x7f6969a76494 start_thread #15 0x7f69679c9a8f clone [173054:173063:1025/124549.183231:WARNING:discardable_shared_memory_manager.cc(409)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. They will be leaked. [173054:173054:1025/124549.189264:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown. [173054:173054:1025/124549.189301:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown. [173054:173301:1025/124549.197814:WARNING:internal_linux.cc(64)] Failed to read /proc/173093/stat [ FAILED ] ProcessManagementTest.ExtensionProcessBalancing, where TypeParam = and GetParam() = (4956 ms)
,
Oct 25
This stack happens in both the pass and fail:
[172744:172744:1025/124530.761291:ERROR:process_map.cc(78)] ** REMOVE ALL 3 from size 6
#0 0x7ff498aaff3f base::debug::StackTrace::StackTrace()
#1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess()
#2 0x000003dd2655 extensions::ExtensionService::Observe()
#3 0x7ff4945e0fe1 content::NotificationServiceImpl::Notify()
#4 0x7ff4946c3e5f content::RenderProcessHostImpl::Cleanup()
#5 0x7ff4946beef0 content::RenderProcessHostImpl::RemoveRoute()
#6 0x7ff4946cf96d content::RenderViewHostImpl::~RenderViewHostImpl()
#7 0x7ff4946cfb8e content::RenderViewHostImpl::~RenderViewHostImpl()
#8 0x7ff4946d2bad content::RenderViewHostImpl::ShutdownAndDestroy()
#9 0x7ff49444d27d content::FrameTree::ReleaseRenderViewHostRef()
#10 0x7ff494480b81 content::RenderFrameHostImpl::~RenderFrameHostImpl()
#11 0x7ff494481f3e content::RenderFrameHostImpl::~RenderFrameHostImpl()
#12 0x7ff4944ab5f3 content::RenderFrameHostManager::DeleteFromPendingList()
#13 0x7ff4944801c5 content::RenderFrameHostImpl::OnSwappedOut()
Then this happens in both pass and fail:
[172744:172790:1025/124531.122987:ERROR:process_map.cc(78)] ** REMOVE ALL 3 from size 6
#0 0x7ff498aaff3f base::debug::StackTrace::StackTrace()
#1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess()
#2 0x000002a48a4e _ZN4base8internal7InvokerINS0_9BindStateIMN10extensions3api49BluetoothLowEnergyUnregisterAdvertisementFunctionEFviEJ13scoped_refptrIS5_EiEEEFvvEE3RunEPNS0_13BindStateBaseE
#3 0x7ff4989b9b02 base::debug::TaskAnnotator::RunTask()
#4 0x7ff4989e6f2f base::MessageLoop::RunTask()
#5 0x7ff4989e73c2 base::MessageLoop::DoWork()
#6 0x7ff498ad57d9 base::MessagePumpLibevent::Run()
#7 0x7ff4989e6a01 base::MessageLoop::Run()
#8 0x7ff498a1ad96 base::RunLoop::Run()
#9 0x7ff498a7855a base::Thread::Run()
#10 0x7ff4942c9654 content::BrowserProcessSubThread::IOThreadRun()
#11 0x7ff4942c959f content::BrowserProcessSubThread::Run()
#12 0x7ff498a78b05 base::Thread::ThreadMain()
#13 0x7ff498ac665f base::(anonymous namespace)::ThreadFunc()
#14 0x7ff48c178494 start_thread
#15 0x7ff48a0cba8f clone
But the list stays at 6 in both throughout this. Then in the passing case, this happens next:
[172744:172744:1025/124531.305038:ERROR:process_map.cc(78)] ** REMOVE ALL 7 from size 6
#0 0x7ff498aaff3f base::debug::StackTrace::StackTrace()
#1 0x0000029d2c24 extensions::ProcessMap::RemoveAllFromProcess()
#2 0x000003dd2655 extensions::ExtensionService::Observe()
#3 0x7ff4945e0fe1 content::NotificationServiceImpl::Notify()
#4 0x7ff4946c3e5f content::RenderProcessHostImpl::Cleanup()
#5 0x7ff4946beef0 content::RenderProcessHostImpl::RemoveRoute()
#6 0x7ff4946cf96d content::RenderViewHostImpl::~RenderViewHostImpl()
#7 0x7ff4946cfb8e content::RenderViewHostImpl::~RenderViewHostImpl()
#8 0x7ff4946d2bad content::RenderViewHostImpl::ShutdownAndDestroy()
#9 0x7ff49444d27d content::FrameTree::ReleaseRenderViewHostRef()
#10 0x7ff494480b81 content::RenderFrameHostImpl::~RenderFrameHostImpl()
#11 0x7ff494481f3e content::RenderFrameHostImpl::~RenderFrameHostImpl()
#12 0x7ff4944ab5f3 content::RenderFrameHostManager::DeleteFromPendingList()
#13 0x7ff4944801c5 content::RenderFrameHostImpl::OnSwappedOut()
But in the failing case, it does not happen and we immediately check the process list size:
../../chrome/browser/extensions/process_management_browsertest.cc:359: Failure
Expected equality of these values:
5u
Which is: 5
process_map->size()
Which is: 6
,
Oct 25
The OnSwappedOut there is coming from
void RenderFrameHostImpl::OnSwapOutACK() {
OnSwappedOut();
}
Note that my CL changed RenderFrameImpl to do more work (stopping the compositor) before it sends the ACK. So it looks like the test is racing against the ACK from the renderer for the SwapOut.
Putting a sleep in RenderFrameImpl::OnSwapOut on TOT causes the test to fail reliably:
if (is_main_frame_) {
render_view_->SetSwappedOut(true);
usleep(100000); <---- added this, before we send the FrameHostMsg_SwapOut_ACK
}
,
Oct 25
I can't just stick a
content::RenderProcessHostWatcher prev_host_watcher(
8008
prev_host,content::RenderProcessHostWatcher::WATCH_FOR_HOST_DESTRUCTION);
In this test like we did for https://bugs.chromium.org/p/chromium/issues/detail?id=888156
We don't have a |prev_host| here.
Added more printing in the browser side, what happens is:
LOG(ERROR) << ">>> 1";
ui_test_utils::NavigateToURL(
browser(), base_url.Resolve("isolated_apps/app1/main.html"));
LOG(ERROR) << ">>> 2";
ui_test_utils::NavigateToURL(
browser(), base_url.Resolve("api_test/management/test/basics.html"));
LOG(ERROR) << ">>> 3";
The first NavigateToURL happens, then when the second one occurs, it causes the following to occur:
226498:226498:1025/152644.011399:ERROR:render_frame_host_impl.cc(2133)] SwapOut!
#0 0x7f73e52d0f3f base::debug::StackTrace::StackTrace()
#1 0x7f73e0cb1c1f content::RenderFrameHostImpl::SwapOut()
#2 0x7f73e0ccc23f content::RenderFrameHostManager::SwapOutOldFrame()
#3 0x7f73e0ccbb98 content::RenderFrameHostManager::CommitPending()
#4 0x7f73e0ccb323 content::RenderFrameHostManager::CommitPendingIfNecessary()
#5 0x7f73e0ccb1f1 content::RenderFrameHostManager::DidNavigateFrame()
#6 0x7f73e0c9c071 content::NavigatorImpl::DidNavigate()
#7 0x7f73e0cb13c3 content::RenderFrameHostImpl::DidCommitNavigationInternal()
#8 0x7f73e0cb0c53 content::RenderFrameHostImpl::DidCommitProvisionalLoad()
#9 0x7f73e0708ba5 content::mojom::FrameHostStubDispatch::Accept()
So the navigation I presume makes a new RenderView in a renderer, and swaps out the old one.
The browser hears back the SwapOut_ACK eventually and that's what the process map exposes.
The NavigateToURL waits for a content::TestNavigationObserver object to verify the navigation completed. But that only watches the new RenderView/renderer, not the SwapOut progress on the old one. So measuring that from the test afterward is inherently racey.
,
Oct 25
Confirmed that using a content::RenderProcessHostWatcher to watch the destruction of the first NavigateToURL removes the race, we need to return a RenderProcessHost from NavigateToURL to do this.
,
Oct 25
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/fb16d7b62edb29bff4302bc6a70a33b502485006 commit fb16d7b62edb29bff4302bc6a70a33b502485006 Author: danakj <danakj@chromium.org> Date: Thu Oct 25 21:51:04 2018 Deflake ProcessManagementTest.ExtensionProcessBalancing This test is assuming that navigation completing also implies the old renderer process has been torn down. This is incorrect, and races with the SwapOut -> SwapOut_ACK IPC round trip to the renderer. The old renderer is not torn down until the ACK comes back. So this CL adds a waiter to the test to ensure the first RenderProcessHost is destroyed before counting them. The flake is made more obvious by delaying the SwapOut_ACK with a sleep in the renderer, then the test fails very consistently. R=nasko@chromium.org, reillyg@chromium.org Change-Id: I0d71ce7c720c600afb53629ce434999b289e3120 Bug: 898628 Reviewed-on: https://chromium-review.googlesource.com/c/1299974 Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#602875} [modify] https://crrev.com/fb16d7b62edb29bff4302bc6a70a33b502485006/chrome/browser/banners/app_banner_manager_browsertest.cc [modify] https://crrev.com/fb16d7b62edb29bff4302bc6a70a33b502485006/chrome/browser/extensions/process_management_browsertest.cc [modify] https://crrev.com/fb16d7b62edb29bff4302bc6a70a33b502485006/chrome/test/base/ui_test_utils.cc [modify] https://crrev.com/fb16d7b62edb29bff4302bc6a70a33b502485006/chrome/test/base/ui_test_utils.h
,
Oct 25
,
Oct 26
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by dalecur...@chromium.org
, Oct 24