Bug 234872

Summary: KDevelop Crashed while opening cpp file
Product: [Applications] kdevelop Reporter: Pietro <pxpert>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pietro 2010-04-20 10:43:18 UTC
Application: kdevelop (3.9.99 (using KDevPlatform 0.9.99))
KDE Platform Version: 4.4.1 (KDE 4.4.1) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
KDevelop Suddenly crashed while I was opening a source file.
This thing seems to happen randomly.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Aborted
[Current thread is 1 (Thread 0x7fcab9207740 (LWP 10046))]

Thread 9 (Thread 0x7fcaa68b3910 (LWP 10047)):
#0  0x00007fcab593c3fd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcab5bc41e5 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fcab28e96c3 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1183e70) at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/language/duchain/duchain.cpp:286
#3  0x00007fcab5bc33e1 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fcab5938287 in start_thread () from /lib/libpthread.so.0
#5  0x00007fcab40ab8cd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fca99da6910 (LWP 10208)):
#0  0x00007fcab40a2896 in poll () from /lib/libc.so.6
#1  0x00007fcaaf1480bb in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007fcaaf1482ce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fcab5cc8c6b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fcab5ca1f94 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fcab5ca22df in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fcab5bc0def in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fcab5bc33e1 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fcab5938287 in start_thread () from /lib/libpthread.so.0
#9  0x00007fcab40ab8cd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 7 (Thread 0x7fca9a5a7910 (LWP 10209)):
#0  0x00007fcab593b3c1 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00007fcaaf147e3f in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007fcaaf1482ce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fcab5cc8c6b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fcab5ca1f94 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fcab5ca22df in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fcab5bc0def in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fcab5bc33e1 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fcab5938287 in start_thread () from /lib/libpthread.so.0
#9  0x00007fcab40ab8cd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fca97186910 (LWP 10210)):
#0  0x00007fcab593c3fd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcab5bc2dbf in thread_sleep(timespec*) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fcab5bc2f7a in QThread::msleep(unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fca97a3869a in UIBlockTester::UIBlockTesterThread::run (this=0x7fca9000fd80) at /var/tmp/portage/dev-util/kdevelop-3.9.99/work/kdevelop-3.9.99/languages/cpp/cpplanguagesupport.cpp:672
#4  0x00007fcab5bc33e1 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fcab5938287 in start_thread () from /lib/libpthread.so.0
#6  0x00007fcab40ab8cd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fca966cc910 (LWP 10237)):
#0  0x00007fcab593c179 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcab34981fa in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007fcab349822f in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007fcab5938287 in start_thread () from /lib/libpthread.so.0
#4  0x00007fcab40ab8cd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fca94a4d910 (LWP 10319)):
#0  0x00007fcab593c179 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcab5bc4207 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fcab76af2cf in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fcab76b1420 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fcab76afddc in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fcab76b0141 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fcab5bc33e1 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fcab5938287 in start_thread () from /lib/libpthread.so.0
#8  0x00007fcab40ab8cd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fca8ffff910 (LWP 10320)):
#0  0x00007fcab593c179 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fcab5bc4207 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fcab76af2cf in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fcab76b1420 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fcab76b1439 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fcab76b1439 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fcab76afddc in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#7  0x00007fcab76b0141 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007fcab5bc33e1 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fcab5938287 in start_thread () from /lib/libpthread.so.0
#10 0x00007fcab40ab8cd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fca9ffff910 (LWP 23039)):
#0  0x00007fcab593c179 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fca9dc8f562 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fca9dc8f597 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007fcab5938287 in start_thread () from /lib/libpthread.so.0
#4  0x00007fcab40ab8cd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcab9207740 (LWP 10046)):
[KCrash Handler]
#5  0x00007fcab400d315 in raise () from /lib/libc.so.6
#6  0x00007fcab400e811 in abort () from /lib/libc.so.6
#7  0x00007fcab5bbc275 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fcab5bbc3d6 in qt_message(QtMsgType, char const*, __va_list_tag*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fcab5bbc561 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fcab28d32ea in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x5fb6680)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/language/duchain/duchain.cpp:1535
#11 0x00007fcab28d48a8 in KDevelop::DUChain::qt_metacall (this=0x1184bd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7b6d3ff0)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99_build/language/duchain.moc:168
#12 0x00007fcab5cb49d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fcab89b0e6a in KDevelop::IDocumentController::documentLoadedPrepare (this=0x273e, _t1=0x5fb6680)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99_build/interfaces/idocumentcontroller.moc:279
#14 0x00007fcab89af1a2 in KDevelop::IDocument::notifyLoaded (this=0x5fb6680) at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/interfaces/idocument.cpp:119
#15 0x00007fcab86eb15d in KDevelop::TextDocument::qt_metacall (this=0x5fb6660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7b6d4130)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99_build/shell/textdocument.moc:94
#16 0x00007fcab5cb49d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007fcab78db08c in KTextEditor::Document::textChanged(KTextEditor::Document*) () from /usr/lib64/libktexteditor.so.4
#18 0x00007fca95a42372 in KateDocument::openFile() () from /usr/lib64/kde4/katepart.so
#19 0x00007fcab7d2ceec in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib64/libkparts.so.4
#20 0x00007fcab86eccf4 in KDevelop::TextDocument::createViewWidget (this=0x5fb6660, parent=0xa948cb0)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/shell/textdocument.cpp:260
#21 0x00007fcab86ebb68 in KDevelop::TextView::createWidget (this=0xa753650, parent=0xa948cb0) at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/shell/textdocument.cpp:522
#22 0x00007fcab25f9023 in Sublime::View::widget (this=0x273e, parent=0x273e) at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/sublime/view.cpp:82
#23 0x00007fcab25f47f4 in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0x7fff7b6d4c80, index=0x1013640)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/sublime/mainwindow_p.cpp:246
#24 0x00007fcab25f85a2 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) ()
   from /usr/lib64/libsublime.so.1
