You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I caught a situation when just opening file with vim I got this within few seconds:
Exception KeyError: KeyError(140218199963392,) in module 'threading' from '/usr/lib/python2.7/threading.pyc' ignoredVim: Finished
Any ideas why?
Thanks.
Looks like clang bug but clang compiles code just fine.
Adding backtrace:
[Switching to thread 1 (Thread 0x7f4311398700 (LWP 19178))]
#0 0x00007f431005a793 in select () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
Undefined command: "bg". Try "help".
#0 0x00007f431005a793 in select () at ../sysdeps/unix/syscall-template.S:81
#1 0x00000000004ff4c6 in ?? ()
#2 0x00000000004ff75b in mch_inchar ()
#3 0x000000000055fa27 in ui_inchar ()
#4 0x00000000004a101f in inchar ()
#5 0x00000000004a2ee4 in ?? ()
#6 0x00000000004a3a4e in vgetc ()
#7 0x00000000004a3e39 in safe_vgetc ()
#8 0x00000000004e49fb in normal_cmd ()
#9 0x00000000005792a7 in main_loop ()
#10 0x000000000042903a in main ()
[Switching to thread 2 (Thread 0x7f43095e0700 (LWP 19197))]
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f430e5158eb in boost::thread::join_noexcept() ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#2 0x00007f430e4bc93b in boost::thread::join() ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#3 0x00007f430e4d0505 in YouCompleteMe::ClangCompleter::~ClangCompleter() ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#4 0x00007f430e46bc48 in boost::python::objects::value_holder<YouCompleteMe::ClangCompleter>::~value_holder() ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#5 0x00007f430e4f1a3c in instance_dealloc ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#6 0x00007f4310614a22 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#7 0x00007f431068cb9f in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#8 0x00007f4310614b21 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#9 0x00007f431068cb9f in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#10 0x00007f431068cb9f in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#11 0x00007f4310614b21 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#12 0x00007f431064f5d7 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#13 0x00007f431067eb54 in PyDict_SetItem () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#14 0x00007f431063e250 in _PyModule_Clear () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007f431063eb93 in PyImport_Cleanup () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007f431067303b in Py_Finalize () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#17 0x0000000000572978 in python_end ()
#18 0x0000000000578aac in getout ()
#19 <signal handler called>
#20 0x00007f430ffae1e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#21 0x00007f430ffb1398 in __GI_abort () at abort.c:90
#22 0x00007f430ffa7272 in __assert_fail_base (fmt=0x7f43100e4900 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x7f430df24fa4 "cast<CXXConstructorDecl>(MD)->getInheritedConstructor() && \"only special members have implicit exception specs\"",
file=file@entry=0x7f430df1b010 "/home/vlad/opt/llvm-3.3.src/tools/clang/lib/Sema/SemaDeclCXX.cpp",
line=line@entry=4370,
function=function@entry=0x7f430df25014 "Sema::ImplicitExceptionSpecification computeImplicitExceptionSpec(clang::Sema &, clang::SourceLocation, clang::CXXMethodDecl *)") at assert.c:92
#23 0x00007f430ffa7322 in __GI___assert_fail (
assertion=0x7f430df24fa4 "cast<CXXConstructorDecl>(MD)->getInheritedConstructor() && \"only special members have implicit exception specs\"",
file=0x7f430df1b010 "/home/vlad/opt/llvm-3.3.src/tools/clang/lib/Sema/SemaDeclCXX.cpp", line=4370,
function=0x7f430df25014 "Sema::ImplicitExceptionSpecification computeImplicitExceptionSpec(clang::Sema &, clang::SourceLocation, clang::CXXMethodDecl *)") at assert.c:101
#24 0x00007f430d7c4f51 in computeImplicitExceptionSpec(clang::Sema&, clang::SourceLocation, clang::CXXMethodDecl*)
() from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#25 0x00007f430d7c4d7e in clang::Sema::EvaluateImplicitExceptionSpec(clang::SourceLocation, clang::CXXMethodDecl*)
() from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#26 0x00007f430d808518 in clang::Sema::ResolveExceptionSpec(clang::SourceLocation, clang::FunctionProtoType const*)
() from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#27 0x00007f430d821a0c in clang::Sema::MarkFunctionReferenced(clang::SourceLocation, clang::FunctionDecl*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#28 0x00007f430d7d7639 in clang::Sema::BuildCXXConstructExpr(clang::SourceLocation, clang::QualType, clang::CXXConstructorDecl*, llvm::MutableArrayRef<clang::Expr*>, bool, bool, bool, unsigned int, clang::SourceRange) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#29 0x00007f430d8a9620 in PerformConstructorInitialization(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, clang::InitializationSequence::Step const&, bool&, bool)
() from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#30 0x00007f430d8a45c3 in clang::InitializationSequence::Perform(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, clang::QualType*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#31 0x00007f430d7802b0 in clang::Sema::AddInitializerToDecl(clang::Decl*, clang::Expr*, bool, bool) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#32 0x00007f430d6695d1 in clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#33 0x00007f430d66809d in clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, bool, clang::SourceLocation*, clang::Parser::ForRangeInit*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#34 0x00007f430d6643a4 in clang::Parser::ParseSimpleDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&, bool, clang::Parser::ForRangeInit*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#35 0x00007f430d6640c1 in clang::Parser::ParseDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#36 0x00007f430d6b91f6 in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#37 0x00007f430d6b883b in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#38 0x00007f430d6bfdee in clang::Parser::ParseCompoundStatementBody(bool) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#39 0x00007f430d6b8fa2 in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#40 0x00007f430d6b883b in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#41 0x00007f430d6bb6c5 in clang::Parser::ParseIfStatement(clang::SourceLocation*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#42 0x00007f430d6b943c in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#43 0x00007f430d6b883b in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#44 0x00007f430d6bfdee in clang::Parser::ParseCompoundStatementBody(bool) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#45 0x00007f430d6b8fa2 in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#46 0x00007f430d6b883b in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#47 0x00007f430d6bb8d5 in clang::Parser::ParseIfStatement(clang::SourceLocation*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#48 0x00007f430d6b943c in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#49 0x00007f430d6b883b in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#50 0x00007f430d6bfdee in clang::Parser::ParseCompoundStatementBody(bool) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#51 0x00007f430d6b8fa2 in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#52 0x00007f430d6b883b in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#53 0x00007f430d6bd7dc in clang::Parser::ParseForStatement(clang::SourceLocation*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#54 0x00007f430d6b9410 in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#55 0x00007f430d6b883b in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#56 0x00007f430d6bfdee in clang::Parser::ParseCompoundStatementBody(bool) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#57 0x00007f430d6b8fa2 in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#58 0x00007f430d6b883b in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#59 0x00007f430d6bd7dc in clang::Parser::ParseForStatement(clang::SourceLocation*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#60 0x00007f430d6b9410 in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#61 0x00007f430d6b883b in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, bool, clang::SourceLocation*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#62 0x00007f430d6bfdee in clang::Parser::ParseCompoundStatementBody(bool) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#63 0x00007f430d6c321b in clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#64 0x00007f430d6569be in clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#65 0x00007f430d667e8c in clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int, bool, clang::SourceLocation*, clang::Parser::ForRangeInit*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#66 0x00007f430d656037 in clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#67 0x00007f430d655aa4 in clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*, clang::AccessSpecifier) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#68 0x00007f430d655014 in clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#69 0x00007f430d678e9a in clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, std::vector<clang::IdentifierInfo*, std::allocator<clang::IdentifierInfo*> >&, std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#70 0x00007f430d678a1b in clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation)
() from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#71 0x00007f430d663ec1 in clang::Parser::ParseDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#72 0x00007f430d654b26 in clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#73 0x00007f430d678e9a in clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, std::vector<clang::IdentifierInfo*, std::allocator<clang::IdentifierInfo*> >&, std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#74 0x00007f430d678a1b in clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation)
() from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#75 0x00007f430d663ec1 in clang::Parser::ParseDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#76 0x00007f430d654b26 in clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#77 0x00007f430d6543ca in clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#78 0x00007f430d6504ca in clang::ParseAST(clang::Sema&, bool, bool) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#79 0x00007f430d4d0421 in clang::FrontendAction::Execute() ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#80 0x00007f430d49b6fe in clang::ASTUnit::Parse(llvm::MemoryBuffer*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#81 0x00007f430d4a0668 in clang::ASTUnit::Reparse(std::pair<std::string, llvm::PointerUnion<char const*, llvm::MemoryBuffer const*> >*, unsigned int) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#82 0x00007f430d442c61 in clang_reparseTranslationUnit_Impl ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#83 0x00007f430de41d01 in llvm::CrashRecoveryContext::RunSafely(void (*)(void*), void*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#84 0x00007f430de41e74 in RunSafelyOnThread_Dispatch(void*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#85 0x00007f430de5d2fa in ExecuteOnThread_Dispatch(void*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#86 0x00007f431032ce0e in start_thread (arg=0x7f43095e0700) at pthread_create.c:311
#87 0x00007f431006193d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
[Switching to thread 3 (Thread 0x7f4309de1700 (LWP 19195))]
#0 0x00007f431032dff8 in pthread_join (threadid=139925896693504, thread_return=0x0) at pthread_join.c:92
92 pthread_join.c: No such file or directory.
#0 0x00007f431032dff8 in pthread_join (threadid=139925896693504, thread_return=0x0) at pthread_join.c:92
#1 0x00007f430de5d2dc in llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#2 0x00007f430de41e4b in llvm::CrashRecoveryContext::RunSafelyOnThread(void (*)(void*), void*, unsigned int) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#3 0x00007f430d44295f in clang_reparseTranslationUnit ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/libclang.so
#4 0x00007f430e4db970 in YouCompleteMe::TranslationUnit::Reparse(std::vector<CXUnsavedFile, std::allocator<CXUnsavedFile> >&, unsigned int) () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#5 0x00007f430e4dbc54 in YouCompleteMe::TranslationUnit::TranslationUnit(std::string const&, std::vector<UnsavedFile, std::allocator<UnsavedFile> > const&, std::vector<std::string, std::allocator<std::string> > const&, void*) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#6 0x00007f430e4ddb3c in _ZN5boost11make_sharedIN13YouCompleteMe15TranslationUnitERKSsJRKSt6vectorI11UnsavedFileSaIS6_EERKS5_ISsSaISsEERPvEEENS_6detail15sp_if_not_arrayIT_E4typeEOT0_DpOT1_ ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#7 0x00007f430e4dd575 in YouCompleteMe::TranslationUnitStore::GetOrCreate(std::string const&, std::vector<UnsavedFile, std::allocator<UnsavedFile> > const&, std::vector<std::string, std::allocator<std::string> > const&, bool&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#8 0x00007f430e4cfff6 in YouCompleteMe::ClangCompleter::UpdateTranslationUnit(std::string const&, std::vector<UnsavedFile, std::allocator<UnsavedFile> > const&, std::vector<std::string, std::allocator<std::string> > const&) ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#9 0x00007f430e478288 in boost::function0<void>::operator()() const ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#10 0x00007f430e4c67d0 in boost::detail::task_object<boost::function<void ()>, void>::do_run() ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#11 0x00007f430e4d1abb in YouCompleteMe::ClangCompleter::ClangThreadMain() ()
from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#12 0x00007f430e514d12 in thread_proxy () from /home/vlad/.vim/bundle/YouCompleteMe/autoload/../python/ycm_core.so
#13 0x00007f431032ce0e in start_thread (arg=0x7f4309de1700) at pthread_create.c:311
#14 0x00007f431006193d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
[Switching to thread 4 (Thread 0x7f430b5e4700 (LWP 19192))]
#0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
85 ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: No such file or directory.
#0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1 0x00007f431064e578 in PyThread_acquire_lock () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#2 0x00007f43105c8ae0 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#3 0x00007f43106c8702 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#4 0x00007f4310609142 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#5 0x00007f43106c720d in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#6 0x00007f4310609142 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#7 0x00007f43106c720d in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#8 0x00007f4310609142 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#9 0x00007f43106c720d in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#10 0x00007f4310609142 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#11 0x00007f4310609407 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#12 0x00007f4310660a7e in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#13 0x00007f43106c3e99 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#14 0x00007f43106c89f9 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007f43106c89f9 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007f4310609142 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#17 0x00007f43106092f6 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#18 0x00007f4310660a7e in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#19 0x00007f43105e26f0 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#20 0x00007f4310660a7e in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#21 0x00007f4310661387 in PyEval_CallObjectWithKeywords () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#22 0x00007f4310673712 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#23 0x00007f431032ce0e in start_thread (arg=0x7f430b5e4700) at pthread_create.c:311
#24 0x00007f431006193d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
The text was updated successfully, but these errors were encountered:
Ok, there's something going on here. You are not the first person to report the KeyError message. Issues #543 and #361 seem related, although those issues result in crashes.
I'm rewriting the YCM threading system for issue #358 which should resolve this as well. So #358 tracks this.
…alloric
[READY] Some of the preprocessor flags take file arguments
Fixesycm-core#534
Some of the pre-processor flags that we blacklist take file arguments, but were not registered as doing so.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/547)
<!-- Reviewable:end -->
Hi,
I caught a situation when just opening file with vim I got this within few seconds:
Exception KeyError: KeyError(140218199963392,) in module 'threading' from '/usr/lib/python2.7/threading.pyc' ignoredVim: Finished
Any ideas why?
Thanks.
Looks like clang bug but clang compiles code just fine.
Adding backtrace:
The text was updated successfully, but these errors were encountered: