New issue
Advanced search Search tips

Issue 721901 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: May 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

ash_standalone crashes on startup

Project Member Reported by jamescook@chromium.org, May 12 2017

Issue description

chrome r471373

ninja -C out/Default chrome mash:all
out/Default/mash --service=mash_session --window-manager=ash_standalone

Looks like chrome is launching (not wanted, right?) and crashing. Ash also crashes at startup.

[81072:81074:0512/135940.667915:344684255163:INFO:service_process_launcher.cc(195)] Launched child process pid=81147, instance=, name=ash, user_id=505C0EE9-3013-43C0-82B0-A84F50CF8D84
[81080:81080:0512/135940.669975:FATAL:ash_init.cc(87)] Check failed: window_manager->WaitForInitialDisplays(). 
#0 0x7f46672c10cc base::debug::StackTrace::StackTrace()
#1 0x7f46672e54e1 logging::LogMessage::~LogMessage()
#2 0x55f9c6e3cee3 AshInit::AshInit()
#3 0x55f9c6d131c0 ChromeBrowserMainExtraPartsAsh::PreProfileInit()
#4 0x55f9c5f27670 ChromeBrowserMainParts::PreProfileInit()
#5 0x55f9c5f2838b ChromeBrowserMainPartsLinux::PreProfileInit()
#6 0x55f9c5b4ff2d chromeos::ChromeBrowserMainPartsChromeos::PreProfileInit()
#7 0x55f9c5f26d0c ChromeBrowserMainParts::PreMainMessageLoopRunImpl()
#8 0x55f9c5f266d2 ChromeBrowserMainParts::PreMainMessageLoopRun()
#9 0x55f9c5b4faa2 chromeos::ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun()
#10 0x7f4664f2225b content::BrowserMainLoop::PreMainMessageLoopRun()
#11 0x7f46652154f6 content::StartupTaskRunner::RunAllTasksNow()
#12 0x7f4664f209d5 content::BrowserMainLoop::CreateStartupTasks()
#13 0x7f4664f24901 content::BrowserMainRunnerImpl::Initialize()
#14 0x7f4664f1e5a8 content::BrowserMain()
#15 0x7f4665513f2f content::ContentMainRunnerImpl::Run()
#16 0x7f46677f852b service_manager::Main()
#17 0x7f4665512ecf content::ContentMain()
#18 0x55f9c57fb2bb ChromeMain
#19 0x7f465c924f45 __libc_start_main
#20 0x55f9c57fb13d <unknown>

Received signal 6
#0 0x7f46672c10cc base::debug::StackTrace::StackTrace()
#1 0x7f46672c0c31 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7f466743e330 <unknown>
#3 0x7f465c939c37 gsignal
#4 0x7f465c93d028 abort
#5 0x7f46672bef45 base::debug::BreakDebugger()
#6 0x7f46672e58a7 logging::LogMessage::~LogMessage()
#7 0x55f9c6e3cee3 AshInit::AshInit()
#8 0x55f9c6d131c0 ChromeBrowserMainExtraPartsAsh::PreProfileInit()
#9 0x55f9c5f27670 ChromeBrowserMainParts::PreProfileInit()
#10 0x55f9c5f2838b ChromeBrowserMainPartsLinux::PreProfileInit()
#11 0x55f9c5b4ff2d chromeos::ChromeBrowserMainPartsChromeos::PreProfileInit()
#12 0x55f9c5f26d0c ChromeBrowserMainParts::PreMainMessageLoopRunImpl()
#13 0x55f9c5f266d2 ChromeBrowserMainParts::PreMainMessageLoopRun()
#14 0x55f9c5b4faa2 chromeos::ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun()
#15 0x7f4664f2225b content::BrowserMainLoop::PreMainMessageLoopRun()
#16 0x7f46652154f6 content::StartupTaskRunner::RunAllTasksNow()
#17 0x7f4664f209d5 content::BrowserMainLoop::CreateStartupTasks()
#18 0x7f4664f24901 content::BrowserMainRunnerImpl::Initialize()
#19 0x7f4664f1e5a8 content::BrowserMain()
#20 0x7f4665513f2f content::ContentMainRunnerImpl::Run()
#21 0x7f46677f852b service_manager::Main()
#22 0x7f4665512ecf content::ContentMain()
#23 0x55f9c57fb2bb ChromeMain
#24 0x7f465c924f45 __libc_start_main
#25 0x55f9c57fb13d <unknown>
  r8: ffff9ea5c533baf8  r9: ffff9ea5c533bae8 r10: 0000000000000008 r11: 0000000000000206
 r12: 00007f465d1e3940 r13: 00007ffc33143dd8 r14: 000000000000006f r15: 00007ffc33143dd0
  di: 0000000000013cb8  si: 0000000000013cb8  bp: 00007ffc33143930  bx: 00007ffc33143940
  dx: 0000000000000006  ax: 0000000000000000  cx: 00007f465c939c37  sp: 00007ffc331437f8
  ip: 00007f465c939c37 efl: 0000000000000206 cgf: 0000000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[81085:81085:0512/135940.840526:344684427771:ERROR:binder_registry.cc(42)] Failed to locate a binder for interface: display::mojom::DisplayController