#25 0x00007fcab25f4bb7 in Sublime::MainWindowPrivate::viewAdded (this=0x1002a50, index=0x1013640, view=0xa753650)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/sublime/mainwindow_p.cpp:399
#26 0x00007fcab25efd2c in Sublime::MainWindow::qt_metacall (this=0xfb5910, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7b6d4e00)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99_build/sublime/mainwindow.moc:123
#27 0x00007fcab86cba99 in KDevelop::MainWindow::qt_metacall (this=0x273e, _c=10046, _id=6, _a=0xffffffffffffffff)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99_build/shell/mainwindow.moc:89
#28 0x00007fcab5cb49d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007fcab25e3b18 in Sublime::Area::viewAdded (this=0x273e, _t1=0x1013640, _t2=0xa753650) at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99_build/sublime/area.moc:115
#30 0x00007fcab25e524e in Sublime::Area::addView (this=0x1015a40, view=0xa753650, index=0x1013640) at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/sublime/area.cpp:169
#31 0x00007fcab86f1b1f in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x10ac2e0, doc=0x5fb6680, range=..., activationParams=...)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/shell/documentcontroller.cpp:352
#32 0x00007fcab86f223d in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x10ac2e0, inputUrl=<value optimized out>, prefName=..., range=..., encoding=..., activationParams=...)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/shell/documentcontroller.cpp:280
#33 0x00007fcab86edc91 in KDevelop::DocumentController::openDocument (this=0x10ac220, inputUrl=..., range=..., activationParams=<value optimized out>, encoding=...)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/shell/documentcontroller.cpp:548
#34 0x00007fca98b0a6a6 in ProjectManagerView::openUrl (this=<value optimized out>, url=...)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/plugins/projectmanagerview/projectmanagerview.cpp:182
#35 0x00007fca98b0ad2e in ProjectManagerView::qt_metacall (this=0x495f870, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff7b6d5710)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99_build/plugins/projectmanagerview/projectmanagerview.moc:80
#36 0x00007fcab5cb49d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#37 0x00007fca98b0c6ce in ProjectTreeView::activateUrl (this=0x273e, _t1=<value optimized out>)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99_build/plugins/projectmanagerview/projecttreeview.moc:94
#38 0x00007fca98b0d37f in ProjectTreeView::slotActivated (this=0x496aa30, index=<value optimized out>)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99/plugins/projectmanagerview/projecttreeview.cpp:148
#39 0x00007fca98b0d401 in ProjectTreeView::qt_metacall (this=0x496aa30, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff7b6d5880)
    at /var/tmp/portage/dev-util/kdevplatform-0.9.99/work/kdevplatform-0.9.99_build/plugins/projectmanagerview/projecttreeview.moc:80
#40 0x00007fcab5cb49d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007fcab53867a5 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib64/qt4/libQtGui.so.4
#42 0x00007fcab53d249f in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#43 0x00007fcab4f2cbfc in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#44 0x00007fcab52821f6 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#45 0x00007fcab5394aa9 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#46 0x00007fcab53cd996 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#47 0x00007fcab5ca291a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#48 0x00007fcab4edf535 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#49 0x00007fcab4ee6ccd in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#50 0x00007fcab6442754 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#51 0x00007fcab5ca32d4 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#52 0x00007fcab4ee4ec2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#53 0x00007fcab4f5b98d in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#54 0x00007fcab4f5a8e5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#55 0x00007fcab4f80bea in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#56 0x00007fcaaf145053 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0x00007fcaaf14814c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#58 0x00007fcaaf1482ce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0x00007fcab5cc8c54 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#60 0x00007fcab4f80806 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#61 0x00007fcab5ca1f94 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#62 0x00007fcab5ca22df in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#63 0x00007fcab5ca42be in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#64 0x0000000000406ec8 in main (argc=1, argv=0x7fff7b6d8b28) at /var/tmp/portage/dev-util/kdevelop-3.9.99/work/kdevelop-3.9.99/app/main_internal.cpp:222

This bug may be a duplicate of or related to bug 216381.

Possible duplicates by query: bug 231873, bug 231255, bug 230418, bug 225121, bug 223804.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-04-20 11:03:56 UTC

*** This bug has been marked as a duplicate of bug 204648 ***