Application: kdevelop (4.0.2 (using KDevPlatform 1.0.2)) KDE Platform Version: 4.6.2 (4.6.2) Qt Version: 4.7.0 Operating System: Linux 2.6.35-30-generic-pae i686 Distribution: Ubuntu 10.10 -- Information about the crash: - What I was doing when the application crashed: I loaded a source code file and as soon as I try to edit it, KDevelop crashes. The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop.bin), signal: Segmentation fault [Current thread is 1 (Thread 0xb401e930 (LWP 10045))] Thread 8 (Thread 0xaff76b70 (LWP 10046)): #0 0xb7881424 in __kernel_vsyscall () #1 0xb5ec6884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236 #2 0xb61a2df4 in __pthread_cond_timedwait (cond=0x9592f08, mutex=0x9592ef0, abstime=0xaff762b0) at forward.c:152 #3 0xb6e3994f in wait (this=0x95a87bc, mutex=0x95a87c0, time=200000) at thread/qwaitcondition_unix.cpp:86 #4 QWaitCondition::wait (this=0x95a87bc, mutex=0x95a87c0, time=200000) at thread/qwaitcondition_unix.cpp:160 #5 0xb53125b5 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x95a87b0) at ../../language/duchain/duchain.cpp:286 #6 0xb6e38df9 in QThreadPrivate::start (arg=0x95a87b0) at thread/qthread_unix.cpp:266 #7 0xb5ec1cc9 in start_thread (arg=0xaff76b70) at pthread_create.c:304 #8 0xb619569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 7 (Thread 0xacf8ab70 (LWP 10049)): #0 0xb5ec43b7 in __pthread_mutex_lock (mutex=0x9711c34) at pthread_mutex_lock.c:47 #1 0xb61a2f66 in pthread_mutex_lock (mutex=0x9711c34) at forward.c:182 #2 0xb4e6c3f1 in ?? () from /lib/libglib-2.0.so.0 #3 0xb4e6c848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #4 0xb6f6959f in QEventDispatcherGlib::processEvents (this=0x970d720, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #5 0xb6f39609 in QEventLoop::processEvents (this=0xacf8a290, flags=) at kernel/qeventloop.cpp:149 #6 0xb6f39a8a in QEventLoop::exec (this=0xacf8a290, flags=...) at kernel/qeventloop.cpp:201 #7 0xb6e35b7e in QThread::exec (this=0x95d2be8) at thread/qthread.cpp:490 #8 0xb6f1835b in QInotifyFileSystemWatcherEngine::run (this=0x95d2be8) at io/qfilesystemwatcher_inotify.cpp:248 #9 0xb6e38df9 in QThreadPrivate::start (arg=0x95d2be8) at thread/qthread_unix.cpp:266 #10 0xb5ec1cc9 in start_thread (arg=0xacf8ab70) at pthread_create.c:304 #11 0xb619569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 6 (Thread 0xaae80b70 (LWP 10062)): #0 0xb4efde36 in clock_gettime (clock_id=-1259331596, tp=0xaae7ff90) at ../sysdeps/unix/clock_gettime.c:100 #1 0xb6e9450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:119 #3 0xb6f6b6e5 in QTimerInfoList::updateCurrentTime (this=0x97e6134) at kernel/qeventdispatcher_unix.cpp:339 #4 0xb6f6b72a in QTimerInfoList::timerWait (this=0x97e6134, tm=...) at kernel/qeventdispatcher_unix.cpp:442 #5 0xb6f697a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaae800bc) at kernel/qeventdispatcher_glib.cpp:136 #6 0xb6f6983d in timerSourcePrepare (source=0x0, timeout=0xb4f01ff4) at kernel/qeventdispatcher_glib.cpp:169 #7 0xb4e6be6a in g_main_context_prepare () from /lib/libglib-2.0.so.0 #8 0xb4e6c279 in ?? () from /lib/libglib-2.0.so.0 #9 0xb4e6c848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #10 0xb6f6959f in QEventDispatcherGlib::processEvents (this=0x97e3e88, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #11 0xb6f39609 in QEventLoop::processEvents (this=0xaae80290, flags=) at kernel/qeventloop.cpp:149 #12 0xb6f39a8a in QEventLoop::exec (this=0xaae80290, flags=...) at kernel/qeventloop.cpp:201 #13 0xb6e35b7e in QThread::exec (this=0x97ed168) at thread/qthread.cpp:490 #14 0xb6f1835b in QInotifyFileSystemWatcherEngine::run (this=0x97ed168) at io/qfilesystemwatcher_inotify.cpp:248 #15 0xb6e38df9 in QThreadPrivate::start (arg=0x97ed168) at thread/qthread_unix.cpp:266 #16 0xb5ec1cc9 in start_thread (arg=0xaae80b70) at pthread_create.c:304 #17 0xb619569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 5 (Thread 0xaa2bbb70 (LWP 10081)): #0 0xb7881424 in __kernel_vsyscall () #1 0xb5ec64dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169 #2 0xb61a2d9d in __pthread_cond_wait (cond=0xb4bff290, mutex=0xb4bff278) at forward.c:139 #3 0xb4afb877 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb4bfa1a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #4 0xb4afb8c1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb4bfa1a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #5 0xb5ec1cc9 in start_thread (arg=0xaa2bbb70) at pthread_create.c:304 #6 0xb619569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 4 (Thread 0xa8abeb70 (LWP 10082)): #0 0xb7881424 in __kernel_vsyscall () #1 0xb6186df6 in __poll (fds=0xb621dff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0xb4e79a1b in g_poll () from /lib/libglib-2.0.so.0 #3 0xb4e6c43c in ?? () from /lib/libglib-2.0.so.0 #4 0xb4e6c848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0xb6f6959f in QEventDispatcherGlib::processEvents (this=0x9928da8, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #6 0xb6f39609 in QEventLoop::processEvents (this=0xa8abe2c0, flags=) at kernel/qeventloop.cpp:149 #7 0xb6f39a8a in QEventLoop::exec (this=0xa8abe2c0, flags=...) at kernel/qeventloop.cpp:201 #8 0xb6e35b7e in QThread::exec (this=0x9919720) at thread/qthread.cpp:490 #9 0xb540f8d8 in KDevelop::CompletionWorkerThread::run (this=0x9919720) at ../../language/codecompletion/codecompletionmodel.cpp:81 #10 0xb6e38df9 in QThreadPrivate::start (arg=0x9919720) at thread/qthread_unix.cpp:266 #11 0xb5ec1cc9 in start_thread (arg=0xa8abeb70) at pthread_create.c:304 #12 0xb619569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 0xa82bdb70 (LWP 10083)): #0 0xb4efde36 in clock_gettime (clock_id=-1259331596, tp=0xa82bcfc0) at ../sysdeps/unix/clock_gettime.c:100 #1 0xb6e9450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:119 #3 0xb6f6b6e5 in QTimerInfoList::updateCurrentTime (this=0x9a4f934) at kernel/qeventdispatcher_unix.cpp:339 #4 0xb6f6b72a in QTimerInfoList::timerWait (this=0x9a4f934, tm=...) at kernel/qeventdispatcher_unix.cpp:442 #5 0xb6f697a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa82bd0ec) at kernel/qeventdispatcher_glib.cpp:136 #6 0xb6f6983d in timerSourcePrepare (source=0x0, timeout=0xb4f01ff4) at kernel/qeventdispatcher_glib.cpp:169 #7 0xb4e6be6a in g_main_context_prepare () from /lib/libglib-2.0.so.0 #8 0xb4e6c279 in ?? () from /lib/libglib-2.0.so.0 #9 0xb4e6c848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #10 0xb6f6959f in QEventDispatcherGlib::processEvents (this=0x97e42e0, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #11 0xb6f39609 in QEventLoop::processEvents (this=0xa82bd2c0, flags=) at kernel/qeventloop.cpp:149 #12 0xb6f39a8a in QEventLoop::exec (this=0xa82bd2c0, flags=...) at kernel/qeventloop.cpp:201 #13 0xb6e35b7e in QThread::exec (this=0x990a548) at thread/qthread.cpp:490 #14 0xb540f8d8 in KDevelop::CompletionWorkerThread::run (this=0x990a548) at ../../language/codecompletion/codecompletionmodel.cpp:81 #15 0xb6e38df9 in QThreadPrivate::start (arg=0x990a548) at thread/qthread_unix.cpp:266 #16 0xb5ec1cc9 in start_thread (arg=0xa82bdb70) at pthread_create.c:304 #17 0xb619569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xa7abcb70 (LWP 10084)): #0 0xb7881424 in __kernel_vsyscall () #1 0xb5ec6884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236 #2 0xb61a2df4 in __pthread_cond_timedwait (cond=0xa7abc224, mutex=0xa7abc254, abstime=0xa7abc2a0) at forward.c:152 #3 0xb6e3833e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416 #4 0xb6e38493 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:442 #5 0xa94b1ccb in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so #6 0xb6e38df9 in QThreadPrivate::start (arg=0x988b240) at thread/qthread_unix.cpp:266 #7 0xb5ec1cc9 in start_thread (arg=0xa7abcb70) at pthread_create.c:304 #8 0xb619569e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb401e930 (LWP 10045)): [KCrash Handler] #7 begin (this=0x0, watcher=0x94c5f6c) at /usr/include/qt4/QtCore/qlist.h:97 #8 contains (this=0x0, watcher=0x94c5f6c) at /usr/include/qt4/QtCore/qlist.h:860 #9 KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0x94c5f6c) at ../../../interfaces/ktexteditor/smartrange.cpp:893 #10 0xb52d7c89 in KDevelop::BackgroundParser::addManagedTopRange (this=0x94c5f60, document=..., range=0x0) at ../../language/backgroundparser/backgroundparser.cpp:645 #11 0xb52f6397 in KDevelop::DUChain::documentLoadedPrepare (this=0x95ac760, doc=0x9744ee8) at ../../language/duchain/duchain.cpp:1541 #12 0xb52f9517 in KDevelop::DUChain::qt_metacall (this=0x95ac760, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe2ed28) at ./duchain.moc:168 #13 0xb6f408ca in QMetaObject::metacall (object=0x95ac760, cl=3219319612, idx=10, argv=0xbfe2ed28) at kernel/qmetaobject.cpp:237 #14 0xb6f536ad in QMetaObject::activate (sender=0x94c5f40, m=0xb75be614, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3280 #15 0xb75b4213 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x94c5f40, _t1=0x9744ee8) at ./idocumentcontroller.moc:279 #16 0xb75b19b2 in KDevelop::IDocument::notifyLoaded (this=0x9744ee8) at ../../interfaces/idocument.cpp:119 #17 0xb751ad91 in slotDocumentLoaded (this=0x9744ed8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe2eee8) at ../../shell/textdocument.cpp:174 #18 KDevelop::TextDocument::qt_metacall (this=0x9744ed8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe2eee8) at ./textdocument.moc:94 #19 0xb6f408ca in QMetaObject::metacall (object=0x9744ed8, cl=3219319612, idx=15, argv=0xbfe2eee8) at kernel/qmetaobject.cpp:237 #20 0xb6f536ad in QMetaObject::activate (sender=0x9ac6ef8, m=0xb749bd84, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3280 #21 0xb7483143 in KTextEditor::Document::textChanged (this=0x9ac6ef8, _t1=0x9ac6ef8) at ./document.moc:180 #22 0xaa3dbe8c in KateDocument::openFile (this=0x9ac6ef8) at ../../kate/document/katedocument.cpp:2024 #23 0xb5e4e414 in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x9b00b98) at ../../kparts/part.cpp:592 #24 0xb5e4ee4a in KParts::ReadOnlyPart::openUrl (this=0x9ac6ef8, url=...) at ../../kparts/part.cpp:556 #25 0xb7519d13 in KDevelop::TextDocument::createViewWidget (this=0x9744ed8, parent=0x9859dc0) at ../../shell/textdocument.cpp:261 #26 0xb75192be in KDevelop::TextView::createWidget (this=0x9ab6ae8, parent=0x9859dc0) at ../../shell/textdocument.cpp:532 #27 0xb5258997 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1 #28 0xb5251b2a in ?? () from /usr/lib/libsublime.so.1 #29 0xb5257c39 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1 #30 0xb5255787 in ?? () from /usr/lib/libsublime.so.1 #31 0xb524b00b in Sublime::MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsublime.so.1 #32 0xb74ece7a in KDevelop::MainWindow::qt_metacall (this=0x94755e8, _c=QMetaObject::InvokeMetaMethod, _id=62, _a=0xbfe2f704) at ./mainwindow.moc:90 #33 0xb6f408ca in QMetaObject::metacall (object=0x94755e8, cl=3219319612, idx=62, argv=0xbfe2f704) at kernel/qmetaobject.cpp:237 #34 0xb6f536ad in QMetaObject::activate (sender=0x94798f0, m=0xb526f400, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280 #35 0xb523b869 in Sublime::Area::viewAdded(Sublime::AreaIndex*, Sublime::View*) () from /usr/lib/libsublime.so.1 #36 0xb523cafa in Sublime::Area::addView(Sublime::View*, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1 #37 0xb523cc0e in Sublime::Area::addView(Sublime::View*, Sublime::View*) () from /usr/lib/libsublime.so.1 #38 0xb752167a in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x94798f0, doc=0x9744ee8, range=..., activationParams=...) at ../../shell/documentcontroller.cpp:352 #39 0xb7521eb4 in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x94bae00, inputUrl=..., prefName=..., range=..., encoding=..., activationParams=...) at ../../shell/documentcontroller.cpp:280 #40 0xb75232c9 in KDevelop::DocumentControllerPrivate::chooseDocument (this=0x94bae00) at ../../shell/documentcontroller.cpp:127 #41 0xb751fdb6 in KDevelop::DocumentController::qt_metacall (this=0x94c5f40, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfe2fd88) at ./documentcontroller.moc:128 #42 0xb6f408ca in QMetaObject::metacall (object=0x94c5f40, cl=3219319612, idx=52, argv=0xbfe2fd88) at kernel/qmetaobject.cpp:237 #43 0xb6f536ad in QMetaObject::activate (sender=0x94c5f50, m=0xb6db8370, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3280 #44 0xb6431f99 in QAction::triggered (this=0x94c5f50, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #45 0xb64338dc in QAction::activate (this=0x94c5f50, event=QAction::Trigger) at kernel/qaction.cpp:1256 #46 0xb68ff7ef in QMenuPrivate::activateCausedStack (this=0x9544a10, causedStack=..., action=0x94c5f50, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993 #47 0xb6905a4b in QMenuPrivate::activateAction (this=0x9544a10, action=0x94c5f50, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085 #48 0xb69065e0 in QMenu::mouseReleaseEvent (this=0x954aed8, e=0xbfe30630) at widgets/qmenu.cpp:2301 #49 0xb736a9a5 in KMenu::mouseReleaseEvent (this=0x954aed8, e=0xbfe30630) at ../../kdeui/widgets/kmenu.cpp:458 #50 0xb6497e08 in QWidget::event (this=0x954aed8, event=0xbfe30630) at kernel/qwidget.cpp:8187 #51 0xb690802f in QMenu::event (this=0x954aed8, e=0xbfe30630) at widgets/qmenu.cpp:2410 #52 0xb6439fdc in QApplicationPrivate::notify_helper (this=0x93a38d0, receiver=0x954aed8, e=0xbfe30630) at kernel/qapplication.cpp:4396 #53 0xb6440c2e in QApplication::notify (this=0xbfe30f90, receiver=0x954aed8, e=0xbfe30630) at kernel/qapplication.cpp:3959 #54 0xb727982a in KApplication::notify (this=0xbfe30f90, receiver=0x954aed8, event=0xbfe30630) at ../../kdeui/kernel/kapplication.cpp:311 #55 0xb6f3ab3b in QCoreApplication::notifyInternal (this=0xbfe30f90, receiver=0x954aed8, event=0xbfe30630) at kernel/qcoreapplication.cpp:732 #56 0xb643f094 in sendEvent (receiver=0x954aed8, event=0xbfe30630, alienWidget=0x0, nativeWidget=0x954aed8, buttonDown=0xb6dd43c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #57 QApplicationPrivate::sendMouseEvent (receiver=0x954aed8, event=0xbfe30630, alienWidget=0x0, nativeWidget=0x954aed8, buttonDown=0xb6dd43c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058 #58 0xb64ce261 in QETWidget::translateMouseEvent (this=0x954aed8, event=0xbfe30b4c) at kernel/qapplication_x11.cpp:4337 #59 0xb64cd151 in QApplication::x11ProcessEvent (this=0xbfe30f90, event=0xbfe30b4c) at kernel/qapplication_x11.cpp:3414 #60 0xb64fc36a in x11EventSourceDispatch (s=0x93a6620, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #61 0xb4e68855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #62 0xb4e6c668 in ?? () from /lib/libglib-2.0.so.0 #63 0xb4e6c848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #64 0xb6f69565 in QEventDispatcherGlib::processEvents (this=0x9338e70, flags=...) at kernel/qeventdispatcher_glib.cpp:415 #65 0xb64fbbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9338e70, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #66 0xb6f39609 in QEventLoop::processEvents (this=0xbfe30e44, flags=) at kernel/qeventloop.cpp:149 #67 0xb6f39a8a in QEventLoop::exec (this=0xbfe30e44, flags=...) at kernel/qeventloop.cpp:201 #68 0xb6f3e00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #69 0xb6438e07 in QApplication::exec () at kernel/qapplication.cpp:3672 #70 0x0804fe00 in _start () This bug may be a duplicate of or related to bug 204648. Possible duplicates by query: bug 266915, bug 262806. Reported using DrKonqi
please update to kdevelop 4.2, this bug is fixed there. also note that 4.0.x is very outdated and contains lots of known and fixed bugs, i.e. again: you should update *** This bug has been marked as a duplicate of bug 204648 ***