Crash on close

Milian Wolff mail at milianw.de
Wed Apr 15 10:21:34 UTC 2009


Attached you find a backtrace of a crash I just encountered. As a fix I'd 
propose:

-if(d_func()->m_dynamic)
+if(d_func() && d_func()->m_dynamic)

Though I'm unsure how this could happen.
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
Anwendung: KDevelop (kdevelop), Signal SIGSEGV
[Current thread is 0 (LWP 19096)]

Thread 2 (Thread 0xb2eeeb90 (LWP 19097)):
#0  0xb809d430 in __kernel_vsyscall ()
#1  0xb64bedf1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb70dd150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb700d6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5ca650f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb64c6a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb58c76c0 (LWP 19096)):
[KCrash Handler]
#6  0xb60cb012 in ~DUChainBase (this=0xa981fdc0) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchainbase.cpp:79
#7  0xb60dff41 in ~ParsingEnvironmentFile (this=0xa981fdc0) at /home/milian/projects/kde4/kdevplatform/language/duchain/parsingenvironment.cpp:113
#8  0xad69966b in ~EnvironmentFile (this=0xa981fdc0) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppduchain/environmentmanager.cpp:292
#9  0xb6057192 in ~KSharedPtr (this=0xa980760c) at /usr/include/KDE/../ksharedptr.h:84
#10 0xb6076c3b in QMap<KDevelop::IndexedString, KSharedPtr<KDevelop::ParsingEnvironmentFile> >::freeData (this=0xb1d1032c, x=0xa847418) at /usr/include/qt4/QtCore/qmap.h:587
#11 0xb6076f88 in ~QMap (this=0xb1d1032c) at /usr/include/qt4/QtCore/qmap.h:147
#12 0xb6076f9b in ~QMultiMap (this=0xb1d1032c) at /usr/include/qt4/QtCore/qmap.h:901
#13 0xb60803d3 in ~DUChainPrivate (this=0xb1d102c0) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchain.cpp:295
#14 0xb6066ab6 in destroy () at /home/milian/projects/kde4/kdevplatform/language/duchain/duchain.cpp:852
#15 0xb60408e9 in ~KCleanUpGlobalStatic (this=0xb61bace8) at /usr/include/kglobal.h:62
#16 0xb6413d89 in exit () from /lib/tls/i686/cmov/libc.so.6
#17 0xb63fb68d in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#18 0x0804bc81 in _start ()

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090415/be943972/attachment.sig>


More information about the KDevelop-devel mailing list