Bug 221634

Summary: KDevelop Crashes on startup after crashing when refactoring a class
Product: [Applications] kdevelop Reporter: Blackpaw <lindsay.mathieson>
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 Blackpaw 2010-01-07 12:51:37 UTC
Application: kdevelop (3.9.97 (using KDevPlatform 0.9.97))
KDE Platform Version: 4.4.59 (KDE 4.4.59 (KDE 4.5 >= 20100107)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.31-17-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Had a simple KDE project loaded and kdevelop crashed when I tried to rename a class member using the context menu.

Since then KDevelop always crashes on startup, presumably when trying to load the project.

The crash can be reproduced every time.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0x7f7df3745750 (LWP 6057))]

Thread 4 (Thread 0x7f7ddeb11910 (LWP 6058)):
#0  0x00007f7df00c982d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f7df0378801 in QWaitConditionPrivate::wait (this=0x1ee5190, time=200000) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:85
#2  0x00007f7df03785c5 in QWaitCondition::wait (this=0x1ef0588, mutex=0x1ef0590, time=200000) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:159
#3  0x00007f7dec0785ae in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1ef0570) at /home/kdetest/kdesvn/kdevplatform/language/duchain/duchain.cpp:286
#4  0x00007f7df03771d5 in QThreadPrivate::start (arg=0x1ef0570) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:244
#5  0x00007f7df00c4a04 in start_thread () from /lib/libpthread.so.0
#6  0x00007f7dede657bd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7ddd5f7910 (LWP 6059)):
[KCrash Handler]
#5  0x00007f7deddb94b5 in raise () from /lib/libc.so.6
#6  0x00007f7deddbcf50 in abort () from /lib/libc.so.6
#7  0x00007f7deddf1c97 in ?? () from /lib/libc.so.6
#8  0x00007f7deddfbdd6 in ?? () from /lib/libc.so.6
#9  0x00007f7df0439b73 in QScopedPointerDeleter<QTextStreamPrivate>::cleanup (pointer=0x2a1bab0) at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qscopedpointer.h:62
#10 0x00007f7df04399b3 in ~QScopedPointer (this=0x2a1bbb8, __in_chrg=<value optimized out>) at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qscopedpointer.h:100
#11 0x00007f7df04340dc in ~QTextStream (this=0x2a1bbb0, __in_chrg=<value optimized out>) at /home/kdetest/kdesvn/qt-copy/src/corelib/io/qtextstream.cpp:1146
#12 0x00007f7ddda7127e in ~Stream (this=0x7f7ddd5f0640, __in_chrg=<value optimized out>) at /home/kdetest/qt4/include/QtCore/qdebug.h:64
#13 ~QDebug (this=0x7f7ddd5f0640, __in_chrg=<value optimized out>) at /home/kdetest/qt4/include/QtCore/qdebug.h:88
#14 0x00007f7dddab6b1d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1184
#15 0x00007f7ddda9d76c in CMakeProjectVisitor::walk (this=0x7f7ddd5f6340, fc=..., line=20, isClean=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#16 0x00007f7dddab5ac8 in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#17 0x00007f7ddda9d76c in CMakeProjectVisitor::walk (this=0x7f7ddd5f6340, fc=..., line=1, isClean=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#18 0x00007f7dddab2265 in CMakeProjectVisitor::visit (this=0x7f7ddd5f6340, call=0x25aa8b0) at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1074
#19 0x00007f7ddda9d76c in CMakeProjectVisitor::walk (this=0x7f7ddd5f6340, fc=..., line=322, isClean=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#20 0x00007f7dddab5ac8 in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#21 0x00007f7ddda9d76c in CMakeProjectVisitor::walk (this=0x7f7ddd5f6340, fc=..., line=102, isClean=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#22 0x00007f7dddab3e8f in CMakeProjectVisitor::visit (this=0x7f7ddd5f6340, pack=0x293c860) at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#23 0x00007f7ddda9d76c in CMakeProjectVisitor::walk (this=0x7f7ddd5f6340, fc=..., line=24, isClean=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#24 0x00007f7dddab5ac8 in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#25 0x00007f7ddda9d76c in CMakeProjectVisitor::walk (this=0x7f7ddd5f6340, fc=..., line=9, isClean=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#26 0x00007f7dddab3e8f in CMakeProjectVisitor::visit (this=0x7f7ddd5f6340, pack=0x255b800) at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#27 0x00007f7ddda9d76c in CMakeProjectVisitor::walk (this=0x7f7ddd5f6340, fc=..., line=37, isClean=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#28 0x00007f7dddab5ac8 in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#29 0x00007f7ddda9d76c in CMakeProjectVisitor::walk (this=0x7f7ddd5f6340, fc=..., line=29, isClean=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#30 0x00007f7dddab3e8f in CMakeProjectVisitor::visit (this=0x7f7ddd5f6340, pack=0x28707e0) at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#31 0x00007f7ddda9d76c in CMakeProjectVisitor::walk (this=0x7f7ddd5f6340, fc=..., line=1, isClean=<value optimized out>)
    at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#32 0x00007f7ddd842f82 in CMakeManager::parse (this=<value optimized out>, item=0x1f6a190) at /home/kdetest/kdesvn/kdevelop/projectmanagers/cmake/cmakemanager.cpp:405
