Bug 209495

Summary: Kdevelop crashed when clicking on "Build button"
Product: [Applications] kdevelop Reporter: Davide Rondini <davide.rondini>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Davide Rondini 2009-10-05 08:34:48 UTC
Application that crashed: kdevelop
Version of the application: 3.9.95 (using KDevPlatform 0.9.95)
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.27.30-170.2.82.fc10.x86_64 x86_64
Distribution: "Fedora release 10 (Cambridge)"

What I was doing when the application crashed:
Opened project, modified and saved a couple vof sources, then clicked on the build button on top of project tree and Kdevelop crashed.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8496c5b810 (LWP 5030))]

Thread 7 (Thread 0x7f848c5e6950 (LWP 5032)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x000000300045b597 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f84975e1cde in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1e13e20) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/language/duchain/duchain.cpp:280
#3  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 6 (Thread 0x7f8480a64950 (LWP 5035)):
#0  0x0000003cd70dc886 in __poll (fds=0x2eccc30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000300143ae28 in g_main_context_poll () at gmain.c:3091
#2  g_main_context_iterate (context=0x7f8484027250, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2773
#3  0x000000300143b14b in IA__g_main_context_iteration (context=0x7f8484027250, may_block=1) at gmain.c:2841
#4  0x000000300056d5ae in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x0000003000542912 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#6  0x0000003000542ce4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#7  0x0000003000457648 in QThread::exec () from /usr/lib64/libQtCore.so.4
#8  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 5 (Thread 0x7f8480063950 (LWP 5036)):
#0  0x000000300143a802 in IA__g_main_context_prepare (context=0x2f60de0, priority=0x7f8480062e94) at gmain.c:2451
#1  0x000000300143ac8a in g_main_context_iterate (context=0x2f60de0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2758
#2  0x000000300143b14b in IA__g_main_context_iteration (context=0x2f60de0, may_block=1) at gmain.c:2841
#3  0x000000300056d5ae in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#4  0x0000003000542912 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x0000003000542ce4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#6  0x0000003000457648 in QThread::exec () from /usr/lib64/libQtCore.so.4
#7  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 4 (Thread 0x7f847f662950 (LWP 5039)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x000000300045a025 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x000000300045a18e in QThread::msleep () from /usr/lib64/libQtCore.so.4
#3  0x00007f8481a03a51 in UIBlockTester::UIBlockTesterThread::run (this=0x37e3c60) at /home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/cpplanguagesupport.cpp:661
#4  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#5  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 3 (Thread 0x7f847e2eb950 (LWP 5042)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x000000300045b5b9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x000000301660a634 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000301660cde3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000301660b35f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000301660b7b9 in ThreadWeaver::Thread::run () from /usr/lib64/libthreadweaver.so.4
#6  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 2 (Thread 0x7f847d8ea950 (LWP 5043)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x000000300045b5b9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x000000301660a634 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000301660cde3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000301660cdfc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000301660cdfc in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000301660b35f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x000000301660b7b9 in ThreadWeaver::Thread::run () from /usr/lib64/libthreadweaver.so.4
#8  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7f8496c5b810 (LWP 5030)):
[KCrash Handler]
#5  KDevelop::IPlugin::core (this=0x0) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/interfaces/iplugin.cpp:170
#6  0x00007f84980ef6d9 in KDevelop::IPlugin::extensionManager (this=0x0) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/interfaces/iplugin.cpp:177
#7  0x00007f84903e239e in KDevelop::IPlugin::extension<ICMakeBuilder> () at /home/davide/Programmi/install/include/kdevplatform/interfaces/iplugin.h:174
#8  CMakeManager::builder (this=<value optimized out>) at /home/davide/Programmi/Kdevelop4.0/sources/kdevelop/projectmanagers/cmake/cmakemanager.cpp:687
#9  0x00007f8497bc9b80 in KDevelop::BuilderJobPrivate::addJob (this=0x5865c30, t=<value optimized out>, item=0x582d490)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/project/builderjob.cpp:70
#10 0x00007f8497bca2a8 in KDevelop::BuilderJob::addItems (this=0x631b540, t=KDevelop::BuilderJob::Build, items=<value optimized out>)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/project/builderjob.cpp:101
#11 0x00007f84901b6b75 in ProjectManagerViewPlugin::runBuilderJob (this=0x57982a0, t=KDevelop::BuilderJob::Build)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:393
#12 0x00007f84901bb565 in ProjectManagerViewPlugin::qt_metacall (this=0x57982a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9f7dcf40)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/build/plugins/projectmanagerview/projectmanagerviewplugin.moc:108
#13 0x0000003000558f52 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#14 0x000000301398a027 in QAction::triggered () from /usr/lib64/libQtGui.so.4
#15 0x000000301398b4a0 in QAction::activate () from /usr/lib64/libQtGui.so.4
#16 0x0000003013d0c06a in ?? () from /usr/lib64/libQtGui.so.4
#17 0x0000003013d0c305 in QAbstractButton::mouseReleaseEvent () from /usr/lib64/libQtGui.so.4
#18 0x0000003013dddc1a in QToolButton::mouseReleaseEvent () from /usr/lib64/libQtGui.so.4
#19 0x00000030139e120f in QWidget::event () from /usr/lib64/libQtGui.so.4
#20 0x000000301399008d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#21 0x0000003013998a2a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#22 0x000000300cc134ab in KApplication::notify () from /usr/lib64/libkdeui.so.5
#23 0x000000300054407c in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#24 0x0000003013997c78 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#25 0x0000003013a01a49 in ?? () from /usr/lib64/libQtGui.so.4
#26 0x0000003013a00ab5 in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#27 0x0000003013a27d44 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00000030014377bb in g_main_dispatch () at gmain.c:2144
#29 IA__g_main_context_dispatch (context=0x1a61520) at gmain.c:2697
#30 0x000000300143af8d in g_main_context_iterate (context=0x1a61520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#31 0x000000300143b14b in IA__g_main_context_iteration (context=0x1a61520, may_block=1) at gmain.c:2841
#32 0x000000300056d58f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#33 0x0000003013a274cf in ?? () from /usr/lib64/libQtGui.so.4
#34 0x0000003000542912 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#35 0x0000003000542ce4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#36 0x0000003000544fb4 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#37 0x0000000000407c2f in main (argc=1, argv=0x7fff9f7e0898) at /home/davide/Programmi/Kdevelop4.0/sources/kdevelop/app/main.cpp:181

This bug may be a duplicate of or related to bug 201030

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-10-05 13:33:42 UTC
Looks like a duplicate of the mentioned bug, i.e. a system-setup problem. Please re-open if this is reliably reproduceable after following my suggestsions from the original report.

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