ToT Chrome
Run --mash --ash-debug-shortcuts
Ctrl-Alt-Shift-K to crash ash
Ash goes down, root process tries to quit children, ui service crashes with this stack:
#0 0x7f3a25bb6b7d base::debug::StackTrace::StackTrace()
#1 0x7f3a25bb6f70 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7f3a229a9530 <unknown>
#3 0x7f3a25c257b7 base::ThreadTaskRunnerHandle::Get()
#4 0x7f3a29d81f43 ui::ws::DefaultWindowTreeBinding::CreateClientForShutdown()
#5 0x7f3a29d80f52 ui::ws::WindowTreeBinding::ResetClientForShutdown()
#6 0x7f3a29d77cfa ui::ws::WindowTree::PrepareForWindowServerShutdown()
#7 0x7f3a29d76daa ui::ws::WindowServer::~WindowServer()
#8 0x7f3a29d77251 ui::ws::WindowServer::~WindowServer()
#9 0x7f3a2577c015 ui::Service::~Service()
#10 0x7f3a2577c381 ui::Service::~Service()
#11 0x7f3a268e1ba3 service_manager::ServiceContext::~ServiceContext()
#12 0x7f3a268e1c51 service_manager::ServiceContext::~ServiceContext()
#13 0x7f3a2576ecd3 mash::MashPackagedService::~MashPackagedService()
#14 0x7f3a2576ed21 mash::MashPackagedService::~MashPackagedService()
#15 0x7f3a268e1ba3 service_manager::ServiceContext::~ServiceContext()
#16 0x7f3a268e1c51 service_manager::ServiceContext::~ServiceContext()
#17 0x7f3a23b50cf5 MashMain()
#18 0x7f3a23b4d5d5 ChromeMain
#19 0x7f3a21603796 __libc_start_main
#20 0x7f3a23b4d389 _start
This is similar to issue 689197 . It looks like the MessageLoop is being destroyed before service_manager::ServiceContext.
Comment 1 by bugdroid1@chromium.org
, Feb 10 2017