Getting crashes when shutting down.

Andreas Pakulat apaku at gmx.de
Thu Mar 19 15:21:25 UTC 2009


Hi,

all I did was opening kdevelop, opening quick-open, cancelling quickopen
shutting down kdevelop and it crashes when trying to access a global static
which was already deleted:

kdevelop(27621)
KDevelop::DocumentationController::documentationForDeclaration:
Documentation provider found: 0x827d5f4
kdevelop(27621)
KDevelop::DocumentationController::documentationForDeclaration:
Documentation proposed:  false
kdevelop(27621)
KDevelop::DocumentationController::documentationForDeclaration:
Documentation provider found: 0x8768db4
kdevelop(27621) QtHelpPlugin::documentationForDeclaration: doc_found
"QVariant" QMap()
kdevelop(27621)
KDevelop::DocumentationController::documentationForDeclaration:
Documentation proposed:  false
QThreadStorage: Thread 0x8735d10 exited after QThreadStorage 2147483644
destroyed
QThreadStorage: Thread 0x8054e88 exited after QThreadStorage 2147483643
destroyed
QThreadStorage: Thread 0x8054e88 exited after QThreadStorage 2147483644
destroyed
ClassFunctionDeclarationData::m_defaultParameters There were items left on
destruction: 14
SpecialTemplateDeclarationData::m_specializations There were items left on
destruction: 50
ClassDeclarationData::baseClasses There were items left on destruction: 9
TopDUContextData::m_usedDeclarationIds There were items left on
destruction: 25
DUContextData::m_importedContexts There were items left on destruction: 100
DUContextData::m_childContexts There were items left on destruction: 100
DUContextData::m_importers There were items left on destruction: 100
DUContextData::m_localDeclarations There were items left on destruction:
100
DUContextData::m_uses There were items left on destruction: 100
Fatal Error: Accessed global static 'DUChainPrivate *sdDUChainPrivate()'
after destruction. Defined at
/home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp:847


This happened the 3 times I started kdev4 today, didn't start kdev4 since
the weekend before that.

Backtrace:

Thread 2 (process 27622):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6305ab1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb710a3ef in QProcessManager::run (this=0x80db550) at
/home/andreas/src/kde4/qt-copy/src/corelib/io/qprocess_unix.cpp:301
#3  0xb701b21c in QThreadPrivate::start (arg=0x80db550) at
/home/andreas/src/kde4/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#4  0xb6faa4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb630d6de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (process 27621):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6258640 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb625a018 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb700f828 in qt_message_output (msgType=QtFatalMsg,
    buf=0xbf9ed130 "Fatal Error: Accessed global static 'DUChainPrivate
*sdDUChainPrivate()' after destruction. Defined at
/home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp:847") at
/home/andreas/src/kde4/qt-copy/src/corelib/global/qglobal.cpp:2102
#4  0xb700f88c in qFatal (msg=0xb5fdfa38 "Fatal Error: Accessed global
static '%s *%s()' after destruction. Defined at %s:%d")
    at /home/andreas/src/kde4/qt-copy/src/corelib/global/qglobal.cpp:2303
#5  0xb5eb77c3 in operator-> (this=0xb6009259) at
/home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp:847
#6  0xb5eb98b6 in KDevelop::DUChain::self () at
/home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp:869
#7  0xb5ef177e in ~ReferencedTopDUContext (this=0x893e6f8) at
/home/andreas/src/kde4/kdevplatform/language/duchain/topducontext.cpp:77
#8  0xb5ec6942 in ~QHashNode (this=0x893e6f0) at
/home/andreas/qt-copy/include/QtCore/qhash.h:206
#9  0xb5ecf011 in QHash<KDevelop::ReferencedTopDUContext,
QHashDummyValue>::deleteNode (this=0xb2905524, node=0x893e6f0)
    at /home/andreas/qt-copy/include/QtCore/qhash.h:490
#10 0xb5ecf080 in QHash<KDevelop::ReferencedTopDUContext,
QHashDummyValue>::freeData (this=0xb2905524, x=0x8a611b0)
    at /home/andreas/qt-copy/include/QtCore/qhash.h:547
#11 0xb5ecf0df in ~QHash (this=0xb2905524) at
/home/andreas/qt-copy/include/QtCore/qhash.h:265
#12 0xb5ecf0f3 in ~QSet (this=0xb2905524) at
/home/andreas/qt-copy/include/QtCore/qset.h:51
#13 0xb5ed098a in ~DUChainPrivate (this=0xb29054c0) at
/home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp:287
#14 0xb5eb6f1a in destroy () at
/home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp:847
#15 0xb5e91e3d in ~KCleanUpGlobalStatic (this=0xb6008fec) at
/home/andreas/kde4/include/kglobal.h:62
#16 0xb625bab9 in exit () from /lib/i686/cmov/libc.so.6
#17 0xb624345d in __libc_start_main () from /lib/i686/cmov/libc.so.6
#18 0x0804bc61 in _start ()


Will retry with a cleaned duchain dir now.

Andreas

-- 
Your aim is high and to the right.




More information about the KDevelop-devel mailing list