Issue metadata
Sign in to add a comment
|
gn: Check failed: !g_base_sync_primitives_disallowed.Get().Get() |
||||||||||||||||||||||
Issue description
Bootstrap gn with:
$ tools/gn/bootstrap/bootstrap.py --build-path=out/gn
[0124/122441.126364:FATAL:thread_restrictions.cc(105)] Check failed: !g_base_sync_primitives_disallowed.Get().Get(). Waiting on a //base sync primitive is not allowed on this thread to prevent jank and deadlock. If waiting on a //base sync primitive is unavoidable, do it within the scope of a ScopedAllowBaseSyncPrimitives. If in a test, use ScopedAllowBaseSyncPrimitivesForTesting.
#0 base::debug::(anonymous namespace)::DebugBreak () at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/debug/debugger_posix.cc:239
#1 0x000055555561abf7 in base::debug::BreakDebugger () at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/debug/debugger_posix.cc:258
#2 0x000055555557c413 in logging::LogMessage::~LogMessage (this=0x7fffdfff95e0, __in_chrg=<optimized out>) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/logging.cc:842
#3 0x00005555555e04ff in base::internal::AssertBaseSyncPrimitivesAllowed () at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/threading/thread_restrictions.cc:105
#4 0x00005555556ffa8f in base::Process::WaitForExitWithTimeout (this=0x7fffdfff98e4, timeout=..., exit_code=0x7fffdfff9a6c) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/process/process_posix.cc:364
#5 0x00005555556ffa5f in base::Process::WaitForExit (this=0x7fffdfff98e4, exit_code=0x7fffdfff9a6c) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/process/process_posix.cc:359
#6 0x00005555558c127d in internal::ExecProcess (cmdline=..., startup_dir=..., std_out=0x7fffdfff9a90, std_err=0x7fffdfff9a70, exit_code=0x7fffdfff9a6c) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/exec_process.cc:251
#7 0x0000555555893f5e in functions::RunExecScript (scope=0x7fffd800d690, function=0x7fffd80115f0, args=std::vector of length 3, capacity 3 = {...}, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/function_exec_script.cc:224
#8 0x0000555555808381 in functions::RunFunction (scope=0x7fffd800d690, function=0x7fffd80115f0, args_list=0x7fffd80110f0, block=0x0, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/functions.cc:1264
#9 0x00005555557fb7f8 in FunctionCallNode::Execute (this=0x7fffd80115f0, scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:438
#10 0x0000555555897095 in (anonymous namespace)::GetValueOrFillError (op_node=0x7fffd8011650, node=0x7fffd80115f0, name=0x5555559384ba "left", scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/operators.cc:261
#11 0x0000555555899dae in ExecuteBinaryOperator (scope=0x7fffd800d690, op_node=0x7fffd8011650, left=0x7fffd80115f0, right=0x7fffd80110a0, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/operators.cc:753
...
,
Jan 24 2018
Posting full stack trace for reference
#0 base::debug::(anonymous namespace)::DebugBreak () at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/debug/debugger_posix.cc:239
#1 0x000055555561abf7 in base::debug::BreakDebugger () at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/debug/debugger_posix.cc:258
#2 0x000055555557c413 in logging::LogMessage::~LogMessage (this=0x7fffdfff95e0, __in_chrg=<optimized out>) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/logging.cc:842
#3 0x00005555555e04ff in base::internal::AssertBaseSyncPrimitivesAllowed () at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/threading/thread_restrictions.cc:105
#4 0x00005555556ffa8f in base::Process::WaitForExitWithTimeout (this=0x7fffdfff98e4, timeout=..., exit_code=0x7fffdfff9a6c) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/process/process_posix.cc:364
#5 0x00005555556ffa5f in base::Process::WaitForExit (this=0x7fffdfff98e4, exit_code=0x7fffdfff9a6c) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/process/process_posix.cc:359
#6 0x00005555558c127d in internal::ExecProcess (cmdline=..., startup_dir=..., std_out=0x7fffdfff9a90, std_err=0x7fffdfff9a70, exit_code=0x7fffdfff9a6c) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/exec_process.cc:251
#7 0x0000555555893f5e in functions::RunExecScript (scope=0x7fffd800d690, function=0x7fffd80115f0, args=std::vector of length 3, capacity 3 = {...}, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/function_exec_script.cc:224
#8 0x0000555555808381 in functions::RunFunction (scope=0x7fffd800d690, function=0x7fffd80115f0, args_list=0x7fffd80110f0, block=0x0, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/functions.cc:1264
#9 0x00005555557fb7f8 in FunctionCallNode::Execute (this=0x7fffd80115f0, scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:438
#10 0x0000555555897095 in (anonymous namespace)::GetValueOrFillError (op_node=0x7fffd8011650, node=0x7fffd80115f0, name=0x5555559384ba "left", scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/operators.cc:261
#11 0x0000555555899dae in ExecuteBinaryOperator (scope=0x7fffd800d690, op_node=0x7fffd8011650, left=0x7fffd80115f0, right=0x7fffd80110a0, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/operators.cc:753
#12 0x00005555557fa6b8 in BinaryOpNode::Execute (this=0x7fffd8011650, scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:274
#13 0x00005555557fc0c7 in ListNode::Execute (this=0x7fffd8010fc0, scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:532
#14 0x000055555580806d in functions::RunFunction (scope=0x7fffd800d690, function=0x7fffd8011750, args_list=0x7fffd8010fc0, block=0x0, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/functions.cc:1226
#15 0x00005555557fb7f8 in FunctionCallNode::Execute (this=0x7fffd8011750, scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:438
#16 0x00005555557fac27 in BlockNode::Execute (this=0x7fffd8010300, enclosing_scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:335
#17 0x00005555557fb3e7 in ConditionNode::Execute (this=0x7fffd80105e0, scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:398
#18 0x00005555557fac27 in BlockNode::Execute (this=0x7fffd800edf0, enclosing_scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:335
#19 0x00005555557fb3e7 in ConditionNode::Execute (this=0x7fffd800f110, scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:398
#20 0x00005555557fb444 in ConditionNode::Execute (this=0x7fffd800ecf0, scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:401
#21 0x00005555557fb444 in ConditionNode::Execute (this=0x7fffd800e710, scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:401
#22 0x00005555557fac27 in BlockNode::Execute (this=0x7fffd800d9a0, enclosing_scope=0x7fffd800d690, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:335
#23 0x00005555558bab94 in (anonymous namespace)::UncachedImport (settings=0x555555d04e80, file=..., node_for_err=0x7fffd8002d30, err=0x7fffd80068e8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/import_manager.cc:39
#24 0x00005555558bb05c in ImportManager::DoImport (this=0x555555d04f88, file=..., node_for_err=0x7fffd8002d30, scope=0x7fffdfffd350, err=0x7fffdfffd230) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/import_manager.cc:110
#25 0x000055555580616c in functions::RunImport (scope=0x7fffdfffd350, function=0x7fffd8002d30, args=std::vector of length 1, capacity 1 = {...}, err=0x7fffdfffd230) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/functions.cc:639
#26 0x0000555555808381 in functions::RunFunction (scope=0x7fffdfffd350, function=0x7fffd8002d30, args_list=0x7fffd8002c20, block=0x0, err=0x7fffdfffd230) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/functions.cc:1264
#27 0x00005555557fb7f8 in FunctionCallNode::Execute (this=0x7fffd8002d30, scope=0x7fffdfffd350, err=0x7fffdfffd230) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:438
#28 0x00005555557fac27 in BlockNode::Execute (this=0x7fffd8002730, enclosing_scope=0x7fffdfffd350, err=0x7fffdfffd230) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/parse_tree.cc:335
#29 0x000055555587120a in LoaderImpl::BackgroundLoadFile (this=0x555555ceb010, settings=0x555555d04e80, file_name=..., origin=..., root=0x7fffd8002730) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/loader.cc:264
#30 0x0000555555879053 in base::internal::FunctorTraits<void (LoaderImpl::*)(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*), void>::Invoke<scoped_refptr<LoaderImpl> const&, Settings const* const&, SourceFile const&, LocationRange const&, ParseNode const*>(void (LoaderImpl::*)(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*), scoped_refptr<LoaderImpl> const&, Settings const* const&, SourceFile const&, LocationRange const&, ParseNode const*&&) (method=(void (LoaderImpl::*)(LoaderImpl * const, const Settings *, const SourceFile &, const LocationRange &, const ParseNode *)) 0x555555870e98 <LoaderImpl::BackgroundLoadFile(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*)>, receiver_ptr=..., args#0=@0x555555d42de0: 0x555555d04e80, args#1=..., args#2=..., args#3=<unknown type in /tmp/tmpBo079L/gn, CU 0x209f281, DIE 0x20e6174>) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:211
#31 0x00005555558788e0 in base::internal::InvokeHelper<false, void>::MakeItSo<void (LoaderImpl::* const&)(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*), scoped_refptr<LoaderImpl> const&, Settings const* const&, SourceFile const&, LocationRange const&, ParseNode const*>(void (LoaderImpl::* const&)(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*), scoped_refptr<LoaderImpl> const&, Settings const* const&, SourceFile const&, LocationRange const&, ParseNode const*&&) (functor=@0x555555d42d80: (void (LoaderImpl::*)(LoaderImpl * const, const Settings *, const SourceFile &, const LocationRange &, const ParseNode *)) 0x555555870e98 <LoaderImpl::BackgroundLoadFile(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*)>, args#0=..., args#1=@0x555555d42de0: 0x555555d04e80, args#2=..., args#3=..., args#4=<unknown type in /tmp/tmpBo079L/gn, CU 0x209f281, DIE 0x20e6174>) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:295
#32 0x0000555555877555 in base::internal::Invoker<base::internal::BindState<void (LoaderImpl::*)(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*), scoped_refptr<LoaderImpl>, Settings const*, SourceFile, LocationRange>, void (ParseNode const*)>::RunImpl<void (LoaderImpl::* const&)(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*), std::tuple<scoped_refptr<LoaderImpl>, Settings const*, SourceFile, LocationRange> const&, 0ul, 1ul, 2ul, 3ul>(void (LoaderImpl::* const&)(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*), std::tuple<scoped_refptr<LoaderImpl>, Settings const*, SourceFile, LocationRange> const&, std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>, ParseNode const*&&) (functor=@0x555555d42d80: (void (LoaderImpl::*)(LoaderImpl * const, const Settings *, const SourceFile &, const LocationRange &, const ParseNode *)) 0x555555870e98 <LoaderImpl::BackgroundLoadFile(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*)>, bound=std::tuple containing = {...}, unbound_args#0=<unknown type in /tmp/tmpBo079L/gn, CU 0x209f281, DIE 0x20e6174>) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:371
#33 0x00005555558761d8 in base::internal::Invoker<base::internal::BindState<void (LoaderImpl::*)(Settings const*, SourceFile const&, LocationRange const&, ParseNode const*), scoped_refptr<LoaderImpl>, Settings const*, SourceFile, LocationRange>, void (ParseNode const*)>::Run(base::internal::BindStateBase*, ParseNode const*) (base=0x555555d42d60, unbound_args#0=0x7fffd8002730) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:352
#34 0x00005555557bdad9 in base::RepeatingCallback<void (ParseNode const*)>::Run(ParseNode const*) const & (this=0x555555d42ff0, args#0=0x7fffd8002730) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/callback.h:94
#35 0x00005555557bd624 in InputFileManager::LoadFile (this=0x555555ceb130, origin=..., build_settings=0x555555cea5b0, name=..., file=0x555555d42e30, err=0x7fffdfffdc20) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/input_file_manager.cc:320
#36 0x00005555557bd2c9 in InputFileManager::BackgroundLoadFile (this=0x555555ceb130, origin=..., build_settings=0x555555cea5b0, name=..., file=0x555555d42e30) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/input_file_manager.cc:264
#37 0x00005555557c26ad in base::internal::FunctorTraits<void (InputFileManager::*)(LocationRange const&, BuildSettings const*, SourceFile const&, InputFile*), void>::Invoke<scoped_refptr<InputFileManager> const&, LocationRange const&, BuildSettings const* const&, SourceFile const&, InputFile* const&> (method=(void (InputFileManager::*)(InputFileManager * const, const LocationRange &, const BuildSettings *, const SourceFile &, InputFile *)) 0x5555557bd254 <InputFileManager::BackgroundLoadFile(LocationRange const&, BuildSettings const*, SourceFile const&, InputFile*)>, receiver_ptr=..., args#0=..., args#1=@0x555555d43068: 0x555555cea5b0, args#2=..., args#3=@0x555555d43040: 0x555555d42e30) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:211
#38 0x00005555557c1e24 in base::internal::InvokeHelper<false, void>::MakeItSo<void (InputFileManager::* const&)(LocationRange const&, BuildSettings const*, SourceFile const&, InputFile*), scoped_refptr<InputFileManager> const&, LocationRange const&, BuildSettings const* const&, SourceFile const&, InputFile* const&> (functor=@0x555555d43030: (void (InputFileManager::*)(InputFileManager * const, const LocationRange &, const BuildSettings *, const SourceFile &, InputFile *)) 0x5555557bd254 <InputFileManager::BackgroundLoadFile(LocationRange const&, BuildSettings const*, SourceFile const&, InputFile*)>, args#0=..., args#1=..., args#2=@0x555555d43068: 0x555555cea5b0, args#3=..., args#4=@0x555555d43040: 0x555555d42e30) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:295
#39 0x00005555557c0b96 in base::internal::Invoker<base::internal::BindState<void (InputFileManager::*)(LocationRange const&, BuildSettings const*, SourceFile const&, InputFile*), scoped_refptr<InputFileManager>, LocationRange, BuildSettings const*, SourceFile, InputFile*>, void ()>::RunImpl<void (InputFileManager::* const&)(LocationRange const&, BuildSettings const*, SourceFile const&, InputFile*), std::tuple<scoped_refptr<InputFileManager>, LocationRange, BuildSettings const*, SourceFile, InputFile*> const&, 0ul, 1ul, 2ul, 3ul, 4ul>(void (InputFileManager::* const&)(LocationRange const&, BuildSettings const*, SourceFile const&, InputFile*), std::tuple<scoped_refptr<InputFileManager>, LocationRange, BuildSettings const*, SourceFile, InputFile*> const&, std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul>) (functor=@0x555555d43030: (void (InputFileManager::*)(InputFileManager * const, const LocationRange &, const BuildSettings *, const SourceFile &, InputFile *)) 0x5555557bd254 <InputFileManager::BackgroundLoadFile(LocationRange const&, BuildSettings const*, SourceFile const&, InputFile*)>, bound=std::tuple containing = {...}) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:371
#40 0x00005555557bfb56 in base::internal::Invoker<base::internal::BindState<void (InputFileManager::*)(LocationRange const&, BuildSettings const*, SourceFile const&, InputFile*), scoped_refptr<InputFileManager>, LocationRange, BuildSettings const*, SourceFile, InputFile*>, void ()>::Run(base::internal::BindStateBase*) (base=0x555555d43010) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:352
#41 0x0000555555590a7c in base::OnceCallback<void ()>::Run() && (this=0x7fffdfffdec8) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/callback.h:65
#42 0x00005555557d1fee in Scheduler::DoWork(base::OnceCallback<void ()>) (this=0x555555cea8e0, closure=...) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/tools/gn/scheduler.cc:181
#43 0x00005555557d53a8 in base::internal::FunctorTraits<void (Scheduler::*)(base::OnceCallback<void ()>), void>::Invoke<Scheduler*, base::OnceCallback<void ()> >(void (Scheduler::*)(base::OnceCallback<void ()>), Scheduler*&&, base::OnceCallback<void ()>&&) (method=(void (Scheduler::*)(Scheduler * const, base::OnceCallback<void()>)) 0x5555557d1fca <Scheduler::DoWork(base::OnceCallback<void ()>)>, receiver_ptr=<unknown type in /tmp/tmpBo079L/gn, CU 0x162ccfc, DIE 0x166acec>, args#0=<unknown type in /tmp/tmpBo079L/gn, CU 0x162ccfc, DIE 0x1664c72>) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:211
#44 0x00005555557d49db in base::internal::InvokeHelper<false, void>::MakeItSo<void (Scheduler::*)(base::OnceCallback<void ()>), Scheduler*, base::OnceCallback<void ()> >(void (Scheduler::*&&)(base::OnceCallback<void ()>), Scheduler*&&, base::OnceCallback<void ()>&&) (functor=<unknown type in /tmp/tmpBo079L/gn, CU 0x162ccfc, DIE 0x166e2d9>, args#0=<unknown type in /tmp/tmpBo079L/gn, CU 0x162ccfc, DIE 0x166acec>, args#1=<unknown type in /tmp/tmpBo079L/gn, CU 0x162ccfc, DIE 0x1664c72>) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:295
#45 0x00005555557d361f in base::internal::Invoker<base::internal::BindState<void (Scheduler::*)(base::OnceCallback<void ()>), base::internal::UnretainedWrapper<Scheduler>, base::OnceCallback<void ()> >, void ()>::RunImpl<void (Scheduler::*)(base::OnceCallback<void ()>), std::tuple<base::internal::UnretainedWrapper<Scheduler>, base::OnceCallback<void ()> >, 0ul, 1ul>(void (Scheduler::*&&)(base::OnceCallback<void ()>), std::tuple<base::internal::UnretainedWrapper<Scheduler>, base::OnceCallback<void ()> >&&, std::integer_sequence<unsigned long, 0ul, 1ul>) (functor=<unknown type in /tmp/tmpBo079L/gn, CU 0x162ccfc, DIE 0x166e2d9>, bound=<unknown type in /tmp/tmpBo079L/gn, CU 0x162ccfc, DIE 0x166ada7>) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:371
#46 0x00005555557d2b91 in base::internal::Invoker<base::internal::BindState<void (Scheduler::*)(base::OnceCallback<void ()>), base::internal::UnretainedWrapper<Scheduler>, base::OnceCallback<void ()> >, void ()>::RunOnce(base::internal::BindStateBase*) (base=0x555555d43150) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/bind_internal.h:339
#47 0x0000555555590a7c in base::OnceCallback<void ()>::Run() && (this=0x7fffdfffe740) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/callback.h:65
#48 0x00005555556454e0 in base::debug::TaskAnnotator::RunTask (this=0x7fffdfffe527, queue_function=0x5555558d9b88 <base::internal::(anonymous namespace)::kQueueFunctionName> "base::PostTask", pending_task=0x7fffdfffe740) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/debug/task_annotator.cc:55
#49 0x00005555555b5878 in base::internal::TaskTracker::RunOrSkipTask (this=0x555555ce5970, task=..., sequence=0x555555d431a0, can_run_task=true) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/task_scheduler/task_tracker.cc:420
#50 0x000055555562948d in base::internal::TaskTrackerPosix::RunOrSkipTask (this=0x555555ce5970, task=..., sequence=0x555555d431a0, can_run_task=true) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/task_scheduler/task_tracker_posix.cc:23
#51 0x00005555555b5011 in base::internal::TaskTracker::RunNextTask (this=0x555555ce5970, sequence=..., observer=0x555555d0e6e0) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/task_scheduler/task_tracker.cc:322
#52 0x00005555556a610e in base::internal::SchedulerWorker::Thread::ThreadMain (this=0x555555d0e860) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/task_scheduler/scheduler_worker.cc:72
#53 0x00005555556295fb in base::(anonymous namespace)::ThreadFunc (params=0x555555d0e8f0) at /usr/local/google/home/thomasanderson/dev/chromium_official/src/base/threading/platform_thread_posix.cc:75
#54 0x00007ffff6f16494 in start_thread (arg=0x7fffdffff700) at pthread_create.c:333
#55 0x00007ffff6c58a8f in clone () from /lib/x86_64-linux-gnu/libc.so.6
,
Jan 26 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5d2531613139a1c409dfacd28d03b05b2100fcfe commit 5d2531613139a1c409dfacd28d03b05b2100fcfe Author: Tom Anderson <thomasanderson@chromium.org> Date: Fri Jan 26 22:05:17 2018 Fix gn CHECK()ing when generating Chromium build files After r531270, gn chokes while running exec_script(): [0124/122441.126364:FATAL:thread_restrictions.cc(105)] Check failed: !g_base_sync_primitives_disallowed.Get().Get(). GN executes scripts synchronously while loading files, so blocking is necessary. This CL adds a ScopedAllowBaseSyncPrimitives for gn to use while waiting for exec_script() to complete. BUG= 805628 R=dpranke,thestig,fdoray Change-Id: I7ad539a8dee0230c84d94f1c6b37755a890bfcd7 Reviewed-on: https://chromium-review.googlesource.com/884423 Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by: Dirk Pranke <dpranke@chromium.org> Reviewed-by: François Doray <fdoray@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#532069} [modify] https://crrev.com/5d2531613139a1c409dfacd28d03b05b2100fcfe/base/threading/thread_restrictions.h [modify] https://crrev.com/5d2531613139a1c409dfacd28d03b05b2100fcfe/tools/gn/function_exec_script.cc
,
Jan 26 2018
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by thomasanderson@chromium.org
, Jan 24 2018