Version: svn (using KDE 4.3.5) Compiler: gcc-4.3.4 Installed from: Gentoo Packages Not always, but often when I save a file, kdevelop crashes with the following crash. I also get often a crash when a file is modified from another application (e.g. hg pull --rebase). In case the backtrace is different, I'll reopen a new bug: Thread 2 (Thread 0x7f232ab56910 (LWP 3158)): #0 0x00007f2357e3c5ff in pthread_cond_signal@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f23580acb72 in QWaitCondition::wakeOne() () from /usr/lib64/qt4/libQtCore.so.4 #2 0x00007f2354bdb23e in KDevelop::shouldDoDUChainReferenceCounting (item=0x7f230cf5c6fa) at /local/bschindler/projects/kdevplatform/language/duchain/referencecounting.h:73 #3 0x00007f2354c398eb in ~IndexedQualifiedIdentifier (this=0xc7cc1c, __in_chrg=<value optimized out>) at /local/bschindler/projects/kdevplatform/language/duchain/identifier.cpp:1214 #4 0x00007f2354bdd73c in KDevelop::CodeModelRepositoryItem::itemsFree (this=<value optimized out>) at /local/bschindler/projects/kdevplatform/language/duchain/codemodel.cpp:108 #5 0x00007f2354bdd779 in ~CodeModelRepositoryItem (this=0xc7cc1c, __in_chrg=<value optimized out>) at /local/bschindler/projects/kdevplatform/language/duchain/codemodel.cpp:87 #6 0x00007f2354bdd8d8 in KDevelop::Bucket<KDevelop::CodeModelRepositoryItem, KDevelop::CodeModelRequestItem, true, 0u>::deleteItem<KDevelop::ItemRepository<KDevelop::CodeModelRepositoryItem, KDevelop::CodeModelRequestItem, true, true, 0u, 1048576u> > (this=0x7f231d2e4ed0, index=2, hash=<value optimized out>, repository=...) at /local/bschindler/projects/kdevplatform/language/duchain/repositories/itemrepository.h:796 #7 0x00007f2354bddc01 in KDevelop::ItemRepository<KDevelop::CodeModelRepositoryItem, KDevelop::CodeModelRequestItem, true, true, 0u, 1048576u>::deleteItem (this=0x2681480, index=1) at /local/bschindler/projects/kdevplatform/language/duchain/repositories/itemrepository.h:1676 #8 0x00007f2354bd730b in KDevelop::CodeModel::addItem (this=0x7f2354f8b760, file=<value optimized out>, id=<value optimized out>, kind=<value optimized out>) at /local/bschindler/projects/kdevplatform/language/duchain/codemodel.cpp:225 #9 0x00007f2354c281e7 in KDevelop::Declaration::setInSymbolTable (this=0x7f23408b7650, inSymbolTable=true) at /local/bschindler/projects/kdevplatform/language/duchain/declaration.cpp:657 #10 0x00007f2354c27d18 in KDevelop::Declaration::setIdentifier (this=0x7f23408b7650, identifier=...) at /local/bschindler/projects/kdevplatform/language/duchain/declaration.cpp:298 #11 0x00007f23313cc0f3 in Cpp::SpecialTemplateDeclaration<KDevelop::ClassMemberDeclaration>* DeclarationBuilder::openDeclarationReal<Cpp::SpecialTemplateDeclaration<KDevelop::ClassMemberDeclaration> >(NameAST*, AST*, KDevelop::Identifier const&, bool, bool, KDevelop::SimpleRange const*) () from /home/bschindl/env/lib64/libkdev4cppduchain.so #12 0x00007f23313cd8ef in KDevelop::ClassMemberDeclaration* DeclarationBuilder::openDeclaration<KDevelop::ClassMemberDeclaration>(NameAST*, AST*, KDevelop::Identifier const&, bool, bool) () from /home/bschindl/env/lib64/libkdev4cppduchain.so #13 0x00007f23313ae206 in DeclarationBuilder::openNormalDeclaration (this=0x7f232ab54e50, name=0x7f231fdc7628, rangeNode=0x7f231fdc74d8, customName=..., collapseRange=false) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:662 #14 0x00007f23313ae615 in DeclarationBuilder::openDefinition (this=0x7f232ab54e50, name=0x7f231fdc7628, rangeNode=0x7f231fdc74d8, collapseRange=false) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:649 #15 0x00007f23313afb37 in DeclarationBuilder::visitDeclarator (this=0x7f232ab54e50, node=0x7f231fdc74d8) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:306 #16 0x00007f233139e1ee in ContextBuilder::visitInitDeclarator (this=0x7f232ab54e50, node=0x7f231fdc7668) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:1009 #17 0x00007f23313b03ca in DeclarationBuilder::visitInitDeclarator (this=0x7f232ab54e50, node=0x7f231fdc7668) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:252 #18 0x00007f23310fc1dd in visitNodes<InitDeclaratorAST*> (v=0x7f232ab54eb0, nodes=<value optimized out>) at /local/bschindler/projects/kdevelop/languages/cpp/parser/visitor.h:128 #19 0x00007f233139b144 in ContextBuilder::visitTypedef (this=<value optimized out>, node=0x1) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:654 #20 0x00007f23313d4d2d in TypeBuilder::visitTypedef (this=0x7f232ab54e50, node=0x7f231fdc76b8) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:500 #21 0x00007f23310fbb9d in visitNodes<DeclarationAST*> (v=0x7f232ab54eb0, nodes=<value optimized out>) at /local/bschindler/projects/kdevelop/languages/cpp/parser/visitor.h:128 #22 0x00007f233139c0ea in ContextBuilder::visitClassSpecifier (this=0x7f232ab54e50, node=0x7f231fd99ba0) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:647 #23 0x00007f23313d5ee8 in TypeBuilder::visitClassSpecifier (this=0x7f232ab54e50, node=0x7f231fd99ba0) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:79 #24 0x00007f23313aed07 in DeclarationBuilder::visitClassSpecifier (this=0x7f232ab54e50, node=0x7f231fd99ba0) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:992 #25 0x00007f23313d4beb in TypeBuilder::visitSimpleDeclaration (this=0x7f232ab54e50, node=0x7f231fddd098) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:536 #26 0x00007f23313b0550 in DeclarationBuilder::visitSimpleDeclaration (this=0x7f232ab54e50, node=0x7f231fddd098) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:266 #27 0x00007f233139b82e in ContextBuilder::visitTemplateDeclaration (this=0x7f232ab54e50, ast=0x7f231fddd0f0) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:338 #28 0x00007f23310fbb9d in visitNodes<DeclarationAST*> (v=0x7f232ab54eb0, nodes=<value optimized out>) at /local/bschindler/projects/kdevelop/languages/cpp/parser/visitor.h:128 #29 0x00007f233139c2f7 in ContextBuilder::visitNamespace (this=0x7f232ab54e50, node=0x7f231c0188b0) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:586 #30 0x00007f23313ad269 in DeclarationBuilder::visitNamespace (this=0x7f232ab54e50, ast=0x7f231c0188b0) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:950 #31 0x00007f23310fbb9d in visitNodes<DeclarationAST*> (v=0x7f232ab54eb0, nodes=<value optimized out>) at /local/bschindler/projects/kdevelop/languages/cpp/parser/visitor.h:128 #32 0x00007f233139c2f7 in ContextBuilder::visitNamespace (this=0x7f232ab54e50, node=0x7f231c018840) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:586 #33 0x00007f23313ad269 in DeclarationBuilder::visitNamespace (this=0x7f232ab54e50, ast=0x7f231c018840) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:950 #34 0x00007f23310fbb9d in visitNodes<DeclarationAST*> (v=0x7f232ab54eb0, nodes=<value optimized out>) at /local/bschindler/projects/kdevelop/languages/cpp/parser/visitor.h:128 #35 0x00007f23313a142f in KDevelop::AbstractContextBuilder<AST, NameAST>::supportBuild (this=0x7f232ab54e50, node=0x7f231407bf50, context=<value optimized out>) at /home/bschindl/env/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:201 #36 0x00007f23313b456d in KDevelop::AbstractTypeBuilder<AST, NameAST, ContextBuilder>::supportBuild (this=<value optimized out>, node=0x7f231407bf50, context=0x0) at /home/bschindl/env/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85 #37 0x00007f233139d77c in ContextBuilder::buildContexts (this=0x7f232ab54e50, file=..., node=0x7f231407bf50, includes=0x7f232ab55c40, updateContext=..., removeOldImports=false) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:491 #38 0x00007f23313b0a57 in DeclarationBuilder::buildDeclarations (this=0x7f232ab54e50, file=<value optimized out>, node=0x7f231407bf50, includes=0x7f232ab55c40, updateContext=..., removeOldImports=false) at /local/bschindler/projects/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:105 #39 0x00007f23318cc256 in CPPInternalParseJob::run (this=0xfdd5490) at /local/bschindler/projects/kdevelop/languages/cpp/cppparsejob.cpp:688 #40 0x00007f2359879dfc in ?? () from /usr/lib/libthreadweaver.so.4 #41 0x00007f235987a11f in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #42 0x00007f235987b493 in ?? () from /usr/lib/libthreadweaver.so.4 #43 0x00007f23598790ff in ?? () from /usr/lib/libthreadweaver.so.4 #44 0x00007f2359879569 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #45 0x00007f23580ac274 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #46 0x00007f2357e382a7 in start_thread () from /lib/libpthread.so.0 #47 0x00007f23566066ad in clone () from /lib/libc.so.6
Where are the other threads? The one you're showing didn't crash.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!