Reproducable crash on second start
Andreas Pakulat
apaku at gmx.de
Thu Jan 15 22:04:49 UTC 2009
Hi,
I've got a pretty reproducable crash here in duchain. Basically it currently
happens on each start, unless I remove .kdevduchain. Then it works once and
after closing the next start again crashes. I also have another instance still
running, not sure which repository that one uses but so far it didn't crash.
Not much output to see (backtraces below):
,----
| andreas at barmbek:~>kdev4
| <unknown program name>(26017)/ KDevelop::allocateGlobalItemRepositoryRegistry: testing "/home/andreas/.kdevduchain/0"
| <unknown program name>(26017)/ KDevelop::allocateGlobalItemRepositoryRegistry: picked duchain directory "/home/andreas/.kdevduchain/0"
| <unknown program name>(26017)/ KDevelop::ItemRepositoryRegistry::open: "/home/andreas/.kdevduchain/0/version_47" not found, seems to be an old version
| <unknown program name>(26017)/ KDevelop::ItemRepositoryRegistry::open: "The data-repository at /home/andreas/.kdevduchain/0 has to be cleared. Either the disk format has changed, or KDevelop crashed while writing the repository"
| Calling appendChild() on a null node does nothing.
| Object::connect: No such signal KDevelop::SelectionController::selectionChanged(KDevelop::Context*)
| Calling appendChild() on a null node does nothing.
| Calling appendChild() on a null node does nothing.
| Calling appendChild() on a null node does nothing.
| Object::disconnect: No such signal KDirWatch::dirty()
| Object::disconnect: (sender name: 'KDirWatch-1')
| Calling appendChild() on a null node does nothing.
| Calling appendChild() on a null node does nothing.
| Calling appendChild() on a null node does nothing.
| Calling appendChild() on a null node does nothing.
| Calling appendChild() on a null node does nothing.
| Calling appendChild() on a null node does nothing.
| andreas at barmbek:~>kdev4
| <unknown program name>(26086)/ KDevelop::allocateGlobalItemRepositoryRegistry: testing "/home/andreas/.kdevduchain/0"
| <unknown program name>(26086)/ KDevelop::allocateGlobalItemRepositoryRegistry: picked duchain directory "/home/andreas/.kdevduchain/0"
| Calling appendChild() on a null node does nothing.
| Object::connect: No such signal KDevelop::SelectionController::selectionChanged(KDevelop::Context*)
| Calling appendChild() on a null node does nothing.
| Calling appendChild() on a null node does nothing.
| Calling appendChild() on a null node does nothing.
| Object::disconnect: No such signal KDirWatch::dirty()
| Object::disconnect: (sender name: 'KDirWatch-1')
| ASSERT: "!bucketPtr->findIndex(request, 0)" in file /home/andreas/src/kdevplatform/language/duchain/repositories/itemrepository.h, line 1229
| /home/andreas/bin/kdev4: line 3: 26086 Aborted (core dumped) kdevelop --nocrashhandler $@
`----
Backtraces:
,----
| Thread 4 (Thread 26087):
| #0 0xb6d84c08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
| #1 0xb6e10b56 in QWaitConditionPrivate::wait (this=0x9610468, time=140000) at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:80
| #2 0xb6e1066f in QWaitCondition::wait (this=0x960b3cc, mutex=0x960b3d0, time=140000) at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:154
| #3 0xb5d210f0 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x960b3c0) at /home/andreas/src/kdevplatform/language/duchain/duchain.cpp:238
| #4 0xb6e10114 in QThreadPrivate::start (arg=0x960b3c0) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:185
| #5 0xb6d80f3b in start_thread () from /lib/libpthread.so.0
| #6 0xb60edbee in clone () from /lib/libc.so.6
|
| Thread 3 (Thread 26088):
| #0 0xb60e7007 in select () from /lib/libc.so.6
| #1 0xb6eff21f in QProcessManager::run (this=0x93323e8) at /home/andreas/src/qt-copy/src/corelib/io/qprocess_unix.cpp:301
| #2 0xb6e10114 in QThreadPrivate::start (arg=0x93323e8) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:185
| #3 0xb6d80f3b in start_thread () from /lib/libpthread.so.0
| #4 0xb60edbee in clone () from /lib/libc.so.6
|
| Thread 2 (Thread 26086):
| #0 0xb7f71429 in ?? () from /lib/ld-linux.so.2
| #1 0xb7f699f9 in ?? () from /lib/ld-linux.so.2
| #2 0xbf973530 in ?? ()
| #3 0x00000000 in ?? ()
|
| Thread 1 (Thread 26098):
| #0 0xb604d556 in raise () from /lib/libc.so.6
| #1 0xb604ed78 in abort () from /lib/libc.so.6
| #2 0xb6e04728 in qt_message_output (msgType=QtFatalMsg,
| buf=0xb1d42a70 "ASSERT: \"!bucketPtr->findIndex(request, 0)\" in file /home/andreas/src/kdevplatform/language/duchain/repositories/itemrepository.h, line 1229")
| at /home/andreas/src/qt-copy/src/corelib/global/qglobal.cpp:2102
| #3 0xb6e0478c in qFatal (msg=0xb6f86cbc "ASSERT: \"%s\" in file %s, line %d") at /home/andreas/src/qt-copy/src/corelib/global/qglobal.cpp:2303
| #4 0xb6e04bd8 in qt_assert (assertion=0xb5e14cb0 "!bucketPtr->findIndex(request, 0)", file=0xb5e13a40 "/home/andreas/src/kdevplatform/language/duchain/repositories/itemrepository.h",
| line=1229) at /home/andreas/src/qt-copy/src/corelib/global/qglobal.cpp:1872
| #5 0xb5d057af in KDevelop::ItemRepository<KDevelop::CodeModelRepositoryItem, KDevelop::CodeModelRequestItem, KDevelop::NoDynamicData, true, 0u, 524288u>::index (this=0x9709e20,
| request=@0xb1d44be0, dynamic=0x0) at /home/andreas/src/kdevplatform/language/duchain/repositories/itemrepository.h:1229
| #6 0xb5cfccb1 in KDevelop::CodeModel::addItem (this=0xb5e3b030, file=@0xb1d44c74, id=@0xb1d44c70, kind=KDevelop::CodeModelItem::Variable)
| at /home/andreas/src/kdevplatform/language/duchain/codemodel.cpp:215
| #7 0xb5d54439 in KDevelop::Declaration::setInSymbolTable (this=0x98e6538, inSymbolTable=true) at /home/andreas/src/kdevplatform/language/duchain/declaration.cpp:622
| #8 0xb5d5486b in KDevelop::Declaration::setIdentifier (this=0x98e6538, identifier=@0xb1d44d48) at /home/andreas/src/kdevplatform/language/duchain/declaration.cpp:286
| #9 0xb3827e69 in CMakeProjectVisitor::macroDeclaration (this=0xb1d45e94, def=@0x98af430, end=@0x98b0310, args=@0xb1d44dbc)
| at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:855
| #10 0xb382867c in CMakeProjectVisitor::visit (this=0xb1d45e94, macro=0x98e6608) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:893
| #11 0xb38188af in MacroAst::accept (this=0x98e6608, visitor=0xb1d45e94) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeast.h:567
| #12 0xb382da1f in CMakeProjectVisitor::walk (this=0xb1d45e94, fc=@0xb1d44f64, line=13) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:1903
| #13 0xb3830ae8 in CMakeProjectVisitor::visit (this=0xb1d45e94, pack=0x989f468) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:554
| #14 0xb3818519 in FindPackageAst::accept (this=0x989f468, visitor=0xb1d45e94) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeast.h:354
| #15 0xb382da1f in CMakeProjectVisitor::walk (this=0xb1d45e94, fc=@0x98951b0, line=16) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:1903
| #16 0xb38322f3 in CMakeProjectVisitor::visit (this=0xb1d45e94, ifast=0x98951a8) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:1108
| #17 0xb3818697 in IfAst::accept (this=0x98951a8, visitor=0xb1d45e94) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeast.h:451
| #18 0xb382da1f in CMakeProjectVisitor::walk (this=0xb1d45e94, fc=@0xb1d45544, line=6) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:1903
| #19 0xb3830ae8 in CMakeProjectVisitor::visit (this=0xb1d45e94, pack=0x9874520) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:554
| #20 0xb3818519 in FindPackageAst::accept (this=0x9874520, visitor=0xb1d45e94) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeast.h:354
| #21 0xb382da1f in CMakeProjectVisitor::walk (this=0xb1d45e94, fc=@0x98599b0, line=37) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:1903
| #22 0xb38322f3 in CMakeProjectVisitor::visit (this=0xb1d45e94, ifast=0x98599a8) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:1108
| #23 0xb3818697 in IfAst::accept (this=0x98599a8, visitor=0xb1d45e94) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeast.h:451
| ---Type <return> to continue, or q <return> to quit---
| #24 0xb382da1f in CMakeProjectVisitor::walk (this=0xb1d45e94, fc=@0xb1d45b24, line=29) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:1903
| #25 0xb3830ae8 in CMakeProjectVisitor::visit (this=0xb1d45e94, pack=0x9868f68) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:554
| #26 0xb3818519 in FindPackageAst::accept (this=0x9868f68, visitor=0xb1d45e94) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeast.h:354
| #27 0xb382da1f in CMakeProjectVisitor::walk (this=0xb1d45e94, fc=@0xb1d45fc0, line=8) at /home/andreas/src/kdevelop/plugins/managers/cmake/parser/cmakeprojectvisitor.cpp:1903
| #28 0xb385b41a in CMakeProjectManager::parse (this=0x95f7a30, item=0x96c8018) at /home/andreas/src/kdevelop/plugins/managers/cmake/cmakemanager.cpp:479
| #29 0xb5e4a285 in KDevelop::ImportProjectJobPrivate::import (this=0x96bb528, folder=0x96c8018) at /home/andreas/src/kdevplatform/project/importprojectjob.cpp:47
| #30 0xb5e49753 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (
| this=0x984dc98) at /usr/local/include/QtCore/qtconcurrentstoredfunctioncall.h:422
| #31 0xb5e49eea in QtConcurrent::RunFunctionTask<void>::run (this=0x984dc98) at /usr/local/include/QtCore/qtconcurrentrunbase.h:119
| #32 0xb6e019d1 in QThreadPoolThread::run (this=0x984e008) at /home/andreas/src/qt-copy/src/corelib/concurrent/qthreadpool.cpp:101
| #33 0xb6e10114 in QThreadPrivate::start (arg=0x984e008) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:185
| #34 0xb6d80f3b in start_thread () from /lib/libpthread.so.0
| #35 0xb60edbee in clone () from /lib/libc.so.6
`----
Andreas
--
You will step on the night soil of many countries.
More information about the KDevelop-devel
mailing list