Crash in chromium M57 wayland ozone port

50 views
Skip to first unread message

wucong...@gmail.com

unread,
Apr 10, 2017, 5:52:51 AM4/10/17
to Ozone-Dev
Hi, all
I get chromium m57 codes and build it and linux with ozone wayland port to get content_shell exe.
When I running ./out/Default/content_shell --ozone-platform=wayland --mus
I get crashed.
[17149:17149:0410/171924.504588:25858365871:FATAL:desktop_factory_ozone.cc(21)] Check failed: impl_. DesktopFactoryOzone accessed before constructed
#0 0x7f1e8d90ccae base::debug::StackTrace::StackTrace()
#1 0x7f1e8d97908f logging::LogMessage::~LogMessage()
#2 0x7f1e809d3272 views::DesktopFactoryOzone::GetInstance()
#3 0x7f1e809d32d9 views::CreateDesktopScreen()
#4 0x000000a6e257 content::Shell::PlatformInitialize()
#5 0x000000a3c3ea content::Shell::Initialize()
#6 0x000000a9a763 content::ShellBrowserMainParts::PreMainMessageLoopRun()
#7 0x7f1e8f3c52c1 content::BrowserMainLoop::PreMainMessageLoopRun()
#8 0x7f1e8e91f5a5 _ZN4base8internal13FunctorTraitsIMN7content22IndexedDBCallbacksImpl13InternalStateEFvvEvE6InvokeIPS4_JEEEvS6_OT_DpOT0_
#9 0x7f1e8f3cf7f1 _ZN4base8internal12InvokeHelperILb0EiE8MakeItSoIRKMN7content15BrowserMainLoopEFivEJPS5_EEEiOT_DpOT0_
#10 0x7f1e8f3cf797 _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE7RunImplIRKS6_RKSt5tupleIJS8_EEJLm0EEEEiOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
#11 0x7f1e8f3cf6dc _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE3RunEPNS0_13BindStateBaseE
#12 0x7f1e8e80bf3b base::internal::RunMixin<>::Run()
#13 0x7f1e8ff668db content::StartupTaskRunner::RunAllTasksNow()
#14 0x7f1e8f3c2ea0 content::BrowserMainLoop::CreateStartupTasks()
#15 0x7f1e8f3d38e0 content::BrowserMainRunnerImpl::Initialize()
#16 0x000000a41414 ShellBrowserMain()
#17 0x000000a1ce15 content::ShellMainDelegate::RunProcess()
#18 0x7f1e90be2dcb content::RunNamedProcessTypeMain()
#19 0x7f1e90be521c content::ContentMainRunnerImpl::Run()
#20 0x7f1e90be2162 content::ContentMain()
#21 0x0000004922f1 main
#22 0x7f1e7f80f830 __libc_start_main
#23 0x0000004921c5 <unknown>


I check the code in desktop_factory_ozone.cc. The views::DesktopFactoryOzone::GetInstance() should be used after SetInstance.
But I can't find any place where call the DesktopFactoryOzone::SetInstance().
I think there is a bug on it.
Is it fixed now?

BestWishes!

Antonio Gomes (tonikitoo)

unread,
May 18, 2017, 4:39:37 PM5/18/17
to Ozone-Dev, wucong...@gmail.com
Hi.

I believe this code has even been removed from Chromium Tip of Trunk. See https://codereview.chromium.org/2830933006/.

I tried to answer a similar question about Content module and Mus here: https://groups.google.com/a/chromium.org/d/msg/ozone-dev/Wd9b7REsBR8/kAkYfhyxAQAJ
Reply all
Reply to author
Forward
0 new messages