New issue
Advanced search Search tips

Issue 717232 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

BindWallpaperRequestOnMainThread Crashes Mash_Browser_Tests

Project Member Reported by jonr...@chromium.org, May 1 2017

Issue description

Another service that looks like its trying to connect after ash has been torn down.

[0501/090708.227802:FATAL:shell.cc(228)] Check failed: instance_. 
#0 0x00000366aa7c base::debug::StackTrace::StackTrace()
#1 0x0000036832a1 logging::LogMessage::~LogMessage()
#2 0x000006027fe3 ash::Shell::Get()
#3 0x00000600b5de ash::(anonymous namespace)::BindWallpaperRequestOnMainThread()
#4 0x0000022ef0fd _ZN4base8internal7InvokerINS0_9BindStateIPFvN4mojo16InterfaceRequestIN5blink5mojom19KeyboardLockServiceEEEEJEEES9_E3RunEPNS0_13BindStateBaseEOS8_
#5 0x0000022ef4dc service_manager::internal::CallbackBinder<>::RunCallbackOnTaskRunner()
#6 0x00000112bc0c _ZN4base8internal7InvokerINS0_9BindStateIPFvRKNS_8CallbackIFvN4mojo16InterfaceRequestIN6device5mojom17UsbChooserServiceEEEELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEES9_EJSD_NS0_13PassedWrapperIS9_EEEEEFvvEE3RunEPNS0_13BindStateBaseE
#7 0x0000006c8059 _ZNO4base8CallbackIFvvELNS_8internal8CopyModeE1ELNS2_10RepeatModeE1EE3RunEv
#8 0x000003719e54 base::debug::TaskAnnotator::RunTask()
#9 0x00000368a8d9 base::MessageLoop::RunTask()
#10 0x00000368ab6b base::MessageLoop::DeferOrRunPendingTask()
#11 0x00000368b01d base::MessageLoop::DoWork()
#12 0x00000368d799 base::MessagePumpLibevent::Run()
#13 0x00000368a661 base::MessageLoop::RunHandler()
#14 0x0000036b3339 base::RunLoop::Run()
#15 0x00000365cb68 (anonymous namespace)::StartEmbeddedService()
#16 0x0000022ef0fd _ZN4base8internal7InvokerINS0_9BindStateIPFvN4mojo16InterfaceRequestIN5blink5mojom19KeyboardLockServiceEEEEJEEES9_E3RunEPNS0_13BindStateBaseEOS8_
#17 0x00000200dcce service_manager::RunStandaloneService()
#18 0x00000365c82d RunMashBrowserTests()
#19 0x00000365c6a7 main
#20 0x7f2cff545f45 __libc_start_main
#21 0x00000061a9de <unknown>
 
Owner: jamescook@chromium.org
Status: Assigned (was: Untriaged)
Hey James, I've seen that you've done work to setup the wallpaper controller in ash. Could you take a look at this crash?
Components: -MUS Internals>MUS
Labels: -Pri-3 Proj-Mustash-Mash OS-Chrome Pri-1
Sure. What's the repro here? Any particular test I need to run, or bot I need to look at?

Sadly no, this was a super flaky error I saw in mash_browser_tests.

Though looking at the last dozen runs I can't see it. So I'm not sure if the timings have just changed, or if the root cause has been fixed.

It looked like a request for the BindWallpaper was arriving after ash had torn down the Shell, but before the process was fully shut.
OK, so you saw this on the mojo FYI bot?

I had seen it locally first, but also on the Mojo FYI bot
Status: WontFix (was: Assigned)
I just ran all browser_tests --mash on the bot and I don't see this happening. I'll reopen if it comes back.

Components: -Internals>MUS Internals>Services>WindowService

Sign in to add a comment