[81147:81147:0512/135940.841498:344684428822:FATAL:shell.cc(231)] Check failed: instance_. 
#0 0x7fadb91630cc base::debug::StackTrace::StackTrace()
#1 0x7fadb91874e1 logging::LogMessage::~LogMessage()
#2 0x7fadb8f24123 ash::Shell::Get()
#3 0x7fadb8f00b45 ash::(anonymous namespace)::BindWallpaperRequestOnMainThread()
#4 0x7fadb8f00bc1 _ZN4base8internal13FunctorTraitsIPFvRKN15service_manager14BindSourceInfoEN4mojo16InterfaceRequestIN3ash5mojom10CastConfigEEEEvE6InvokeIJS5_SB_EEEvSD_DpOT_
#5 0x7fadb8f00e77 service_manager::CallbackBinder<>::RunCallback()
#6 0x7fadb8f00ed6 _ZN4base8internal7InvokerINS0_9BindStateIPFvRKNS_8CallbackIFvRKN15service_manager14BindSourceInfoEN4mojo16InterfaceRequestIN3ash5mojom10CastConfigEEEELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEES7_SD_EJSH_S5_NS0_13PassedWrapperISD_EEEEEFvvEE3RunEPNS0_13BindStateBaseE
#7 0x7fadb914e5a9 _ZNO4base8CallbackIFvvELNS_8internal8CopyModeE0ELNS2_10RepeatModeE0EE3RunEv
#8 0x7fadb9163a64 base::debug::TaskAnnotator::RunTask()
#9 0x7fadb9193c79 base::MessageLoop::RunTask()
#10 0x7fadb919403f base::MessageLoop::DeferOrRunPendingTask()
#11 0x7fadb919442d base::MessageLoop::DoWork()
#12 0x7fadb9195c99 base::MessagePumpDefault::Run()
#13 0x7fadb9193a02 base::MessageLoop::RunHandler()
#14 0x7fadb91c8b49 base::RunLoop::Run()
#15 0x000000446b7a service_manager::ServiceRunner::Run()
#16 0x000000446bdd service_manager::ServiceRunner::Run()
#17 0x0000004288ba ServiceMain
#18 0x000000428992 (anonymous namespace)::RunServiceMain()
#19 0x000000428bd4 _ZN4base8internal13FunctorTraitsIPFvN4mojo16InterfaceRequestIN15service_manager5mojom7ServiceEEEEvE6InvokeIJS7_EEEvS9_DpOT_
#20 0x000000438262 service_manager::RunStandaloneService()
#21 0x000000428957 main
#22 0x7fadb6f51f45 __libc_start_main
#23 0x000000428789 <unknown>

