Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ccls crash
Process: ccls [68808]
Path: /Users/USER/*/ccls
Identifier: ccls
Version: 0
Code Type: X86-64 (Native)
Parent Process: Emacs-x86_64-10_10 [64034]
Responsible: ccls [68808]
User ID: 502
Date/Time: 2018-09-03 00:03:17.227 +0200
OS Version: Mac OS X 10.13.6 (17G65)
Report Version: 12
Bridge OS Version: 3.0 (14Y664)
Anonymous UUID: AB4030B9-E7AA-1911-684C-BFDCE5D30386
Sleep/Wake UUID: 047437FA-3D2C-417B-A053-601693F8046A
Time Awake Since Boot: 170000 seconds
Time Since Wake: 4000 seconds
System Integrity Protection: enabled
Crashed Thread: 5 diag-query
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
=================================================================
==68808==ERROR: AddressSanitizer: use-after-poison on address 0x621000a2e090 at pc 0x00010702fde5 bp 0x700002416da0 sp 0x700002416540
WRITE of size 8 at 0x621000a2e090 thread T5
#0 0x10702fde4 in wrap_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1cde4)
#1 0x1038ce2d0 in clang::Decl::setAttrsImpl(llvm::SmallVector<clang::Attr*, 4u> const&, clang::ASTContext&) (ccls:x86_64+0x102d872d0)
#2 0x1037ee799 in clang::Decl::addAttr(clang::Attr*) (ccls:x86_64+0x102ca7799)
#3 0x10335146f in handleVisibilityAttr(clang::Sema&, clang::Decl*, clang::AttributeList const&, bool) (ccls:x86_64+0x10280a46f)
#4 0x103328cc3 in clang::Sema::ProcessDeclAttributeList(clang::Scope*, clang::Decl*, clang::AttributeList const*, bool) (ccls:x86_64+0x1027e1cc3)
#5 0x103678616 in clang::Sema::CheckClassTemplate(clang::Scope*, unsigned int, clang::Sema::TagUseKind, clang::SourceLocation, clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::TemplateParameterList*, clang::AccessSpecifier, clang::SourceLocation, clang::SourceLocation, unsigned int, clang::TemplateParameterList**, clang::Sema::SkipBodyInfo*) (ccls:x86_64+0x102b31616)
#6 0x103304172 in clang::Sema::ActOnTag(clang::Scope*, unsigned int, clang::Sema::TagUseKind, clang::SourceLocation, clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, clang::SourceLocation, llvm::MutableArrayRef<clang::TemplateParameterList*>, bool&, bool&, clang::SourceLocation, bool, clang::ActionResult<clang::OpaquePtr<clang::QualType>, false>, bool, bool, clang::Sema::SkipBodyInfo*) (ccls:x86_64+0x1027bd172)
#7 0x102fb724b in clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::Parser::ParsedAttributesWithRange&) (ccls:x86_64+0x10247024b)
#8 0x102f998d4 in clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) (ccls:x86_64+0x1024528d4)
#9 0x103017b7b in clang::Parser::ParseSingleDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) (ccls:x86_64+0x1024d0b7b)
#10 0x1030175b7 in clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) (ccls:x86_64+0x1024d05b7)
#11 0x103016f3a in clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) (ccls:x86_64+0x1024cff3a)
#12 0x102f98c2b in clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) (ccls:x86_64+0x102451c2b)
#13 0x103024576 in clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (ccls:x86_64+0x1024dd576)
#14 0x102fb137f in clang::Parser::ParseInnerNamespace(std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, std::__1::vector<clang::IdentifierInfo*, std::__1::allocator<clang::IdentifierInfo*> >&, std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (ccls:x86_64+0x10246a37f)
#15 0x102fb0ee4 in clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (ccls:x86_64+0x102469ee4)
#16 0x102f98d89 in clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) (ccls:x86_64+0x102451d89)
#17 0x103024576 in clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (ccls:x86_64+0x1024dd576)
#18 0x102fb137f in clang::Parser::ParseInnerNamespace(std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, std::__1::vector<clang::IdentifierInfo*, std::__1::allocator<clang::IdentifierInfo*> >&, std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (ccls:x86_64+0x10246a37f)
#19 0x102fb0ee4 in clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (ccls:x86_64+0x102469ee4)
#20 0x102f98d89 in clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) (ccls:x86_64+0x102451d89)
#21 0x103024576 in clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (ccls:x86_64+0x1024dd576)
#22 0x103023f0a in clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) (ccls:x86_64+0x1024dcf0a)
#23 0x102f8ac64 in clang::ParseAST(clang::Sema&, bool, bool) (ccls:x86_64+0x102443c64)
#24 0x102f40e5f in clang::FrontendAction::Execute() (ccls:x86_64+0x1023f9e5f)
#25 0x100c541df in ccls::(anonymous namespace)::Parse(clang::CompilerInstance&) clang_complete.cc:522
#26 0x100d21655 in ccls::(anonymous namespace)::DiagnosticQueryMain(ClangCompleteManager*) clang_complete.cc:633
#27 0x100d1c67f in ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_2::operator()() const clang_complete.cc:723
#28 0x100d1adac in std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_2> >(void*, void*) type_traits:4428
#29 0x7fff5c401660 in _pthread_body (libsystem_pthread.dylib:x86_64+0x3660)
#30 0x7fff5c40150c in _pthread_start (libsystem_pthread.dylib:x86_64+0x350c)
#31 0x7fff5c400bf8 in thread_start (libsystem_pthread.dylib:x86_64+0x2bf8)
0x621000a2e090 is located 3984 bytes inside of 4096-byte region [0x621000a2d100,0x621000a2e100)
allocated by thread T5 here:
#0 0x10706a4d3 in wrap_malloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x574d3)
#1 0x10132b984 in llvm::MallocAllocator::Allocate(unsigned long, unsigned long) Allocator.h:97
#2 0x10132c97d in llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>::StartNewSlab() Allocator.h:344
#3 0x10132b5f5 in llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>::Allocate(unsigned long, unsigned long) Allocator.h:258
#4 0x103900b04 in clang::DeclRefExpr::Create(clang::ASTContext const&, clang::NestedNameSpecifierLoc, clang::SourceLocation, clang::ValueDecl*, bool, clang::DeclarationNameInfo const&, clang::QualType, clang::ExprValueKind, clang::NamedDecl*, clang::TemplateArgumentListInfo const*) (ccls:x86_64+0x102db9b04)
#5 0x1034444d9 in clang::Sema::BuildDeclRefExpr(clang::ValueDecl*, clang::QualType, clang::ExprValueKind, clang::DeclarationNameInfo const&, clang::CXXScopeSpec const*, clang::NamedDecl*, clang::TemplateArgumentListInfo const*) (ccls:x86_64+0x1028fd4d9)
#6 0x103449029 in clang::Sema::BuildDeclarationNameExpr(clang::CXXScopeSpec const&, clang::DeclarationNameInfo const&, clang::NamedDecl*, clang::NamedDecl*, clang::TemplateArgumentListInfo const*, bool) (ccls:x86_64+0x102902029)
#7 0x10344749b in clang::Sema::BuildDeclarationNameExpr(clang::CXXScopeSpec const&, clang::LookupResult&, bool, bool) (ccls:x86_64+0x10290049b)
#8 0x10343f259 in clang::Sema::ActOnIdExpression(clang::Scope*, clang::CXXScopeSpec&, clang::SourceLocation, clang::UnqualifiedId&, bool, bool, std::__1::unique_ptr<clang::CorrectionCandidateCallback, std::__1::default_delete<clang::CorrectionCandidateCallback> >, bool, clang::Token*) (ccls:x86_64+0x1028f8259)
#9 0x102fcad73 in clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState, bool) (ccls:x86_64+0x102483d73)
#10 0x102fc3943 in clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) (ccls:x86_64+0x10247c943)
#11 0x102fc387d in clang::Parser::ParseExpression(clang::Parser::TypeCastState) (ccls:x86_64+0x10247c87d)
#12 0x102fda423 in clang::Parser::ParseCXXCasts() (ccls:x86_64+0x102493423)
#13 0x102fc6a9c in clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState, bool) (ccls:x86_64+0x10247fa9c)
#14 0x102fc3943 in clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) (ccls:x86_64+0x10247c943)
#15 0x102fc387d in clang::Parser::ParseExpression(clang::Parser::TypeCastState) (ccls:x86_64+0x10247c87d)
#16 0x102fda423 in clang::Parser::ParseCXXCasts() (ccls:x86_64+0x102493423)
#17 0x102fc6a9c in clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState, bool) (ccls:x86_64+0x10247fa9c)
#18 0x102fc3943 in clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) (ccls:x86_64+0x10247c943)
#19 0x102fc387d in clang::Parser::ParseExpression(clang::Parser::TypeCastState) (ccls:x86_64+0x10247c87d)
#20 0x102fda423 in clang::Parser::ParseCXXCasts() (ccls:x86_64+0x102493423)
#21 0x102fc6a9c in clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState, bool) (ccls:x86_64+0x10247fa9c)
#22 0x102fc3943 in clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) (ccls:x86_64+0x10247c943)
#23 0x102fc387d in clang::Parser::ParseExpression(clang::Parser::TypeCastState) (ccls:x86_64+0x10247c87d)
#24 0x10300f5f1 in clang::Parser::ParseReturnStatement() (ccls:x86_64+0x1024c85f1)
#25 0x10300a4ba in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) (ccls:x86_64+0x1024c34ba)
#26 0x103009d88 in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::AllowedConstructsKind, clang::SourceLocation*) (ccls:x86_64+0x1024c2d88)
#27 0x103010e24 in clang::Parser::ParseCompoundStatementBody(bool) (ccls:x86_64+0x1024c9e24)
#28 0x10301175c in clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) (ccls:x86_64+0x1024ca75c)
#29 0x103027b07 in clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) (ccls:x86_64+0x1024e0b07)
Thread T5 created by T0 here:
#0 0x10706242d in wrap_pthread_create (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x4f42d)
#1 0x100d16e1d in std::__1::thread::thread<ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_2, void>(ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_2&&) __threading_support:336
#2 0x100b591b2 in std::__1::thread::thread<ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_2, void>(ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_2&&) thread:360
#3 0x100b58901 in ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>) clang_complete.cc:721
#4 0x100b594b6 in ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>) clang_complete.cc:710
#5 0x1017f920a in ccls::pipeline::MainLoop() pipeline.cc:424
#6 0x100f3fb91 in main main.cc:133
#7 0x7fff5c0e9014 in start (libdyld.dylib:x86_64+0x1014)
SUMMARY: AddressSanitizer: use-after-poison (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1cde4) in wrap_memcpy
Shadow bytes around the buggy address:
0x1c4200145bc0: 00 f7 00 00 00 00 00 00 00 00 00 00 f7 f7 f7 f7
0x1c4200145bd0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
0x1c4200145be0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 00 00 00 00
0x1c4200145bf0: 00 00 00 00 00 00 00 00 f7 f7 00 00 00 00 00 00
0x1c4200145c00: 00 00 00 00 00 00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
=>0x1c4200145c10: f7 f7[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
0x1c4200145c20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x1c4200145c30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x1c4200145c40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x1c4200145c50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x1c4200145c60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
==68808==ABORTING
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 ccls 0x00000001016e1ca9 EmitSemanticHighlighting(DB*, SemanticHighlightSymbolCache*, WorkingFile*, QueryFile*)::$_3::operator()(int, int) const + 5369
1 ccls 0x00000001016ce184 EmitSemanticHighlighting(DB*, SemanticHighlightSymbolCache*, WorkingFile*, QueryFile*) + 146404 (message_handler.cc:388)
2 ccls 0x00000001017f79dd ccls::pipeline::Main_OnIndexed(DB*, SemanticHighlightSymbolCache*, WorkingFiles*, IndexUpdate*) + 28637 (pipeline.cc:350)
3 ccls 0x000000010180184a ccls::pipeline::MainLoop() + 36586 (pipeline.cc:484)
4 ccls 0x0000000100f3fb92 main + 38098 (main.cc:136)
5 libdyld.dylib 0x00007fff5c0e9015 start + 1
Thread 1:: stdin
0 libsystem_kernel.dylib 0x00007fff5c239bea __read_nocancel + 10
1 libsystem_c.dylib 0x00007fff5c17b6f1 _sread + 16
2 libsystem_c.dylib 0x00007fff5c17ad1e __srefill1 + 24
3 libsystem_c.dylib 0x00007fff5c17ae39 __srget + 14
4 libsystem_c.dylib 0x00007fff5c176ff8 getchar + 58
5 ccls 0x00000001013d5cd0 ReadCharFromStdinBlocking() + 272 (lsp.cc:90)
6 ccls 0x000000010143db73 std::__1::optional<char> std::__1::__invoke_void_return_wrapper<std::__1::optional<char> >::__call<std::__1::optional<char> (*&)()>(std::__1::optional<char> (*&&&)()) + 883 (type_traits:4428)
7 ccls 0x000000010143b5ad std::__1::__function::__func<std::__1::optional<char> (*)(), std::__1::allocator<std::__1::optional<char> (*)()>, std::__1::optional<char> ()>::operator()() + 797 (functional:1562)
8 ccls 0x00000001013d5039 std::__1::function<std::__1::optional<char> ()>::operator()() const + 793 (functional:1913)
9 ccls 0x00000001013cf455 ReadJsonRpcContentFrom(std::__1::function<std::__1::optional<char> ()>) + 2885 (lsp.cc:41)
10 ccls 0x00000001013d637f MessageRegistry::ReadMessageFromStdin(std::__1::unique_ptr<InMessage, std::__1::default_delete<InMessage> >*) + 639 (lsp.cc:99)
11 ccls 0x000000010193ab06 ccls::pipeline::LaunchStdin()::$_1::operator()() const + 2022 (pipeline.cc:360)
12 ccls 0x0000000101938d3a void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ccls::pipeline::LaunchStdin()::$_1> >(void*) + 5610 (type_traits:4428)
13 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
14 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
15 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 2:: stdout
0 libsystem_kernel.dylib 0x00007fff5c239a16 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff5c402589 _pthread_cond_wait + 732
2 libc++.1.dylib 0x00007fff5a03dcb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 ccls 0x0000000101986abe void std::__1::condition_variable_any::wait<MultiQueueLock<ThreadedQueue<ccls::pipeline::(anonymous namespace)::Stdout_Request>*> >(MultiQueueLock<ThreadedQueue<ccls::pipeline::(anonymous namespace)::Stdout_Request>*>&) + 4718 (condition_variable:204)
4 ccls 0x00000001019773d7 void MultiQueueWaiter::Wait<ThreadedQueue<ccls::pipeline::(anonymous namespace)::Stdout_Request>*>(ThreadedQueue<ccls::pipeline::(anonymous namespace)::Stdout_Request>*) + 855 (threaded_queue.h:72)
5 ccls 0x000000010196ff85 ccls::pipeline::LaunchStdout()::$_2::operator()() const + 1061 (pipeline.cc:400)
6 ccls 0x000000010196e57a void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ccls::pipeline::LaunchStdout()::$_2> >(void*) + 5610 (type_traits:4428)
7 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
8 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
9 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 3:: comp-query
0 libsystem_kernel.dylib 0x00007fff5c239a16 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff5c402589 _pthread_cond_wait + 732
2 libc++.1.dylib 0x00007fff5a03dcb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 ccls 0x0000000100c5a07e void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 4718 (condition_variable:204)
4 ccls 0x0000000100c3dd67 ThreadedQueue<std::__1::unique_ptr<ClangCompleteManager::CompletionRequest, std::__1::default_delete<ClangCompleteManager::CompletionRequest> > >::Dequeue() + 1783 (condition_variable:213)
5 ccls 0x0000000100c2fd4b ccls::(anonymous namespace)::CompletionQueryMain(ClangCompleteManager*) + 1291
6 ccls 0x0000000100c2f720 ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_0::operator()() const + 384 (clang_complete.cc:714)
7 ccls 0x0000000100c2dc0d std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_0> >(void*, void*) + 5805 (type_traits:4428)
8 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
9 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
10 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 4:: comp-preload
0 libsystem_kernel.dylib 0x00007fff5c230306 swtch_pri + 10
1 libsystem_pthread.dylib 0x00007fff5c40222e sched_yield + 11
2 libclang_rt.asan_osx_dynamic.dylib 0x0000000107082a79 __sanitizer::internal_sched_yield() + 9
3 libclang_rt.asan_osx_dynamic.dylib 0x000000010708c6d5 __sanitizer::ScopedErrorReportLock::ScopedErrorReportLock() + 69
4 libclang_rt.asan_osx_dynamic.dylib 0x000000010706ffed __asan::ReportGenericError(unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool) + 253
5 libclang_rt.asan_osx_dynamic.dylib 0x000000010702fb87 wrap_memcpy + 1719
6 ccls 0x0000000103dc320d llvm::SmallVectorBase::grow_pod(void*, unsigned long, unsigned long) + 141
7 ccls 0x00000001038f94e3 void clang::RedeclarableTemplateDecl::addSpecializationImpl<clang::ClassTemplateDecl, clang::ClassTemplateSpecializationDecl>(llvm::FoldingSetVector<clang::ClassTemplateSpecializationDecl, llvm::SmallVector<clang::ClassTemplateSpecializationDecl*, 8u> >&, clang::ClassTemplateSpecializationDecl*, void*) + 179
8 ccls 0x00000001036938fa clang::Sema::ActOnClassTemplateSpecialization(clang::Scope*, unsigned int, clang::Sema::TagUseKind, clang::SourceLocation, clang::SourceLocation, clang::TemplateIdAnnotation&, clang::AttributeList*, llvm::MutableArrayRef<clang::TemplateParameterList*>, clang::Sema::SkipBodyInfo*) + 5706
9 ccls 0x0000000102fb76dd clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::Parser::ParsedAttributesWithRange&) + 7549
10 ccls 0x0000000102f998d5 clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) + 1173
11 ccls 0x0000000103017b7c clang::Parser::ParseSingleDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 892
12 ccls 0x00000001030175b8 clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 1272
13 ccls 0x0000000103016f3b clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 283
14 ccls 0x0000000102f98c2c clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 364
15 ccls 0x0000000103024577 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 167
16 ccls 0x0000000102fb1380 clang::Parser::ParseInnerNamespace(std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, std::__1::vector<clang::IdentifierInfo*, std::__1::allocator<clang::IdentifierInfo*> >&, std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 288
17 ccls 0x0000000102fb0ee5 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) + 5957
18 ccls 0x0000000102f98d8a clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 714
19 ccls 0x0000000103024577 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 167
20 ccls 0x0000000102fb1380 clang::Parser::ParseInnerNamespace(std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, std::__1::vector<clang::IdentifierInfo*, std::__1::allocator<clang::IdentifierInfo*> >&, std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 288
21 ccls 0x0000000102fb0ee5 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) + 5957
22 ccls 0x0000000102f98d8a clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 714
23 ccls 0x0000000103024577 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 167
24 ccls 0x0000000103023f0b clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 667
25 ccls 0x0000000102f8ac65 clang::ParseAST(clang::Sema&, bool, bool) + 405
26 ccls 0x0000000102f40e60 clang::FrontendAction::Execute() + 128
27 ccls 0x0000000102f6c624 clang::PrecompiledPreamble::Build(clang::CompilerInvocation const&, llvm::MemoryBuffer const*, clang::PreambleBounds, clang::DiagnosticsEngine&, llvm::IntrusiveRefCntPtr<clang::vfs::FileSystem>, std::__1::shared_ptr<clang::PCHContainerOperations>, bool, clang::PreambleCallbacks&) + 3604
28 ccls 0x0000000100b52b03 ccls::CompletionSession::BuildPreamble(clang::CompilerInvocation&) + 14883 (clang_complete.cc:692)
29 ccls 0x0000000100d0edac ccls::(anonymous namespace)::CompletionPreloadMain(ClangCompleteManager*) + 10204 (clang_complete.cc:549)
30 ccls 0x0000000100d0c550 ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_1::operator()() const + 384 (clang_complete.cc:719)
31 ccls 0x0000000100d0ac7d std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_1> >(void*, void*) + 5805 (type_traits:4428)
32 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
33 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
34 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 5 Crashed:: diag-query
0 libsystem_kernel.dylib 0x00007fff5c239b66 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff5c404080 pthread_kill + 333
2 libsystem_c.dylib 0x00007fff5c19524d __abort + 144
3 libsystem_c.dylib 0x00007fff5c1951bd abort + 142
4 libclang_rt.asan_osx_dynamic.dylib 0x000000010708d686 __sanitizer::Abort() + 70
5 libclang_rt.asan_osx_dynamic.dylib 0x000000010708bc74 __sanitizer::Die() + 196
6 libclang_rt.asan_osx_dynamic.dylib 0x0000000107070816 __asan::ScopedInErrorReport::~ScopedInErrorReport() + 294
7 libclang_rt.asan_osx_dynamic.dylib 0x00000001070700af __asan::ReportGenericError(unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool) + 447
8 libclang_rt.asan_osx_dynamic.dylib 0x000000010702fe07 wrap_memcpy + 2359
9 ccls 0x00000001038ce2d1 clang::Decl::setAttrsImpl(llvm::SmallVector<clang::Attr*, 4u> const&, clang::ASTContext&) + 209
10 ccls 0x00000001037ee79a clang::Decl::addAttr(clang::Attr*) + 90
11 ccls 0x0000000103351470 handleVisibilityAttr(clang::Sema&, clang::Decl*, clang::AttributeList const&, bool) + 1296
12 ccls 0x0000000103328cc4 clang::Sema::ProcessDeclAttributeList(clang::Scope*, clang::Decl*, clang::AttributeList const*, bool) + 68
13 ccls 0x0000000103678617 clang::Sema::CheckClassTemplate(clang::Scope*, unsigned int, clang::Sema::TagUseKind, clang::SourceLocation, clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::TemplateParameterList*, clang::AccessSpecifier, clang::SourceLocation, clang::SourceLocation, unsigned int, clang::TemplateParameterList**, clang::Sema::SkipBodyInfo*) + 6599
14 ccls 0x0000000103304173 clang::Sema::ActOnTag(clang::Scope*, unsigned int, clang::Sema::TagUseKind, clang::SourceLocation, clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::AttributeList*, clang::AccessSpecifier, clang::SourceLocation, llvm::MutableArrayRef<clang::TemplateParameterList*>, bool&, bool&, clang::SourceLocation, bool, clang::ActionResult<clang::OpaquePtr<clang::QualType>, false>, bool, bool, clang::Sema::SkipBodyInfo*) + 547
15 ccls 0x0000000102fb724c clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::Parser::ParsedAttributesWithRange&) + 6380
16 ccls 0x0000000102f998d5 clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) + 1173
17 ccls 0x0000000103017b7c clang::Parser::ParseSingleDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 892
18 ccls 0x00000001030175b8 clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 1272
19 ccls 0x0000000103016f3b clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 283
20 ccls 0x0000000102f98c2c clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 364
21 ccls 0x0000000103024577 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 167
22 ccls 0x0000000102fb1380 clang::Parser::ParseInnerNamespace(std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, std::__1::vector<clang::IdentifierInfo*, std::__1::allocator<clang::IdentifierInfo*> >&, std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 288
23 ccls 0x0000000102fb0ee5 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) + 5957
24 ccls 0x0000000102f98d8a clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 714
25 ccls 0x0000000103024577 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 167
26 ccls 0x0000000102fb1380 clang::Parser::ParseInnerNamespace(std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, std::__1::vector<clang::IdentifierInfo*, std::__1::allocator<clang::IdentifierInfo*> >&, std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 288
27 ccls 0x0000000102fb0ee5 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) + 5957
28 ccls 0x0000000102f98d8a clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 714
29 ccls 0x0000000103024577 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) + 167
30 ccls 0x0000000103023f0b clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 667
31 ccls 0x0000000102f8ac65 clang::ParseAST(clang::Sema&, bool, bool) + 405
32 ccls 0x0000000102f40e60 clang::FrontendAction::Execute() + 128
33 ccls 0x0000000100c541e0 ccls::(anonymous namespace)::Parse(clang::CompilerInstance&) + 1056 (clang_complete.cc:522)
34 ccls 0x0000000100d21656 ccls::(anonymous namespace)::DiagnosticQueryMain(ClangCompleteManager*) + 20310 (clang_complete.cc:633)
35 ccls 0x0000000100d1c680 ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_2::operator()() const + 384 (clang_complete.cc:724)
36 ccls 0x0000000100d1adad std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ClangCompleteManager::ClangCompleteManager(Project*, WorkingFiles*, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<lsDiagnostic, std::__1::allocator<lsDiagnostic> >)>, std::__1::function<void (lsRequestId)>)::$_2> >(void*, void*) + 5805 (type_traits:4428)
37 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
38 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
39 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 6:: indexer0
0 libsystem_kernel.dylib 0x00007fff5c239a46 __psynch_mutexwait + 10
1 libsystem_pthread.dylib 0x00007fff5c401b9d _pthread_mutex_lock_wait + 83
2 libsystem_pthread.dylib 0x00007fff5c3ff4c8 _pthread_mutex_lock_slow + 253
3 libc++.1.dylib 0x00007fff5a070c7f std::__1::mutex::lock() + 9
4 ccls 0x0000000101eaf44b ccls::Intern(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 10203 (serializer.cc:353)
5 ccls 0x0000000101eacadb Reflect(Reader&, char const*&) + 1419 (serializer.cc:130)
6 ccls 0x000000010203c8c0 void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()::operator()() const + 304 (serializer.h:313)
7 ccls 0x000000010203c63e void std::__1::__invoke_void_return_wrapper<void>::__call<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()&>(void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()&&&) + 398 (__functional_base:350)
8 ccls 0x000000010203a4d8 std::__1::__function::__func<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'(), std::__1::allocator<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()>, void ()>::operator()() + 536 (functional:1562)
9 ccls 0x0000000100b79f76 std::__1::function<void ()>::operator()() const + 502 (functional:1913)
10 ccls 0x0000000101ee39fb BinaryReader::Member(char const*, std::__1::function<void ()>) + 139 (binary.h:84)
11 ccls 0x000000010202091e void ReflectMember<char const*>(Reader&, char const*, char const*&) + 894 (serializer.h:313)
12 ccls 0x000000010212a6c6 void ReflectHoverAndComments<VarDef>(Reader&, VarDef&) + 310 (serializer.cc:209)
13 ccls 0x000000010211c8d0 void Reflect<Reader>(Reader&, IndexVar&) + 880 (serializer.cc:294)
14 ccls 0x000000010211c1f9 void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(Reader&)::operator()(Reader&) const + 505 (serializer.cc:146)
15 ccls 0x000000010211bdef void std::__1::__invoke_void_return_wrapper<void>::__call<void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(Reader&)&, Reader&>(void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(Reader&)&&&, Reader&&&) + 783 (__functional_base:350)
16 ccls 0x0000000102119b06 std::__1::__function::__func<void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(Reader&), std::__1::allocator<void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(Reader&)>, void (Reader&)>::operator()(Reader&) + 726 (functional:1562)
17 ccls 0x0000000100f6cdc4 std::__1::function<void (Reader&)>::operator()(Reader&) const + 708 (functional:1913)
18 ccls 0x0000000101ee394a BinaryReader::IterArray(std::__1::function<void (Reader&)>) + 266 (binary.h:80)
19 ccls 0x0000000102110e0d void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&) + 621 (serializer.cc:144)
20 ccls 0x0000000102110b90 void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'()::operator()() const + 304 (serializer.h:313)
21 ccls 0x000000010211090e void std::__1::__invoke_void_return_wrapper<void>::__call<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'()&>(void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'()&&&) + 398 (__functional_base:350)
22 ccls 0x000000010210e7a8 std::__1::__function::__func<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(), std::__1::allocator<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'()>, void ()>::operator()() + 536 (functional:1562)
23 ccls 0x0000000100b79f76 std::__1::function<void ()>::operator()() const + 502 (functional:1913)
24 ccls 0x0000000101ee39fb BinaryReader::Member(char const*, std::__1::function<void ()>) + 139 (binary.h:84)
25 ccls 0x0000000101f879be void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&) + 894 (serializer.h:313)
26 ccls 0x0000000101ed1d90 void Reflect<BinaryReader>(BinaryReader&, IndexFile&) + 2512 (serializer.cc:324)
27 ccls 0x0000000101ec56c7 ccls::Deserialize(SerializeFormat, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::optional<int>) + 28807 (serializer.cc:413)
28 ccls 0x00000001018256e2 ccls::pipeline::(anonymous namespace)::RawCacheLoad(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 5026 (pipeline.cc:150)
29 ccls 0x00000001017d8b11 ccls::pipeline::(anonymous namespace)::Indexer_Parse(DiagnosticsPublisher*, WorkingFiles*, Project*, VFS*, GroupMatch const&) + 24225 (pipeline.cc:197)
30 ccls 0x00000001017d2b5d ccls::pipeline::Indexer_Main(DiagnosticsPublisher*, VFS*, Project*, WorkingFiles*) + 845 (pipeline.cc:314)
31 ccls 0x00000001026610a9 (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()::operator()() const + 6201 (initialize.cc:498)
32 ccls 0x000000010265e11d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()> >(void*) + 5805 (type_traits:4428)
33 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
34 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
35 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 7:: indexer1
0 libsystem_kernel.dylib 0x00007fff5c239a46 __psynch_mutexwait + 10
1 libsystem_pthread.dylib 0x00007fff5c401b9d _pthread_mutex_lock_wait + 83
2 libsystem_pthread.dylib 0x00007fff5c3ff4c8 _pthread_mutex_lock_slow + 253
3 libc++.1.dylib 0x00007fff5a070c7f std::__1::mutex::lock() + 9
4 ccls 0x0000000101eaf44b ccls::Intern(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 10203 (serializer.cc:353)
5 ccls 0x0000000101eacadb Reflect(Reader&, char const*&) + 1419 (serializer.cc:130)
6 ccls 0x000000010203c8c0 void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()::operator()() const + 304 (serializer.h:313)
7 ccls 0x000000010203c63e void std::__1::__invoke_void_return_wrapper<void>::__call<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()&>(void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()&&&) + 398 (__functional_base:350)
8 ccls 0x000000010203a4d8 std::__1::__function::__func<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'(), std::__1::allocator<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()>, void ()>::operator()() + 536 (functional:1562)
9 ccls 0x0000000100b79f76 std::__1::function<void ()>::operator()() const + 502 (functional:1913)
10 ccls 0x0000000101ee39fb BinaryReader::Member(char const*, std::__1::function<void ()>) + 139 (binary.h:84)
11 ccls 0x000000010202091e void ReflectMember<char const*>(Reader&, char const*, char const*&) + 894 (serializer.h:313)
12 ccls 0x0000000102015cb1 void Reflect<Reader>(Reader&, IndexFunc&) + 417 (serializer.cc:271)
13 ccls 0x0000000102015784 void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(Reader&)::operator()(Reader&) const + 516 (serializer.cc:146)
14 ccls 0x000000010201536f void std::__1::__invoke_void_return_wrapper<void>::__call<void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(Reader&)&, Reader&>(void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(Reader&)&&&, Reader&&&) + 783 (__functional_base:350)
15 ccls 0x0000000102013086 std::__1::__function::__func<void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(Reader&), std::__1::allocator<void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(Reader&)>, void (Reader&)>::operator()(Reader&) + 726 (functional:1562)
16 ccls 0x0000000100f6cdc4 std::__1::function<void (Reader&)>::operator()(Reader&) const + 708 (functional:1913)
17 ccls 0x0000000101ee394a BinaryReader::IterArray(std::__1::function<void (Reader&)>) + 266 (binary.h:80)
18 ccls 0x000000010200a38d void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&) + 621 (serializer.cc:144)
19 ccls 0x000000010200a110 void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'()::operator()() const + 304 (serializer.h:313)
20 ccls 0x0000000102009e8e void std::__1::__invoke_void_return_wrapper<void>::__call<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'()&>(void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'()&&&) + 398 (__functional_base:350)
21 ccls 0x0000000102007d28 std::__1::__function::__func<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(), std::__1::allocator<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'()>, void ()>::operator()() + 536 (functional:1562)
22 ccls 0x0000000100b79f76 std::__1::function<void ()>::operator()() const + 502 (functional:1913)
23 ccls 0x0000000101ee39fb BinaryReader::Member(char const*, std::__1::function<void ()>) + 139 (binary.h:84)
24 ccls 0x0000000101f8705e void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&) + 894 (serializer.h:313)
25 ccls 0x0000000101ed1bda void Reflect<BinaryReader>(BinaryReader&, IndexFile&) + 2074 (serializer.cc:322)
26 ccls 0x0000000101ec56c7 ccls::Deserialize(SerializeFormat, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::optional<int>) + 28807 (serializer.cc:413)
27 ccls 0x00000001018256e2 ccls::pipeline::(anonymous namespace)::RawCacheLoad(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 5026 (pipeline.cc:150)
28 ccls 0x00000001017d8b11 ccls::pipeline::(anonymous namespace)::Indexer_Parse(DiagnosticsPublisher*, WorkingFiles*, Project*, VFS*, GroupMatch const&) + 24225 (pipeline.cc:197)
29 ccls 0x00000001017d2b5d ccls::pipeline::Indexer_Main(DiagnosticsPublisher*, VFS*, Project*, WorkingFiles*) + 845 (pipeline.cc:314)
30 ccls 0x00000001026610a9 (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()::operator()() const + 6201 (initialize.cc:498)
31 ccls 0x000000010265e11d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()> >(void*) + 5805 (type_traits:4428)
32 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
33 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
34 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 8:: indexer2
0 ccls 0x0000000100c626c4 std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::__RAII_IncreaseAnnotator::__RAII_IncreaseAnnotator(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, unsigned long) + 2708 (memory:1106)
1 ccls 0x0000000100c613e5 std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::__RAII_IncreaseAnnotator::__RAII_IncreaseAnnotator(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, unsigned long) + 165 (vector:873)
2 ccls 0x0000000101cc1557 (anonymous namespace)::BuildFileDefUpdate(IndexFile const&) + 10407 (vector:1611)
3 ccls 0x0000000101ca5ff6 IndexUpdate::CreateDelta(IndexFile*, IndexFile*) + 5958 (query.cc:191)
4 ccls 0x00000001017e01e1 ccls::pipeline::(anonymous namespace)::Indexer_Parse(DiagnosticsPublisher*, WorkingFiles*, Project*, VFS*, GroupMatch const&) + 54641 (pipeline.cc:234)
5 ccls 0x00000001017d2b5d ccls::pipeline::Indexer_Main(DiagnosticsPublisher*, VFS*, Project*, WorkingFiles*) + 845 (pipeline.cc:314)
6 ccls 0x00000001026610a9 (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()::operator()() const + 6201 (initialize.cc:498)
7 ccls 0x000000010265e11d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()> >(void*) + 5805 (type_traits:4428)
8 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
9 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
10 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 9:: indexer3
0 libsystem_platform.dylib 0x00007fff5c3fbc94 _platform_bzero$VARIANT$Haswell + 84
1 libclang_rt.asan_osx_dynamic.dylib 0x0000000107016cd5 __asan::asan_calloc(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*) + 117
2 libclang_rt.asan_osx_dynamic.dylib 0x000000010706aada wrap_calloc + 378
3 ccls 0x0000000103dcee3f llvm::StringMapImpl::RehashTable(unsigned int) + 111
4 ccls 0x00000001013b3dd7 std::__1::pair<llvm::StringMapIterator<long long>, bool> llvm::StringMap<long long, llvm::MallocAllocator>::try_emplace<>(llvm::StringRef) + 4855 (StringMap.h:412)
5 ccls 0x000000010117cef7 llvm::StringMap<long long, llvm::MallocAllocator>::operator[](llvm::StringRef) + 679 (StringMap.h:360)
6 ccls 0x0000000101ef23c5 Reflect(Reader&, llvm::StringMap<long long, llvm::MallocAllocator>&)::$_0::operator()(Reader&) const + 9525 (serializer.cc:168)
7 ccls 0x0000000101eefc7f void std::__1::__invoke_void_return_wrapper<void>::__call<Reflect(Reader&, llvm::StringMap<long long, llvm::MallocAllocator>&)::$_0&, Reader&>(Reflect(Reader&, llvm::StringMap<long long, llvm::MallocAllocator>&)::$_0&&&, Reader&&&) + 783 (__functional_base:350)
8 ccls 0x0000000101eed996 std::__1::__function::__func<Reflect(Reader&, llvm::StringMap<long long, llvm::MallocAllocator>&)::$_0, std::__1::allocator<Reflect(Reader&, llvm::StringMap<long long, llvm::MallocAllocator>&)::$_0>, void (Reader&)>::operator()(Reader&) + 726 (functional:1562)
9 ccls 0x0000000100f6cdc4 std::__1::function<void (Reader&)>::operator()(Reader&) const + 708 (functional:1913)
10 ccls 0x0000000101ee394a BinaryReader::IterArray(std::__1::function<void (Reader&)>) + 266 (binary.h:80)
11 ccls 0x0000000101eb01db Reflect(Reader&, llvm::StringMap<long long, llvm::MallocAllocator>&) + 875 (serializer.cc:164)
12 ccls 0x0000000101fcdcb0 void ReflectMember<llvm::StringMap<long long, llvm::MallocAllocator> >(Reader&, char const*, llvm::StringMap<long long, llvm::MallocAllocator>&)::'lambda'()::operator()() const + 304 (serializer.h:313)
13 ccls 0x0000000101fcda2e void std::__1::__invoke_void_return_wrapper<void>::__call<void ReflectMember<llvm::StringMap<long long, llvm::MallocAllocator> >(Reader&, char const*, llvm::StringMap<long long, llvm::MallocAllocator>&)::'lambda'()&>(void ReflectMember<llvm::StringMap<long long, llvm::MallocAllocator> >(Reader&, char const*, llvm::StringMap<long long, llvm::MallocAllocator>&)::'lambda'()&&&) + 398 (__functional_base:350)
14 ccls 0x0000000101fcb8c8 std::__1::__function::__func<void ReflectMember<llvm::StringMap<long long, llvm::MallocAllocator> >(Reader&, char const*, llvm::StringMap<long long, llvm::MallocAllocator>&)::'lambda'(), std::__1::allocator<void ReflectMember<llvm::StringMap<long long, llvm::MallocAllocator> >(Reader&, char const*, llvm::StringMap<long long, llvm::MallocAllocator>&)::'lambda'()>, void ()>::operator()() + 536 (functional:1562)
15 ccls 0x0000000100b79f76 std::__1::function<void ()>::operator()() const + 502 (functional:1913)
16 ccls 0x0000000101ee39fb BinaryReader::Member(char const*, std::__1::function<void ()>) + 139 (binary.h:84)
17 ccls 0x0000000101f8624e void ReflectMember<llvm::StringMap<long long, llvm::MallocAllocator> >(Reader&, char const*, llvm::StringMap<long long, llvm::MallocAllocator>&) + 894 (serializer.h:313)
18 ccls 0x0000000101ed1949 void Reflect<BinaryReader>(BinaryReader&, IndexFile&) + 1417 (serializer.cc:319)
19 ccls 0x0000000101ec56c7 ccls::Deserialize(SerializeFormat, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::optional<int>) + 28807 (serializer.cc:413)
20 ccls 0x00000001018256e2 ccls::pipeline::(anonymous namespace)::RawCacheLoad(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 5026 (pipeline.cc:150)
21 ccls 0x00000001017de231 ccls::pipeline::(anonymous namespace)::Indexer_Parse(DiagnosticsPublisher*, WorkingFiles*, Project*, VFS*, GroupMatch const&) + 46529 (pipeline.cc:233)
22 ccls 0x00000001017d2b5d ccls::pipeline::Indexer_Main(DiagnosticsPublisher*, VFS*, Project*, WorkingFiles*) + 845 (pipeline.cc:314)
23 ccls 0x00000001026610a9 (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()::operator()() const + 6201 (initialize.cc:498)
24 ccls 0x000000010265e11d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()> >(void*) + 5805 (type_traits:4428)
25 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
26 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
27 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 10:: indexer4
0 ccls 0x00000001012e44fe std::__1::vector<SymbolRef, std::__1::allocator<SymbolRef> >::__RAII_IncreaseAnnotator::__RAII_IncreaseAnnotator(std::__1::vector<SymbolRef, std::__1::allocator<SymbolRef> > const&, unsigned long) + 3694 (vector:633)
1 ccls 0x00000001012e18c5 std::__1::vector<SymbolRef, std::__1::allocator<SymbolRef> >::__RAII_IncreaseAnnotator::__RAII_IncreaseAnnotator(std::__1::vector<SymbolRef, std::__1::allocator<SymbolRef> > const&, unsigned long) + 165 (vector:873)
2 ccls 0x0000000101d48ace (anonymous namespace)::BuildFileDefUpdate(IndexFile const&)::$_6::operator()(Use, unsigned long long, SymbolKind) const + 2542 (vector:1612)
3 ccls 0x0000000101ccd323 (anonymous namespace)::BuildFileDefUpdate(IndexFile const&) + 58995 (query.cc:154)
4 ccls 0x0000000101ca5ff6 IndexUpdate::CreateDelta(IndexFile*, IndexFile*) + 5958 (query.cc:191)
5 ccls 0x00000001017dda0f ccls::pipeline::(anonymous namespace)::Indexer_Parse(DiagnosticsPublisher*, WorkingFiles*, Project*, VFS*, GroupMatch const&) + 44447 (pipeline.cc:228)
6 ccls 0x00000001017d2b5d ccls::pipeline::Indexer_Main(DiagnosticsPublisher*, VFS*, Project*, WorkingFiles*) + 845 (pipeline.cc:314)
7 ccls 0x00000001026610a9 (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()::operator()() const + 6201 (initialize.cc:498)
8 ccls 0x000000010265e11d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()> >(void*) + 5805 (type_traits:4428)
9 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
10 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
11 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 11:: indexer5
0 libsystem_kernel.dylib 0x00007fff5c239a46 __psynch_mutexwait + 10
1 libsystem_pthread.dylib 0x00007fff5c401b9d _pthread_mutex_lock_wait + 83
2 libsystem_pthread.dylib 0x00007fff5c3ff4c8 _pthread_mutex_lock_slow + 253
3 libc++.1.dylib 0x00007fff5a070c7f std::__1::mutex::lock() + 9
4 ccls 0x0000000101eaf44b ccls::Intern(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 10203 (serializer.cc:353)
5 ccls 0x0000000101eacadb Reflect(Reader&, char const*&) + 1419 (serializer.cc:130)
6 ccls 0x000000010203c8c0 void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()::operator()() const + 304 (serializer.h:313)
7 ccls 0x000000010203c63e void std::__1::__invoke_void_return_wrapper<void>::__call<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()&>(void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()&&&) + 398 (__functional_base:350)
8 ccls 0x000000010203a4d8 std::__1::__function::__func<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'(), std::__1::allocator<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()>, void ()>::operator()() + 536 (functional:1562)
9 ccls 0x0000000100b79f76 std::__1::function<void ()>::operator()() const + 502 (functional:1913)
10 ccls 0x0000000101ee39fb BinaryReader::Member(char const*, std::__1::function<void ()>) + 139 (binary.h:84)
11 ccls 0x000000010202091e void ReflectMember<char const*>(Reader&, char const*, char const*&) + 894 (serializer.h:313)
12 ccls 0x000000010211c701 void Reflect<Reader>(Reader&, IndexVar&) + 417 (serializer.cc:291)
13 ccls 0x000000010211c1f9 void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(Reader&)::operator()(Reader&) const + 505 (serializer.cc:146)
14 ccls 0x000000010211bdef void std::__1::__invoke_void_return_wrapper<void>::__call<void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(Reader&)&, Reader&>(void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(Reader&)&&&, Reader&&&) + 783 (__functional_base:350)
15 ccls 0x0000000102119b06 std::__1::__function::__func<void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(Reader&), std::__1::allocator<void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(Reader&)>, void (Reader&)>::operator()(Reader&) + 726 (functional:1562)
16 ccls 0x0000000100f6cdc4 std::__1::function<void (Reader&)>::operator()(Reader&) const + 708 (functional:1913)
17 ccls 0x0000000101ee394a BinaryReader::IterArray(std::__1::function<void (Reader&)>) + 266 (binary.h:80)
18 ccls 0x0000000102110e0d void Reflect<IndexVar>(Reader&, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&) + 621 (serializer.cc:144)
19 ccls 0x0000000102110b90 void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'()::operator()() const + 304 (serializer.h:313)
20 ccls 0x000000010211090e void std::__1::__invoke_void_return_wrapper<void>::__call<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'()&>(void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'()&&&) + 398 (__functional_base:350)
21 ccls 0x000000010210e7a8 std::__1::__function::__func<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'(), std::__1::allocator<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&)::'lambda'()>, void ()>::operator()() + 536 (functional:1562)
22 ccls 0x0000000100b79f76 std::__1::function<void ()>::operator()() const + 502 (functional:1913)
23 ccls 0x0000000101ee39fb BinaryReader::Member(char const*, std::__1::function<void ()>) + 139 (binary.h:84)
24 ccls 0x0000000101f879be void ReflectMember<std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexVar, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexVar> > >&) + 894 (serializer.h:313)
25 ccls 0x0000000101ed1d90 void Reflect<BinaryReader>(BinaryReader&, IndexFile&) + 2512 (serializer.cc:324)
26 ccls 0x0000000101ec56c7 ccls::Deserialize(SerializeFormat, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::optional<int>) + 28807 (serializer.cc:413)
27 ccls 0x00000001018256e2 ccls::pipeline::(anonymous namespace)::RawCacheLoad(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 5026 (pipeline.cc:150)
28 ccls 0x00000001017de231 ccls::pipeline::(anonymous namespace)::Indexer_Parse(DiagnosticsPublisher*, WorkingFiles*, Project*, VFS*, GroupMatch const&) + 46529 (pipeline.cc:233)
29 ccls 0x00000001017d2b5d ccls::pipeline::Indexer_Main(DiagnosticsPublisher*, VFS*, Project*, WorkingFiles*) + 845 (pipeline.cc:314)
30 ccls 0x00000001026610a9 (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()::operator()() const + 6201 (initialize.cc:498)
31 ccls 0x000000010265e11d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()> >(void*) + 5805 (type_traits:4428)
32 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
33 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
34 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 12:: indexer6
0 libsystem_kernel.dylib 0x00007fff5c239a46 __psynch_mutexwait + 10
1 libsystem_pthread.dylib 0x00007fff5c401b9d _pthread_mutex_lock_wait + 83
2 libsystem_pthread.dylib 0x00007fff5c3ff4c8 _pthread_mutex_lock_slow + 253
3 libc++.1.dylib 0x00007fff5a070c7f std::__1::mutex::lock() + 9
4 ccls 0x0000000101eaf44b ccls::Intern(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 10203 (serializer.cc:353)
5 ccls 0x0000000101eacadb Reflect(Reader&, char const*&) + 1419 (serializer.cc:130)
6 ccls 0x000000010203c8c0 void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()::operator()() const + 304 (serializer.h:313)
7 ccls 0x000000010203c63e void std::__1::__invoke_void_return_wrapper<void>::__call<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()&>(void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()&&&) + 398 (__functional_base:350)
8 ccls 0x000000010203a4d8 std::__1::__function::__func<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'(), std::__1::allocator<void ReflectMember<char const*>(Reader&, char const*, char const*&)::'lambda'()>, void ()>::operator()() + 536 (functional:1562)
9 ccls 0x0000000100b79f76 std::__1::function<void ()>::operator()() const + 502 (functional:1913)
10 ccls 0x0000000101ee39fb BinaryReader::Member(char const*, std::__1::function<void ()>) + 139 (binary.h:84)
11 ccls 0x000000010202091e void ReflectMember<char const*>(Reader&, char const*, char const*&) + 894 (serializer.h:313)
12 ccls 0x0000000102015cb1 void Reflect<Reader>(Reader&, IndexFunc&) + 417 (serializer.cc:271)
13 ccls 0x0000000102015784 void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(Reader&)::operator()(Reader&) const + 516 (serializer.cc:146)
14 ccls 0x000000010201536f void std::__1::__invoke_void_return_wrapper<void>::__call<void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(Reader&)&, Reader&>(void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(Reader&)&&&, Reader&&&) + 783 (__functional_base:350)
15 ccls 0x0000000102013086 std::__1::__function::__func<void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(Reader&), std::__1::allocator<void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(Reader&)>, void (Reader&)>::operator()(Reader&) + 726 (functional:1562)
16 ccls 0x0000000100f6cdc4 std::__1::function<void (Reader&)>::operator()(Reader&) const + 708 (functional:1913)
17 ccls 0x0000000101ee394a BinaryReader::IterArray(std::__1::function<void (Reader&)>) + 266 (binary.h:80)
18 ccls 0x000000010200a38d void Reflect<IndexFunc>(Reader&, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&) + 621 (serializer.cc:144)
19 ccls 0x000000010200a110 void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'()::operator()() const + 304 (serializer.h:313)
20 ccls 0x0000000102009e8e void std::__1::__invoke_void_return_wrapper<void>::__call<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'()&>(void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'()&&&) + 398 (__functional_base:350)
21 ccls 0x0000000102007d28 std::__1::__function::__func<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'(), std::__1::allocator<void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&)::'lambda'()>, void ()>::operator()() + 536 (functional:1562)
22 ccls 0x0000000100b79f76 std::__1::function<void ()>::operator()() const + 502 (functional:1913)
23 ccls 0x0000000101ee39fb BinaryReader::Member(char const*, std::__1::function<void ()>) + 139 (binary.h:84)
24 ccls 0x0000000101f8705e void ReflectMember<std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > > >(Reader&, char const*, std::__1::unordered_map<unsigned long long, IndexFunc, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, IndexFunc> > >&) + 894 (serializer.h:313)
25 ccls 0x0000000101ed1bda void Reflect<BinaryReader>(BinaryReader&, IndexFile&) + 2074 (serializer.cc:322)
26 ccls 0x0000000101ec56c7 ccls::Deserialize(SerializeFormat, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::optional<int>) + 28807 (serializer.cc:413)
27 ccls 0x00000001018256e2 ccls::pipeline::(anonymous namespace)::RawCacheLoad(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 5026 (pipeline.cc:150)
28 ccls 0x00000001017de231 ccls::pipeline::(anonymous namespace)::Indexer_Parse(DiagnosticsPublisher*, WorkingFiles*, Project*, VFS*, GroupMatch const&) + 46529 (pipeline.cc:233)
29 ccls 0x00000001017d2b5d ccls::pipeline::Indexer_Main(DiagnosticsPublisher*, VFS*, Project*, WorkingFiles*) + 845 (pipeline.cc:314)
30 ccls 0x00000001026610a9 (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()::operator()() const + 6201 (initialize.cc:498)
31 ccls 0x000000010265e11d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()> >(void*) + 5805 (type_traits:4428)
32 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
33 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
34 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 13:: indexer7
0 ccls 0x0000000101cadead IndexUpdate::CreateDelta(IndexFile*, IndexFile*) + 38397 (query.cc:205)
1 ccls 0x00000001017e01e1 ccls::pipeline::(anonymous namespace)::Indexer_Parse(DiagnosticsPublisher*, WorkingFiles*, Project*, VFS*, GroupMatch const&) + 54641 (pipeline.cc:234)
2 ccls 0x00000001017d2b5d ccls::pipeline::Indexer_Main(DiagnosticsPublisher*, VFS*, Project*, WorkingFiles*) + 845 (pipeline.cc:314)
3 ccls 0x00000001026610a9 (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()::operator()() const + 6201 (initialize.cc:498)
4 ccls 0x000000010265e11d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*)::'lambda'()> >(void*) + 5805 (type_traits:4428)
5 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
6 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
7 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 14:: include
0 libsystem_kernel.dylib 0x00007fff5c23acf2 lstat$INODE64 + 10
1 ccls 0x0000000103e0cf24 llvm::sys::fs::status(llvm::Twine const&, llvm::sys::fs::file_status&, bool) + 100
2 ccls 0x0000000100edfde9 GetFilesInFolder(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool, bool, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&) + 48921 (filesystem.cc:48)
3 ccls 0x000000010108ebf5 IncludeComplete::InsertIncludesFromDirectory(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool) + 21461 (include_complete.cc:185)
4 ccls 0x00000001010a953c IncludeComplete::Rescan()::$_0::operator()() const + 5532 (include_complete.cc:129)
5 ccls 0x00000001010a684d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, IncludeComplete::Rescan()::$_0> >(void*) + 5805 (type_traits:4428)
6 libsystem_pthread.dylib 0x00007fff5c401661 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff5c40150d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff5c400bf9 thread_start + 13
Thread 5 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000070000241c000 rcx: 0x00007000024157b8 rdx: 0x0000000000000000
rdi: 0x0000000000000d03 rsi: 0x0000000000000006 rbp: 0x00007000024157f0 rsp: 0x00007000024157b8
r8: 0x0000000000000000 r9: 0x0000000000989680 r10: 0x0000000000000000 r11: 0x0000000000000206
r12: 0x0000000000000d03 r13: 0x0000700002416540 r14: 0x0000000000000006 r15: 0x000000000000002d
rip: 0x00007fff5c239b66 rfl: 0x0000000000000206 cr2: 0x000062f00090d000
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Binary Images:
0x100b47000 - 0x104b57fff +ccls (0) <B3A50DEA-0B90-3C3A-8C7F-5E41D3B0BAE3> /Users/USER/*/ccls
0x107013000 - 0x1070acff3 +libclang_rt.asan_osx_dynamic.dylib (1000.10.43.1) <1DC13115-4008-3A5C-AF59-2BB7DEFEF6A9> /Users/USER/Downloads/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
0x11408f000 - 0x1140d9acf dyld (551.4) <8A72DE9C-A136-3506-AA02-4BA2B82DCAF3> /usr/lib/dyld
0x7fff598c8000 - 0x7fff598fbff7 libclosured.dylib (551.4) <3FB6B209-51F4-38DA-B1D8-2EE29D5BDD83> /usr/lib/closure/libclosured.dylib
0x7fff59e02000 - 0x7fff59e03ffb libSystem.B.dylib (1252.50.4) <CD555F3B-FDDB-35E5-A2FB-FBBF3D62031A> /usr/lib/libSystem.B.dylib
0x7fff5a037000 - 0x7fff5a08dfff libc++.1.dylib (400.9) <7D3DACCC-3804-393C-ABC1-1A580FD00CB6> /usr/lib/libc++.1.dylib
0x7fff5a08e000 - 0x7fff5a0b2ff7 libc++abi.dylib (400.8.2) <EF5E37D7-11D9-3530-BE45-B986612D13E2> /usr/lib/libc++abi.dylib
0x7fff5aa32000 - 0x7fff5aa39ff3 libform.5.4.dylib (53) <D48FEAD0-FDE8-3DEC-BEBF-79AF67258CDA> /usr/lib/libform.5.4.dylib
0x7fff5b0e6000 - 0x7fff5b116ffb libncurses.5.4.dylib (53) <030DF747-F71B-367A-83EE-2F30B7947929> /usr/lib/libncurses.5.4.dylib
0x7fff5b4bb000 - 0x7fff5b8a97e7 libobjc.A.dylib (723) <DD9E5EC5-B507-3249-B700-93433E2D5EDF> /usr/lib/libobjc.A.dylib
0x7fff5bed1000 - 0x7fff5bee3ffb libz.1.dylib (70) <48C67CFC-940D-3857-8DAD-857774605352> /usr/lib/libz.1.dylib
0x7fff5bf7f000 - 0x7fff5bf83ff7 libcache.dylib (80) <092479CB-1008-3A83-BECF-E115F24D13C1> /usr/lib/system/libcache.dylib
0x7fff5bf84000 - 0x7fff5bf8eff3 libcommonCrypto.dylib (60118.50.1) <029F5985-9B6E-3DCB-9B96-FD007678C6A7> /usr/lib/system/libcommonCrypto.dylib
0x7fff5bf8f000 - 0x7fff5bf96fff libcompiler_rt.dylib (62) <968B8E3F-3681-3230-9D78-BB8732024F6E> /usr/lib/system/libcompiler_rt.dylib
0x7fff5bf97000 - 0x7fff5bfa0ffb libcopyfile.dylib (146.50.5) <3885083D-50D8-3EEC-B481-B2E605180D7F> /usr/lib/system/libcopyfile.dylib
0x7fff5bfa1000 - 0x7fff5c026fff libcorecrypto.dylib (562.70.1) <5C26364F-2269-31EC-84AF-0FED2C902E38> /usr/lib/system/libcorecrypto.dylib
0x7fff5c0ae000 - 0x7fff5c0e7ff7 libdispatch.dylib (913.60.2) <232C69BD-022E-3AB9-8807-79F9FA7CB5EC> /usr/lib/system/libdispatch.dylib
0x7fff5c0e8000 - 0x7fff5c105ff7 libdyld.dylib (551.4) <81BF3A82-5719-3B54-ABA9-76C82D932CAC> /usr/lib/system/libdyld.dylib
0x7fff5c106000 - 0x7fff5c106ffb libkeymgr.dylib (28) <E34E283E-90FA-3C59-B48E-1277CDB9CDCE> /usr/lib/system/libkeymgr.dylib
0x7fff5c114000 - 0x7fff5c114ff7 liblaunch.dylib (1205.70.9) <B184B521-FF24-3142-AFAF-23D170CF918C> /usr/lib/system/liblaunch.dylib
0x7fff5c115000 - 0x7fff5c119ffb libmacho.dylib (906) <1902A611-081A-3452-B11E-EBD1B166E831> /usr/lib/system/libmacho.dylib
0x7fff5c11a000 - 0x7fff5c11cff3 libquarantine.dylib (86) <26C0BA22-8F93-3A07-9A4E-C8D53D2CE42E> /usr/lib/system/libquarantine.dylib
0x7fff5c11d000 - 0x7fff5c11eff3 libremovefile.dylib (45) <711E18B2-5BBE-3211-A916-56740C27D17A> /usr/lib/system/libremovefile.dylib
0x7fff5c11f000 - 0x7fff5c136fff libsystem_asl.dylib (356.70.1) <39E46A6F-B228-3E78-B83E-1779F9707A39> /usr/lib/system/libsystem_asl.dylib
0x7fff5c137000 - 0x7fff5c137fff libsystem_blocks.dylib (67) <17303FDF-0D2D-3963-B05E-B4DF63052D47> /usr/lib/system/libsystem_blocks.dylib
0x7fff5c138000 - 0x7fff5c1c1ff7 libsystem_c.dylib (1244.50.9) <1187BFE8-4576-3247-8177-481554E1F9E7> /usr/lib/system/libsystem_c.dylib
0x7fff5c1c2000 - 0x7fff5c1c5ffb libsystem_configuration.dylib (963.50.8) <DF6B5287-203E-30CB-9947-78DF446C72B8> /usr/lib/system/libsystem_configuration.dylib
0x7fff5c1c6000 - 0x7fff5c1c9ffb libsystem_coreservices.dylib (51) <486000D3-D8CB-3BE7-8EE5-8BF380DE6DF7> /usr/lib/system/libsystem_coreservices.dylib
0x7fff5c1ca000 - 0x7fff5c1cbfff libsystem_darwin.dylib (1244.50.9) <09C21A4A-9EE0-388B-A9D9-DFF8F6758791> /usr/lib/system/libsystem_darwin.dylib
0x7fff5c1cc000 - 0x7fff5c1d2ff7 libsystem_dnssd.dylib (878.70.2) <3290768B-54DE-3AB6-B155-AC0950AC5564> /usr/lib/system/libsystem_dnssd.dylib
0x7fff5c1d3000 - 0x7fff5c21cff7 libsystem_info.dylib (517.30.1) <AB634A98-B8AA-3804-8436-38261FC8EC4D> /usr/lib/system/libsystem_info.dylib
0x7fff5c21d000 - 0x7fff5c243ff7 libsystem_kernel.dylib (4570.71.2) <F22B8D73-69D8-36D7-BF66-7F9AC70C08C2> /usr/lib/system/libsystem_kernel.dylib
0x7fff5c244000 - 0x7fff5c28ffcb libsystem_m.dylib (3147.50.1) <8CFB51C9-B422-3379-8552-064C63943A23> /usr/lib/system/libsystem_m.dylib
0x7fff5c290000 - 0x7fff5c2affff libsystem_malloc.dylib (140.50.6) <7FD43735-9DDD-300E-8C4A-F909A74BDF49> /usr/lib/system/libsystem_malloc.dylib
0x7fff5c2b0000 - 0x7fff5c3e0ff7 libsystem_network.dylib (1229.70.2) <5E86B2DE-9E15-3354-8714-4094ED5F698D> /usr/lib/system/libsystem_network.dylib
0x7fff5c3e1000 - 0x7fff5c3ebffb libsystem_networkextension.dylib (767.70.1) <D23EAFC1-E8BD-34D5-969C-6E45A1C3B4E4> /usr/lib/system/libsystem_networkextension.dylib
0x7fff5c3ec000 - 0x7fff5c3f5ff3 libsystem_notify.dylib (172) <08012EC0-2CD2-34BE-BF93-E7F56491299A> /usr/lib/system/libsystem_notify.dylib
0x7fff5c3f6000 - 0x7fff5c3fdff7 libsystem_platform.dylib (161.50.1) <6355EE2D-5456-3CA8-A227-B96E8F1E2AF8> /usr/lib/system/libsystem_platform.dylib
0x7fff5c3fe000 - 0x7fff5c409fff libsystem_pthread.dylib (301.50.1) <0E51CCBA-91F2-34E1-BF2A-FEEFD3D321E4> /usr/lib/system/libsystem_pthread.dylib
0x7fff5c40a000 - 0x7fff5c40dfff libsystem_sandbox.dylib (765.70.1) <553DFCC6-9D31-3B9C-AB7C-30F6F265786D> /usr/lib/system/libsystem_sandbox.dylib
0x7fff5c40e000 - 0x7fff5c40fff3 libsystem_secinit.dylib (30) <DE8D14E8-A276-3FF8-AE13-77F7040F33C1> /usr/lib/system/libsystem_secinit.dylib
0x7fff5c410000 - 0x7fff5c417ff7 libsystem_symptoms.dylib (820.60.2) <585BDFA2-D54D-39D0-8046-44E824DABD43> /usr/lib/system/libsystem_symptoms.dylib
0x7fff5c418000 - 0x7fff5c42bfff libsystem_trace.dylib (829.70.1) <3A6CB706-8CA6-3616-8AFC-14AAD7FAF187> /usr/lib/system/libsystem_trace.dylib
0x7fff5c42d000 - 0x7fff5c432ff7 libunwind.dylib (35.3) <BEF3FB49-5604-3B5F-82B5-332B80023AC3> /usr/lib/system/libunwind.dylib
0x7fff5c433000 - 0x7fff5c460ff7 libxpc.dylib (1205.70.9) <0BC7AD67-671D-31D4-8B88-C317B8379598> /usr/lib/system/libxpc.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 3
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 3211719
thread_create: 0
thread_set_state: 17095
VM Region Summary:
ReadOnly portion of Libraries: Total=290.9M resident=0K(0%) swapped_out_or_unallocated=290.9M(100%)
Writable regions: Total=14.0T written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=14.0T(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 2
Kernel Alloc Once 8K 2
MALLOC 4K 2
Performance tool data 716.7M 383 not counted in TOTAL below
Performance tool data (reserved) 9536K 50 not counted in TOTAL below
STACK GUARD 54.5M 16
Stack 16.7M 16
VM_ALLOCATE 6.4T 279
VM_ALLOCATE (reserved) 13.6T 10 reserved VM address space (unallocated)
__DATA 30.8M 134
__LINKEDIT 216.8M 6
__TEXT 74.2M 46
mapped file 728K 5
shared memory 12K 4
=========== ======= =======
TOTAL 20.0T 510
TOTAL, minus reserved VM space 6.4T 510
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment