Bug 209617

Summary: Kdevelop crash when invoking valgrind
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-06 11:51:13 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.35-170.2.94.fc10.x86_64 x86_64
Distribution: "Fedora release 10 (Cambridge)"

What I was doing when the application crashed:
Clicked on Menu Run->Profile launch (Valgrind)->Memory check and Kdevelop crashed. It was the first time I've tried that function. My version is an SVN build updated 2009-10-04, installed on Fedora 10 x86_64 with KDE4.3.1

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

Thread 7 (Thread 0x7fd0ffe7c950 (LWP 7154)):
#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  0x00007fd10ae7dcde in KDevelop::DUChainPrivate::CleanupThread::run (this=0x320bb50) 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 0x7fd0f42b5950 (LWP 7157)):
#0  0x000000300143ae01 in g_main_context_poll () at gmain.c:3090
#1  g_main_context_iterate (context=0x7fd0f8027250, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2773
#2  0x000000300143b14b in IA__g_main_context_iteration (context=0x7fd0f8027250, 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 5 (Thread 0x7fd0f38b4950 (LWP 7158)):
#0  0x0000003cd70dc886 in __poll (fds=0x7fd0f801b620, 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=0x4357c00, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2773
#3  0x000000300143b14b in IA__g_main_context_iteration (context=0x4357c00, 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 4 (Thread 0x7fd0f2eb3950 (LWP 7161)):
#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  0x00007fd0f5255a51 in UIBlockTester::UIBlockTesterThread::run (this=0x4baf070) 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 0x7fd0f1cf2950 (LWP 7164)):
#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 0x7fd0f12f1950 (LWP 7165)):
#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 0x7fd10a4f7810 (LWP 7153)):
[KCrash Handler]
#5  KDevelop::IPlugin::core (this=0x0) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/interfaces/iplugin.cpp:170
#6  0x00007fd10b98b6d9 in KDevelop::IPlugin::extensionManager (this=0x0) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/interfaces/iplugin.cpp:177
#7  0x00007fd0ff0570cd in KDevelop::IPlugin::extension<IExecutePlugin> () at /home/davide/Programmi/install/include/kdevplatform/interfaces/iplugin.h:174
#8  ValgrindLauncher::start (this=0x3a82f80, launchMode=@0x7fff956cb520, cfg=0x90f2c40) at /home/davide/Programmi/Kdevelop4.0/sources/kdevelop/debuggers/valgrind/valgrindconfig.cpp:56
#9  0x00007fd10b70ac98 in KDevelop::RunController::execute (this=0x3180d70, runMode=@0x7fff956cb520, run=0x90f2c30)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/shell/runcontroller.cpp:330
#10 0x00007fd10b70b354 in KDevelop::RunController::executeDefaultLaunch (this=0x3180d70, runMode=@0x7fff956cb520)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/shell/runcontroller.cpp:678
#11 0x00007fd0ff04cf63 in ValgrindPlugin::runMemCheck (this=<value optimized out>) at /home/davide/Programmi/Kdevelop4.0/sources/kdevelop/debuggers/valgrind/valgrindplugin.cpp:169
#12 0x00007fd0ff04d040 in ValgrindPlugin::qt_metacall (this=0x32167c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff956cb660)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevelop/build/debuggers/valgrind/valgrindplugin.moc:78
#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 0x0000003013d90cad in ?? () from /usr/lib64/libQtGui.so.4
#17 0x0000003013d96c4e in ?? () from /usr/lib64/libQtGui.so.4
#18 0x000000300cce6571 in KMenu::mouseReleaseEvent () from /usr/lib64/libkdeui.so.5
#19 0x00000030139e120f in QWidget::event () from /usr/lib64/libQtGui.so.4
#20 0x0000003013d9949b in QMenu::event () from /usr/lib64/libQtGui.so.4
#21 0x000000301399008d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#22 0x0000003013998a2a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#23 0x000000300cc134ab in KApplication::notify () from /usr/lib64/libkdeui.so.5
#24 0x000000300054407c in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#25 0x0000003013997c78 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#26 0x0000003013a01c04 in ?? () from /usr/lib64/libQtGui.so.4
#27 0x0000003013a00ab5 in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#28 0x0000003013a27d44 in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00000030014377bb in g_main_dispatch () at gmain.c:2144
#30 IA__g_main_context_dispatch (context=0x2e64520) at gmain.c:2697
#31 0x000000300143af8d in g_main_context_iterate (context=0x2e64520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#32 0x000000300143b14b in IA__g_main_context_iteration (context=0x2e64520, may_block=1) at gmain.c:2841
#33 0x000000300056d58f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#34 0x0000003013a274cf in ?? () from /usr/lib64/libQtGui.so.4
#35 0x0000003000542912 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#36 0x0000003000542ce4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#37 0x0000003000544fb4 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#38 0x0000000000407c2f in main (argc=1, argv=0x7fff956cf298) at /home/davide/Programmi/Kdevelop4.0/sources/kdevelop/app/main.cpp:181

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-10-06 12:45:51 UTC
same problem as the one you've reported yesterday.

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