New issue
Advanced search Search tips

Issue 620802 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Set UsbChooserController as IO allowed

Project Member Reported by juncai@chromium.org, Jun 16 2016

Issue description

OS: Linux

Click "Get help" button from chooser UI will get: "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."

Stack trace:
[40466:40466:0616/100224:FATAL:thread_restrictions.cc(38)] 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 0x7f63309bec9e base::debug::StackTrace::StackTrace()
#1 0x7f6330a2202f logging::LogMessage::~LogMessage()
#2 0x7f6330b89bcf base::ThreadRestrictions::AssertIOAllowed()
#3 0x7f6330a02061 base::PathExists()
#4 0x7f6334224f08 Profile::CreateProfile()
#5 0x7f6333d2cb87 ProfileManager::CreateProfileHelper()
#6 0x7f6333d24f8a ProfileManager::CreateAndInitializeProfile()
#7 0x7f6333d24b77 ProfileManager::GetProfile()
#8 0x7f6333d248a1 ProfileManager::GetActiveUserOrOffTheRecordProfileFromPath()
#9 0x7f6333d2491e ProfileManager::GetActiveUserProfile()
#10 0x7f6334413b1d (anonymous namespace)::GetBrowser()
#11 0x7f63344139f4 UsbChooserController::OpenHelpCenterUrl()
#12 0x7f63352c3416 ChooserContentView::StyledLabelLinkClicked()
#13 0x7f63350983c7 ChooserBubbleUiViewDelegate::StyledLabelLinkClicked()
#14 0x7f63256cd300 views::StyledLabel::LinkClicked()
#15 0x7f632568db09 views::Link::OnMouseReleased()
#16 0x7f6325749922 views::View::ProcessMouseReleased()
#17 0x7f63257491f6 views::View::OnMouseEvent()
#18 0x7f6325403cd7 ui::EventHandler::OnEvent()
#19 0x7f63253ff220 ui::EventDispatcher::DispatchEvent()
#20 0x7f63253feb0b ui::EventDispatcher::ProcessEvent()
#21 0x7f63253fe8a2 ui::EventDispatcherDelegate::DispatchEventToTarget()
#22 0x7f63253fe74f ui::EventDispatcherDelegate::DispatchEvent()
#23 0x7f63257607c6 views::internal::RootView::OnMouseReleased()
#24 0x7f63257689dc views::Widget::OnMouseEvent()
#25 0x7f63257a5c5f views::NativeWidgetAura::OnMouseEvent()
#26 0x7f6325403cd7 ui::EventHandler::OnEvent()
#27 0x7f63253ff220 ui::EventDispatcher::DispatchEvent()
#28 0x7f63253feb0b ui::EventDispatcher::ProcessEvent()
#29 0x7f63253fe8a2 ui::EventDispatcherDelegate::DispatchEventToTarget()
#30 0x7f63253fe74f ui::EventDispatcherDelegate::DispatchEvent()
#31 0x7f6325404941 ui::EventProcessor::OnEventFromSource()
#32 0x7f6325405aaf ui::EventSource::DeliverEventToProcessor()
#33 0x7f63254056c7 ui::EventSource::SendEventToProcessor()
#34 0x7f63257dbb35 views::DesktopWindowTreeHostX11::DispatchMouseEvent()
#35 0x7f63257dcaf2 views::DesktopWindowTreeHostX11::DispatchEvent()
#36 0x7f6330e4098f ui::PlatformEventSource::DispatchEvent()
#37 0x7f63253bdf64 ui::X11EventSourceGlib::ProcessXEvent()
#38 0x7f63253abbca ui::X11EventSource::ExtractCookieDataDispatchEvent()
#39 0x7f63253abada ui::X11EventSource::DispatchXEvents()
#40 0x7f63253be125 ui::(anonymous namespace)::XSourceDispatch()
#41 0x7f6321dc9ce5 g_main_context_dispatch
#42 0x7f6321dca048 <unknown>
#43 0x7f6321dca0ec g_main_context_iteration
#44 0x7f6330a57a5f base::MessagePumpGlib::Run()
#45 0x7f6330a3f48f base::MessageLoop::RunHandler()
#46 0x7f6330ae8434 base::RunLoop::Run()
#47 0x7f633449a00f ChromeBrowserMainParts::MainMessageLoopRun()
#48 0x7f6329e2a739 content::BrowserMainLoop::RunMainMessageLoopParts()
#49 0x7f6329e34145 content::BrowserMainRunnerImpl::Run()
#50 0x7f6329e249d6 content::BrowserMain()
#51 0x7f632bb195e6 content::RunNamedProcessTypeMain()
#52 0x7f632bb1b892 content::ContentMainRunnerImpl::Run()
#53 0x7f632bb186a2 content::ContentMain()
#54 0x7f63315943c2 ChromeMain
#55 0x7f6331594372 main
#56 0x7f631c884f45 __libc_start_main
#57 0x7f6331594275 <unknown>

Aborted (core dumped)
 
In my experience this is an oddity introduced by Chromium profiles that have been loaded by both Chromium and Chromium OS on Linux. If you delete ~/.config/chromium it resolves the crash.

Comment 2 by juncai@chromium.org, Jun 17 2016

Good point. Deleting ~/.config/chromium resolves the crash. It seems having another issue, so I created issue 621216.

Comment 3 by juncai@chromium.org, Jun 17 2016

Status: WontFix (was: Started)

Sign in to add a comment