Currently two paths to init the cursor are being hit, when we only want one per thread. Need to figure out if the config is wrong or if there is a bug with cursor setup:
Stack one:
#2 0x7ff6f9555407 ui::CursorFactoryOzone::CursorFactoryOzone()
#3 0x7ff6f973756f ui::X11CursorFactoryOzone::X11CursorFactoryOzone()
#4 0x7ff6f97373fe _ZN4base10MakeUniqueIN2ui21X11CursorFactoryOzoneEJEEEDTclsr3stdE11make_uniqueIT_Espclsr3stdE7forwardIT0_Efp_EEEDpOS4_
#5 0x7ff6f9736868 ui::(anonymous namespace)::OzonePlatformX11::InitializeUI()
#6 0x7ff6f9593968 ui::OzonePlatform::InitializeForUI()
#7 0x7ff6fda93e63 aura::Env::Init()
#8 0x7ff6fda93c94 aura::Env::CreateInstance()
#9 0x7ff7014f7c06 content::BrowserMainLoop::InitializeToolkit()
#10 0x7ff7014fb71b content::BrowserMainRunnerImpl::Initialize()
#11 0x7ff7014e8784 content::BrowserMain()
#12 0x7ff702fdd289 content::RunNamedProcessTypeMain()
#13 0x7ff702fdfd16 content::ContentMainRunnerImpl::Run()
#14 0x7ff702fdab9d content::ContentServiceManagerMainDelegate::RunEmbedderProcess()
#15 0x7ff6fd839eac service_manager::Main()
#16 0x7ff702fdc1db content::ContentMain()
#17 0x0000044337d2 content::BrowserTestBase::SetUp()
#18 0x00000359ff14 InProcessBrowserTest::SetUp()
#19 0x0000006e1524 ExtensionBrowserTest::SetUp()
#20 0x000000a9ce7e testing::internal::HandleSehExceptionsInMethodIfSupported<>()
#21 0x000000a8ffc2 testing::internal::HandleExceptionsInMethodIfSupported<>()
#22 0x000000a7ad14 testing::Test::Run()
#23 0x000000a7b87d testing::TestInfo::Run()
#24 0x000000a7c2dc testing::TestCase::Run()
#25 0x000000a87ddc testing::internal::UnitTestImpl::RunAllTests()
#26 0x000000a9d89e testing::internal::HandleSehExceptionsInMethodIfSupported<>()
#27 0x000000a915f2 testing::internal::HandleExceptionsInMethodIfSupported<>()
#28 0x000000a87a1a testing::UnitTest::Run()
#29 0x00000462f311 RUN_ALL_TESTS()
#30 0x00000462cebe base::TestSuite::Run()
#31 0x00000084d0db InteractiveUITestSuiteRunner::RunTestSuite()
#32 0x0000035852d9 ChromeTestLauncherDelegate::RunTestSuite()
#33 0x00000446333e content::LaunchTests()
#34 0x000003585faf LaunchChromeTests()
Stack two:
#2 0x7ff6f9555407 ui::CursorFactoryOzone::CursorFactoryOzone()
#3 0x7ff705583e4f ui::CursorDataFactoryOzone::CursorDataFactoryOzone()
#4 0x7ff6fa2a801e _ZN4base10MakeUniqueIN2ui22CursorDataFactoryOzoneEJEEEDTclsr3stdE11make_uniqueIT_Espclsr3stdE7forwardIT0_Efp_EEEDpOS4_
#5 0x7ff6fa2a69f3 ash::NativeCursorManagerAshMus::NativeCursorManagerAshMus()
#6 0x7ff6fa0f93a9 ash::Shell::Init()
#7 0x7ff6fa0f6b71 ash::Shell::CreateInstance()
#8 0x000002c1aec4 ash::mus::WindowManager::CreateShell()
#9 0x000002c1b3a2 ash::mus::WindowManager::OnWmConnected()
#10 0x7ff6fdb006a7 aura::WindowTreeClient::OnConnect()
#11 0x7ff6fdb89bec ui::mojom::WindowManagerStubDispatch::Accept()
#12 0x7ff6fdb20633 ui::mojom::WindowManagerStub<>::Accept()
#13 0x7ff7050491bb mojo::InterfaceEndpointClient::HandleValidatedMessage()
#14 0x7ff705047d21 mojo::InterfaceEndpointClient::HandleIncomingMessageThunk::Accept()
#15 0x7ff7050463c2 mojo::FilterChain::Accept()
#16 0x7ff70504bb4f mojo::InterfaceEndpointClient::HandleIncomingMessage()
#17 0x7ff70506211b mojo::internal::MultiplexRouter::ProcessIncomingMessage()
#18 0x7ff7050616f5 mojo::internal::MultiplexRouter::Accept()
#19 0x7ff7050463c2 mojo::FilterChain::Accept()
#20 0x7ff70503a944 mojo::Connector::ReadSingleMessage()
#21 0x7ff70503a487 mojo::Connector::WaitForIncomingMessage()
#22 0x7ff70503773f mojo::internal::MultiplexRouter::WaitForIncomingMessage()
#23 0x7ff7050366b9 mojo::internal::BindingStateBase::WaitForIncomingMethodCall()
#24 0x7ff6fdb0ed38 mojo::Binding<>::WaitForIncomingMethodCall()
#25 0x7ff6fdb00115 aura::WindowTreeClient::WaitForInitialDisplays()
#26 0x000002c1a9fd ash::mus::WindowManager::WaitForInitialDisplays()
#27 0x000007f634b0 (anonymous namespace)::CreateMusShell()
#28 0x000007f62495 AshInit::AshInit()
#29 0x000007af7b2e _ZN4base10MakeUniqueI7AshInitJEEEDTclsr3stdE11make_uniqueIT_Espclsr3stdE7forwardIT0_Efp_EEEDpOS3_
#30 0x000007af389e ChromeBrowserMainExtraPartsAsh::PreProfileInit()
#31 0x0000035dc6d5 ChromeBrowserMainParts::PreProfileInit()
#32 0x0000035df4f3 ChromeBrowserMainPartsLinux::PreProfileInit()
#33 0x000002299bc4 chromeos::ChromeBrowserMainPartsChromeos::PreProfileInit()
#34 0x0000035db82e ChromeBrowserMainParts::PreMainMessageLoopRunImpl()
#35 0x0000035dac3c ChromeBrowserMainParts::PreMainMessageLoopRun()
#36 0x000002299441 chromeos::ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun()
#37 0x7ff7014f38e4 content::BrowserMainLoop::PreMainMessageLoopRun()
#38 0x7ff70051cc0d _ZN4base8internal13FunctorTraitsIMN7content14NetworkContext11DiskCheckerEFvvEvE6InvokeIPS4_JEEEvS6_OT_DpOT0_
#39 0x7ff70051cb54 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIMN7content14NetworkContextEFvvEJPS5_EEEvOT_DpOT0_
#40 0x7ff7014f99b5 _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE7RunImplIRKS6_RKNSt3__15tupleIJS8_EEEJLm0EEEEiOT_OT0_NSF_16integer_sequenceImJXspT1_EEEE
#41 0x7ff7014f98fc _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE3RunEPNS0_13BindStateBaseE
#42 0x7ff7004e5b6d _ZNKR4base17RepeatingCallbackIFvvEE3RunEv
#43 0x7ff7022003cd content::StartupTaskRunner::RunAllTasksNow()
#44 0x7ff7014efbed content::BrowserMainLoop::CreateStartupTasks()
#45 0x7ff7014fb927 content::BrowserMainRunnerImpl::Initialize()
#46 0x7ff7014e8784 content::BrowserMain()
#47 0x7ff702fdd289 content::RunNamedProcessTypeMain()
#48 0x7ff702fdfd16 content::ContentMainRunnerImpl::Run()
#49 0x7ff702fdab9d content::ContentServiceManagerMainDelegate::RunEmbedderProcess()
#50 0x7ff6fd839eac service_manager::Main()
#51 0x7ff702fdc1db content::ContentMain()
#52 0x0000044337d2 content::BrowserTestBase::SetUp()
#53 0x00000359ff14 InProcessBrowserTest::SetUp()
#54 0x0000006e1524 ExtensionBrowserTest::SetUp()
#55 0x000000a9ce7e testing::internal::HandleSehExceptionsInMethodIfSupported<>()
#56 0x000000a8ffc2 testing::internal::HandleExceptionsInMethodIfSupported<>()
#57 0x000000a7ad14 testing::Test::Run()
#58 0x000000a7b87d testing::TestInfo::Run()
#59 0x000000a7c2dc testing::TestCase::Run()
#60 0x000000a87ddc testing::internal::UnitTestImpl::RunAllTests()
#61 0x000000a9d89e testing::internal::HandleSehExceptionsInMethodIfSupported<>()
Comment 1 by laforge@google.com
, Nov 8 2017