Crash on close due to nullpointer kpart

Milian Wolff mail at milianw.de
Mon Jun 1 17:52:36 UTC 2009


Hey guys, just got that crash on close, dunno if you might be able to fix it. 
BT attached.

I got nothing fancy opened and can reproduce the crash currently.

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
Application: KDevelop (kdevelop), signal SIGSEGV
[Current thread is 0 (LWP 21093)]

Thread 10 (Thread 0xb232fb90 (LWP 21099)):
#0  0xb7f75430 in __kernel_vsyscall ()
#1  0xb597b3a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb636ac14 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6ecef66 in QWaitConditionPrivate::wait (this=0x9b44aa0, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  0xb6ecea7f in QWaitCondition::wait (this=0x9b2f7dc, mutex=0x9b2f7e0, time=200000) at thread/qwaitcondition_unix.cpp:159
#5  0xb5f0bc39 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9b2f7d0) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchain.cpp:280
#6  0xb6ece65b in QThreadPrivate::start (arg=0x9b2f7d0) at thread/qthread_unix.cpp:189
#7  0xb597750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb635ca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb19ddb90 (LWP 21100)):
#0  0xb7f75430 in __kernel_vsyscall ()
#1  0xb6354df1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6fa63f9 in QProcessManager::run (this=0x984ff50) at io/qprocess_unix.cpp:305
#3  0xb6ece65b in QThreadPrivate::start (arg=0x984ff50) at thread/qthread_unix.cpp:189
#4  0xb597750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb635ca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xaccfeb90 (LWP 21220)):
#0  0xb5a4654a in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb6ff602a in QTimerInfoList::getTime (this=0xab00f3c, t=@0xab00f60) at kernel/qeventdispatcher_unix.cpp:339
#2  0xb6ff625d in QTimerInfoList::updateCurrentTime (this=0xab00f3c) at kernel/qeventdispatcher_unix.cpp:297
#3  0xb6ff6925 in QTimerInfoList::timerWait (this=0xab00f3c, tm=@0xaccfe13c) at kernel/qeventdispatcher_unix.cpp:420
#4  0xb6ff4242 in timerSourcePrepare (source=0xab00f08, timeout=0xaccfe198) at kernel/qeventdispatcher_glib.cpp:140
#5  0xb59c7622 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb59c7aaa in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb59c7f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6ff3442 in QEventDispatcherGlib::processEvents (this=0xab05da0, flags={i = -1395662204}) at kernel/qeventdispatcher_glib.cpp:325
#9  0xb6fc15dc in QEventLoop::processEvents (this=0xaccfe30c, flags={i = -1395662128}) at kernel/qeventloop.cpp:149
#10 0xb6fc1836 in QEventLoop::exec (this=0xaccfe30c, flags={i = -1395662060}) at kernel/qeventloop.cpp:196
#11 0xb6eca9ed in QThread::exec (this=0xab059c0) at thread/qthread.cpp:481
#12 0xb60111cf in KDevelop::CompletionWorkerThread::run (this=0xab059c0) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#13 0xb6ece65b in QThreadPrivate::start (arg=0xab059c0) at thread/qthread_unix.cpp:189
#14 0xb597750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb635ca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xac4fdb90 (LWP 21221)):
#0  0xb5a4654a in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb6ff602a in QTimerInfoList::getTime (this=0xab05424, t=@0xab05448) at kernel/qeventdispatcher_unix.cpp:339
#2  0xb6ff625d in QTimerInfoList::updateCurrentTime (this=0xab05424) at kernel/qeventdispatcher_unix.cpp:297
#3  0xb6ff6925 in QTimerInfoList::timerWait (this=0xab05424, tm=@0xac4fd13c) at kernel/qeventdispatcher_unix.cpp:420
#4  0xb6ff4242 in timerSourcePrepare (source=0xab053f0, timeout=0xac4fd198) at kernel/qeventdispatcher_glib.cpp:140
#5  0xb59c7622 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb59c7aaa in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb59c7f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6ff3442 in QEventDispatcherGlib::processEvents (this=0xab0d390, flags={i = -1404054908}) at kernel/qeventdispatcher_glib.cpp:325
#9  0xb6fc15dc in QEventLoop::processEvents (this=0xac4fd30c, flags={i = -1404054832}) at kernel/qeventloop.cpp:149
#10 0xb6fc1836 in QEventLoop::exec (this=0xac4fd30c, flags={i = -1404054764}) at kernel/qeventloop.cpp:196
#11 0xb6eca9ed in QThread::exec (this=0xabb5e4d8) at thread/qthread.cpp:481
#12 0xb60111cf in KDevelop::CompletionWorkerThread::run (this=0xabb5e4d8) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#13 0xb6ece65b in QThreadPrivate::start (arg=0xabb5e4d8) at thread/qthread_unix.cpp:189
#14 0xb597750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb635ca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xad4ffb90 (LWP 21231)):
#0  0xb7f75430 in __kernel_vsyscall ()
#1  0xb597b3a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb636ac14 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6ece06d in thread_sleep (ti=0xad4ff310) at thread/qthread_unix.cpp:298
#4  0xb6ece267 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:324
#5  0xaaa15529 in UIBlockTester::UIBlockTesterThread::run (this=0xabaa530) at /home/milian/projects/kde4/kdevelop/languages/cpp/cpplanguagesupport.cpp:965
#6  0xb6ece65b in QThreadPrivate::start (arg=0xabaa530) at thread/qthread_unix.cpp:189
#7  0xb597750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb635ca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb11dcb90 (LWP 21242)):
#0  0xb7f75430 in __kernel_vsyscall ()
#1  0xb597b075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb636abbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6ecef80 in QWaitConditionPrivate::wait (this=0x9ad1838, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb6ecea7f in QWaitCondition::wait (this=0x9ad1748, mutex=0x9ad19d8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb78f2148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9ad1730, th=0xacb2ea8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb78f4eec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9ad1a70, th=0xacb2ea8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb78f0d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9ad1730, th=0xacb2ea8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb78f4fea in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ad1a70, th=0xacb2ea8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb78f26d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9ad1730, th=0xacb2ea8, previous=0xae4a930) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb78f2fbe in ThreadWeaver::ThreadRunHelper::run (this=0xb11dc340, parent=0x9ad1730, th=0xacb2ea8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:87
#11 0xb78f35fb in ThreadWeaver::Thread::run (this=0xacb2ea8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:142
#12 0xb6ece65b in QThreadPrivate::start (arg=0xacb2ea8) at thread/qthread_unix.cpp:189
#13 0xb597750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb635ca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa9e3cb90 (LWP 21243)):
#0  0xb7f75430 in __kernel_vsyscall ()
#1  0xb597b075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb636abbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6ecef80 in QWaitConditionPrivate::wait (this=0x9ad1838, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb6ecea7f in QWaitCondition::wait (this=0x9ad1748, mutex=0x9ad19d8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb78f2148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9ad1730, th=0xb13aa48) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb78f4eec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9ad1a70, th=0xb13aa48) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb78f0d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9ad1730, th=0xb13aa48) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb78f4fea in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ad1a70, th=0xb13aa48) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb78f26d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9ad1730, th=0xb13aa48, previous=0xa7c62558) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb78f2fbe in ThreadWeaver::ThreadRunHelper::run (this=0xa9e3c340, parent=0x9ad1730, th=0xb13aa48) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:87
#11 0xb78f35fb in ThreadWeaver::Thread::run (this=0xb13aa48) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:142
#12 0xb6ece65b in QThreadPrivate::start (arg=0xb13aa48) at thread/qthread_unix.cpp:189
#13 0xb597750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb635ca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa963bb90 (LWP 21244)):
#0  0xb7f75430 in __kernel_vsyscall ()
#1  0xb597b075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb636abbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6ecef80 in QWaitConditionPrivate::wait (this=0x9ad1838, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb6ecea7f in QWaitCondition::wait (this=0x9ad1748, mutex=0x9ad19d8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb78f2148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9ad1730, th=0xb04f560) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb78f4eec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9ad1a70, th=0xb04f560) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb78f0d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9ad1730, th=0xb04f560) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb78f4fea in ThreadWeaver::WorkingHardState::applyForWork (this=0x9ad1a70, th=0xb04f560) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb78f26d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9ad1730, th=0xb04f560, previous=0xaea14a8) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb78f2fbe in ThreadWeaver::ThreadRunHelper::run (this=0xa963b340, parent=0x9ad1730, th=0xb04f560) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:87
#11 0xb78f35fb in ThreadWeaver::Thread::run (this=0xb04f560) at /build/buildd/kde4libs-4.2.2/threadweaver/Weaver/Thread.cpp:142
#12 0xb6ece65b in QThreadPrivate::start (arg=0xb04f560) at thread/qthread_unix.cpp:189
#13 0xb597750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb635ca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb05feb90 (LWP 21303)):
#0  0xb5978a3c in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb636ad86 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#2  0xb59c7366 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0xb59c7cad in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb59c7f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6ff3442 in QEventDispatcherGlib::processEvents (this=0xafe9940, flags={i = -1335893372}) at kernel/qeventdispatcher_glib.cpp:325
#6  0xb6fc15dc in QEventLoop::processEvents (this=0xb05fe30c, flags={i = -1335893296}) at kernel/qeventloop.cpp:149
#7  0xb6fc1836 in QEventLoop::exec (this=0xb05fe30c, flags={i = -1335893228}) at kernel/qeventloop.cpp:196
#8  0xb6eca9ed in QThread::exec (this=0xb8f3c78) at thread/qthread.cpp:481
#9  0xb60111cf in KDevelop::CompletionWorkerThread::run (this=0xb8f3c78) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#10 0xb6ece65b in QThreadPrivate::start (arg=0xb8f3c78) at thread/qthread_unix.cpp:189
#11 0xb597750f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb635ca0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb57a4a70 (LWP 21093)):
[KCrash Handler]
#6  KParts::ReadOnlyPart::url (this=0x0) at /build/buildd/kde4libs-4.2.2/kparts/part.cpp:466
#7  0xb5ec5013 in KDevelop::EditorIntegratorStatic::removeDocument (this=0x9b45998, document=0x0) at /home/milian/projects/kde4/kdevplatform/language/editor/editorintegratorstatic.cpp:125
#8  0xb5ec2d4a in KDevelop::EditorIntegrator::removeDocument (document=0x0) at /home/milian/projects/kde4/kdevplatform/language/editor/editorintegrator.cpp:112
#9  0xb7c8fc13 in KDevelop::TextDocument::close (this=0xb145a08, mode=KDevelop::IDocument::Default) at /home/milian/projects/kde4/kdevplatform/shell/textdocument.cpp:464
#10 0xb7c9287f in KDevelop::DocumentController::closeDocument (this=0x9ad1d88, url=@0xad59bf2c) at /home/milian/projects/kde4/kdevplatform/shell/documentcontroller.cpp:481
#11 0xb7c7e6c8 in KDevelop::ProjectController::closeAllOpenedFiles (this=0x99d9258, proj=0x9bd9558) at /home/milian/projects/kde4/kdevplatform/shell/projectcontroller.cpp:686
#12 0xb7c7eb38 in KDevelop::ProjectController::closeProject (this=0x99d9258, proj=0x9bd9558) at /home/milian/projects/kde4/kdevplatform/shell/projectcontroller.cpp:715
#13 0xb7c7e4b2 in KDevelop::ProjectController::cleanup (this=0x99d9258) at /home/milian/projects/kde4/kdevplatform/shell/projectcontroller.cpp:412
#14 0xb7c75bd4 in KDevelop::Core::cleanup (this=0x9967ce0) at /home/milian/projects/kde4/kdevplatform/shell/core.cpp:254
#15 0xb7c68a4e in ~MainWindow (this=0x9884808) at /home/milian/projects/kde4/kdevplatform/shell/mainwindow.cpp:90
#16 0xb6fd4593 in qDeleteInEventHandler (o=0x9884808) at kernel/qobject.cpp:3771
#17 0xb6fd8a34 in QObject::event (this=0x9884808, e=0xaed6ee8) at kernel/qobject.cpp:1101
#18 0xb66c4e3c in QWidget::event (this=0x9884808, event=0xaed6ee8) at kernel/qwidget.cpp:7913
#19 0xb6acf67a in QMainWindow::event (this=0x9884808, event=0xaed6ee8) at widgets/qmainwindow.cpp:1396
#20 0xb7381247 in KMainWindow::event (this=0x9884808, ev=0xaed6ee8) at /build/buildd/kde4libs-4.2.2/kdeui/widgets/kmainwindow.cpp:1094
#21 0xb73c604c in KXmlGuiWindow::event (this=0x9884808, ev=0xaed6ee8) at /build/buildd/kde4libs-4.2.2/kdeui/xmlgui/kxmlguiwindow.cpp:131
#22 0xb6663483 in QApplicationPrivate::notify_helper (this=0x984dc78, receiver=0x9884808, e=0xaed6ee8) at kernel/qapplication.cpp:4084
#23 0xb6665360 in QApplication::notify (this=0xbfa741b4, receiver=0x9884808, e=0xaed6ee8) at kernel/qapplication.cpp:4049
#24 0xb729e2ad in KApplication::notify (this=0xbfa741b4, receiver=0x9884808, event=0xaed6ee8) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#25 0xb6fc45eb in QCoreApplication::notifyInternal (this=0xbfa741b4, receiver=0x9884808, event=0xaed6ee8) at kernel/qcoreapplication.cpp:598
#26 0xb7720dbb in QCoreApplication::sendEvent (receiver=0x9884808, event=0xaed6ee8) at ../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#27 0xb6fc4ad3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x978efe0) at kernel/qcoreapplication.cpp:1236
#28 0xb6fc4c8f in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#29 0xb6ff4dfe in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 0xb6ff4008 in postEventSourceDispatch (s=0x984ff10) at kernel/qeventdispatcher_glib.cpp:209
#31 0xb59c4718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb59c7dc3 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb59c7f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb6ff3422 in QEventDispatcherGlib::processEvents (this=0x984bf18, flags={i = -1079558044}) at kernel/qeventdispatcher_glib.cpp:323
#35 0xb6711968 in QGuiEventDispatcherGlib::processEvents (this=0x984bf18, flags={i = -1079557996}) at kernel/qguieventdispatcher_glib.cpp:202
#36 0xb6fc15dc in QEventLoop::processEvents (this=0xbfa74120, flags={i = -1079557920}) at kernel/qeventloop.cpp:149
#37 0xb6fc1836 in QEventLoop::exec (this=0xbfa74120, flags={i = -1079557848}) at kernel/qeventloop.cpp:196
#38 0xb6fc4dc3 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#39 0xb666319c in QApplication::exec () at kernel/qapplication.cpp:3553
#40 0x0804efd8 in main (argc=1, argv=0xbfa74694) at /home/milian/projects/kde4/kdevelop/app/main.cpp:172

-------------- 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/20090601/771aab1d/attachment.sig>


More information about the KDevelop-devel mailing list