Bug 237167

Summary: open cmake project and try to build
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: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maxim Prohorenko 2010-05-10 22:48:13 UTC
Application: kdevelop (4.0.60 (using KDevPlatform 1.0.60))
KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.11-99.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
open project, wait ~30 min (for all background finished), F8 to build - crash

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f223485d840 (LWP 23416))]

Thread 9 (Thread 0x7f2227d5d710 (LWP 23420)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f22375fb802 in wait (this=<value optimized out>, mutex=0x22705a0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x22705a0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2235677f2e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2270580) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchain.cpp:286
#4  0x00007f22375fa9a5 in QThreadPrivate::start (arg=0x2270580) at thread/qthread_unix.cpp:248
#5  0x000000321ec06a3a in start_thread (arg=0x7f2227d5d710) at pthread_create.c:297
#6  0x000000321e0de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f221eb2b710 (LWP 23429)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f22375fb89b in wait (this=<value optimized out>, mutex=0x2017b50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2017b50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f22390a0f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2b27a70, th=0x1fbf7f0) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f22390a34ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2140eb0, th=0x1fbf7f0) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f22390a1e6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f221eb2ad50, parent=0x2b27a70, th=0x1fbf7f0) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f22390a2358 in ThreadWeaver::Thread::run (this=0x1fbf7f0) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f22375fa9a5 in QThreadPrivate::start (arg=0x1fbf7f0) at thread/qthread_unix.cpp:248
#8  0x000000321ec06a3a in start_thread (arg=0x7f221eb2b710) at pthread_create.c:297
#9  0x000000321e0de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f220b38b710 (LWP 23669)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f22362014f6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f22364dab20) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f2236201539 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f22364e8bec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x000000321ec06a3a in start_thread (arg=0x7f220b38b710) at pthread_create.c:297
#4  0x000000321e0de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f22096bd710 (LWP 23878)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007f22096bca30 in ?? ()
#2  0x00007fff881ff882 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x7f220bd8c710 (LWP 23879)):
#0  0x000000321e0d5193 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000322043ca0c in g_main_context_poll (context=0x7f21f80009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x7f21f80009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x000000322043cd4a in IA__g_main_context_iteration (context=0x7f21f80009b0, may_block=1) at gmain.c:2654
#4  0x00007f22377070b6 in QEventDispatcherGlib::processEvents (this=0x7f21f80008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f22376e0192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f22376e045c in QEventLoop::exec (this=0x7f220bd8bd40, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f22375f88d9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f22375fa9a5 in QThreadPrivate::start (arg=0x32dbe10) at thread/qthread_unix.cpp:248
#9  0x000000321ec06a3a in start_thread (arg=0x7f220bd8c710) at pthread_create.c:297
#10 0x000000321e0de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2202416710 (LWP 23880)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f22375fa315 in thread_sleep (ti=0x7f2202415d00) at thread/qthread_unix.cpp:398
#2  0x00007f22375fa480 in QThread::msleep (msecs=873509000) at thread/qthread_unix.cpp:424
#3  0x00007f22035026f1 in UIBlockTester::UIBlockTesterThread::run (this=0x32da3a0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#4  0x00007f22375fa9a5 in QThreadPrivate::start (arg=0x32da3a0) at thread/qthread_unix.cpp:248
#5  0x000000321ec06a3a in start_thread (arg=0x7f2202416710) at pthread_create.c:297
#6  0x000000321e0de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2200b0f710 (LWP 23901)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f22375fb89b in wait (this=<value optimized out>, mutex=0x2153720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2153720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f22390a0f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2158970, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f22390a34ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f22390a34c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f22390a34c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f22390a34c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f22390a34c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f22390a34c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f22390a34c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007f22390a34c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x00007f22390a34c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00007f22390a34c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#14 0x00007f22390a34c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x00007f22390a1e6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2200b0ed50, parent=0x2158970, th=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#16 0x00007f22390a2358 in ThreadWeaver::Thread::run (this=0x4cbc280) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#17 0x00007f22375fa9a5 in QThreadPrivate::start (arg=0x4cbc280) at thread/qthread_unix.cpp:248
#18 0x000000321ec06a3a in start_thread (arg=0x7f2200b0f710) at pthread_create.c:297
#19 0x000000321e0de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f21f7fff710 (LWP 23902)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f22375fb89b in wait (this=<value optimized out>, mutex=0x2153720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2153720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f22390a0f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2158970, th=0x4de9490) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f22390a34ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2154dd0, th=0x4de9490) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f22390a1e6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f21f7ffed50, parent=0x2158970, th=0x4de9490) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f22390a2358 in ThreadWeaver::Thread::run (this=0x4de9490) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f22375fa9a5 in QThreadPrivate::start (arg=0x4de9490) at thread/qthread_unix.cpp:248
#8  0x000000321ec06a3a in start_thread (arg=0x7f21f7fff710) at pthread_create.c:297
#9  0x000000321e0de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f223485d840 (LWP 23416)):
[KCrash Handler]
#5  KDevelop::IPlugin::core (this=0x0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/interfaces/iplugin.cpp:171
#6  0x00007f223a36a979 in KDevelop::IPlugin::extensionManager (this=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/interfaces/iplugin.cpp:177
#7  0x00007f222689371d in extension<ICMakeBuilder> (this=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/build.rel/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:683
#9  0x00007f2235c338b0 in KDevelop::BuilderJobPrivate::addJob (this=0x40a14d0, t=<value optimized out>, item=0x7f2211750650)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/project/builderjob.cpp:70
#10 0x00007f220802dd49 in BuildItemBuilderJob::BuildItemBuilderJob (this=0x5387740, t=Build, items=<value optimized out>)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/plugins/projectmanagerview/builditembuilderjob.cpp:35
#11 0x00007f2208022bd8 in ProjectManagerViewPlugin::runBuilderJob (this=<value optimized out>, t=Build)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:350
#12 0x00007f22080259cc in ProjectManagerViewPlugin::qt_metacall (this=0x2c96590, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff881f1910)
    at /home/maxim/src/KDE4/all-for-kdevelop/build.rel/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.moc:109
#13 0x00007f22376f42af in QMetaObject::activate (sender=0x2c89f10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff881f1910) at kernel/qobject.cpp:3293
#14 0x00007f2236b05b52 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#15 0x00007f2236b0728b in QAction::activate (this=0x2c89f10, event=<value optimized out>) at kernel/qaction.cpp:1255
#16 0x00007f2236b08347 in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1181
#17 0x00007f2237dacd7d in KAction::event (this=<value optimized out>, event=0x7fff881f1f80) at /usr/src/debug/kdelibs-4.4.3/kdeui/actions/kaction.cpp:129
#18 0x00007f2236b0a9dc in QApplicationPrivate::notify_helper (this=0x1d9b5a0, receiver=0x2c89f10, e=0x7fff881f1f80) at kernel/qapplication.cpp:4300
#19 0x00007f2236b10aab in QApplication::notify (this=<value optimized out>, receiver=0x2c89f10, e=0x7fff881f1f80) at kernel/qapplication.cpp:4183
#20 0x00007f2237e67856 in KApplication::notify (this=0x7fff881f3650, receiver=0x2c89f10, event=0x7fff881f1f80) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#21 0x00007f22376e174c in QCoreApplication::notifyInternal (this=0x7fff881f3650, receiver=0x2c89f10, event=0x7fff881f1f80) at kernel/qcoreapplication.cpp:704
#22 0x00007f2236b3dae6 in sendEvent (this=<value optimized out>, e=0x7fff881f2580) at ../../src/corelib/kernel/qcoreapplication.h:215
#23 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff881f2580) at kernel/qshortcutmap.cpp:879
#24 0x00007f2236b3f997 in QShortcutMap::tryShortcutEvent (this=0x1d9b6c8, o=<value optimized out>, e=0x7fff881f2580) at kernel/qshortcutmap.cpp:364
#25 0x00007f2236b125db in QApplication::notify (this=0x7fff881f3650, receiver=0x407f500, e=0x7fff881f2580) at kernel/qapplication.cpp:3746
#26 0x00007f2237e67856 in KApplication::notify (this=0x7fff881f3650, receiver=0x407f500, event=0x7fff881f2580) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#27 0x00007f22376e174c in QCoreApplication::notifyInternal (this=0x7fff881f3650, receiver=0x407f500, event=0x7fff881f2580) at kernel/qcoreapplication.cpp:704
#28 0x00007f2236ba493a in QKeyMapper::sendKeyEvent (keyWidget=0x407f500, grab=<value optimized out>, type=KeyPress, code=16777271, modifiers=<value optimized out>, text=..., autorepeat=false, count=
    1, nativeScanCode=74, nativeVirtualKey=65477, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1861
#29 0x00007f2236ba6d50 in QKeyMapperPrivate::translateKeyEvent (this=<value optimized out>, keyWidget=0x407f500, event=<value optimized out>, grab=<value optimized out>)
    at kernel/qkeymapper_x11.cpp:1831
#30 0x00007f2236b80ee4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff881f3150) at kernel/qapplication_x11.cpp:3399
#31 0x00007f2236ba9d82 in x11EventSourceDispatch (s=0x1d9f310, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x000000322043923e in g_main_dispatch (context=0x1d9e120) at gmain.c:1960
#33 IA__g_main_context_dispatch (context=0x1d9e120) at gmain.c:2513
#34 0x000000322043cc28 in g_main_context_iterate (context=0x1d9e120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#35 0x000000322043cd4a in IA__g_main_context_iteration (context=0x1d9e120, may_block=1) at gmain.c:2654
#36 0x00007f2237707063 in QEventDispatcherGlib::processEvents (this=0x1546850, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#37 0x00007f2236ba9a4e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f22376e0192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f22376e045c in QEventLoop::exec (this=0x7fff881f3480, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007f22376e2749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#41 0x000000000040852f in main (argc=<value optimized out>, argv=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/app/main_internal.cpp:232

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

Possible duplicates by query: bug 234450, bug 216090, bug 214361, bug 214076, bug 209495.

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-05-11 08:20:41 UTC

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