Created
August 26, 2018 20:55
-
-
Save danielmartin/718cbb019a110eee433af9ed4cbb5b4e to your computer and use it in GitHub Desktop.
ASAN crash ccls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: ccls [61802] | |
Path: /Users/USER/*/ccls | |
Identifier: ccls | |
Version: 0 | |
Code Type: X86-64 (Native) | |
Parent Process: Emacs-x86_64-10_10 [27742] | |
Responsible: ccls [61802] | |
User ID: 502 | |
Date/Time: 2018-08-26 22:52:19.089 +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: E4871B6A-56CD-426C-B733-094FA3C34DDB | |
Time Awake Since Boot: 930000 seconds | |
Time Since Wake: 910 seconds | |
System Integrity Protection: enabled | |
Crashed Thread: 0 Dispatch queue: com.apple.main-thread | |
Exception Type: EXC_CRASH (SIGABRT) | |
Exception Codes: 0x0000000000000000, 0x0000000000000000 | |
Exception Note: EXC_CORPSE_NOTIFY | |
Application Specific Information: | |
================================================================= | |
==61802==ERROR: AddressSanitizer: container-overflow on address 0x608000030768 at pc 0x00010c97064f bp 0x7ffee976ba30 sp 0x7ffee976b1e0 | |
READ of size 24 at 0x608000030768 thread T0 | |
#0 0x10c97064e in __asan_memcpy (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5464e) | |
#1 0x10657fd33 in 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> > > >::__swap_out_circular_buffer(std::__1::__split_buffer<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> > >&>&) string:1683 | |
#2 0x10657ded4 in void 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> > > >::__push_back_slow_path<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&&&) vector:1582 | |
#3 0x1087a9410 in clang::tooling::JSONCompilationDatabase::getCommands(llvm::ArrayRef<std::__1::tuple<llvm::yaml::ScalarNode*, llvm::yaml::ScalarNode*, std::__1::vector<llvm::yaml::ScalarNode*, std::__1::allocator<llvm::yaml::ScalarNode*> >, llvm::yaml::ScalarNode*> >, std::__1::vector<clang::tooling::CompileCommand, std::__1::allocator<clang::tooling::CompileCommand> >&) const (ccls:x86_64+0x102322410) | |
#4 0x1087a9faa in clang::tooling::JSONCompilationDatabase::getAllCompileCommands() const (ccls:x86_64+0x102322faa) | |
#5 0x107350d6a in (anonymous namespace)::LoadEntriesFromDirectory((anonymous namespace)::ProjectConfig*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) project.cc:330 | |
#6 0x10733faa1 in Project::Load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) project.cc:366 | |
#7 0x107f56911 in (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*) initialize.cc:484 | |
#8 0x107f475ca in BaseMessageHandler<(anonymous namespace)::In_InitializeRequest>::Run(std::__1::unique_ptr<InMessage, std::__1::default_delete<InMessage> >) message_handler.h:142 | |
#9 0x10710e980 in ccls::pipeline::MainLoop() pipeline.cc:467 | |
#10 0x10681e929 in main main.cc:133 | |
#11 0x7fff7b5e7014 in start (libdyld.dylib:x86_64+0x1014) | |
0x608000030768 is located 72 bytes inside of 96-byte region [0x608000030720,0x608000030780) | |
allocated by thread T0 here: | |
#0 0x10c97f162 in wrap__Znwm (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x63162) | |
#1 0x1065834b5 in std::__1::__split_buffer<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> > >&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >&) new:228 | |
#2 0x10657e128 in std::__1::__split_buffer<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> > >&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >&) __split_buffer:310 | |
#3 0x10657d8ef in void 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> > > >::__push_back_slow_path<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&&&) vector:1578 | |
#4 0x1087a9410 in clang::tooling::JSONCompilationDatabase::getCommands(llvm::ArrayRef<std::__1::tuple<llvm::yaml::ScalarNode*, llvm::yaml::ScalarNode*, std::__1::vector<llvm::yaml::ScalarNode*, std::__1::allocator<llvm::yaml::ScalarNode*> >, llvm::yaml::ScalarNode*> >, std::__1::vector<clang::tooling::CompileCommand, std::__1::allocator<clang::tooling::CompileCommand> >&) const (ccls:x86_64+0x102322410) | |
#5 0x1087a9faa in clang::tooling::JSONCompilationDatabase::getAllCompileCommands() const (ccls:x86_64+0x102322faa) | |
#6 0x107350d6a in (anonymous namespace)::LoadEntriesFromDirectory((anonymous namespace)::ProjectConfig*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) project.cc:330 | |
#7 0x10733faa1 in Project::Load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) project.cc:366 | |
#8 0x107f56911 in (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*) initialize.cc:484 | |
#9 0x107f475ca in BaseMessageHandler<(anonymous namespace)::In_InitializeRequest>::Run(std::__1::unique_ptr<InMessage, std::__1::default_delete<InMessage> >) message_handler.h:142 | |
#10 0x10710e980 in ccls::pipeline::MainLoop() pipeline.cc:467 | |
#11 0x10681e929 in main main.cc:133 | |
#12 0x7fff7b5e7014 in start (libdyld.dylib:x86_64+0x1014) | |
HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0. | |
If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow. | |
SUMMARY: AddressSanitizer: container-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5464e) in __asan_memcpy | |
Shadow bytes around the buggy address: | |
0x1c1000006090: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x1c10000060a0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd | |
0x1c10000060b0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd | |
0x1c10000060c0: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00 | |
0x1c10000060d0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd | |
=>0x1c10000060e0: fa fa fa fa 00 00 00 00 00 00 00 00 00[fc]fc fc | |
0x1c10000060f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa | |
0x1c1000006100: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa | |
0x1c1000006110: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa | |
0x1c1000006120: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa | |
0x1c1000006130: 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 | |
==61802==ABORTING | |
abort() called | |
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread | |
0 libsystem_kernel.dylib 0x00007fff7b737b66 __pthread_kill + 10 | |
1 libsystem_pthread.dylib 0x00007fff7b902080 pthread_kill + 333 | |
2 libsystem_c.dylib 0x00007fff7b69324d __abort + 144 | |
3 libsystem_c.dylib 0x00007fff7b6931bd abort + 142 | |
4 libclang_rt.asan_osx_dynamic.dylib 0x000000010c996596 __sanitizer::Abort() + 70 | |
5 libclang_rt.asan_osx_dynamic.dylib 0x000000010c994b36 __sanitizer::Die() + 198 | |
6 libclang_rt.asan_osx_dynamic.dylib 0x000000010c9793f6 __asan::ScopedInErrorReport::~ScopedInErrorReport() + 294 | |
7 libclang_rt.asan_osx_dynamic.dylib 0x000000010c978c8f __asan::ReportGenericError(unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool) + 447 | |
8 libclang_rt.asan_osx_dynamic.dylib 0x000000010c97066e __asan_memcpy + 782 | |
9 ccls 0x000000010657fd34 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> > > >::__swap_out_circular_buffer(std::__1::__split_buffer<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> > >&>&) + 7172 (string:1685) | |
10 ccls 0x000000010657ded5 void 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> > > >::__push_back_slow_path<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&&&) + 5765 (vector:1582) | |
11 ccls 0x00000001087a9411 clang::tooling::JSONCompilationDatabase::getCommands(llvm::ArrayRef<std::__1::tuple<llvm::yaml::ScalarNode*, llvm::yaml::ScalarNode*, std::__1::vector<llvm::yaml::ScalarNode*, std::__1::allocator<llvm::yaml::ScalarNode*> >, llvm::yaml::ScalarNode*> >, std::__1::vector<clang::tooling::CompileCommand, std::__1::allocator<clang::tooling::CompileCommand> >&) const + 865 | |
12 ccls 0x00000001087a9fab clang::tooling::JSONCompilationDatabase::getAllCompileCommands() const + 75 | |
13 ccls 0x0000000107350d6b (anonymous namespace)::LoadEntriesFromDirectory((anonymous namespace)::ProjectConfig*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 52235 (project.cc:330) | |
14 ccls 0x000000010733faa2 Project::Load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 3410 (project.cc:366) | |
15 ccls 0x0000000107f56912 (anonymous namespace)::Handler_Initialize::Run((anonymous namespace)::In_InitializeRequest*) + 62258 (initialize.cc:484) | |
16 ccls 0x0000000107f475cb BaseMessageHandler<(anonymous namespace)::In_InitializeRequest>::Run(std::__1::unique_ptr<InMessage, std::__1::default_delete<InMessage> >) + 875 (message_handler.h:143) | |
17 ccls 0x000000010710e981 ccls::pipeline::MainLoop() + 26865 (pipeline.cc:467) | |
18 ccls 0x000000010681e92a main + 38106 (main.cc:136) | |
19 libdyld.dylib 0x00007fff7b5e7015 start + 1 | |
Thread 1:: stdin | |
0 libsystem_kernel.dylib 0x00007fff7b737bea __read_nocancel + 10 | |
1 libsystem_c.dylib 0x00007fff7b6796f1 _sread + 16 | |
2 libsystem_c.dylib 0x00007fff7b678d1e __srefill1 + 24 | |
3 libsystem_c.dylib 0x00007fff7b678e39 __srget + 14 | |
4 libsystem_c.dylib 0x00007fff7b674ff8 getchar + 58 | |
5 ccls 0x0000000106ce70d0 ReadCharFromStdinBlocking() + 272 (lsp.cc:90) | |
6 ccls 0x0000000106d4f113 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 0x0000000106d4cb4d 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 0x0000000106ce643b std::__1::function<std::__1::optional<char> ()>::operator()() const + 795 (functional:1913) | |
9 ccls 0x0000000106ce0855 ReadJsonRpcContentFrom(std::__1::function<std::__1::optional<char> ()>) + 2885 (lsp.cc:41) | |
10 ccls 0x0000000106ce777f MessageRegistry::ReadMessageFromStdin(std::__1::unique_ptr<InMessage, std::__1::default_delete<InMessage> >*) + 639 (lsp.cc:99) | |
11 ccls 0x000000010724ee56 ccls::pipeline::LaunchStdin()::$_1::operator()() const + 2022 (pipeline.cc:357) | |
12 ccls 0x000000010724d08a 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 0x00007fff7b8ff661 _pthread_body + 340 | |
14 libsystem_pthread.dylib 0x00007fff7b8ff50d _pthread_start + 377 | |
15 libsystem_pthread.dylib 0x00007fff7b8febf9 thread_start + 13 | |
Thread 2:: stdout | |
0 libsystem_kernel.dylib 0x00007fff7b737a16 __psynch_cvwait + 10 | |
1 libsystem_pthread.dylib 0x00007fff7b900589 _pthread_cond_wait + 732 | |
2 libc++.1.dylib 0x00007fff7953bcb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18 | |
3 ccls 0x000000010729ae2e 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 0x000000010728b727 void MultiQueueWaiter::Wait<ThreadedQueue<ccls::pipeline::(anonymous namespace)::Stdout_Request>*>(ThreadedQueue<ccls::pipeline::(anonymous namespace)::Stdout_Request>*) + 855 (threaded_queue.h:72) | |
5 ccls 0x00000001072842d5 ccls::pipeline::LaunchStdout()::$_2::operator()() const + 1061 (pipeline.cc:397) | |
6 ccls 0x00000001072828ca 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 0x00007fff7b8ff661 _pthread_body + 340 | |
8 libsystem_pthread.dylib 0x00007fff7b8ff50d _pthread_start + 377 | |
9 libsystem_pthread.dylib 0x00007fff7b8febf9 thread_start + 13 | |
Thread 3:: comp-query | |
0 libsystem_kernel.dylib 0x00007fff7b737a16 __psynch_cvwait + 10 | |
1 libsystem_pthread.dylib 0x00007fff7b900589 _pthread_cond_wait + 732 | |
2 libc++.1.dylib 0x00007fff7953bcb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18 | |
3 ccls 0x000000010650fc5e 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 0x00000001065006a7 ThreadedQueue<std::__1::unique_ptr<ClangCompleteManager::CompletionRequest, std::__1::default_delete<ClangCompleteManager::CompletionRequest> > >::Dequeue() + 1783 (condition_variable:213) | |
5 ccls 0x00000001064f5f96 (anonymous namespace)::CompletionQueryMain(ClangCompleteManager*) + 1414 | |
6 ccls 0x00000001064f58f0 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:587) | |
7 ccls 0x00000001064f3ddd 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 0x00007fff7b8ff661 _pthread_body + 340 | |
9 libsystem_pthread.dylib 0x00007fff7b8ff50d _pthread_start + 377 | |
10 libsystem_pthread.dylib 0x00007fff7b8febf9 thread_start + 13 | |
Thread 4:: comp-preload | |
0 libsystem_kernel.dylib 0x00007fff7b737a16 __psynch_cvwait + 10 | |
1 libsystem_pthread.dylib 0x00007fff7b900589 _pthread_cond_wait + 732 | |
2 libc++.1.dylib 0x00007fff7953bcb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18 | |
3 ccls 0x000000010650fc5e 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 0x00000001065a0607 ThreadedQueue<ClangCompleteManager::PreloadRequest>::Dequeue() + 1783 (condition_variable:213) | |
5 ccls 0x000000010659b85d (anonymous namespace)::CompletionPreloadMain(ClangCompleteManager*) + 733 (clang_complete.cc:399) | |
6 ccls 0x000000010659b500 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:592) | |
7 ccls 0x0000000106599c2d 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) | |
8 libsystem_pthread.dylib 0x00007fff7b8ff661 _pthread_body + 340 | |
9 libsystem_pthread.dylib 0x00007fff7b8ff50d _pthread_start + 377 | |
10 libsystem_pthread.dylib 0x00007fff7b8febf9 thread_start + 13 | |
Thread 5:: diag-query | |
0 libsystem_kernel.dylib 0x00007fff7b737a16 __psynch_cvwait + 10 | |
1 libsystem_pthread.dylib 0x00007fff7b900589 _pthread_cond_wait + 732 | |
2 libc++.1.dylib 0x00007fff7953bcb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18 | |
3 ccls 0x000000010650fc5e 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 0x00000001065bd107 ThreadedQueue<ClangCompleteManager::DiagnosticRequest>::Dequeue() + 1783 (condition_variable:213) | |
5 ccls 0x00000001065ae0e6 (anonymous namespace)::DiagnosticQueryMain(ClangCompleteManager*) + 2438 (clang_complete.cc:493) | |
6 ccls 0x00000001065ad6e0 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:597) | |
7 ccls 0x00000001065abe0d 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) | |
8 libsystem_pthread.dylib 0x00007fff7b8ff661 _pthread_body + 340 | |
9 libsystem_pthread.dylib 0x00007fff7b8ff50d _pthread_start + 377 | |
10 libsystem_pthread.dylib 0x00007fff7b8febf9 thread_start + 13 | |
Thread 0 crashed with X86 Thread State (64-bit): | |
rax: 0x0000000000000000 rbx: 0x00007fffb40f4380 rcx: 0x00007ffee976a458 rdx: 0x0000000000000000 | |
rdi: 0x0000000000000307 rsi: 0x0000000000000006 rbp: 0x00007ffee976a490 rsp: 0x00007ffee976a458 | |
r8: 0x0000000000000000 r9: 0x0000000000989680 r10: 0x0000000000000000 r11: 0x0000000000000206 | |
r12: 0x0000000000000307 r13: 0x00007ffee976b1e0 r14: 0x0000000000000006 r15: 0x000000000000002d | |
rip: 0x00007fff7b737b66 rfl: 0x0000000000000206 cr2: 0x00000001065c61c0 | |
Logical CPU: 0 | |
Error Code: 0x02000131 | |
Trap Number: 133 | |
Binary Images: | |
0x106487000 - 0x10a465fef +ccls (0) <1222FFCF-7AD5-3F5D-A2F1-3EC5A3E8E66C> /Users/USER/*/ccls | |
0x10c91c000 - 0x10c9b5feb +libclang_rt.asan_osx_dynamic.dylib (1000.10.40.1) <BA98A1D4-5BA6-37E1-8485-8352FA42A285> /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib | |
0x1156ed000 - 0x115737acf dyld (551.4) <8A72DE9C-A136-3506-AA02-4BA2B82DCAF3> /usr/lib/dyld | |
0x7fff78dc6000 - 0x7fff78df9ff7 libclosured.dylib (551.4) <3FB6B209-51F4-38DA-B1D8-2EE29D5BDD83> /usr/lib/closure/libclosured.dylib | |
0x7fff79300000 - 0x7fff79301ffb libSystem.B.dylib (1252.50.4) <CD555F3B-FDDB-35E5-A2FB-FBBF3D62031A> /usr/lib/libSystem.B.dylib | |
0x7fff79535000 - 0x7fff7958bfff libc++.1.dylib (400.9) <7D3DACCC-3804-393C-ABC1-1A580FD00CB6> /usr/lib/libc++.1.dylib | |
0x7fff7958c000 - 0x7fff795b0ff7 libc++abi.dylib (400.8.2) <EF5E37D7-11D9-3530-BE45-B986612D13E2> /usr/lib/libc++abi.dylib | |
0x7fff79f30000 - 0x7fff79f37ff3 libform.5.4.dylib (53) <D48FEAD0-FDE8-3DEC-BEBF-79AF67258CDA> /usr/lib/libform.5.4.dylib | |
0x7fff7a5e4000 - 0x7fff7a614ffb libncurses.5.4.dylib (53) <030DF747-F71B-367A-83EE-2F30B7947929> /usr/lib/libncurses.5.4.dylib | |
0x7fff7a9b9000 - 0x7fff7ada77e7 libobjc.A.dylib (723) <DD9E5EC5-B507-3249-B700-93433E2D5EDF> /usr/lib/libobjc.A.dylib | |
0x7fff7b3cf000 - 0x7fff7b3e1ffb libz.1.dylib (70) <48C67CFC-940D-3857-8DAD-857774605352> /usr/lib/libz.1.dylib | |
0x7fff7b47d000 - 0x7fff7b481ff7 libcache.dylib (80) <092479CB-1008-3A83-BECF-E115F24D13C1> /usr/lib/system/libcache.dylib | |
0x7fff7b482000 - 0x7fff7b48cff3 libcommonCrypto.dylib (60118.50.1) <029F5985-9B6E-3DCB-9B96-FD007678C6A7> /usr/lib/system/libcommonCrypto.dylib | |
0x7fff7b48d000 - 0x7fff7b494fff libcompiler_rt.dylib (62) <968B8E3F-3681-3230-9D78-BB8732024F6E> /usr/lib/system/libcompiler_rt.dylib | |
0x7fff7b495000 - 0x7fff7b49effb libcopyfile.dylib (146.50.5) <3885083D-50D8-3EEC-B481-B2E605180D7F> /usr/lib/system/libcopyfile.dylib | |
0x7fff7b49f000 - 0x7fff7b524fff libcorecrypto.dylib (562.70.1) <5C26364F-2269-31EC-84AF-0FED2C902E38> /usr/lib/system/libcorecrypto.dylib | |
0x7fff7b5ac000 - 0x7fff7b5e5ff7 libdispatch.dylib (913.60.2) <232C69BD-022E-3AB9-8807-79F9FA7CB5EC> /usr/lib/system/libdispatch.dylib | |
0x7fff7b5e6000 - 0x7fff7b603ff7 libdyld.dylib (551.4) <81BF3A82-5719-3B54-ABA9-76C82D932CAC> /usr/lib/system/libdyld.dylib | |
0x7fff7b604000 - 0x7fff7b604ffb libkeymgr.dylib (28) <E34E283E-90FA-3C59-B48E-1277CDB9CDCE> /usr/lib/system/libkeymgr.dylib | |
0x7fff7b612000 - 0x7fff7b612ff7 liblaunch.dylib (1205.70.9) <B184B521-FF24-3142-AFAF-23D170CF918C> /usr/lib/system/liblaunch.dylib | |
0x7fff7b613000 - 0x7fff7b617ffb libmacho.dylib (906) <1902A611-081A-3452-B11E-EBD1B166E831> /usr/lib/system/libmacho.dylib | |
0x7fff7b618000 - 0x7fff7b61aff3 libquarantine.dylib (86) <26C0BA22-8F93-3A07-9A4E-C8D53D2CE42E> /usr/lib/system/libquarantine.dylib | |
0x7fff7b61b000 - 0x7fff7b61cff3 libremovefile.dylib (45) <711E18B2-5BBE-3211-A916-56740C27D17A> /usr/lib/system/libremovefile.dylib | |
0x7fff7b61d000 - 0x7fff7b634fff libsystem_asl.dylib (356.70.1) <39E46A6F-B228-3E78-B83E-1779F9707A39> /usr/lib/system/libsystem_asl.dylib | |
0x7fff7b635000 - 0x7fff7b635fff libsystem_blocks.dylib (67) <17303FDF-0D2D-3963-B05E-B4DF63052D47> /usr/lib/system/libsystem_blocks.dylib | |
0x7fff7b636000 - 0x7fff7b6bfff7 libsystem_c.dylib (1244.50.9) <1187BFE8-4576-3247-8177-481554E1F9E7> /usr/lib/system/libsystem_c.dylib | |
0x7fff7b6c0000 - 0x7fff7b6c3ffb libsystem_configuration.dylib (963.50.8) <DF6B5287-203E-30CB-9947-78DF446C72B8> /usr/lib/system/libsystem_configuration.dylib | |
0x7fff7b6c4000 - 0x7fff7b6c7ffb libsystem_coreservices.dylib (51) <486000D3-D8CB-3BE7-8EE5-8BF380DE6DF7> /usr/lib/system/libsystem_coreservices.dylib | |
0x7fff7b6c8000 - 0x7fff7b6c9fff libsystem_darwin.dylib (1244.50.9) <09C21A4A-9EE0-388B-A9D9-DFF8F6758791> /usr/lib/system/libsystem_darwin.dylib | |
0x7fff7b6ca000 - 0x7fff7b6d0ff7 libsystem_dnssd.dylib (878.70.2) <3290768B-54DE-3AB6-B155-AC0950AC5564> /usr/lib/system/libsystem_dnssd.dylib | |
0x7fff7b6d1000 - 0x7fff7b71aff7 libsystem_info.dylib (517.30.1) <AB634A98-B8AA-3804-8436-38261FC8EC4D> /usr/lib/system/libsystem_info.dylib | |
0x7fff7b71b000 - 0x7fff7b741ff7 libsystem_kernel.dylib (4570.71.2) <F22B8D73-69D8-36D7-BF66-7F9AC70C08C2> /usr/lib/system/libsystem_kernel.dylib | |
0x7fff7b742000 - 0x7fff7b78dfcb libsystem_m.dylib (3147.50.1) <8CFB51C9-B422-3379-8552-064C63943A23> /usr/lib/system/libsystem_m.dylib | |
0x7fff7b78e000 - 0x7fff7b7adfff libsystem_malloc.dylib (140.50.6) <7FD43735-9DDD-300E-8C4A-F909A74BDF49> /usr/lib/system/libsystem_malloc.dylib | |
0x7fff7b7ae000 - 0x7fff7b8deff7 libsystem_network.dylib (1229.70.2) <5E86B2DE-9E15-3354-8714-4094ED5F698D> /usr/lib/system/libsystem_network.dylib | |
0x7fff7b8df000 - 0x7fff7b8e9ffb libsystem_networkextension.dylib (767.70.1) <D23EAFC1-E8BD-34D5-969C-6E45A1C3B4E4> /usr/lib/system/libsystem_networkextension.dylib | |
0x7fff7b8ea000 - 0x7fff7b8f3ff3 libsystem_notify.dylib (172) <08012EC0-2CD2-34BE-BF93-E7F56491299A> /usr/lib/system/libsystem_notify.dylib | |
0x7fff7b8f4000 - 0x7fff7b8fbff7 libsystem_platform.dylib (161.50.1) <6355EE2D-5456-3CA8-A227-B96E8F1E2AF8> /usr/lib/system/libsystem_platform.dylib | |
0x7fff7b8fc000 - 0x7fff7b907fff libsystem_pthread.dylib (301.50.1) <0E51CCBA-91F2-34E1-BF2A-FEEFD3D321E4> /usr/lib/system/libsystem_pthread.dylib | |
0x7fff7b908000 - 0x7fff7b90bfff libsystem_sandbox.dylib (765.70.1) <553DFCC6-9D31-3B9C-AB7C-30F6F265786D> /usr/lib/system/libsystem_sandbox.dylib | |
0x7fff7b90c000 - 0x7fff7b90dff3 libsystem_secinit.dylib (30) <DE8D14E8-A276-3FF8-AE13-77F7040F33C1> /usr/lib/system/libsystem_secinit.dylib | |
0x7fff7b90e000 - 0x7fff7b915ff7 libsystem_symptoms.dylib (820.60.2) <585BDFA2-D54D-39D0-8046-44E824DABD43> /usr/lib/system/libsystem_symptoms.dylib | |
0x7fff7b916000 - 0x7fff7b929fff libsystem_trace.dylib (829.70.1) <3A6CB706-8CA6-3616-8AFC-14AAD7FAF187> /usr/lib/system/libsystem_trace.dylib | |
0x7fff7b92b000 - 0x7fff7b930ff7 libunwind.dylib (35.3) <BEF3FB49-5604-3B5F-82B5-332B80023AC3> /usr/lib/system/libunwind.dylib | |
0x7fff7b931000 - 0x7fff7b95eff7 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: 14409247 | |
thread_create: 0 | |
thread_set_state: 95698 | |
VM Region Summary: | |
ReadOnly portion of Libraries: Total=290.7M resident=0K(0%) swapped_out_or_unallocated=290.7M(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 63.8M 113 not counted in TOTAL below | |
Performance tool data (reserved) 2688K 8 not counted in TOTAL below | |
STACK GUARD 54.5M 7 | |
Stack 12.1M 7 | |
VM_ALLOCATE 6.3T 147 | |
VM_ALLOCATE (reserved) 13.7T 18 reserved VM address space (unallocated) | |
__DATA 30.8M 134 | |
__LINKEDIT 216.7M 6 | |
__TEXT 74.0M 46 | |
mapped file 3780K 2 | |
shared memory 12K 4 | |
=========== ======= ======= | |
TOTAL 20.0T 365 | |
TOTAL, minus reserved VM space 6.3T 365 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment