Bug 308864

Summary: KDevelop crashes upon creating a new CMake Project
Product: [Applications] kdevelop Reporter: Alexander <morpheus>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.3.1   
Target Milestone: 4.3.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander 2012-10-23 11:25:11 UTC
Application: kdevelop (4.3.1)
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.11-2.16-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
Upon creating a new project KDevelop4 crashed when it asked for the CMake executable.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7facca2f7780 (LWP 14288))]

Thread 11 (Thread 0x7facb1e1e700 (LWP 14289)):
#0  0x00007facc71bec61 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007facc87b4237 in wait (time=1000, this=0x1b16650) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b17310, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007facc4912dcb in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1b172f0) at /usr/src/debug/kdevplatform-1.3.1/language/duchain/duchain.cpp:282
#4  0x00007facc87b3ddb in QThreadPrivate::start (arg=0x1b172f0) at thread/qthread_unix.cpp:298
#5  0x00007facc71bae0e in start_thread () from /lib64/libpthread.so.0
#6  0x00007facc74b32bd in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7faca1e06700 (LWP 14322)):
#0  0x00007facc71bcdc5 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007facc1f84471 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007facc1f47ec9 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007facc1f485ab in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007facc1f487a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007facc88db956 in QEventDispatcherGlib::processEvents (this=0x7fac94040670, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007facc88ac73f in QEventLoop::processEvents (this=this@entry=0x7faca1e05df0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007facc88ac9c8 in QEventLoop::exec (this=0x7faca1e05df0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007facc87b0e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007facc888d11f in QInotifyFileSystemWatcherEngine::run (this=0x2a85700) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007facc87b3ddb in QThreadPrivate::start (arg=0x2a85700) at thread/qthread_unix.cpp:298
#11 0x00007facc71bae0e in start_thread () from /lib64/libpthread.so.0
#12 0x00007facc74b32bd in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fac93fff700 (LWP 14366)):
#0  0x00007facc71be8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007facbeca9177 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007facbeca91a9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007facc71bae0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007facc74b32bd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7faca1605700 (LWP 14371)):
#0  0x00007fffc63ff65e in clock_gettime ()
#1  0x00007facc5cbaf7d in clock_gettime () from /lib64/librt.so.1
#2  0x00007facc8809a24 in do_gettime (frac=0x7faca1604bd8, sec=0x7faca1604bd0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007facc88dc15d in QTimerInfoList::updateCurrentTime (this=0x7fac98002590) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007facc88db3a5 in timerSourceCheckHelper (src=0x7fac98002530) at kernel/qeventdispatcher_glib.cpp:150
#6  timerSourceCheckHelper (src=0x7fac98002530) at kernel/qeventdispatcher_glib.cpp:144
#7  0x00007facc1f4819b in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#8  0x00007facc1f48622 in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007facc1f487a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007facc88db956 in QEventDispatcherGlib::processEvents (this=0x7fac980023f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007facc88ac73f in QEventLoop::processEvents (this=this@entry=0x7faca1604e20, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007facc88ac9c8 in QEventLoop::exec (this=0x7faca1604e20, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007facc87b0e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x00007facc87b3ddb in QThreadPrivate::start (arg=0x2c4da40) at thread/qthread_unix.cpp:298
#15 0x00007facc71bae0e in start_thread () from /lib64/libpthread.so.0
#16 0x00007facc74b32bd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fac4dc39700 (LWP 14465)):
#0  0x00007facc71be8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007facc87b42db in wait (time=18446744073709551615, this=0x34b0b50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x349fce0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007facbf680971 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007facbf6831bb in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007facbf68202f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007facbf6820bb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007facc87b3ddb in QThreadPrivate::start (arg=0x34ad090) at thread/qthread_unix.cpp:298
#8  0x00007facc71bae0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007facc74b32bd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fac47fff700 (LWP 14468)):
#0  0x00007facc74a71dd in read () from /lib64/libc.so.6
#1  0x00007facc1f8382f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007facc1f48209 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007facc1f48622 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007facc1f487a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007facc88db956 in QEventDispatcherGlib::processEvents (this=0x7fac3c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007facc88ac73f in QEventLoop::processEvents (this=this@entry=0x7fac47ffee20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007facc88ac9c8 in QEventLoop::exec (this=0x7fac47ffee20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007facc87b0e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007facc87b3ddb in QThreadPrivate::start (arg=0x32fabf0) at thread/qthread_unix.cpp:298
#10 0x00007facc71bae0e in start_thread () from /lib64/libpthread.so.0
#11 0x00007facc74b32bd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fac477fe700 (LWP 14469)):
#0  0x00007facc71bcdc5 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007facc1f84471 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007facc1f481a5 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007facc1f48622 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007facc1f487a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007facc88db956 in QEventDispatcherGlib::processEvents (this=0x7fac340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007facc88ac73f in QEventLoop::processEvents (this=this@entry=0x7fac477fde20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007facc88ac9c8 in QEventLoop::exec (this=0x7fac477fde20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007facc87b0e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007facc87b3ddb in QThreadPrivate::start (arg=0x348e610) at thread/qthread_unix.cpp:298
#10 0x00007facc71bae0e in start_thread () from /lib64/libpthread.so.0
#11 0x00007facc74b32bd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fac46ffd700 (LWP 14474)):
#0  0x00007facc71be8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007facc87b42db in wait (time=18446744073709551615, this=0xc21b20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xaae8c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007facbf680971 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007facbf6831bb in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007facbf68202f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007facbf6820bb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007facc87b3ddb in QThreadPrivate::start (arg=0x2712850) at thread/qthread_unix.cpp:298
#8  0x00007facc71bae0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007facc74b32bd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fac467fc700 (LWP 14475)):
#0  0x00007facc71be8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007facc87b42db in wait (time=18446744073709551615, this=0xc21b20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xaae8c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007facbf680971 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007facbf6831bb in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007facbf6831d4 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007facbf68202f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007facbf6820bb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007facc87b3ddb in QThreadPrivate::start (arg=0x7fac38002c50) at thread/qthread_unix.cpp:298
#9  0x00007facc71bae0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007facc74b32bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fac4d438700 (LWP 14496)):
[KCrash Handler]
#5  0x0000000000000021 in ?? ()
#6  0x00007fac4e059990 in CMakeManager::buildDirectory (this=this@entry=0x348ba40, item=0x34b0c60) at /usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/cmakemanager.cpp:475
#7  0x00007fac4e061ee6 in CMakeManager::initializeProject (this=this@entry=0x348ba40, project=0x3468790) at /usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/cmakemanager.cpp:500
#8  0x00007fac4e065885 in CMakeManager::parse (this=0x348ba40, item=0x34b0c60) at /usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/cmakemanager.cpp:695
#9  0x00007facc4eff47b in KDevelop::ImportProjectJobPrivate::import (this=0x3555890, folder=<optimized out>) at /usr/src/debug/kdevplatform-1.3.1/project/importprojectjob.cpp:53
#10 0x00007facc4eff256 in run (this=0x315b8c0) at /usr/include/QtCore/qtconcurrentrunbase.h:134
#11 QtConcurrent::RunFunctionTask<void>::run (this=0x315b8c0) at /usr/include/QtCore/qtconcurrentrunbase.h:125
#12 0x00007facc87a79ed in QThreadPoolThread::run (this=0x3480e00) at concurrent/qthreadpool.cpp:107
#13 0x00007facc87b3ddb in QThreadPrivate::start (arg=0x3480e00) at thread/qthread_unix.cpp:298
#14 0x00007facc71bae0e in start_thread () from /lib64/libpthread.so.0
#15 0x00007facc74b32bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7facca2f7780 (LWP 14288)):
#0  0x00007facc71be8f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007facc87b42db in wait (time=18446744073709551615, this=0x35669f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x34a8d98, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007facc87a71bf in QThreadPoolPrivate::waitForDone (this=0x34a8d10, msecs=msecs@entry=-1) at concurrent/qthreadpool.cpp:298
#4  0x00007facc87a8c6d in QThreadPool::~QThreadPool (this=0x35a24d0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#5  0x00007facc87a8ca9 in QThreadPool::~QThreadPool (this=0x35a24d0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442
#6  0x00007facc87a8cd5 in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter (this=0x7facc8c03fc8 <theInstance()::cleanup>, __in_chrg=<optimized out>) at ../../src/corelib/global/qglobal.h:1922
#7  0x00007facc74068b1 in __run_exit_handlers () from /lib64/libc.so.6
#8  0x00007facc7406935 in exit () from /lib64/libc.so.6
#9  0x00007facc7cc3328 in ?? () from /usr/lib64/libQtGui.so.4
#10 0x00007facc90bade8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#11 0x00007facc3641c4e in _XIOError () from /usr/lib64/libX11.so.6
#12 0x00007facc363f6ed in _XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x00007facc3630bfb in XEventsQueued () from /usr/lib64/libX11.so.6
#14 0x00007facc7cf970c in ?? () from /usr/lib64/libQtGui.so.4
#15 0x00007facc1f4819b in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#16 0x00007facc1f48622 in ?? () from /usr/lib64/libglib-2.0.so.0
#17 0x00007facc1f487a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#18 0x00007facc88db936 in QEventDispatcherGlib::processEvents (this=0x818ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#19 0x00007facc7cf98ae in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00007facc88ac73f in QEventLoop::processEvents (this=this@entry=0x7fffc63a47e0, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007facc88ac9c8 in QEventLoop::exec (this=0x7fffc63a47e0, flags=...) at kernel/qeventloop.cpp:204
#22 0x00007facc810c448 in QDialog::exec() () from /usr/lib64/libQtGui.so.4
#23 0x00007fac9317fdb3 in CMake::checkForNeedingConfigure (item=<optimized out>) at /usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/cmakeutils.cpp:75
#24 0x00007fac4e05e198 in CMakeManager::import (this=0x348ba40, project=0x313ff20) at /usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/cmakemanager.cpp:636
#25 0x00007facc97a0734 in importTopItem (fileManager=0x348ba68, this=0x357a540) at /usr/src/debug/kdevplatform-1.3.1/shell/project.cpp:422
#26 KDevelop::Project::open (this=0x313ff20, projectFileUrl_=...) at /usr/src/debug/kdevplatform-1.3.1/shell/project.cpp:525
#27 0x00007facc979c95d in KDevelop::ProjectControllerPrivate::importProject (this=0xc08de0, url_=...) at /usr/src/debug/kdevplatform-1.3.1/shell/projectcontroller.cpp:270
#28 0x00007facc979a3c1 in KDevelop::ProjectController::openProject (this=0xb25910, projectFile=...) at /usr/src/debug/kdevplatform-1.3.1/shell/projectcontroller.cpp:683
#29 0x00007faca2681465 in ?? () from /usr/lib64/kde4/kdevappwizard.so
#30 0x00007facc88c3f5f in QMetaObject::activate (sender=0x23f78c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc63a5390) at kernel/qobject.cpp:3556
#31 0x00007facc7c53522 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#32 0x00007facc7c53710 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#33 0x00007facc808c3d3 in ?? () from /usr/lib64/libQtGui.so.4
#34 0x00007facc80926e9 in ?? () from /usr/lib64/libQtGui.so.4
#35 0x00007facc9174fd0 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#36 0x00007facc7ca8e60 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#37 0x00007facc809399b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#38 0x00007facc7c5974c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#39 0x00007facc7c5e4db in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#40 0x00007facc90bc006 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#41 0x00007facc88ad73e in QCoreApplication::notifyInternal (this=0x7fffc63a6fa0, receiver=0x1aa16a0, event=0x7fffc63a5f30) at kernel/qcoreapplication.cpp:876
#42 0x00007facc7c5a58b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#43 0x00007facc7cd4a9c in ?? () from /usr/lib64/libQtGui.so.4
#44 0x00007facc7cd3961 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#45 0x00007facc7cf9c32 in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00007facc1f483b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#47 0x00007facc1f486e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#48 0x00007facc1f487a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#49 0x00007facc88db936 in QEventDispatcherGlib::processEvents (this=0x818ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#50 0x00007facc7cf98ae in ?? () from /usr/lib64/libQtGui.so.4
#51 0x00007facc88ac73f in QEventLoop::processEvents (this=this@entry=0x7fffc63a6a70, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007facc88ac9c8 in QEventLoop::exec (this=0x7fffc63a6a70, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007facc88b13a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#54 0x0000000000409b88 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop-4.3.1/app/main.cpp:479

Reported using DrKonqi
Comment 1 Milian Wolff 2012-11-10 15:33:49 UTC

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