New issue
Advanced search Search tips

Issue 736334 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 736125
Owner: ----
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

DCHECK failure on shutdown

Project Member Reported by bauerb@chromium.org, Jun 23 2017

Issue description

[131396:131426:0623/134716.020966:FATAL:thread_restrictions.cc(58)] Check failed: false. LazyInstance/Singleton is not allowed to be used on this thread.  Most likely it's because this thread is not joinable (or the current task is running with TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN semantics), so AtExitManager may have deleted the object on shutdown, leading to a potential shutdown crash. If you need to use the object from this context, it'll have to be updated to use Leaky traits.
#0 0x7fcbd4e0e56b base::debug::StackTrace::StackTrace()
#1 0x7fcbd4e0d26c base::debug::StackTrace::StackTrace()
#2 0x7fcbd4e81723 logging::LogMessage::~LogMessage()
#3 0x7fcbd5017350 base::ThreadRestrictions::AssertSingletonAllowed()
#4 0x7fcbd1b4a3b9 base::LazyInstance<>::Pointer()
#5 0x7fcbd1b47815 base::LazyInstance<>::Get()
#6 0x7fcbd1b45da0 mojo::internal::MessageDispatchContext::current()
#7 0x7fcbd1b45fad mojo::internal::MessageDispatchContext::MessageDispatchContext()
#8 0x5633b1232a15 chrome::mojom::FilePatcher_PatchFileBsdiff_ForwardToCallback::Accept()
#9 0x7fcbd1b38390 mojo::InterfaceEndpointClient::HandleValidatedMessage()
#10 0x7fcbd1b37d71 mojo::InterfaceEndpointClient::HandleIncomingMessageThunk::Accept()
#11 0x7fcbd1b35bd5 mojo::FilterChain::Accept()
#12 0x7fcbd1b39eb1 mojo::InterfaceEndpointClient::HandleIncomingMessage()
#13 0x7fcbd1b4f1f4 mojo::internal::MultiplexRouter::ProcessIncomingMessage()
#14 0x7fcbd1b4e9fc mojo::internal::MultiplexRouter::Accept()
#15 0x7fcbd1b35bd5 mojo::FilterChain::Accept()
#16 0x7fcbd1b2a152 mojo::Connector::ReadSingleMessage()
#17 0x7fcbd1b2aeb7 mojo::Connector::ReadAllAvailableMessages()
#18 0x7fcbd1b2ac7e mojo::Connector::OnHandleReadyInternal()
#19 0x7fcbd1b2ab5b mojo::Connector::OnWatcherHandleReady()
#20 0x7fcbd1b2da74 _ZN4base8internal13FunctorTraitsIMN4mojo9ConnectorEFvjEvE6InvokeIPS3_JjEEEvS5_OT_DpOT0_
#21 0x7fcbd1b2d986 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN4mojo9ConnectorEFvjEJPS5_jEEEvOT_DpOT0_
#22 0x7fcbd1b2d917 _ZN4base8internal7InvokerINS0_9BindStateIMN4mojo9ConnectorEFvjEJNS0_17UnretainedWrapperIS4_EEEEEFvjEE7RunImplIRKS6_RKSt5tupleIJS8_EEJLm0EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEEOj
#23 0x7fcbd1b2d84c _ZN4base8internal7InvokerINS0_9BindStateIMN4mojo9ConnectorEFvjEJNS0_17UnretainedWrapperIS4_EEEEEFvjEE3RunEPNS0_13BindStateBaseEOj
#24 0x7fcbd1ac86d1 _ZNKR4base8CallbackIFvjELNS_8internal8CopyModeE1ELNS2_10RepeatModeE1EE3RunEj
#25 0x7fcbd1ac7ab4 mojo::SimpleWatcher::OnHandleReady()
#26 0x7fcbd1ac927b _ZN4base8internal13FunctorTraitsIMN4mojo13SimpleWatcherEFvijEvE6InvokeIRKNS_7WeakPtrIS3_EEJRKiRKjEEEvS5_OT_DpOT0_
#27 0x7fcbd1ac90d4 _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN4mojo13SimpleWatcherEFvijERKNS_7WeakPtrIS5_EEJRKiRKjEEEvOT_OT0_DpOT1_
#28 0x7fcbd1ac9034 _ZN4base8internal7InvokerINS0_9BindStateIMN4mojo13SimpleWatcherEFvijEJNS_7WeakPtrIS4_EEijEEEFvvEE7RunImplIRKS6_RKSt5tupleIJS8_ijEEJLm0ELm1ELm2EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
#29 0x7fcbd1ac8edc _ZN4base8internal7InvokerINS0_9BindStateIMN4mojo13SimpleWatcherEFvijEJNS_7WeakPtrIS4_EEijEEEFvvEE3RunEPNS0_13BindStateBaseE
#30 0x7fcbd4dc98fe _ZNO4base8CallbackIFvvELNS_8internal8CopyModeE0ELNS2_10RepeatModeE0EE3RunEv
#31 0x7fcbd4e141be base::debug::TaskAnnotator::RunTask()
#32 0x7fcbd4fe0ae6 base::internal::TaskTracker::PerformRunTask()
#33 0x7fcbd4fe3263 base::internal::TaskTrackerPosix::PerformRunTask()
#34 0x7fcbd4fdfcad base::internal::TaskTracker::RunNextTask()
#35 0x7fcbd4fcd3a1 base::internal::SchedulerWorker::Thread::ThreadMain()
#36 0x7fcbd4feecca base::(anonymous namespace)::ThreadFunc()
#37 0x7fcbd529e184 start_thread
#38 0x7fcbbb11bbed clone

Gab, does this have something to do with Mojo not quite working yet with sequences? I don't really know how the FilePatcher ends up on a scheduler worker thread, but then again I know nothing about Mojo. ¯\_(ツ)_/¯
 

Comment 1 by noel@chromium.org, Jun 23 2017

Cc: sa...@chromium.org
+sammc: this problem was fixed, right?

Comment 2 by sa...@chromium.org, Jun 26 2017

Mergedinto: 736125
Status: Duplicate (was: Untriaged)

Sign in to add a comment