[FATAL:thread_restrictions.cc(38)] Function marked as IO-only was called from a thread that disallows IO! |
|||
Issue descriptionChrome Version: Tip of Head OS: Ubuntu Not sure if these steps will reproduce the problem. What steps will reproduce the problem? (1) Install Chrome Vox from https://chrome.google.com/webstore/detail/chromevox/kgejglhpjiefppelpmljglcjbhoiplfn?hl=en (2) Chrome Vox installs successfully (3) Chrome crashes after install with following stack trace: [15993:15993:0209/093615.404428:FATAL:thread_restrictions.cc(38)] Check failed: false. Function marked as IO-only was called from a thread that disallows IO! If this thread really should be allowed to make IO calls, adjust the call to base::ThreadRestrictions::SetIOAllowed() in this thread's startup. #0 0x7feaa965db9b base::debug::StackTrace::StackTrace() #1 0x7feaa965c1dc base::debug::StackTrace::StackTrace() #2 0x7feaa96c9f6f logging::LogMessage::~LogMessage() #3 0x7feaa983e6c7 base::ThreadRestrictions::AssertIOAllowed() #4 0x7feaa96a75d1 base::PathExists() #5 0x7feaabd05215 Profile::CreateProfile() #6 0x7feaab852577 ProfileManager::CreateProfileHelper() #7 0x7feaab84a86a ProfileManager::CreateAndInitializeProfile() #8 0x7feaab84a457 ProfileManager::GetProfile() #9 0x7feaab84a181 ProfileManager::GetActiveUserOrOffTheRecordProfileFromPath() #10 0x7feaab84a1fe ProfileManager::GetActiveUserProfile() #11 0x7feaafad50ec extensions::AutomationEventRouter::AutomationEventRouter() #12 0x7feaafad7730 base::DefaultSingletonTraits<>::New() #13 0x7feaafad6b71 base::Singleton<>::get() #14 0x7feaafad5079 extensions::AutomationEventRouter::GetInstance() #15 0x7feaafadb1aa extensions::AutomationInternalEnableDesktopFunction::Run() #16 0x7feaaaa66f91 ExtensionFunction::RunWithValidation() #17 0x7feaaaa6c818 extensions::ExtensionFunctionDispatcher::DispatchWithCallbackInternal() #18 0x7feaaaa6bdfd extensions::ExtensionFunctionDispatcher::Dispatch() #19 0x7feaaaadf68c extensions::ExtensionWebContentsObserver::OnRequest() #20 0x7feaaaae0412 _ZN3IPC20DispatchToMethodImplIN10extensions28ExtensionWebContentsObserverEMS2_FvPN7content15RenderFrameHostERK31ExtensionHostMsg_Request_ParamsES4_St5tupleIJS6_EEJLm0EEEEvPT_T0_PT1_RKT2_N4base13IndexSequenceIJXspT3_EEEE #21 0x7feaaaae0360 _ZN3IPC16DispatchToMethodIN10extensions28ExtensionWebContentsObserverEN7content15RenderFrameHostEJRK31ExtensionHostMsg_Request_ParamsEJS5_EEENSt9enable_ifIXeqsZT1_sZT2_EvE4typeEPT_MSB_FvPT0_DpT1_ESE_RKSt5tupleIJDpT2_EE #22 0x7feaaaadfd9f _ZN3IPC8MessageTI29ExtensionHostMsg_Request_MetaSt5tupleIJ31ExtensionHostMsg_Request_ParamsEEvE8DispatchIN10extensions28ExtensionWebContentsObserverES8_N7content15RenderFrameHostEMS8_FvPSA_RKS3_EEEbPKNS_7MessageEPT_PT0_PT1_T2_ #23 0x7feaaaadf5f0 extensions::ExtensionWebContentsObserver::OnMessageReceived() #24 0x7feaad1a98f6 extensions::ChromeExtensionWebContentsObserver::OnMessageReceived() #25 0x7feaa36a9f6a content::WebContentsImpl::OnMessageReceived() #26 0x7feaa2dd4858 content::RenderFrameHostImpl::OnMessageReceived() #27 0x7feaa3354b4b content::RenderProcessHostImpl::OnMessageReceived() #28 0x7feaa7b338c8 IPC::ChannelProxy::Context::OnDispatchMessage() #29 0x7feaa7b3966f _ZN4base8internal13FunctorTraitsIMN3IPC12ChannelProxy7ContextEFvRKNS2_7MessageEEvE6InvokeIRK13scoped_refptrIS4_EJS7_EEEvS9_OT_DpOT0_ #30 0x7feaa7b39556 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN3IPC12ChannelProxy7ContextEFvRKNS4_7MessageEEJRK13scoped_refptrIS6_ES9_EEEvOT_DpOT0_ #31 0x7feaa7b394e3 _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12ChannelProxy7ContextEFvRKNS3_7MessageEEJ13scoped_refptrIS5_ES6_EEEFvvEE7RunImplIRKSA_RKSt5tupleIJSC_S6_EEJLm0ELm1EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE #32 0x7feaa7b393fc _ZN4base8internal7InvokerINS0_9BindStateIMN3IPC12ChannelProxy7ContextEFvRKNS3_7MessageEEJ13scoped_refptrIS5_ES6_EEEFvvEE3RunEPNS0_13BindStateBaseE #33 0x7feaa9663971 _ZNO4base8internal8RunMixinINS_8CallbackIFvvELNS0_8CopyModeE0ELNS0_10RepeatModeE0EEEE3RunEv #34 0x7feaa9663362 base::debug::TaskAnnotator::RunTask()
,
Apr 4 2017
I can't reproduce it on 59.0.3053.3 either way. Arthur, could you please provide following details: 1. Do you use clean instance of Chrome? 2. Are you signed into Chrome? 3. How exactly do you navigate to chrome://system (command line argument, link or manually typing address)? 4. Does it happen every time you navigate to chrome://system?
,
Apr 5 2017
I cannot reproduce it anymore, even when I use the same commit. 1. Do you use clean instance of Chrome? - Depending on what do you mean by this, I think the answer is no. There is several chrome profile defined. 2. Are you signed into Chrome? - No 3. How exactly do you navigate to chrome://system (command line argument, link or manually typing address)? - By manually typing it, and by using the link in chrome://chrome-urls. 4. Does it happen every time you navigate to chrome://system? - Yes, it was consistently failing.
,
Apr 6 2017
Cannot reproduce it anymore. I am closing the issue.
,
Apr 20 2017
Happened again consistently when I build from head. [13697:13697:0420/105910.282601:FATAL:thread_restrictions.cc(38)] Check failed: false. Function marked as IO-only was called from a thread that disallows IO! If this thread really should be allowed to make IO calls, adjust the call to base::ThreadRestrictions::SetIOAllowed() in this thread's startup. #0 0x7f93a3ec645b base::debug::StackTrace::StackTrace() #1 0x7f93a3ec515c base::debug::StackTrace::StackTrace() #2 0x7f93a3f38013 logging::LogMessage::~LogMessage() #3 0x7f93a40b4087 base::ThreadRestrictions::AssertIOAllowed() #4 0x7f93a3f0f451 base::PathExists() #5 0x7f93a67f3105 Profile::CreateProfile() #6 0x7f93a6311377 ProfileManager::CreateProfileHelper() #7 0x7f93a63094ca ProfileManager::CreateAndInitializeProfile() #8 0x7f93a63090b7 ProfileManager::GetProfile() #9 0x7f93a6308de1 ProfileManager::GetActiveUserOrOffTheRecordProfileFromPath() #10 0x7f93a6308e5e ProfileManager::GetActiveUserProfile() #11 0x7f93aa62f7bc extensions::AutomationEventRouter::AutomationEventRouter() #12 0x7f93aa631e60 base::DefaultSingletonTraits<>::New() #13 0x7f93aa6312a1 base::Singleton<>::get() #14 0x7f93aa62f749 extensions::AutomationEventRouter::GetInstance() #15 0x7f93aa6355aa extensions::AutomationInternalEnableDesktopFunction::Run() #16 0x7f93a5308ce1 ExtensionFunction::RunWithValidation() #17 0x7f93a530e538 extensions::ExtensionFunctionDispatcher::DispatchWithCallbackInternal() #18 0x7f93a530db1d extensions::ExtensionFunctionDispatcher::Dispatch() #19 0x7f93a538065c extensions::ExtensionWebContentsObserver::OnRequest() |
|||
►
Sign in to add a comment |
|||
Comment 1 by arthurso...@chromium.org
, Apr 3 2017