Bug 266161

Summary: Crash on switching branch in CMakeManager
Product: [Applications] kdevelop Reporter: Milian Wolff <mail>
Component: Build tools: CMakeAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: crash CC: aleixpol, gerstrong, leandrosansilva, mwoehlke.floss
Priority: VHI    
Version: 4.2.60   
Target Milestone: 4.2.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: possible solution
New crash information added by DrKonqi

Description Milian Wolff 2011-02-12 20:02:57 UTC
Application: kdevelop (4.2.60)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I've switched between master and 1.2 branch of KDevplatform, and the session that had kdevplatform + kdevelop open crashed. Aleix, seems like this is still not properly fixed. Could it be that an import job was still running and that it cannot handle this?

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7f12b6be2760 (LWP 21355))]

Thread 13 (Thread 0x7f129d639700 (LWP 21368)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f12b23cfda2 in wait (this=<value optimized out>, mutex=0x30374e0, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x30374e0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f12aec384c0 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x30374c0) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchain.cpp:286
#4  0x00007f12b23cf27e in QThreadPrivate::start (arg=0x30374c0) at thread/qthread_unix.cpp:266
#5  0x00007f12b0094971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f12b09db92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f1293c42700 (LWP 21418)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f1293c41a90 in ?? ()
#2  0x00007fffcd1ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x7f1293441700 (LWP 21423)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f1293440a90 in ?? ()
#2  0x00007fffcd1ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x7f1289177700 (LWP 21435)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f1289176a90 in ?? ()
#2  0x00007fffcd1ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x7f1288976700 (LWP 21436)):
#0  0x00007f12ac4340f6 in ?? () from /lib/libglib-2.0.so.0
#1  0x00007f12ac43445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f12b24ef1e6 in QEventDispatcherGlib::processEvents (this=0x3eb38b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#3  0x00007f12b24c1a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#4  0x00007f12b24c1dec in QEventLoop::exec (this=0x7f1288975db0, flags=) at kernel/qeventloop.cpp:201
#5  0x00007f12b23cc2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#6  0x00007f12aed63d69 in KDevelop::CompletionWorkerThread::run (this=0x3ee5f90) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84
#7  0x00007f12b23cf27e in QThreadPrivate::start (arg=0x3ee5f90) at thread/qthread_unix.cpp:266
#8  0x00007f12b0094971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f12b09db92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f1288175700 (LWP 21445)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f12af949334 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f12afc54160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f12af949369 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f12afc62234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f12b0094971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f12b09db92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f128737c700 (LWP 21587)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f12b09741dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f12b0972c78 in __libc_free (mem=0x7f128c000020) at malloc.c:3736
#3  0x00007f12b24ef601 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f12ac43366a in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x00007f12ac434023 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f12ac43445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x00007f12b24ef193 in QEventDispatcherGlib::processEvents (this=0x59f67d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#8  0x00007f12b24c1a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007f12b24c1dec in QEventLoop::exec (this=0x7f128737bdb0, flags=) at kernel/qeventloop.cpp:201
#10 0x00007f12b23cc2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#11 0x00007f12b24a15f8 in QInotifyFileSystemWatcherEngine::run (this=0x59e82a0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f12b23cf27e in QThreadPrivate::start (arg=0x59e82a0) at thread/qthread_unix.cpp:266
#13 0x00007f12b0094971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007f12b09db92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1286300700 (LWP 21856)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f12b09741dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f12b0972c78 in __libc_free (mem=0x7f128c000020) at malloc.c:3736
#3  0x00007f12b2414dfc in QString::free (d=0x7f128c958ab0) at tools/qstring.cpp:1151
#4  0x00007f12b2475003 in QUrl::~QUrl (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qurl.cpp:4170
#5  0x00007f12899c56b6 in QPair<KUrl, KUrl>::~QPair (this=0x7f12862fbaa0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qpair.h:55
#6  0x00007f12899c4ea5 in PreprocessJob::sourceNeeded (this=0x7f1278a35930, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=74, skipCurrentPath=false) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:630
#7  0x00007f1289762f2d in rpp::pp::handle_include (this=0x7f12862fc770, skip_current_path=false, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:213
#8  0x00007f12897625db in rpp::pp::handle_directive (this=0x7f12862fc770, directive=73067, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#9  0x00007f128976323f in rpp::pp::operator() (this=0x7f12862fc770, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:266
#10 0x00007f1289762135 in rpp::pp::processFileInternal (this=0x7f12862fc770, fileName=..., fileContents=..., result=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#11 0x00007f1289761fe6 in rpp::pp::processFile (this=0x7f12862fc770, fileName=..., data=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#12 0x00007f12899c1f82 in PreprocessJob::run (this=0x7f1278a35930) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:259
#13 0x00007f12899b4d8f in CPPParseJob::parseForeground (this=0x7f127baa5170) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:173
#14 0x00007f12899c4644 in PreprocessJob::sourceNeeded (this=0xaeafd30, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=31, skipCurrentPath=false) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:593
#15 0x00007f1289762f2d in rpp::pp::handle_include (this=0x7f12862fe8e0, skip_current_path=false, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:213
#16 0x00007f12897625db in rpp::pp::handle_directive (this=0x7f12862fe8e0, directive=73067, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#17 0x00007f128976323f in rpp::pp::operator() (this=0x7f12862fe8e0, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:266
#18 0x00007f1289762135 in rpp::pp::processFileInternal (this=0x7f12862fe8e0, fileName=..., fileContents=..., result=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#19 0x00007f1289761fe6 in rpp::pp::processFile (this=0x7f12862fe8e0, fileName=..., data=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#20 0x00007f12899c1f82 in PreprocessJob::run (this=0xaeafd30) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:259
#21 0x00007f12b4fbe1c1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f12862ffd50, th=0x59956e0, job=0xaeafd30) at ../../../threadweaver/Weaver/Job.cpp:106
#22 0x00007f12b4fbe4be in ThreadWeaver::Job::execute (this=0xaeafd30, th=0x59956e0) at ../../../threadweaver/Weaver/Job.cpp:135
#23 0x00007f12b4fbf8c3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0xbd549d0, t=0x59956e0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#24 0x00007f12b4fbd4af in ThreadWeaver::ThreadRunHelper::run (this=0x7f12862ffe00, parent=0x204e8b0, th=0x59956e0) at ../../../threadweaver/Weaver/Thread.cpp:95
#25 0x00007f12b4fbda38 in ThreadWeaver::Thread::run (this=0x59956e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#26 0x00007f12b23cf27e in QThreadPrivate::start (arg=0x59956e0) at thread/qthread_unix.cpp:266
#27 0x00007f12b0094971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#28 0x00007f12b09db92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f128527d700 (LWP 21857)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f12b23cfe3b in wait (this=<value optimized out>, mutex=0x205aa60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x205aa60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f12b4fbbd64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x204e8b0, th=0x5994af0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f12b4fbef6b in ThreadWeaver::WorkingHardState::applyForWork (this=0x205b460, th=0x5994af0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f12b4fbef84 in ThreadWeaver::WorkingHardState::applyForWork (this=0x205b460, th=0x5994af0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f12b4fbd4df in ThreadWeaver::ThreadRunHelper::run (this=0x7f128527ce00, parent=0x204e8b0, th=0x5994af0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f12b4fbda38 in ThreadWeaver::Thread::run (this=0x5994af0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f12b23cf27e in QThreadPrivate::start (arg=0x5994af0) at thread/qthread_unix.cpp:266
#9  0x00007f12b0094971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f12b09db92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1284a7c700 (LWP 21858)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f12b09741dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f12b0972c78 in __libc_free (mem=0x7f128c000020) at malloc.c:3736
#3  0x00007f12aeca9e0d in KDevelop::DUChainWriteLocker::~DUChainWriteLocker (this=0x7f1284a7ba10, __in_chrg=<value optimized out>) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:289
#4  0x00007f12899c2767 in PreprocessJob::run (this=0x8ad1c00) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:300
#5  0x00007f12b4fbe1c1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f1284a7bd50, th=0x591b8f0, job=0x8ad1c00) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f12b4fbe4be in ThreadWeaver::Job::execute (this=0x8ad1c00, th=0x591b8f0) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f12b4fbf8c3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x8e789c0, t=0x591b8f0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f12b4fbd4af in ThreadWeaver::ThreadRunHelper::run (this=0x7f1284a7be00, parent=0x204e8b0, th=0x591b8f0) at ../../../threadweaver/Weaver/Thread.cpp:95
#9  0x00007f12b4fbda38 in ThreadWeaver::Thread::run (this=0x591b8f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f12b23cf27e in QThreadPrivate::start (arg=0x591b8f0) at thread/qthread_unix.cpp:266
#11 0x00007f12b0094971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007f12b09db92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f128427b700 (LWP 21869)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f12aaec920e in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f12aaec9329 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f12b0094971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f12b09db92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1285aff700 (LWP 23758)):
[KCrash Handler]
#6  0x00007f12b0928ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f12b092c6b0 in abort () at abort.c:92
#8  0x00007f12b096243b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f12b096c4b6 in malloc_printerr (action=3, str=0x7f12b0a40098 "double free or corruption (!prev)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f12b0972c83 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007f12b2475077 in qAtomicAssign<QUrlPrivate> (this=0x7f128ced2ba8, url=<value optimized out>) at ../../include/QtCore/../../src/corelib/thread/qatomic.h:201
#12 QUrl::operator= (this=0x7f128ced2ba8, url=<value optimized out>) at io/qurl.cpp:5946
#13 0x00007f12b664b839 in KUrl::operator= (this=0x536b, _u=...) at ../../kdecore/io/kurl.cpp:588
#14 0x00007f12af2d3aed in KDevelop::ProjectBaseItem::setUrl (this=0x7f128d1a60f0, url=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:400
#15 0x00007f12af2d4fe3 in KDevelop::ProjectFileItem::setUrl (this=0x7f128d1a60f0, url=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:684
#16 0x00007f12af2d43a0 in KDevelop::ProjectFolderItem::propagateRename (this=0x7f128cd6c810, newBase=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:549
#17 0x00007f12af2d4242 in KDevelop::ProjectFolderItem::setUrl (this=0x7f128cd6c810, url=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:524
#18 0x00007f12af2d43a0 in KDevelop::ProjectFolderItem::propagateRename (this=0x7f1278428120, newBase=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:549
#19 0x00007f12af2d4242 in KDevelop::ProjectFolderItem::setUrl (this=0x7f1278428120, url=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:524
#20 0x00007f12865222a7 in CMakeManager::parse (this=0x5ffda90, item=0x7f128c1b97e0) at /home/milian/projects/kde4/kdevelop/projectmanagers/cmake/cmakemanager.cpp:444
#21 0x00007f12af2dcbe1 in KDevelop::ImportProjectJobPrivate::import (this=0x7f128df3ce50, folder=0x7f128c1b97e0) at /home/milian/projects/kde4/kdevplatform/project/importprojectjob.cpp:53
#22 0x00007f12af2dd27e in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (this=0xe9c7910) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426
#23 0x00007f12af2dc950 in QtConcurrent::RunFunctionTask<void>::run (this=0xe9c7910) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#24 0x00007f12b23c4d02 in QThreadPoolThread::run (this=0x63a4c60) at concurrent/qthreadpool.cpp:106
#25 0x00007f12b23cf27e in QThreadPrivate::start (arg=0x63a4c60) at thread/qthread_unix.cpp:266
#26 0x00007f12b0094971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#27 0x00007f12b09db92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f12b6be2760 (LWP 21355)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f12b09741dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f12b0972c78 in __libc_free (mem=0x7f128c000020) at malloc.c:3736
#3  0x00007f12b24c723c in node_destruct (this=0x1aba288, afirst=) at ../../include/QtCore/../../src/corelib/tools/qlist.h:375
#4  QList<QPostEvent>::erase (this=0x1aba288, afirst=) at ../../include/QtCore/../../src/corelib/tools/qlist.h:789
#5  0x00007f12b24c5b07 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1aba260) at kernel/qcoreapplication.cpp:1405
#6  0x00007f12b24ef653 in sendPostedEvents (s=0x1ae2200) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#7  postEventSourceDispatch (s=0x1ae2200) at kernel/qeventdispatcher_glib.cpp:277
#8  0x00007f12ac430342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#9  0x00007f12ac4342a8 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f12ac43445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f12b24ef193 in QEventDispatcherGlib::processEvents (this=0x1ab9950, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#12 0x00007f12b18dca4e in QGuiEventDispatcherGlib::processEvents (this=0x7f128c000020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#13 0x00007f12b24c1a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#14 0x00007f12b24c1dec in QEventLoop::exec (this=0x7fffcd11b290, flags=) at kernel/qeventloop.cpp:201
#15 0x00007f12b24c5ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#16 0x000000000040b0ae in main (argc=3, argv=0x7fffcd11d1d8) at /home/milian/projects/kde4/kdevelop/app/main.cpp:455

Possible duplicates by query: bug 265925, bug 265308, bug 264901, bug 264682, bug 263134.

Reported using DrKonqi
Comment 1 Milian Wolff 2011-02-12 20:06:42 UTC
the cli had some output as well:

*** glibc detected *** kdevelop: double free or corruption (!prev): 0x00007f128cc87f10 ***
======= Backtrace: =========
/lib/libc.so.6(+0x774b6)[0x7f12b096c4b6]
/lib/libc.so.6(cfree+0x73)[0x7f12b0972c83]
/usr/lib/libQtCore.so.4(_ZN4QUrlaSERKS_+0x57)[0x7f12b2475077]
/usr/lib/libkdecore.so.5(_ZN4KUrlaSERKS_+0x9)[0x7f12b664b839]
/home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.4(_ZN8KDevelop15ProjectBaseItem6setUrlERK4KUrl+0x37)[0x7f12af2d3aed]
/home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.4(_ZN8KDevelop15ProjectFileItem6setUrlERK4KUrl+0x121)[0x7f12af2d4fe3]
/home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.4(_ZNK8KDevelop17ProjectFolderItem15propagateRenameERK4KUrl+0x102)[0x7f12af2d43a0]
/home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.4(_ZN8KDevelop17ProjectFolderItem6setUrlERK4KUrl+0x5a)[0x7f12af2d4242]
/home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.4(_ZNK8KDevelop17ProjectFolderItem15propagateRenameERK4KUrl+0x102)[0x7f12af2d43a0]
/home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.4(_ZN8KDevelop17ProjectFolderItem6setUrlERK4KUrl+0x5a)[0x7f12af2d4242]
/home/milian/projects/compiled/kde4/lib/kde4/kdevcmakemanager.so(+0x172a7)[0x7f12865222a7]
/home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.4(+0x24be1)[0x7f12af2dcbe1]
/home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.4(+0x2527e)[0x7f12af2dd27e]
/home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.4(+0x24950)[0x7f12af2dc950]
/usr/lib/libQtCore.so.4(+0x6ad02)[0x7f12b23c4d02]
/usr/lib/libQtCore.so.4(+0x7527e)[0x7f12b23cf27e]
/lib/libpthread.so.0(+0x7971)[0x7f12b0094971]
/lib/libc.so.6(clone+0x6d)[0x7f12b09db92d]
======= Memory map: ========
00400000-00413000 r-xp 00000000 08:06 1372                               /home/milian/projects/compiled/kde4/bin/kdevelop
00612000-00613000 r--p 00012000 08:06 1372                               /home/milian/projects/compiled/kde4/bin/kdevelop
00613000-00614000 rw-p 00013000 08:06 1372                               /home/milian/projects/compiled/kde4/bin/kdevelop
01ab2000-0ee42000 rw-p 00000000 00:00 0                                  [heap]
7f1278000000-7f127bb73000 rw-p 00000000 00:00 0 
7f127bb73000-7f127c000000 ---p 00000000 00:00 0 
7f127ff4e000-7f127ff4f000 ---p 00000000 00:00 0 
7f127ff4f000-7f128074f000 rw-p 00000000 00:00 0 
7f1281c00000-7f1281d00000 rw-p 00000000 00:00 0 
7f1281d4a000-7f1281d52000 rw-p 00000000 00:00 0 
7f1282165000-7f1282167000 r--s 00000000 08:06 790884                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/324
7f1282167000-7f1282168000 r--s 00000000 08:06 790611                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/314
7f1282168000-7f1282169000 r--s 00000000 08:06 788490                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1952
7f1282169000-7f128216a000 r--s 00000000 08:06 791329                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1775
7f128216a000-7f128216c000 r--s 00000000 08:06 787765                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1912
7f128216c000-7f128216e000 r--s 00000000 08:06 788574                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1874
7f128216e000-7f1282171000 r--s 00000000 08:06 791306                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1793
7f1282171000-7f1282172000 r--s 00000000 08:06 791588                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1946
7f1282172000-7f1282174000 r--s 00000000 08:06 787593                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1936
7f1282174000-7f1282178000 r--s 00000000 08:06 787645                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1922
7f1282178000-7f128217b000 r--s 00000000 08:06 790173                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1940
7f128217b000-7f128217d000 r--s 00000000 08:06 790335                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1950
7f128217d000-7f128217f000 r--s 00000000 08:06 791108                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1948
7f128217f000-7f1282182000 r--s 00000000 08:06 788382                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/2074
7f1282182000-7f1282186000 r--s 00000000 08:06 790647                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1822
7f1282186000-7f1282188000 r--s 00000000 08:06 788498                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1688
7f1282188000-7f128218d000 rwxp 00000000 00:00 0 
7f128218d000-7f128218f000 r--s 00000000 08:06 788242                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1744
7f128218f000-7f1282192000 r--s 00000000 08:06 791548                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1837
7f1282192000-7f1282195000 r--s 00000000 08:06 791450                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1890
7f1282195000-7f1282197000 r--s 00000000 08:06 788297                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1880
7f1282197000-7f128219a000 r--s 00000000 08:06 790403                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/1882KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/milian/.kde/socket-odin/kdeinit4__0
QSocketNotifier: Invalid socket 26 and type 'Read', disabling...
QSocketNotifier: Invalid socket 42 and type 'Read', disabling...

[1]+  Stopped                 kdevelop -s kdev
Comment 2 Aleix Pol 2011-03-03 05:11:52 UTC
Git commit 40f0cefe4a77360c244440f9600777137b43fe6a by Aleix Pol.
Committed on 03/03/2011 at 05:08.
Pushed by apol into branch '4.2'.

Don't remove project items while the project is being reloaded.

BUG: 266161

M  +15   -1    projectmanagers/cmake/cmakemanager.cpp     

http://commits.kde.org/kdevelop/40f0cefe4a77360c244440f9600777137b43fe6a
Comment 3 Milian Wolff 2011-03-03 20:38:39 UTC
still happening to me, just switching branches in kdevelop is enough for me - does this work for you Aleix?
Comment 4 Aleix Pol 2011-03-03 21:26:56 UTC
Yes, it works switching back an forth. I'll check on a different system today.

*sigh*
Comment 5 Milian Wolff 2011-03-03 21:55:07 UTC
hm it is better that much I do have to say, it's not as bad as before. maybe even fixed all together? I was pretty sure that I was running the updated version before I updated it but did not trigger this bug since...

though do you notice that upon switching branches most folders are missing files? maybe it just takes ages for the changes to come into effect but that should be improved as well I think
Comment 6 Milian Wolff 2011-03-03 21:58:20 UTC
nope, still crashing, just takes longer now ;-)
Comment 7 Aleix Pol 2011-03-03 22:34:26 UTC
i'll take another look into it. i'm afraid it can take a little long since i don't have electricity today :/
Comment 8 Aleix Pol 2011-03-04 04:12:57 UTC
Created attachment 57661 [details]
possible solution

Can you try this one and tell me if it helps? (if it does I'll properly fix)

Thank you
Comment 9 Milian Wolff 2011-04-02 00:47:35 UTC
no, still crashing even with this patch:

...
pepepe () 
pepepe () 
pepepe () 
pepepe (0x7f0d885b9080, 0x7f0d88568210, 0x7f0d885c1a70) 
pepepe () 
pepepe (0x7f0d88285640) 
pepepe () 
pepepe () 
pepepe () 
pepepe (0x5b0a930) 
pepepe () 
pepepe () 
pepepe () 
pepepe (0x7f0d88426fb0) 
pepepe () 
pepepe (0x7f0d880d8ba0) 
pepepe () 
pepepe () 
pepepe (0x7f0d9c9de170) 
pepepe () 
pepepe (0x7f0d9dc81550, 0x7f0d9dbad9d0) 
pepepe () 
pepepe ()
....

*** glibc detected *** kdevelop: double free or corruption (!prev): 0x00007f0d880d1710 ***
======= Backtrace: =========
/lib/libc.so.6(+0x774b6)[0x7f0dbfd9c4b6]
/lib/libc.so.6(cfree+0x73)[0x7f0dbfda2c83]
/home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.4(+0x954a2)[0x7f0dc54654a2]
/home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.4(+0x9544d)[0x7f0dc546544d]
/home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.4(+0x95684)[0x7f0dc5465684]
/home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.4(_ZNK8KDevelop7Project11filesForUrlERK4KUrl+0x3a)[0x7f0dc5464002]
/home/milian/projects/compiled/kde4/lib/kde4/kdevcpplanguagesupport.so(+0x386ac)[0x7f0d94ec46ac]
/home/milian/projects/compiled/kde4/lib/kde4/kdevcpplanguagesupport.so(+0x30b5b)[0x7f0d94ebcb5b]
/home/milian/projects/compiled/kde4/lib/kde4/kdevcpplanguagesupport.so(+0x3450f)[0x7f0d94ec050f]
/usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x38e)[0x7f0dc1904bde]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac)[0x7f0dc0c59fdc]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x14d)[0x7f0dc0c5faed]
kdevelop(22661)/kdevplatform (language) KDevelop::DUChainPrivate::loadChain: loading top-context 305
/usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x36)[0x7f0dc21012c6]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7f0dc18f2cdc]
/usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2d2)[0x7f0dc18f5c22]
/usr/lib/libQtCore.so.4(+0x195653)[0x7f0dc191f653]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f2)[0x7f0dbb85f342]
/lib/libglib-2.0.so.0(+0x442a8)[0x7f0dbb8632a8]
/lib/libglib-2.0.so.0(g_main_context_iteration+0x6c)[0x7f0dbb86345c]
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x73)[0x7f0dc191f193]
/usr/lib/libQtGui.so.4(+0x26aa4e)[0x7f0dc0d0ca4e]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7f0dc18f1a02]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xdc)[0x7f0dc18f1dec]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xbb)[0x7f0dc18f5ebb]
kdevelop[0x40b46d]
/lib/libc.so.6(__libc_start_main+0xfe)[0x7f0dbfd43d8e]
kdevelop[0x404c89]
======= Memory map: ========
00400000-00413000 r-xp 00000000 08:06 1249                               /home/milian/projects/compiled/kde4/bin/kdevelop
00613000-00614000 r--p 00013000 08:06 1249                               /home/milian/projects/compiled/kde4/bin/kdevelop
00614000-00615000 rw-p 00014000 08:06 1249                               /home/milian/projects/compiled/kde4/bin/kdevelop
006a8000-06319000 rw-p 00000000 00:00 0                                  [heap]
7f0d88000000-7f0d888e3000 rw-p 00000000 00:00 0 
7f0d888e3000-7f0d8c000000 ---p 00000000 00:00 0 
7f0d8cd06000-7f0d8cd07000 ---p 00000000 00:00 0 
7f0d8cd07000-7f0d8d507000 rw-p 00000000 00:00 0 
7f0d8d507000-7f0d8d508000 ---p 00000000 00:00 0 
7f0d8d508000-7f0d8dd08000 rw-p 00000000 00:00 0 
7f0d8dd08000-7f0d8dd09000 ---p 00000000 00:00 0 
7f0d8dd09000-7f0d8e509000 rw-p 00000000 00:00 0 
7f0d8e509000-7f0d8e734000 r--s 00000000 08:01 5300                       /var/tmp/kdecache-milian/ksycoca4
7f0d8e734000-7f0d8e735000 r--s 00000000 08:06 694167                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/21
7f0d8e735000-7f0d8e736000 r--s 00000000 08:06 699397                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/20
7f0d8e736000-7f0d8e737000 r--s 00000000 08:06 693646                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/19
7f0d8e737000-7f0d8e73a000 r--s 00003000 08:06 693177                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/18
7f0d8e73b000-7f0d8e73d000 r--s 00000000 08:06 697299                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/13
7f0d8e73d000-7f0d8e73e000 r--s 00000000 08:06 693150                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/17
7f0d8e73e000-7f0d8e740000 r--s 00003000 08:06 681182                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/16
7f0d8e740000-7f0d8e741000 r--s 00000000 08:06 703665                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/14
7f0d8e741000-7f0d8e743000 r--s 00000000 08:06 697812                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/15
7f0d8e743000-7f0d8e744000 r--s 00000000 08:06 694710                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/12
7f0d8e744000-7f0d8e745000 r--s 00000000 08:06 678983                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/11
7f0d8e745000-7f0d8e746000 r--s 00000000 08:06 679050                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/10
7f0d8e746000-7f0d8e747000 r--s 00000000 08:06 701509                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/9
7f0d8e747000-7f0d8e748000 r--s 00000000 08:06 704434                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/8
7f0d8e748000-7f0d8e749000 r--s 00000000 08:06 690103                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/7
7f0d8e749000-7f0d8e74a000 r--s 00000000 08:06 684288                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/6
7f0d8e74a000-7f0d8e74b000 r--s 00000000 08:06 691611                     /home/milian/.kdevduchain/{2e1b7b8e-cf0d-4c35-9ab8-171bf835d142}/0/topcontexts/5KCrash: Application 'kdevelop' crashing...


Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 1 (Thread 0x7f0dc6019760 (LWP 22661))]