#33 0x00007f7dec65ed81 in KDevelop::ImportProjectJobPrivate::import (this=0x2149eb0, folder=0x6) at /home/kdetest/kdesvn/kdevplatform/project/importprojectjob.cpp:53
#34 0x00007f7dec65ebf6 in QtConcurrent::RunFunctionTask<void>::run (this=0x214bdd0) at /home/kdetest/qt4/include/QtCore/qtconcurrentrunbase.h:120
#35 0x00007f7df036719d in QThreadPoolThread::run (this=0x214c180) at /home/kdetest/kdesvn/qt-copy/src/corelib/concurrent/qthreadpool.cpp:106
#36 0x00007f7df03771d5 in QThreadPrivate::start (arg=0x214c180) at /home/kdetest/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:244
#37 0x00007f7df00c4a04 in start_thread () from /lib/libpthread.so.0
#38 0x00007f7dede657bd in clone () from /lib/libc.so.6
#39 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7dd58af910 (LWP 6177)):
#0  0x00007f7df00c95a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f7decfa3c2f in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f7ded2f36c0) at /home/kdetest/kdesvn/qt-copy/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f7decfa327a in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f7ded2f36c0) at /home/kdetest/kdesvn/qt-copy/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f7df00c4a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007f7dede657bd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7df3745750 (LWP 6057)):
#0  0x00007f7dede59373 in poll () from /lib/libc.so.6
#1  0x00007f7de704129a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f7de70417d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f7de7041a85 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f7dea2aad4a in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f7dea2aae89 in _XReply () from /usr/lib/libX11.so.6
#6  0x00007f7dea288447 in XGetWindowProperty () from /usr/lib/libX11.so.6
#7  0x00007f7dea2891eb in XGetWMColormapWindows () from /usr/lib/libX11.so.6
#8  0x00007f7deee18fc3 in QWidgetPrivate::setParent_sys (this=0x2707a80, parent=0x2a18300, f=...) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qwidget_x11.cpp:1246
#9  0x00007f7deedbe9c9 in QWidget::setParent (this=0x270bfb0, parent=0x2a18300, f=...) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:9750
#10 0x00007f7deedbe6cf in QWidget::setParent (this=0x270bfb0, parent=0x2a18300) at /home/kdetest/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:9707
#11 0x00007f7debda509b in Sublime::IdealMainWidget::addView (this=0x26fe5f0, area=<value optimized out>, view=0x26aa640) at /home/kdetest/kdesvn/kdevplatform/sublime/ideal.cpp:592
#12 0x00007f7debd971c5 in Sublime::MainWindowPrivate::IdealToolViewCreator::operator() (this=0x7fffbc9af150, view=<value optimized out>, position=4294967295)
    at /home/kdetest/kdesvn/kdevplatform/sublime/mainwindow_p.cpp:190
#13 0x00007f7debd9d6cd in void Sublime::Area::walkToolViews<Sublime::MainWindowPrivate::IdealToolViewCreator>(Sublime::MainWindowPrivate::IdealToolViewCreator&, QFlags<Sublime::Position>) ()
   from /home/kdetest/kde/lib/libsublime.so.1
#14 0x00007f7debd9bb72 in Sublime::MainWindowPrivate::reconstruct (this=0x1bb9cf0) at /home/kdetest/kdesvn/kdevplatform/sublime/mainwindow_p.cpp:267
#15 0x00007f7debd937e0 in Sublime::MainWindow::setArea (this=0x1c73690, area=0x1c95b40) at /home/kdetest/kdesvn/kdevplatform/sublime/mainwindow.cpp:114
#16 0x00007f7debd917c8 in Sublime::Controller::showArea (this=0x1bd5e50, areaTypeId=..., mainWindow=0x1c73690) at /home/kdetest/kdesvn/kdevplatform/sublime/controller.cpp:163
#17 0x00007f7df2bfacf7 in KDevelop::UiController::loadAllAreas (this=0x1bd5e50, config=<value optimized out>) at /home/kdetest/kdesvn/kdevplatform/shell/uicontroller.cpp:537
#18 0x00007f7df2bf6b5c in KDevelop::CorePrivate::initialize (this=0x1bbcf00, mode=3164271984) at /home/kdetest/kdesvn/kdevplatform/shell/core.cpp:187
#19 0x00007f7df2bf7ccf in KDevelop::Core::initialize (splash=0x1b9d580, mode=KDevelop::Core::Default) at /home/kdetest/kdesvn/kdevplatform/shell/core.cpp:220
#20 0x0000000000405ccf in main (argc=<value optimized out>, argv=<value optimized out>) at /home/kdetest/kdesvn/kdevelop/app/main.cpp:164

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-01-07 13:59:39 UTC
Please update your libc or make your distribution aware of the libc bug mentioned in the original report, thanks.

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