OOP-D CrOS Exo crashes on startup |
||
Issue descriptionAt startup, Chell with --enable-features=OzoneDrmMojo,VizDisplayCompositor flags turned on in /etc/chrome_dev.conf, Exo crashes at start. Conceivably some kind of surface invariant failing? Received signal 11 SEGV_MAPERR 000000000398 #0 0x5c984522984c base::debug::StackTrace::StackTrace() #1 0x5c98452293b1 base::debug::(anonymous namespace)::StackDumpSignalHandler() #2 0x7f4e9a7f52e0 <unknown> #3 0x5c98464d5ad7 viz::FrameSinkManagerImpl::RegisterCompositorFrameSinkSupport() #4 0x5c98464831a1 viz::HostFrameSinkManager::CreateCompositorFrameSinkSupport() #5 0x5c9846451b0a aura::LayerTreeFrameSinkLocal::BindToClient() #6 0x5c9843fe477c exo::SurfaceTreeHost::SurfaceTreeHost() #7 0x5c9843fd4c80 exo::Pointer::Pointer() #8 0x5c9843fed5cf exo::wayland::(anonymous namespace)::seat_get_pointer() #9 0x7f4e9a070d02 ffi_call_unix64 #10 0x7f4e9a07040b ffi_call #11 0x5c9847411b3e wl_closure_invoke #12 0x5c984740f4d8 wl_client_connection_data #13 0x5c984740e8f2 wl_event_loop_dispatch #14 0x5c9843fe8609 exo::wayland::Server::Dispatch() #15 0x5c9843fc2824 ash::WaylandServerController::WaylandWatcher::OnFileCanReadWithoutBlocking() #16 0x5c9845239fc5 base::MessagePumpLibevent::OnLibeventNotification() #17 0x5c9845258bbc event_base_loop #18 0x5c984523a2d1 base::MessagePumpLibevent::Run() #19 0x5c98451d1395 base::RunLoop::Run() #20 0x5c9844e93678 ChromeBrowserMainParts::MainMessageLoopRun() #21 0x5c98437446d4 content::BrowserMainLoop::RunMainMessageLoopParts() #22 0x5c9843746f62 content::BrowserMainRunnerImpl::Run() #23 0x5c9843740d03 content::BrowserMain() #24 0x5c9844e82f72 content::ContentMainRunnerImpl::Run() #13 0x5c984740e8f2 wl_event_loop_dispatch #14 0x5c9843fe8609 exo::wayland::Server::Dispatch() #15 0x5c9843fc2824 ash::WaylandServerController::WaylandWatcher::OnFileCanReadWithoutBlocking() #16 0x5c9845239fc5 base::MessagePumpLibevent::OnLibeventNotification() #17 0x5c9845258bbc event_base_loop #18 0x5c984523a2d1 base::MessagePumpLibevent::Run() #19 0x5c98451d1395 base::RunLoop::Run() #20 0x5c9844e93678 ChromeBrowserMainParts::MainMessageLoopRun() #21 0x5c98437446d4 content::BrowserMainLoop::RunMainMessageLoopParts() #22 0x5c9843746f62 content::BrowserMainRunnerImpl::Run() #23 0x5c9843740d03 content::BrowserMain() #24 0x5c9844e82f72 content::ContentMainRunnerImpl::Run() #25 0x5c9844e89efc service_manager::Main() #26 0x5c9844e80f41 content::ContentMain() #27 0x5c9842c13a3f ChromeMain #28 0x7f4e99bc9736 __libc_start_main #29 0x5c9842c13869 _start
,
Jul 26
I'm fixing: http://crbug.com/867077 -- build without DCHECKs for the moment. Sorry.
,
Aug 7
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c commit 339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c Author: Peng Huang <penghuang@chromium.org> Date: Tue Aug 07 19:48:37 2018 Fix exo startup crash with OOPD For OOPD, the display compositor is in the viz process. The LayerTreeFrameSinkLocal used by exo is for submitting frames to a local display compositor, so it will not work with OOPD. To make it work, we need use the AsyncLayerTreeFrameSink which can submit frames to the remote display compositor in viz process via mojo IPC. And the AsyncLayerTreeFrameSink also works with a local display compositor, so we will use it for non-OOPD case as well. Bug: 866898 Change-Id: I2003c8a6744547ee0c62c38667727c594ccb4537 Reviewed-on: https://chromium-review.googlesource.com/1153404 Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: Daniele Castagna <dcastagna@chromium.org> Reviewed-by: Fady Samuel <fsamuel@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#581311} [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/components/exo/buffer_unittest.cc [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/components/exo/surface_tree_host.cc [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/components/exo/surface_unittest.cc [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/components/exo/wm_helper.cc [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/components/exo/wm_helper.h [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/ui/aura/BUILD.gn [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/ui/aura/local/DEPS [delete] https://crrev.com/0f0674af36e154a390e7b4c49378921958f1709a/ui/aura/local/layer_tree_frame_sink_local.cc [delete] https://crrev.com/0f0674af36e154a390e7b4c49378921958f1709a/ui/aura/local/layer_tree_frame_sink_local.h [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/ui/aura/local/window_port_local.cc [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/ui/aura/local/window_port_local.h [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/ui/aura/mus/window_port_mus.cc [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/ui/aura/mus/window_port_mus.h [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/ui/aura/mus/window_port_mus_unittest.cc [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/ui/aura/test/aura_test_helper.cc [modify] https://crrev.com/339f50e14b2f03c6c1ffb04f7fcbe185bb910e1c/ui/aura/window.cc
,
Aug 8
|
||
►
Sign in to add a comment |
||
Comment 1 by penghuang@chromium.org
, Jul 26