Bug 222883

Summary: Crash while saving CMake lists.
Product: [Applications] kdevelop Reporter: Eduardo Sánchez Muñoz <eduardosanchezmunoz>
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 Eduardo Sánchez Muñoz 2010-01-15 19:19:40 UTC
Application that crashed: kdevelop
Version of the application: 3.9.95 (using KDevPlatform 0.9.95)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-17-generic x86_64
Distribution: Ubuntu 9.10

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

Thread 11 (Thread 0x7f2d82a8d910 (LWP 20178)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f2d963c2462 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x31259a0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x31259a0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2d91f659be in KDevelop::DUChainPrivate::CleanupThread::run (this=0x3125980) at ../../language/duchain/duchain.cpp:280
#4  0x00007f2d963c1445 in QThreadPrivate::start (arg=0x3125980) at thread/qthread_unix.cpp:188
#5  0x00007f2d8f5f2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f2d9520f80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f2d6e751910 (LWP 20185)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2d963c24fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x471a560, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x471a560, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2d8d1d7326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x471a1f0, th=0x471ab70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2d8d1d945b in ThreadWeaver::WorkingHardState::applyForWork (this=0x471a640, th=0x471ab70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2d8d1d9474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x471a640, th=0x471ab70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f2d8d1d7a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2d6e751050, parent=0x471a1f0, th=0x471ab70) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f2d8d1d7eb8 in ThreadWeaver::Thread::run (this=0x471ab70) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f2d963c1445 in QThreadPrivate::start (arg=0x471ab70) at thread/qthread_unix.cpp:188
#9  0x00007f2d8f5f2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f2d9520f80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 9 (Thread 0x7f2d6cac1910 (LWP 20269)):
#0  0x00007f2d8f5f50b2 in __pthread_mutex_lock (mutex=0x7f2d700074e8) at pthread_mutex_lock.c:61
#1  0x00007f2d8f84733a in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f2d8f8476c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f2d964d01fe in QEventDispatcherGlib::processEvents (this=0x4611fd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007f2d964a6532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f2d964a6904 in QEventLoop::exec (this=0x7f2d6cac1050, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f2d963be6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f2d963c1445 in QThreadPrivate::start (arg=0x47746a0) at thread/qthread_unix.cpp:188
#8  0x00007f2d8f5f2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f2d9520f80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f2d6c2c0910 (LWP 20270)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f2d6c2bfd80 in ?? ()
#2  0x00007fff207ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently c".

Thread 7 (Thread 0x7f2d6babf910 (LWP 20273)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f2d963c0ed5 in thread_sleep (ti=0x7f2d6babf000) at thread/qthread_unix.cpp:297
#2  0x00007f2d963c1040 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007f2d6d4b5301 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f2d963c1445 in QThreadPrivate::start (arg=0x4fd7f50) at thread/qthread_unix.cpp:188
#5  0x00007f2d8f5f2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f2d9520f80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2d6b2be910 (LWP 20274)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2d963c24fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3096db0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3096db0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2d8d1d7326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3096790, th=0x46ca2c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2d8d1d945b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3096e90, th=0x46ca2c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2d8d1d7a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2d6b2be050, parent=0x3096790, th=0x46ca2c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2d8d1d7eb8 in ThreadWeaver::Thread::run (this=0x46ca2c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2d963c1445 in QThreadPrivate::start (arg=0x46ca2c0) at thread/qthread_unix.cpp:188
#8  0x00007f2d8f5f2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f2d9520f80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 5 (Thread 0x7f2d6aabd910 (LWP 20275)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2d963c24fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3096db0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3096db0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2d8d1d7326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3096790, th=0x4fd45a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2d8d1d945b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3096e90, th=0x4fd45a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2d8d1d9474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3096e90, th=0x4fd45a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f2d8d1d7a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2d6aabd050, parent=0x3096790, th=0x4fd45a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f2d8d1d7eb8 in ThreadWeaver::Thread::run (this=0x4fd45a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f2d963c1445 in QThreadPrivate::start (arg=0x4fd45a0) at thread/qthread_unix.cpp:188
#9  0x00007f2d8f5f2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f2d9520f80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2d6a069910 (LWP 20308)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2d963c24fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x471a560, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x471a560, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2d8d1d7326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x471a1f0, th=0x5333b20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2d8d1d945b in ThreadWeaver::WorkingHardState::applyForWork (this=0x471a640, th=0x5333b20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2d8d1d9474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x471a640, th=0x5333b20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f2d8d1d7a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2d6a069050, parent=0x471a1f0, th=0x5333b20) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f2d8d1d7eb8 in ThreadWeaver::Thread::run (this=0x5333b20) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f2d963c1445 in QThreadPrivate::start (arg=0x5333b20) at thread/qthread_unix.cpp:188
#9  0x00007f2d8f5f2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f2d9520f80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2d69868910 (LWP 20404)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f2d963c24fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x471a560, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x471a560, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2d8d1d7326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x471a1f0, th=0x45d1420) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f2d8d1d945b in ThreadWeaver::WorkingHardState::applyForWork (this=0x471a640, th=0x45d1420) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f2d8d1d7a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2d69868050, parent=0x471a1f0, th=0x45d1420) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f2d8d1d7eb8 in ThreadWeaver::Thread::run (this=0x45d1420) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f2d963c1445 in QThreadPrivate::start (arg=0x45d1420) at thread/qthread_unix.cpp:188
#8  0x00007f2d8f5f2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f2d9520f80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2d6df50910 (LWP 20656)):
#0  0x00007f2d95208412 in select () from /lib/libc.so.6
#1  0x00007f2d96485b28 in qt_native_select (fdread=0x7f2d6df4d640, fdwrite=0x7f2d6df4d5c0, timeout=30000) at io/qprocess_unix.cpp:936
#2  0x00007f2d96485cc7 in QProcessPrivate::waitForFinished (this=0x7f2d706f59a0, msecs=30000) at io/qprocess_unix.cpp:1158
#3  0x00007f2d9644981a in QProcess::waitForFinished (this=0x7f2d6df4d7c0, msecs=30000) at io/qprocess.cpp:1318
#4  0x00007f2d6ee34f0e in CMakeProjectVisitor::visit(ExecProgramAst const*) () from /usr/lib/libkdev4cmakecommon.so.3.9.95
#5  0x00007f2d6ee281be in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib/libkdev4cmakecommon.so.3.9.95
#6  0x00007f2d6ee324df in CMakeProjectVisitor::visit(IfAst const*) () from /usr/lib/libkdev4cmakecommon.so.3.9.95
#7  0x00007f2d6ee281be in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib/libkdev4cmakecommon.so.3.9.95
#8  0x00007f2d6ee324df in CMakeProjectVisitor::visit(IfAst const*) () from /usr/lib/libkdev4cmakecommon.so.3.9.95
#9  0x00007f2d6ee281be in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib/libkdev4cmakecommon.so.3.9.95
#10 0x00007f2d6ee48693 in CMakeParserUtils::includeScript(QString const&, KDevelop::ReferencedTopDUContext, VariableMap*, QHash<QString, Macro>*, QString const&, QHash<QString, CacheEntry>*, QStringList const&) () from /usr/lib/libkdev4cmakecommon.so.3.9.95
#11 0x00007f2d6f07c01f in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#12 0x00007f2d6f07d951 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#13 0x00007f2d6f087212 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#14 0x00007f2d92542307 in KDevelop::ImportProjectJobPrivate::import (this=0x4710da0, folder=0x7f2d6df4d5c0) at ../../project/importprojectjob.cpp:46
#15 0x00007f2d92542176 in QtConcurrent::RunFunctionTask<void>::run (this=0x5852500) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#16 0x00007f2d963b8424 in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:106
#17 0x00007f2d963c1445 in QThreadPrivate::start (arg=0x475d700) at thread/qthread_unix.cpp:188
#18 0x00007f2d8f5f2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#19 0x00007f2d9520f80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2d97b85750 (LWP 20177)):
[KCrash Handler]
#5  QMap<QString, KDirWatchPrivate::Entry>::detach (this=0x0, _path=...) at /usr/include/qt4/QtCore/qmap.h:172
#6  QMap<QString, KDirWatchPrivate::Entry>::find (this=0x0, _path=...) at /usr/include/qt4/QtCore/qmap.h:565
#7  KDirWatchPrivate::entry (this=0x0, _path=...) at ../../kio/kio/kdirwatch.cpp:497
#8  0x00007f2d931b1852 in KDirWatch::contains (this=0x466f680, _path=...) at ../../kio/kio/kdirwatch.cpp:1712
#9  0x00007f2d6f07e52a in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#10 0x00007f2d6f07eedd in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#11 0x00007f2d964bcddc in QMetaObject::activate (sender=0x5a672e0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f2d709368e0) at kernel/qobject.cpp:3113
#12 0x00007f2d931abbc2 in KDirWatch::dirty (this=0x2c, _t1=<value optimized out>) at ./kdirwatch.moc:83
#13 0x00007f2d931ac4a0 in KDirWatch::setDirty (this=0x5a672e0, _file=...) at ../../kio/kio/kdirwatch.cpp:1743
#14 0x00007f2d931aca69 in KDirWatchPrivate::emitEvent (this=<value optimized out>, e=<value optimized out>, event=1, fileName=<value optimized out>) at ../../kio/kio/kdirwatch.cpp:1225
#15 0x00007f2d931b3a31 in KDirWatchPrivate::slotRescan (this=0x40f7a40) at ../../kio/kio/kdirwatch.cpp:1317
#16 0x00007f2d931b3f54 in KDirWatchPrivate::qt_metacall (this=0x40f7a40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff20757c70) at ./kdirwatch_p.moc:73
#17 0x00007f2d964bcddc in QMetaObject::activate (sender=0x40f7aa8, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f2d709368e0) at kernel/qobject.cpp:3113
#18 0x00007f2d964b6d83 in QObject::event (this=0x40f7aa8, e=0x7fff207573b0) at kernel/qobject.cpp:1075
#19 0x00007f2d9594fefc in QApplicationPrivate::notify_helper (this=0x2c55c70, receiver=0x40f7aa8, e=0x7fff20758270) at kernel/qapplication.cpp:4056
#20 0x00007f2d959571ce in QApplication::notify (this=0x7fff20758620, receiver=0x40f7aa8, e=0x7fff20758270) at kernel/qapplication.cpp:4021
#21 0x00007f2d969bdab6 in KApplication::notify (this=0x7fff20758620, receiver=0x40f7aa8, event=0x7fff20758270) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007f2d964a7c2c in QCoreApplication::notifyInternal (this=0x7fff20758620, receiver=0x40f7aa8, event=0x7fff20758270) at kernel/qcoreapplication.cpp:610
#23 0x00007f2d964d2862 in QCoreApplication::sendEvent (this=0x2c59970) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#24 QTimerInfoList::activateTimers (this=0x2c59970) at kernel/qeventdispatcher_unix.cpp:572
#25 0x00007f2d964d025d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#26 0x00007f2d8f843bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007f2d8f847598 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007f2d8f8476c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007f2d964d01a6 in QEventDispatcherGlib::processEvents (this=0x1ba4870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#30 0x00007f2d959e44be in QGuiEventDispatcherGlib::processEvents (this=0x2c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007f2d964a6532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f2d964a6904 in QEventLoop::exec (this=0x7fff20758510, flags=) at kernel/qeventloop.cpp:201
#33 0x00007f2d964a8ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x0000000000407f27 in _start ()
The current source language is "auto; currently c".

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

Reported using DrKonqi
Comment 1 Milian Wolff 2010-01-15 19:32:32 UTC
Please check the bugs dr. konqi shows you as related/duplicates. In this case it has found your crash...

Other than that: Your kdevelop is horribly outdated, please refrain from reporting bugs in that version. Update to beta 7 please.

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