Bug 216090

Summary: Crash if run external cmake
Product: [Applications] kdevelop Reporter: Maxim Prohorenko <Maxim.Prohorenko>
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 Maxim Prohorenko 2009-11-25 13:59:01 UTC
Application that crashed: kdevelop
Version of the application: 3.9.96 (using KDevPlatform 0.9.96)
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-127.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

What I was doing when the application crashed:
Open cmake project, build (F8) - ok. Run cmake-gui in build dir (configure,generate,exit), switch to kdevelop, build-> crash.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fea20a15840 (LWP 9395))]

Thread 7 (Thread 0x7fea1551c710 (LWP 9396)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000303b25ad42 in wait (time=200000, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=200000, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fea21396cee in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2a3ec10) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchain.cpp:280
#4  0x000000303b259d25 in QThreadPrivate::start (arg=0x2a3ec10) at thread/qthread_unix.cpp:188
#5  0x0000003030a06a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x000000302feddf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fe9fc1de710 (LWP 9529)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007fe9fc1dda80 in ?? ()
#2  0x00007fff0f374782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x7fe9fb7dd710 (LWP 9530)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007fe9fb7dca80 in ?? ()
#2  0x00007fff0f374782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7fe9faddc710 (LWP 9531)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000303b2597b5 in thread_sleep (ti=0x7fe9faddbd00) at thread/qthread_unix.cpp:297
#2  0x000000303b259920 in QThread::msleep (msecs=475226000) at thread/qthread_unix.cpp:323
#3  0x00007fe9fc9a5581 in UIBlockTester::UIBlockTesterThread::run (this=0x4111290) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/languages/cpp/cpplanguagesupport.cpp:662
#4  0x000000303b259d25 in QThreadPrivate::start (arg=0x4111290) at thread/qthread_unix.cpp:188
#5  0x0000003030a06a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x000000302feddf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe9f9b11710 (LWP 9560)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000303b25addb in wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003049a0aaf6 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x0000003049a0cbfb in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x0000003049a0b21f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x0000003049a0b658 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x000000303b259d25 in QThreadPrivate::start (arg=0x52f17c0) at thread/qthread_unix.cpp:188
#8  0x0000003030a06a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x000000302feddf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe9f9110710 (LWP 9561)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000303b25addb in wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003049a0aaf6 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x0000003049a0cbfb in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x0000003049a0b21f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x0000003049a0b658 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x000000303b259d25 in QThreadPrivate::start (arg=0x7fe9e40027e0) at thread/qthread_unix.cpp:188
#8  0x0000003030a06a3a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x000000302feddf3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fea20a15840 (LWP 9395)):
[KCrash Handler]
#5  KDevelop::IPlugin::core (this=0x0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/interfaces/iplugin.cpp:171
#6  0x00007fea21ebf859 in KDevelop::IPlugin::extensionManager (this=0x0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/interfaces/iplugin.cpp:177
#7  0x00007fea1403e6ad in extension<ICMakeBuilder> (this=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/build/install/include/kdevplatform/interfaces/iplugin.h:174
#8  CMakeManager::builder (this=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/projectmanagers/cmake/cmakemanager.cpp:695
#9  0x00007fea2198ae70 in KDevelop::BuilderJobPrivate::addJob (this=0x2733d30, t=<value optimized out>, item=0x7fea08fe0f10)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/project/builderjob.cpp:70
#10 0x00007fe9fd4dfc39 in BuildItemBuilderJob::BuildItemBuilderJob (this=0x3983130, t=Build, items=...)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/plugins/projectmanagerview/builditembuilderjob.cpp:35
#11 0x00007fe9fd4d14e8 in ProjectManagerViewPlugin::runBuilderJob (this=<value optimized out>, t=Build)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:364
#12 0x00007fe9fd4d6c4d in ProjectManagerViewPlugin::qt_metacall (this=0x378a640, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0f280f20)
    at /home/maxim/src/KDE4/all-for-kdevelop/build/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.moc:107
#13 0x000000303b35408c in QMetaObject::activate (sender=0x377f630, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fff0f280f20) at kernel/qobject.cpp:3112
#14 0x000000303d189817 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#15 0x000000303d18ac7f in QAction::activate (this=0x377f630, event=<value optimized out>) at kernel/qaction.cpp:1167
#16 0x000000303d18d707 in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1086
#17 0x00000034ddd403bd in KAction::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x000000303d18f65c in QApplicationPrivate::notify_helper (this=0x252ee60, receiver=0x377f630, e=0x7fff0f281420) at kernel/qapplication.cpp:4065
#19 0x000000303d1968ce in QApplication::notify (this=<value optimized out>, receiver=0x377f630, e=0x7fff0f281420) at kernel/qapplication.cpp:4030
#20 0x00000034dde11a76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x000000303b33ee6c in QCoreApplication::notifyInternal (this=0x7fff0f283af0, receiver=0x377f630, event=0x7fff0f281420) at kernel/qcoreapplication.cpp:610
#22 0x000000303d1c3bc6 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:213
#23 QShortcutMap::dispatchEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qshortcutmap.cpp:884
#24 0x000000303d1c5a37 in QShortcutMap::tryShortcutEvent (this=0x252ef78, o=<value optimized out>, e=0x7fff0f2818b0) at kernel/qshortcutmap.cpp:369
#25 0x000000303d19755f in QApplication::notify (this=0x7fff0f283af0, receiver=0x5d30ec0, e=0x7fff0f2818b0) at kernel/qapplication.cpp:3647
#26 0x00000034dde11a76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#27 0x000000303b33ee6c in QCoreApplication::notifyInternal (this=0x7fff0f283af0, receiver=0x5d30ec0, event=0x7fff0f2818b0) at kernel/qcoreapplication.cpp:610
#28 0x000000303d21e93a in QKeyMapper::sendKeyEvent (keyWidget=0x5d30ec0, grab=<value optimized out>, type=KeyPress, code=16777271, modifiers=<value optimized out>, text=..., 
    autorepeat=<value optimized out>, count=<value optimized out>, nativeScanCode=<value optimized out>, nativeVirtualKey=<value optimized out>, nativeModifiers=<value optimized out>)
    at kernel/qkeymapper_x11.cpp:1861
#29 0x000000303d220ec0 in QKeyMapperPrivate::translateKeyEvent (this=<value optimized out>, keyWidget=0x5d30ec0, event=<value optimized out>, grab=<value optimized out>)
    at kernel/qkeymapper_x11.cpp:1831
#30 0x000000303d1fa484 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff0f283690) at kernel/qapplication_x11.cpp:3442
#31 0x000000303d22284c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x000000303263922e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#33 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#34 0x000000303263cc18 in g_main_context_iterate (context=0x2531920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#35 0x000000303263cd3a in IA__g_main_context_iteration (context=0x2531920, may_block=1) at gmain.c:2654
#36 0x000000303b3671e6 in QEventDispatcherGlib::processEvents (this=0x16560e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#37 0x000000303d221ffe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x000000303b33d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x000000303b33db44 in QEventLoop::exec (this=0x7fff0f2839c0, flags=...) at kernel/qeventloop.cpp:201
#40 0x000000303b33fcd9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x0000000000405b57 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/app/main.cpp:193

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

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-11-25 15:11:19 UTC

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