Application: kdevelop (3.10.2 (using KDevPlatform 0.10.2)) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-generic i686 Distribution: Ubuntu 10.04 LTS -- Information about the crash: Once I click the link "Show Document" in the popup window, Kdevelop would crash. This didn't happen in the first few days when I upgraded Kdevelop to 3.10.2, so I guess maybe it's related to configuration files, I used to have a try with a clean configuration, but it still crashed. Now I made a fresh install of Kubuntu Lucid, I haven't try clean configuration this time for I need some information in my current configuration. The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop.bin), signal: Segmentation fault [Current thread is 1 (Thread 0xb76f5710 (LWP 5201))] Thread 8 (Thread 0xb4685b70 (LWP 5202)): #0 0x0015b422 in __kernel_vsyscall () #1 0x0013c342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179 #2 0x00e659f4 in __pthread_cond_timedwait (cond=0xa116b58, mutex=0xa116b40, abstime=0xb46852b0) at forward.c:152 #3 0x0078720f in QWaitConditionPrivate::wait (this=0xadf063c, mutex=0xadf0640, time=200000) at thread/qwaitcondition_unix.cpp:85 #4 QWaitCondition::wait (this=0xadf063c, mutex=0xadf0640, time=200000) at thread/qwaitcondition_unix.cpp:159 #5 0x0217a0e5 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xadf0630) at ../../language/duchain/duchain.cpp:286 #6 0x0078632e in QThreadPrivate::start (arg=0xadf0630) at thread/qthread_unix.cpp:248 #7 0x0013796e in start_thread (arg=0xb4685b70) at pthread_create.c:300 #8 0x00e58a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 7 (Thread 0xb0749b70 (LWP 5210)): #0 0x04776e18 in *__GI_clock_gettime (clock_id=1, tp=0xb0748fb8) at ../sysdeps/unix/clock_gettime.c:100 #1 0x008b16fb in qt_gettime () at kernel/qcore_unix.cpp:111 #2 0x008b6825 in QTimerInfoList::updateCurrentTime (this=0xa41c09c) at kernel/qeventdispatcher_unix.cpp:340 #3 0x008b686a in QTimerInfoList::timerWait (this=0xa41c09c, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #4 0x008b4818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb07490cc) at kernel/qeventdispatcher_glib.cpp:136 #5 0x008b48a5 in timerSourcePrepare (source=0x0, timeout=0x1) at kernel/qeventdispatcher_glib.cpp:169 #6 0x05d5aaca in g_main_context_prepare () from /lib/libglib-2.0.so.0 #7 0x05d5aee9 in ?? () from /lib/libglib-2.0.so.0 #8 0x05d5b4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #9 0x008b460f in QEventDispatcherGlib::processEvents (this=0xa41ee80, flags=...) at kernel/qeventdispatcher_glib.cpp:414 #10 0x00887059 in QEventLoop::processEvents (this=0xb0749290, flags=) at kernel/qeventloop.cpp:149 #11 0x008874aa in QEventLoop::exec (this=0xb0749290, flags=...) at kernel/qeventloop.cpp:201 #12 0x007835a8 in QThread::exec (this=0xa41a268) at thread/qthread.cpp:487 #13 0x00866c1b in QInotifyFileSystemWatcherEngine::run (this=0xa41a268) at io/qfilesystemwatcher_inotify.cpp:248 #14 0x0078632e in QThreadPrivate::start (arg=0xa41a268) at thread/qthread_unix.cpp:248 #15 0x0013796e in start_thread (arg=0xb0749b70) at pthread_create.c:300 #16 0x00e58a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 6 (Thread 0xaff48b70 (LWP 5212)): #0 __pthread_mutex_unlock (mutex=0xa2b00fc) at pthread_mutex_unlock.c:290 #1 0x00e65ba6 in pthread_mutex_unlock (mutex=0xa2b00fc) at forward.c:184 #2 0x05d5aab8 in g_main_context_prepare () from /lib/libglib-2.0.so.0 #3 0x05d5aee9 in ?? () from /lib/libglib-2.0.so.0 #4 0x05d5b4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0x008b460f in QEventDispatcherGlib::processEvents (this=0xad11438, flags=...) at kernel/qeventdispatcher_glib.cpp:414 #6 0x00887059 in QEventLoop::processEvents (this=0xaff482c0, flags=) at kernel/qeventloop.cpp:149 #7 0x008874aa in QEventLoop::exec (this=0xaff482c0, flags=...) at kernel/qeventloop.cpp:201 #8 0x007835a8 in QThread::exec (this=0xad333028) at thread/qthread.cpp:487 #9 0x022730f0 in KDevelop::CompletionWorkerThread::run (this=0xad333028) at ../../language/codecompletion/codecompletionmodel.cpp:82 #10 0x0078632e in QThreadPrivate::start (arg=0xad333028) at thread/qthread_unix.cpp:248 #11 0x0013796e in start_thread (arg=0xaff48b70) at pthread_create.c:300 #12 0x00e58a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 5 (Thread 0xac9fcb70 (LWP 5213)): #0 0x05d5a999 in g_main_context_prepare () from /lib/libglib-2.0.so.0 #1 0x05d5aee9 in ?? () from /lib/libglib-2.0.so.0 #2 0x05d5b4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x008b460f in QEventDispatcherGlib::processEvents (this=0xa3f7f50, flags=...) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00887059 in QEventLoop::processEvents (this=0xac9fc2c0, flags=) at kernel/qeventloop.cpp:149 #5 0x008874aa in QEventLoop::exec (this=0xac9fc2c0, flags=...) at kernel/qeventloop.cpp:201 #6 0x007835a8 in QThread::exec (this=0xad339418) at thread/qthread.cpp:487 #7 0x022730f0 in KDevelop::CompletionWorkerThread::run (this=0xad339418) at ../../language/codecompletion/codecompletionmodel.cpp:82 #8 0x0078632e in QThreadPrivate::start (arg=0xad339418) at thread/qthread_unix.cpp:248 #9 0x0013796e in start_thread (arg=0xac9fcb70) at pthread_create.c:300 #10 0x00e58a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 4 (Thread 0xac1f7b70 (LWP 5214)): #0 0x0015b422 in __kernel_vsyscall () #1 0x0013c342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179 #2 0x00e659f4 in __pthread_cond_timedwait (cond=0xac1f7224, mutex=0xac1f7254, abstime=0xac1f72a0) at forward.c:152 #3 0x00785c1e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398 #4 0x00785d73 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:424 #5 0x03c9e31b in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so #6 0x0078632e in QThreadPrivate::start (arg=0xaa56218) at thread/qthread_unix.cpp:248 #7 0x0013796e in start_thread (arg=0xac1f7b70) at pthread_create.c:300 #8 0x00e58a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 0xab93eb70 (LWP 5223)): #0 0x0015b422 in __kernel_vsyscall () #1 0x0013c015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x00e6599d in __pthread_cond_wait (cond=0xa2cf890, mutex=0xa2cf878) at forward.c:139 #3 0x00787287 in QWaitConditionPrivate::wait (this=0xa2cf798, mutex=0xa2ceb70, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 QWaitCondition::wait (this=0xa2cf798, mutex=0xa2ceb70, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #5 0x035db870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa2cf780, th=0xaff1308) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #6 0x035de38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa2d1a70, th=0xaff1308) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80 #7 0x035da27b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa2cf780, th=0xaff1308) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356 #8 0x035de482 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa2d1a70, th=0xaff1308) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #9 0x035db4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2cf780, th=0xaff1308, previous=0xa9a62c78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #10 0x035dc51e in ThreadWeaver::ThreadRunHelper::run (this=0xab93e2f4, parent=0xa2cf780, th=0xaff1308) at ../../../threadweaver/Weaver/Thread.cpp:87 #11 0x035dcc3b in ThreadWeaver::Thread::run (this=0xaff1308) at ../../../threadweaver/Weaver/Thread.cpp:142 #12 0x0078632e in QThreadPrivate::start (arg=0xaff1308) at thread/qthread_unix.cpp:248 #13 0x0013796e in start_thread (arg=0xab93eb70) at pthread_create.c:300 #14 0x00e58a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xab13db70 (LWP 5224)): #0 0x0015b422 in __kernel_vsyscall () #1 0x0013c015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x00e6599d in __pthread_cond_wait (cond=0xa2cf890, mutex=0xa2cf878) at forward.c:139 #3 0x00787287 in QWaitConditionPrivate::wait (this=0xa2cf798, mutex=0xa2ceb70, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 QWaitCondition::wait (this=0xa2cf798, mutex=0xa2ceb70, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #5 0x035db870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa2cf780, th=0xaf4abf00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #6 0x035de38c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa2d1a70, th=0xaf4abf00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80 #7 0x035da27b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa2cf780, th=0xaf4abf00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356 #8 0x035de482 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa2d1a70, th=0xaf4abf00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #9 0x035db4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2cf780, th=0xaf4abf00, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #10 0x035de4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa2d1a70, th=0xaf4abf00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #11 0x035db4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2cf780, th=0xaf4abf00, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #12 0x035de4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa2d1a70, th=0xaf4abf00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #13 0x035db4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2cf780, th=0xaf4abf00, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #14 0x035de4a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa2d1a70, th=0xaf4abf00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #15 0x035db4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa2cf780, th=0xaf4abf00, previous=0xa6dacf08) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351 #16 0x035dc51e in ThreadWeaver::ThreadRunHelper::run (this=0xab13d2f4, parent=0xa2cf780, th=0xaf4abf00) at ../../../threadweaver/Weaver/Thread.cpp:87 #17 0x035dcc3b in ThreadWeaver::Thread::run (this=0xaf4abf00) at ../../../threadweaver/Weaver/Thread.cpp:142 #18 0x0078632e in QThreadPrivate::start (arg=0xaf4abf00) at thread/qthread_unix.cpp:248 #19 0x0013796e in start_thread (arg=0xab13db70) at pthread_create.c:300 #20 0x00e58a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb76f5710 (LWP 5201)): [KCrash Handler] #6 QListData::isEmpty (this=0x0, doc=...) at /usr/include/qt4/QtCore/qlist.h:91 #7 QList<KSharedPtr<KDevelop::IDocumentation> >::isEmpty (this=0x0, doc=...) at /usr/include/qt4/QtCore/qlist.h:134 #8 DocumentationView::addHistory (this=0x0, doc=...) at ../../shell/documentationview.cpp:177 #9 0x0020f877 in DocumentationView::showDocumentation (this=0x0, doc=) at ../../shell/documentationview.cpp:171 #10 0x0020e889 in KDevelop::DocumentationController::showDocumentation (this=0xa2dff00, doc=...) at ../../shell/documentationcontroller.cpp:148 #11 0x02248e4d in KDevelop::AbstractNavigationContext::execute (this=0xc2fa220, action=...) at ../../language/duchain/navigation/abstractnavigationcontext.cpp:199 #12 0x0224ada1 in KDevelop::AbstractNavigationContext::acceptLink (this=0xc2fa220, link=...) at ../../language/duchain/navigation/abstractnavigationcontext.cpp:354 #13 0x02247ed4 in KDevelop::AbstractNavigationWidget::anchorClicked (this=0xcecc2f8, url=...) at ../../language/duchain/navigation/abstractnavigationwidget.cpp:201 #14 0x0224818d in KDevelop::AbstractNavigationWidget::qt_metacall (this=0xcecc2f8, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0xbf8ec1c8) at ./abstractnavigationwidget.moc:115 #15 0x066fd762 in Cpp::NavigationWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdev4cppduchain.so.3.10.2 #16 0x0088dc9a in QMetaObject::metacall (object=0xcecc2f8, cl=QMetaObject::InvokeMetaMethod, idx=42, argv=0xbf8ec1c8) at kernel/qmetaobject.cpp:237 #17 0x0089c3d5 in QMetaObject::activate (sender=0xc76f9e8, m=0x19cc5ec, local_signal_index=6, argv=0xbf8ec1c8) at kernel/qobject.cpp:3293 #18 0x0157b963 in QTextBrowser::anchorClicked (this=0xc76f9e8, _t1=...) at .moc/release-shared/moc_qtextbrowser.cpp:203 #19 0x0157c527 in QTextBrowserPrivate::_q_activateAnchor (this=0xe336630, href=...) at widgets/qtextbrowser.cpp:211 #20 0x0157e310 in QTextBrowser::qt_metacall (this=0xc76f9e8, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbf8ec3b8) at .moc/release-shared/moc_qtextbrowser.cpp:116 #21 0x005576aa in KTextBrowser::qt_metacall (this=0xc76f9e8, _c=QMetaObject::InvokeMetaMethod, _id=87, _a=0xbf8ec3b8) at ./ktextbrowser.moc:73 #22 0x0088dc9a in QMetaObject::metacall (object=0xc76f9e8, cl=QMetaObject::InvokeMetaMethod, idx=87, argv=0xbf8ec3b8) at kernel/qmetaobject.cpp:237 #23 0x0089c3d5 in QMetaObject::activate (sender=0xac14fa8, m=0x19c81e8, local_signal_index=13, argv=0xbf8ec3b8) at kernel/qobject.cpp:3293 #24 0x0130aad3 in QTextControl::linkActivated (this=0xac14fa8, _t1=...) at .moc/release-shared/moc_qtextcontrol_p.cpp:320 #25 0x01313745 in QTextControlPrivate::activateLinkUnderCursor (this=0xcc594d0, href=...) at text/qtextcontrol.cpp:2616 #26 0x013148cf in QTextControlPrivate::mouseReleaseEvent (this=0xcc594d0, button=<value optimized out>, pos=...) at text/qtextcontrol.cpp:1705 #27 0x01317c72 in QTextControl::processEvent (this=0xac14fa8, e=0xbf8ecf10, matrix=..., contextWidget=0xbacdfa0) at text/qtextcontrol.cpp:931 #28 0x0130cf00 in QTextControl::processEvent (this=0xac14fa8, e=0xbf8ecf10, coordinateOffset=..., contextWidget=0xbacdfa0) at text/qtextcontrol.cpp:880 #29 0x0157a3d8 in QTextEditPrivate::sendControlEvent (this=0xc76f9e8, e=0xbf8ecf10) at widgets/qtextedit_p.h:99 #30 QTextEdit::mouseReleaseEvent (this=0xc76f9e8, e=0xbf8ecf10) at widgets/qtextedit.cpp:1578 #31 0x0157bec4 in QTextBrowser::mouseReleaseEvent (this=0xc76f9e8, e=0xbf8ecf10) at widgets/qtextbrowser.cpp:1012 #32 0x010fa7f8 in QWidget::event (this=0xc76f9e8, event=0xbf8ecf10) at kernel/qwidget.cpp:7998 #33 0x014f6fd3 in QFrame::event (this=0xc76f9e8, e=0xbf8ecf10) at widgets/qframe.cpp:557 #34 0x01591382 in QAbstractScrollArea::viewportEvent (this=0x0, e=0x0) at widgets/qabstractscrollarea.cpp:1036 #35 0x01593c65 in QAbstractScrollAreaPrivate::viewportEvent (this=0xb5ad500, o=0xbacdfa0, e=0xbf8ecf10) at widgets/qabstractscrollarea_p.h:100 #36 QAbstractScrollAreaFilter::eventFilter (this=0xb5ad500, o=0xbacdfa0, e=0xbf8ecf10) at widgets/qabstractscrollarea_p.h:116 #37 0x00887cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9fa06f0, receiver=0xbacdfa0, event=0xbf8ecf10) at kernel/qcoreapplication.cpp:819 #38 0x0109c4b9 in QApplicationPrivate::notify_helper (this=0x9fa06f0, receiver=0xbacdfa0, e=0xbf8ecf10) at kernel/qapplication.cpp:4296 #39 0x010a39f7 in QApplication::notify (this=0xbf8ed868, receiver=0xbacdfa0, e=0xbf8ecf10) at kernel/qapplication.cpp:3865 #40 0x0043af2a in KApplication::notify (this=0xbf8ed868, receiver=0xbacdfa0, event=0xbf8ecf10) at ../../kdeui/kernel/kapplication.cpp:302 #41 0x00888a3b in QCoreApplication::notifyInternal (this=0xbf8ed868, receiver=0xbacdfa0, event=0xbf8ecf10) at kernel/qcoreapplication.cpp:704 #42 0x010a2952 in QCoreApplication::sendEvent (receiver=0xbacdfa0, event=0xbf8ecf10, alienWidget=0xbacdfa0, nativeWidget=0xac52ff8, buttonDown=0x19e0058, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #43 QApplicationPrivate::sendMouseEvent (receiver=0xbacdfa0, event=0xbf8ecf10, alienWidget=0xbacdfa0, nativeWidget=0xac52ff8, buttonDown=0x19e0058, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2965 #44 0x0112e088 in QETWidget::translateMouseEvent (this=0xac52ff8, event=0xbf8ed42c) at kernel/qapplication_x11.cpp:4368 #45 0x0112d511 in QApplication::x11ProcessEvent (this=0xbf8ed868, event=0xbf8ed42c) at kernel/qapplication_x11.cpp:3379 #46 0x0115c60a in x11EventSourceDispatch (s=0xae20d18, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #47 0x05d575e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #48 0x05d5b2d8 in ?? () from /lib/libglib-2.0.so.0 #49 0x05d5b4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #50 0x008b45d5 in QEventDispatcherGlib::processEvents (this=0x9f6d6f8, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #51 0x0115c135 in QGuiEventDispatcherGlib::processEvents (this=0x9f6d6f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #52 0x00887059 in QEventLoop::processEvents (this=0xbf8ed724, flags=) at kernel/qeventloop.cpp:149 #53 0x008874aa in QEventLoop::exec (this=0xbf8ed724, flags=...) at kernel/qeventloop.cpp:201 #54 0x0088b69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #55 0x0109c577 in QApplication::exec () at kernel/qapplication.cpp:3579 #56 0x08050023 in _start () Reported using DrKonqi
Do you have the "Documentation" toolview on the right side? It does look as if somethings wrong with your installation as we're trying to dynamic-cast the widget from the toolview to DocumentationView and that seems to fail in your case. Please try to delete all installed files and buildfolders for kdevelop+kdevplatform and then rebuild and reinstall.
(In reply to comment #1) > Do you have the "Documentation" toolview on the right side? It does look as if > somethings wrong with your installation as we're trying to dynamic-cast the > widget from the toolview to DocumentationView and that seems to fail in your > case. Please try to delete all installed files and buildfolders for > kdevelop+kdevplatform and then rebuild and reinstall. I installed kdevelop from Kubuntu's offical repo. Reinstallation doesn't work. I can see the Documentation toolview, I can browse doc categories, but once I click to show one of the docs, kdevelop crashes.
I think it's kubuntu's fault, since debian package is ok. Please close this bug.
OP says this is a problem with ubuntu only
*** Bug 245203 has been marked as a duplicate of this bug. ***
*** Bug 256488 has been marked as a duplicate of this bug. ***