Thread 15 (Thread 0x7f0daabf7700 (LWP 22665)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f0dc17ffda2 in wait (this=<value optimized out>, mutex=0x1cd0350, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1cd0350, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0dbe0688fc in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1cd0330) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchain.cpp:286
#4  0x00007f0dc17ff27e in QThreadPrivate::start (arg=0x1cd0330) at thread/qthread_unix.cpp:266
#5  0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f0d9b7fe700 (LWP 22670)):
#0  0x00007f0dbfe042c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f0dc18cee8d in QProcessManager::run (this=0x7f0dc1c24f40) at io/qprocess_unix.cpp:245
#2  0x00007f0dc17ff27e in QThreadPrivate::start (arg=0x7f0dc1c24f40) at thread/qthread_unix.cpp:266
#3  0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f0da09fb700 (LWP 22672)):
#0  0x00007f0dbfdff203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0dbb863009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f0dbb86345c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f0dc191f1e6 in QEventDispatcherGlib::processEvents (this=0x2821c60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f0dc18f1a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f0dc18f1dec in QEventLoop::exec (this=0x7f0da09fadb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f0dc17fc2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f0dbe195541 in KDevelop::CompletionWorkerThread::run (this=0x275b1c0) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84
#8  0x00007f0dc17ff27e in QThreadPrivate::start (arg=0x275b1c0) at thread/qthread_unix.cpp:266
#9  0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f0d9bfff700 (LWP 22674)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x290ec48) at pthread_mutex_unlock.c:41
#1  __pthread_mutex_unlock (mutex=0x290ec48) at pthread_mutex_unlock.c:290
#2  0x00007f0dbb862661 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x00007f0dbb863023 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f0dbb86345c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f0dc191f1e6 in QEventDispatcherGlib::processEvents (this=0x290e7a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00007f0dc18f1a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f0dc18f1dec in QEventLoop::exec (this=0x7f0d9bffedb0, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f0dc17fc2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#9  0x00007f0dc18d15f8 in QInotifyFileSystemWatcherEngine::run (this=0x290de50) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f0dc17ff27e in QThreadPrivate::start (arg=0x290de50) at thread/qthread_unix.cpp:266
#11 0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f0da11fc700 (LWP 22675)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f0da11fba90 in ?? ()
#2  0x00007fff979ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x7f0d94688700 (LWP 22676)):
#0  0x00007f0dbfdff203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0dbb863009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f0dbb86345c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f0dc191f1e6 in QEventDispatcherGlib::processEvents (this=0x2901610, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f0dc18f1a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f0dc18f1dec in QEventLoop::exec (this=0x7f0d94687db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f0dc17fc2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f0dbe195541 in KDevelop::CompletionWorkerThread::run (this=0x28cd3b0) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84
#8  0x00007f0dc17ff27e in QThreadPrivate::start (arg=0x28cd3b0) at thread/qthread_unix.cpp:266
#9  0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f0d933f3700 (LWP 22681)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0dbed79334 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f0dbf084160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f0dbed79369 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f0dbf092234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f0d9267f700 (LWP 22682)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f0d9267ea90 in ?? ()
#2  0x00007fff979ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x7f0d90e01700 (LWP 22702)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0dba2f820e in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f0dba2f8329 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f0d91602700 (LWP 22705)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f0dc17ffda2 in wait (this=<value optimized out>, mutex=0x402b1b0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x402b1b0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0dc17f4da2 in QThreadPoolThread::run (this=0x25e9d90) at concurrent/qthreadpool.cpp:140
#4  0x00007f0dc17ff27e in QThreadPrivate::start (arg=0x25e9d90) at thread/qthread_unix.cpp:266
#5  0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0d8f335700 (LWP 22717)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f0dbfda41dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f0dbfda2c78 in __libc_free (mem=0x7f0d88000020) at malloc.c:3736
#3  0x00007f0dc1844dfc in QString::free (d=0x7f0d880e0c70) at tools/qstring.cpp:1151
#4  0x00007f0dc1845232 in QString::operator= (this=0x7f0d880e1020, other=...) at tools/qstring.cpp:1325
#5  0x00007f0dbe702ea5 in KDevelop::ProjectBaseItem::setText (this=0x7f0d880ddf00, text=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:308
#6  0x00007f0dbe703b28 in KDevelop::ProjectBaseItem::setUrl (this=0x7f0d880ddf00, url=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:402
#7  0x00007f0dbe704fe3 in KDevelop::ProjectFileItem::setUrl (this=0x7f0d880ddf00, url=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:684
#8  0x00007f0dbe7043a0 in KDevelop::ProjectFolderItem::propagateRename (this=0x4923910, newBase=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:549
#9  0x00007f0dbe704242 in KDevelop::ProjectFolderItem::setUrl (this=0x4923910, url=...) at /home/milian/projects/kde4/kdevplatform/project/projectmodel.cpp:524
#10 0x00007f0d9182443f in CMakeManager::parse (this=0x3f80570, item=0x3c1bcc0) at /home/milian/projects/kde4/kdevelop/projectmanagers/cmake/cmakemanager.cpp:446
#11 0x00007f0dbe70cbe1 in KDevelop::ImportProjectJobPrivate::import (this=0x55f1c80, folder=0x3c1bcc0) at /home/milian/projects/kde4/kdevplatform/project/importprojectjob.cpp:53
#12 0x00007f0dbe70d27e in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (this=0x55eafc0) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426
#13 0x00007f0dbe70c950 in QtConcurrent::RunFunctionTask<void>::run (this=0x55eafc0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#14 0x00007f0dc17f4d02 in QThreadPoolThread::run (this=0x4295c90) at concurrent/qthreadpool.cpp:106
#15 0x00007f0dc17ff27e in QThreadPrivate::start (arg=0x4295c90) at thread/qthread_unix.cpp:266
#16 0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#17 0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0d8e508700 (LWP 23351)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0dc17ffe3b in wait (this=<value optimized out>, mutex=0xcb51c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xcb51c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0dc43ecd64 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xcac0b0, th=0x58baaa0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f0dc43eff6b in ThreadWeaver::WorkingHardState::applyForWork (this=0xcb6010, th=0x58baaa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f0dc43eff84 in ThreadWeaver::WorkingHardState::applyForWork (this=0xcb6010, th=0x58baaa0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f0dc43ee4df in ThreadWeaver::ThreadRunHelper::run (this=0x7f0d8e507e00, parent=0xcac0b0, th=0x58baaa0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f0dc43eea38 in ThreadWeaver::Thread::run (this=0x58baaa0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f0dc17ff27e in QThreadPrivate::start (arg=0x58baaa0) at thread/qthread_unix.cpp:266
#9  0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0d8dd07700 (LWP 23352)):
#0  __lll_timedlock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:187
#1  0x00007f0dbf4c7756 in _L_timedlock_154 () from /lib/libpthread.so.0
#2  0x00007f0dbf4c6f2e in pthread_mutex_timedlock (mutex=0x7f0dc59596c0, abstime=0x7f0d8dcfa9f0) at pthread_mutex_timedlock.c:80
#3  0x00007f0dc57393aa in SimplePThreadMutex::tryLock (this=0x7f0dc59596c0, interval=10) at /home/milian/projects/kde4/kdevplatform/interfaces/foregroundlock.cpp:69
#4  0x00007f0dc5737fce in (anonymous namespace)::tryLockForegroundMutexInternal (interval=10) at /home/milian/projects/kde4/kdevplatform/interfaces/foregroundlock.cpp:115
#5  0x00007f0dc57385fc in KDevelop::ForegroundLock::relock (this=0x7f0d8dcfae8f) at /home/milian/projects/kde4/kdevplatform/interfaces/foregroundlock.cpp:157
#6  0x00007f0dc5738118 in KDevelop::ForegroundLock::ForegroundLock (this=0x7f0d8dcfae8f, lock=true) at /home/milian/projects/kde4/kdevplatform/interfaces/foregroundlock.cpp:142
#7  0x00007f0dbe047d2a in KDevelop::ParseJob::readContents (this=0x7f0d9c0110f0) at /home/milian/projects/kde4/kdevplatform/language/backgroundparser/parsejob.cpp:219
#8  0x00007f0d94eda9f7 in PreprocessJob::readContents (this=0x7f0d9ddecb20) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:670
#9  0x00007f0d94ed735a in PreprocessJob::run (this=0x7f0d9ddecb20) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:236
#10 0x00007f0d94eca3a3 in CPPParseJob::parseForeground (this=0x7f0d9c0110f0) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:174
#11 0x00007f0d94ed9dd0 in PreprocessJob::sourceNeeded (this=0x7f0d88626e10, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=44, skipCurrentPath=false) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:598
#12 0x00007f0d94c76f2d in rpp::pp::handle_include (this=0x7f0d8dcfd0f0, skip_current_path=false, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:213
#13 0x00007f0d94c765db in rpp::pp::handle_directive (this=0x7f0d8dcfd0f0, directive=704418, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#14 0x00007f0d94c7723f in rpp::pp::operator() (this=0x7f0d8dcfd0f0, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:266
#15 0x00007f0d94c76135 in rpp::pp::processFileInternal (this=0x7f0d8dcfd0f0, fileName=..., fileContents=..., result=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#16 0x00007f0d94c75fe6 in rpp::pp::processFile (this=0x7f0d8dcfd0f0, fileName=..., data=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#17 0x00007f0d94ed770e in PreprocessJob::run (this=0x7f0d88626e10) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:264
#18 0x00007f0d94eca3a3 in CPPParseJob::parseForeground (this=0x7f0d880dd180) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:174
#19 0x00007f0d94ed9dd0 in PreprocessJob::sourceNeeded (this=0x7f0d88077170, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=46, skipCurrentPath=false) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:598
#20 0x00007f0d94c76f2d in rpp::pp::handle_include (this=0x7f0d8dcff2d0, skip_current_path=false, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:213
#21 0x00007f0d94c765db in rpp::pp::handle_directive (this=0x7f0d8dcff2d0, directive=704418, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#22 0x00007f0d94c7723f in rpp::pp::operator() (this=0x7f0d8dcff2d0, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:266
#23 0x00007f0d94c76135 in rpp::pp::processFileInternal (this=0x7f0d8dcff2d0, fileName=..., fileContents=..., result=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#24 0x00007f0d94c75fe6 in rpp::pp::processFile (this=0x7f0d8dcff2d0, fileName=..., data=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#25 0x00007f0d94ed770e in PreprocessJob::run (this=0x7f0d88077170) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:264
#26 0x00007f0d94eca3a3 in CPPParseJob::parseForeground (this=0x7f0d8806f5d0) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:174
#27 0x00007f0d94ed9dd0 in PreprocessJob::sourceNeeded (this=0x56cd8d0, _fileName=..., type=rpp::Preprocessor::IncludeLocal, sourceLine=0, skipCurrentPath=false) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:598
#28 0x00007f0d94c76f2d in rpp::pp::handle_include (this=0x7f0d8dd014b0, skip_current_path=false, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:213
#29 0x00007f0d94c765db in rpp::pp::handle_directive (this=0x7f0d8dd014b0, directive=704418, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#30 0x00007f0d94c7723f in rpp::pp::operator() (this=0x7f0d8dd014b0, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:266
#31 0x00007f0d94c76135 in rpp::pp::processFileInternal (this=0x7f0d8dd014b0, fileName=..., fileContents=..., result=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#32 0x00007f0d94c75fe6 in rpp::pp::processFile (this=0x7f0d8dd014b0, fileName=..., data=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#33 0x00007f0d94ed770e in PreprocessJob::run (this=0x56cd8d0) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:264
#34 0x00007f0d94eca3a3 in CPPParseJob::parseForeground (this=0x61f2f10) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:174
#35 0x00007f0d94ed9dd0 in PreprocessJob::sourceNeeded (this=0x5e1a0d0, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=24, skipCurrentPath=false) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:598
#36 0x00007f0d94c76f2d in rpp::pp::handle_include (this=0x7f0d8dd03690, skip_current_path=false, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:213
#37 0x00007f0d94c765db in rpp::pp::handle_directive (this=0x7f0d8dd03690, directive=704418, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#38 0x00007f0d94c7723f in rpp::pp::operator() (this=0x7f0d8dd03690, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:266
#39 0x00007f0d94c76135 in rpp::pp::processFileInternal (this=0x7f0d8dd03690, fileName=..., fileContents=..., result=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#40 0x00007f0d94c75fe6 in rpp::pp::processFile (this=0x7f0d8dd03690, fileName=..., data=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#41 0x00007f0d94ed770e in PreprocessJob::run (this=0x5e1a0d0) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:264
#42 0x00007f0d94eca3a3 in CPPParseJob::parseForeground (this=0x5e92d90) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:174
#43 0x00007f0d94ed9dd0 in PreprocessJob::sourceNeeded (this=0x7f0d9cbecd10, _fileName=..., type=rpp::Preprocessor::IncludeGlobal, sourceLine=20, skipCurrentPath=false) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:598
#44 0x00007f0d94c76f2d in rpp::pp::handle_include (this=0x7f0d8dd05870, skip_current_path=false, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:213
#45 0x00007f0d94c765db in rpp::pp::handle_directive (this=0x7f0d8dd05870, directive=704418, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:131
#46 0x00007f0d94c7723f in rpp::pp::operator() (this=0x7f0d8dd05870, input=..., output=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:266
#47 0x00007f0d94c76135 in rpp::pp::processFileInternal (this=0x7f0d8dd05870, fileName=..., fileContents=..., result=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#48 0x00007f0d94c75fe6 in rpp::pp::processFile (this=0x7f0d8dd05870, fileName=..., data=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#49 0x00007f0d94ed770e in PreprocessJob::run (this=0x7f0d9cbecd10) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:264
#50 0x00007f0dc43ef1c1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f0d8dd06d50, th=0x5808a30, job=0x7f0d9cbecd10) at ../../../threadweaver/Weaver/Job.cpp:106
#51 0x00007f0dc43ef4be in ThreadWeaver::Job::execute (this=0x7f0d9cbecd10, th=0x5808a30) at ../../../threadweaver/Weaver/Job.cpp:135
#52 0x00007f0dc43f08c3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x7f0d9dc9ce80, t=0x5808a30) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#53 0x00007f0dc43ee4af in ThreadWeaver::ThreadRunHelper::run (this=0x7f0d8dd06e00, parent=0xcac0b0, th=0x5808a30) at ../../../threadweaver/Weaver/Thread.cpp:95
#54 0x00007f0dc43eea38 in ThreadWeaver::Thread::run (this=0x5808a30) at ../../../threadweaver/Weaver/Thread.cpp:142
#55 0x00007f0dc17ff27e in QThreadPrivate::start (arg=0x5808a30) at thread/qthread_unix.cpp:266
#56 0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#57 0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#58 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0d8d506700 (LWP 23353)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f0dc17ffda2 in wait (this=<value optimized out>, mutex=0x37c1e18, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x37c1e18, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0d94ecaaa5 in CPPParseJob::includePaths (this=0x37c1d20) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:243
#4  0x00007f0d94eca4f7 in CPPParseJob::mergeDefines (this=0x37c1d20, env=...) at /home/milian/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:206
#5  0x00007f0d94ed6a3a in PreprocessJob::run (this=0x59bb2e0) at /home/milian/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:178
#6  0x00007f0dc43ef1c1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f0d8d505d50, th=0x7f0d9dc98f60, job=0x59bb2e0) at ../../../threadweaver/Weaver/Job.cpp:106
#7  0x00007f0dc43ef4be in ThreadWeaver::Job::execute (this=0x59bb2e0, th=0x7f0d9dc98f60) at ../../../threadweaver/Weaver/Job.cpp:135
#8  0x00007f0dc43f08c3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x3dd5e20, t=0x7f0d9dc98f60) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#9  0x00007f0dc43ee4af in ThreadWeaver::ThreadRunHelper::run (this=0x7f0d8d505e00, parent=0xcac0b0, th=0x7f0d9dc98f60) at ../../../threadweaver/Weaver/Thread.cpp:95
#10 0x00007f0dc43eea38 in ThreadWeaver::Thread::run (this=0x7f0d9dc98f60) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007f0dc17ff27e in QThreadPrivate::start (arg=0x7f0d9dc98f60) at thread/qthread_unix.cpp:266
#12 0x00007f0dbf4c4971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#13 0x00007f0dbfe0b92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0dc6019760 (LWP 22661)):
[KCrash Handler]
#6  0x00007f0dbfd58ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f0dbfd5c6b0 in abort () at abort.c:92
#8  0x00007f0dbfd9243b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f0dbfd9c4b6 in malloc_printerr (action=3, str=0x7f0dbfe70098 "double free or corruption (!prev)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f0dbfda2c83 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007f0dc54654a2 in KDevelop::ProjectPrivate::itemsForUrlInternal (this=0x3f67990, url=..., folder=0x4923910) at /home/milian/projects/kde4/kdevplatform/shell/project.cpp:211
#12 0x00007f0dc546544d in KDevelop::ProjectPrivate::itemsForUrlInternal (this=0x3f67990, url=..., folder=0x3c1bcc0) at /home/milian/projects/kde4/kdevplatform/shell/project.cpp:210
#13 0x00007f0dc5465684 in KDevelop::ProjectPrivate::itemsForUrl (this=0x3f67990, url=...) at /home/milian/projects/kde4/kdevplatform/shell/project.cpp:229
#14 0x00007f0dc5464002 in KDevelop::Project::filesForUrl (this=0x732d90, url=...) at /home/milian/projects/kde4/kdevplatform/shell/project.cpp:571
#15 0x00007f0d94ec46ac in IncludePathComputer::computeForeground (this=0x5850eb0) at /home/milian/projects/kde4/kdevelop/languages/cpp/includepathcomputer.cpp:68
#16 0x00007f0d94ebcb5b in CppLanguageSupport::findIncludePathsForJob (this=0x28a63e0, job=0x37c1d20) at /home/milian/projects/kde4/kdevelop/languages/cpp/cpplanguagesupport.cpp:435
#17 0x00007f0d94ec050f in CppLanguageSupport::qt_metacall (this=0x28a63e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x3de0b50) at /home/milian/projects/.build/kde4/kdevelop/languages/cpp/cpplanguagesupport.moc:144
#18 0x00007f0dc1904bde in QObject::event (this=0x28a63e0, e=0x5885) at kernel/qobject.cpp:1219
#19 0x00007f0dc0c59fdc in QApplicationPrivate::notify_helper (this=0x6d3900, receiver=0x28a63e0, e=0x5d46060) at kernel/qapplication.cpp:4396
#20 0x00007f0dc0c5faed in QApplication::notify (this=0x7fff97949d80, receiver=0x28a63e0, e=0x5d46060) at kernel/qapplication.cpp:4277
#21 0x00007f0dc21012c6 in KApplication::notify (this=0x7fff97949d80, receiver=0x28a63e0, event=0x5d46060) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f0dc18f2cdc in QCoreApplication::notifyInternal (this=0x7fff97949d80, receiver=0x28a63e0, event=0x5d46060) at kernel/qcoreapplication.cpp:732
#23 0x00007f0dc18f5c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x6b0260) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x6b0260) at kernel/qcoreapplication.cpp:1373
#25 0x00007f0dc191f653 in sendPostedEvents (s=0x6d7540) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=0x6d7540) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f0dbb85f342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007f0dbb8632a8 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007f0dbb86345c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007f0dc191f193 in QEventDispatcherGlib::processEvents (this=0x6af950, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#31 0x00007f0dc0d0ca4e in QGuiEventDispatcherGlib::processEvents (this=0x5885, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f0dc18f1a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f0dc18f1dec in QEventLoop::exec (this=0x7fff97949aa0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f0dc18f5ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#35 0x000000000040b46d in main (argc=1, argv=0x7fff9794ba58) at /home/milian/projects/kde4/kdevelop/app/main.cpp:474
Comment 10 Milian Wolff 2011-04-06 01:05:32 UTC
*** Bug 265925 has been marked as a duplicate of this bug. ***
Comment 11 Aleix Pol 2011-04-20 02:54:53 UTC
*** Bug 271319 has been marked as a duplicate of this bug. ***
Comment 12 Aleix Pol 2011-05-05 02:19:41 UTC
Git commit 256ce230b3672c2d85f6c0a51440263cab786004 by Aleix Pol.
Committed on 05/05/2011 at 02:29.
Pushed by apol into branch '4.2'.

Simplify cmake reloading logic.
Add more assertions, should make it easier if there's anything crashing. I used kde-runtime to debug it and it didn't crash once after the changes.

CCBUG: 266161

M  +31   -32   projectmanagers/cmake/cmakemanager.cpp     
M  +1    -1    projectmanagers/cmake/cmakemanager.h     

http://commits.kde.org/kdevelop/256ce230b3672c2d85f6c0a51440263cab786004
Comment 13 Milian Wolff 2011-06-01 19:06:32 UTC
Really seems to be fixed now - great work Aleix! I'll open a new bug when I notice something new.
Comment 14 Gerhard Stein 2012-10-29 08:22:29 UTC
Created attachment 74858 [details]
New crash information added by DrKonqi

kdevelop (4.4.0) on KDE Platform 4.9.2 using Qt 4.8.3

- What I was doing when the application crashed:

changed one of the CMakeLists.txt file.

The Version 4.4 KDevelop seems to still have that problem

-- Backtrace (Reduced):
#5  0x00007f25b9a72ce7 in CMakeManager::dirtyFile(QString const&) () from /usr/lib64/kde4/kdevcmakemanager.so
[...]
#7  0x0000003b39f13382 in KDirWatch::dirty(QString const&) () from /lib64/libkdecore.so.5
#8  0x0000003b3818c9ee in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#9  0x0000003b3a5ca4cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#10 0x0000003b3a5ce94a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4