Received signal 6
#0 0x7fadb91630cc base::debug::StackTrace::StackTrace()
#1 0x7fadb9162c31 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7fadb92e0330 <unknown>
#3 0x7fadb6f66c37 gsignal
#4 0x7fadb6f6a028 abort
#5 0x7fadb9160f45 base::debug::BreakDebugger()
#6 0x7fadb91878a7 logging::LogMessage::~LogMessage()
#7 0x7fadb8f24123 ash::Shell::Get()
#8 0x7fadb8f00b45 ash::(anonymous namespace)::BindWallpaperRequestOnMainThread()
#9 0x7fadb8f00bc1 _ZN4base8internal13FunctorTraitsIPFvRKN15service_manager14BindSourceInfoEN4mojo16InterfaceRequestIN3ash5mojom10CastConfigEEEEvE6InvokeIJS5_SB_EEEvSD_DpOT_
#10 0x7fadb8f00e77 service_manager::CallbackBinder<>::RunCallback()
#11 0x7fadb8f00ed6 _ZN4base8internal7InvokerINS0_9BindStateIPFvRKNS_8CallbackIFvRKN15service_manager14BindSourceInfoEN4mojo16InterfaceRequestIN3ash5mojom10CastConfigEEEELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEES7_SD_EJSH_S5_NS0_13PassedWrapperISD_EEEEEFvvEE3RunEPNS0_13BindStateBaseE
#12 0x7fadb914e5a9 _ZNO4base8CallbackIFvvELNS_8internal8CopyModeE0ELNS2_10RepeatModeE0EE3RunEv
#13 0x7fadb9163a64 base::debug::TaskAnnotator::RunTask()
#14 0x7fadb9193c79 base::MessageLoop::RunTask()
#15 0x7fadb919403f base::MessageLoop::DeferOrRunPendingTask()
#16 0x7fadb919442d base::MessageLoop::DoWork()
#17 0x7fadb9195c99 base::MessagePumpDefault::Run()
#18 0x7fadb9193a02 base::MessageLoop::RunHandler()
#19 0x7fadb91c8b49 base::RunLoop::Run()
#20 0x000000446b7a service_manager::ServiceRunner::Run()
#21 0x000000446bdd service_manager::ServiceRunner::Run()
#22 0x0000004288ba ServiceMain
#23 0x000000428992 (anonymous namespace)::RunServiceMain()
#24 0x000000428bd4 _ZN4base8internal13FunctorTraitsIPFvN4mojo16InterfaceRequestIN15service_manager5mojom7ServiceEEEEvE6InvokeIJS7_EEEvS9_DpOT_
#25 0x000000438262 service_manager::RunStandaloneService()
#26 0x000000428957 main
#27 0x7fadb6f51f45 __libc_start_main
#28 0x000000428789 <unknown>
  r8: ffff931ccbfe7ca8  r9: ffff931ccbfe7c98 r10: 0000000000000008 r11: 0000000000000202
 r12: 00007fadb75fb940 r13: 00007ffecf04f028 r14: 000000000000005b r15: 00007ffecf04f020
  di: 0000000000013cfb  si: 0000000000013cfb  bp: 00007ffecf04eb80  bx: 00007ffecf04eb90
  dx: 0000000000000006  ax: 0000000000000000  cx: 00007fadb6f66c37  sp: 00007ffecf04ea48
  ip: 00007fadb6f66c37 efl: 0000000000000202 cgf: 0000000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

To sky, since ash_standalone is his.

 

Comment 1 by sky@chromium.org, May 13 2017

Labels: -Pri-1 Pri-2
Someone is trying to connect to chrome. Perhaps IME. If you remove chrome this works fine. I'll have to figure out a way to stop whatever is trying to connect to chrome.

I'm downgrading as removing chrome makes this work fine.
Project Member

Comment 2 by bugdroid1@chromium.org, May 26 2017

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

commit e7d345c67a7b4bb98e8c7c0fed1f37d316acd867
Author: sky <sky@chromium.org>
Date: Fri May 26 18:25:39 2017

chromeos: make mash session not launch chrome

Doing this causes problems with ash_standalone as well as tests. In
particular it means ash_standalone attempts to connect to chrome and
then chrome tries to connect as the window manager. For tests it can
cause hangs.

BUG= 721901 
TEST=none
R=msw@chromium.org

Review-Url: https://codereview.chromium.org/2908703003
Cr-Commit-Position: refs/heads/master@{#475064}

[modify] https://crrev.com/e7d345c67a7b4bb98e8c7c0fed1f37d316acd867/mash/session/BUILD.gn
[modify] https://crrev.com/e7d345c67a7b4bb98e8c7c0fed1f37d316acd867/mash/session/session.cc

Comment 3 by sky@chromium.org, May 26 2017

Status: Fixed (was: Assigned)

Comment 4 by dchan@chromium.org, Aug 1 2017

Labels: VerifyIn-61

Comment 5 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment