Bug 208450 - KDevelop crash when trying to build after modifying CMakeLists.txt
Summary: KDevelop crash when trying to build after modifying CMakeLists.txt
Status: RESOLVED DUPLICATE of bug 194483
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (show other bugs)
Version: 3.9.95
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-25 00:48 UTC by Bartosz Fabianowski
Modified: 2009-09-25 08:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Fabianowski 2009-09-25 00:48:17 UTC
Version:           3.9.95 (using KDE 4.3.1)
OS:                Linux
Installed from:    Unlisted Binary Package

I am reliably getting the following:

1. Open a CMake based project in KDevelop
2. Edit the CMakeLists.txt belonging to this project externally (for example in KWrite)
3. Wait for KDevelop to notice the change and automatically reload the project
5. Click on Project->Build
6. Crash

I noticed that I can avoid the crash and successfully build by adding the following step 4:

4. Click on the project in the "Projects" window in the left dock

This appears similar to bug 186702 but that one has been closed as fixed a while ago while this crash occurs with the most recent beta.

The system is Arch Linux x86_64.


Backtrace:

Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 0 (LWP 10571)]

Thread 13 (Thread 0x7fd609166910 (LWP 10572)):
#0  0x00007fd615e9605d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd617300b82 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd612ecc88e in KDevelop::DUChainPrivate::CleanupThread::run () from /usr/lib/libkdevplatformlanguage.so.1
#3  0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#5  0x00007fd61617114d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fd6039be910 (LWP 10573)):
#0  0x00007fd61616aa42 in select () from /lib/libc.so.6
#1  0x00007fd6173c4a91 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#4  0x00007fd61617114d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fd5f37ba910 (LWP 10650)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff92bd3671 in ?? ()
#2  0x00007fd610a4ce3f in clock_gettime () from /lib/librt.so.1
#3  0x00007fd61740f5ad in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd61740f7a1 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fd617410c63 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fd61740dc5d in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fd6107c2d8a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0x00007fd6107c3161 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#9  0x00007fd6107c3690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0x00007fd61740dade in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#11 0x00007fd6173e3ec2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#12 0x00007fd6173e4294 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#13 0x00007fd6172fcdfb in QThread::exec () from /usr/lib/libQtCore.so.4
#14 0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#16 0x00007fd61617114d in clone () from /lib/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fd5f2fb9910 (LWP 10651)):
#0  0x00007fd615e93aec in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007fd6107c185f in g_main_context_release () from /usr/lib/libglib-2.0.so.0
#2  0x00007fd6107c3278 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0x00007fd6107c3690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fd61740dade in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0x00007fd6173e3ec2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0x00007fd6173e4294 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0x00007fd6172fcdfb in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#10 0x00007fd61617114d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fd5f27b8910 (LWP 10655)):
#0  0x00007fd615e9605d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd6172ff5f5 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fd6172ff750 in QThread::msleep () from /usr/lib/libQtCore.so.4
#3  0x00007fd5f44a21d1 in UIBlockTester::UIBlockTesterThread::run () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#6  0x00007fd61617114d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fd5f1b5e910 (LWP 10664)):
#0  0x00007fd615e95dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd617300c1b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd60dda4286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#3  0x00007fd60dda63bb in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#4  0x00007fd60dda49bf in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#5  0x00007fd60dda4e18 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#8  0x00007fd61617114d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fd5f135d910 (LWP 10665)):
#0  0x00007fd615e95dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd617300c1b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd60dda4286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#3  0x00007fd60dda63bb in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#4  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#5  0x00007fd60dda49bf in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007fd60dda4e18 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#7  0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#9  0x00007fd61617114d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fd5ebdfc910 (LWP 13031)):
#0  0x00007fd615e95dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd617300c1b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd60dda4286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#3  0x00007fd60dda63bb in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#4  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#5  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#6  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#7  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#8  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#9  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#10 0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#11 0x00007fd60dda49bf in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#12 0x00007fd60dda4e18 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#13 0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#14 0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#15 0x00007fd61617114d in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd5fe6c4910 (LWP 13035)):
#0  0x00007fd615e95dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd617300c1b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd60dda4286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#3  0x00007fd60dda63bb in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#4  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#5  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#6  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#7  0x00007fd60dda49bf in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#8  0x00007fd60dda4e18 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#9  0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#11 0x00007fd61617114d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd5e90d7910 (LWP 13128)):
#0  0x00007fd615e95dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd617300c1b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd60dda4286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#3  0x00007fd60dda63bb in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#4  0x00007fd60dda49bf in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#5  0x00007fd60dda4e18 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#8  0x00007fd61617114d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd5e88d6910 (LWP 13909)):
#0  0x00007fd615e95dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd617300c1b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd60dda4286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/lib/libthreadweaver.so.4
#3  0x00007fd60dda63bb in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#4  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#5  0x00007fd60dda63d4 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/lib/libthreadweaver.so.4
#6  0x00007fd60dda49bf in ThreadWeaver::ThreadRunHelper::run () from /usr/lib/libthreadweaver.so.4
#7  0x00007fd60dda4e18 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#8  0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#10 0x00007fd61617114d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd5e80d5910 (LWP 14912)):
#0  0x00007fd615e9605d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd617300b82 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd6172f6ce2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd6172ffb55 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd615e9157a in start_thread () from /lib/libpthread.so.0
#5  0x00007fd61617114d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd618aaf750 (LWP 10571)):
[KCrash Handler]
#5  0x00000000070038aa in ?? ()
#6  0x00007fd6134a999b in KDevelop::BuilderJobPrivate::addJob () from /usr/lib/libkdevplatformproject.so.1
#7  0x00007fd6134aa97d in KDevelop::BuilderJob::addItems () from /usr/lib/libkdevplatformproject.so.1
#8  0x00007fd603bdbabd in ProjectManagerViewPlugin::runBuilderJob () from /usr/lib/kde4/kdevprojectmanagerview.so
#9  0x00007fd603be0129 in ProjectManagerViewPlugin::qt_metacall () from /usr/lib/kde4/kdevprojectmanagerview.so
#10 0x00007fd6173fa6bc in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0x00007fd616890277 in QAction::triggered () from /usr/lib/libQtGui.so.4
#12 0x00007fd6168916bf in QAction::activate () from /usr/lib/libQtGui.so.4
#13 0x00007fd616c7b83d in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007fd616c8175a in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007fd6179cc69e in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#16 0x00007fd6168e4ab0 in QWidget::event () from /usr/lib/libQtGui.so.4
#17 0x00007fd616c83f1b in QMenu::event () from /usr/lib/libQtGui.so.4
#18 0x00007fd6168960cc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#19 0x00007fd61689d1e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#20 0x00007fd6178fa8d6 in KApplication::notify () from /usr/lib/libkdeui.so.5
#21 0x00007fd6173e55bc in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#22 0x00007fd61689cab0 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#23 0x00007fd616902dfe in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007fd6169016ba in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#25 0x00007fd61692989c in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007fd6107bfdbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007fd6107c3568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#28 0x00007fd6107c3690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007fd61740da86 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#30 0x00007fd61692907e in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007fd6173e3ec2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#32 0x00007fd6173e4294 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#33 0x00007fd6173e6449 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#34 0x0000000000407ec7 in _start ()
Comment 1 Dario Andres 2009-09-25 02:46:42 UTC
The backtrace looks related to bug 202769 / bug 194483
Thanks
Comment 2 Andreas Pakulat 2009-09-25 08:22:23 UTC

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