Bug 328876

Summary: Crash when excluding subdirectories from project during background parsing
Product: [Applications] kdevelop Reporter: rjwgnr27
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.6.60   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description rjwgnr27 2013-12-16 19:45:04 UTC
Application: kdevelop (4.6.60)
KDE Platform Version: 4.11.3 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.9-200.fc19.x86_64 x86_64
Distribution: "Fedora release 19 (Schrödinger’s Cat)"

-- Information about the crash:
Starting a new project, importing existing development tree as "custom makefile" project.

While KDevelop is doing background parsing, in the left "Project" side-bar, right-click on a director and "Exclude Item From Project". KDevelop then sometimes crashes.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f0f5d31c8c0 (LWP 24986))]

Thread 21 (Thread 0x7f0f50b53700 (LWP 24993)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003bac3860bb in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3bac683f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003bac3860f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003509807c53 in start_thread (arg=0x7f0f50b53700) at pthread_create.c:308
#4  0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 20 (Thread 0x7f0ecfad1700 (LWP 24994)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000003ba2a7b1c4 in wait (time=1000, this=0x41bf760) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x41be478, mutex=mutex@entry=0x41be480, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0f5d60f902 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x41be460) at /srv/devel/src/kde4/src/kdevplatform/language/duchain/duchain.cpp:284
#4  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0x41be460) at thread/qthread_unix.cpp:338
#5  0x0000003509807c53 in start_thread (arg=0x7f0ecfad1700) at pthread_create.c:308
#6  0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 19 (Thread 0x7f0ece5fc700 (LWP 24995)):
#0  0x0000003ba1e47638 in g_main_context_prepare (context=context@entry=0x7f0ec00009a0, priority=priority@entry=0x7f0ece5fbbe8) at gmain.c:3258
#1  0x0000003ba1e48003 in g_main_context_iterate (context=context@entry=0x7f0ec00009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3681
#2  0x0000003ba1e481ec in g_main_context_iteration (context=0x7f0ec00009a0, may_block=1) at gmain.c:3762
#3  0x0000003ba2ba7166 in QEventDispatcherGlib::processEvents (this=0x7f0ec00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x0000003ba2b78ecf in QEventLoop::processEvents (this=this@entry=0x7f0ece5fbd20, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003ba2b791c5 in QEventLoop::exec (this=this@entry=0x7f0ece5fbd20, flags=...) at kernel/qeventloop.cpp:204
#6  0x0000003ba2a7866f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#7  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0x4ab00b8) at thread/qthread_unix.cpp:338
#8  0x0000003509807c53 in start_thread (arg=0x7f0ece5fc700) at pthread_create.c:308
#9  0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 18 (Thread 0x7f0eb7a00700 (LWP 24998)):
#0  0x0000003508ceb7fd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003ba1e480e4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f0eb0002ca0, timeout=-1, context=0x7f0eb00009a0) at gmain.c:3995
#2  g_main_context_iterate (context=context@entry=0x7f0eb00009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3696
#3  0x0000003ba1e481ec in g_main_context_iteration (context=0x7f0eb00009a0, may_block=1) at gmain.c:3762
#4  0x0000003ba2ba7166 in QEventDispatcherGlib::processEvents (this=0x7f0eb00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x0000003ba2b78ecf in QEventLoop::processEvents (this=this@entry=0x7f0eb79ffd20, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003ba2b791c5 in QEventLoop::exec (this=this@entry=0x7f0eb79ffd20, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003ba2a7866f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0x4e105f0) at thread/qthread_unix.cpp:338
#9  0x0000003509807c53 in start_thread (arg=0x7f0eb7a00700) at pthread_create.c:308
#10 0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 17 (Thread 0x7f0eae37a700 (LWP 25031)):
#0  __GI___pthread_mutex_lock (mutex=0x7f0ea4000a60) at pthread_mutex_lock.c:135
#1  0x0000003ba1e87221 in g_mutex_lock (mutex=<optimized out>) at gthread-posix.c:210
#2  0x0000003ba1e47fd5 in g_main_context_iterate (context=context@entry=0x7f0ea40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3668
#3  0x0000003ba1e481ec in g_main_context_iteration (context=0x7f0ea40009a0, may_block=1) at gmain.c:3762
#4  0x0000003ba2ba7166 in QEventDispatcherGlib::processEvents (this=0x7f0ea40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x0000003ba2b78ecf in QEventLoop::processEvents (this=this@entry=0x7f0eae379ce0, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003ba2b791c5 in QEventLoop::exec (this=this@entry=0x7f0eae379ce0, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003ba2a7866f in QThread::exec (this=this@entry=0x567f180) at thread/qthread.cpp:536
#8  0x0000003ba2b5a733 in QInotifyFileSystemWatcherEngine::run (this=0x567f180) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0x567f180) at thread/qthread_unix.cpp:338
#10 0x0000003509807c53 in start_thread (arg=0x7f0eae37a700) at pthread_create.c:308
#11 0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 16 (Thread 0x7f0eaeb7b700 (LWP 25037)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000032204cde2d in WTF::TCMalloc_PageHeap::scavengerThread (this=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#2  0x00000032204cde69 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#3  0x0000003509807c53 in start_thread (arg=0x7f0eaeb7b700) at pthread_create.c:308
#4  0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 15 (Thread 0x7f0eaf37c700 (LWP 25038)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000322020e5bd in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7f0ed01a2398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x00000032204fd686 in WTF::wtfThreadEntryPoint (param=0x5787240) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x0000003509807c53 in start_thread (arg=0x7f0eaf37c700) at pthread_create.c:308
#4  0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 14 (Thread 0x7f0e5973e700 (LWP 25039)):
#0  0x0000003ba1e86f6a in g_mutex_get_impl (mutex=0x7f0ea80196f0) at gthread-posix.c:121
#1  0x0000003ba1e87219 in g_mutex_lock (mutex=mutex@entry=0x7f0ea80196f0) at gthread-posix.c:210
#2  0x0000003ba1e47799 in g_main_context_prepare (context=context@entry=0x7f0ea80196f0, priority=priority@entry=0x7f0e5973dbe8) at gmain.c:3330
#3  0x0000003ba1e48003 in g_main_context_iterate (context=context@entry=0x7f0ea80196f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3681
#4  0x0000003ba1e481ec in g_main_context_iteration (context=0x7f0ea80196f0, may_block=1) at gmain.c:3762
#5  0x0000003ba2ba7166 in QEventDispatcherGlib::processEvents (this=0x7f0ea80197c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x0000003ba2b78ecf in QEventLoop::processEvents (this=this@entry=0x7f0e5973dd20, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003ba2b791c5 in QEventLoop::exec (this=this@entry=0x7f0e5973dd20, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003ba2a7866f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0x263b000) at thread/qthread_unix.cpp:338
#10 0x0000003509807c53 in start_thread (arg=0x7f0e5973e700) at pthread_create.c:308
#11 0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 13 (Thread 0x7f0e586b3700 (LWP 25068)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ba2a7b1e6 in wait (time=18446744073709551615, this=0x2cb29e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2cb28b8, mutex=0x2cb2b60, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003bb7e0a85c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2cb2890, th=0xba5c700) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x0000003bb7e0d2f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2cb2bf0, th=0xba5c700, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0x2cb2bf0, th=0xba5c700, previous=0x6e2b5f0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x0000003bb7e0c00f in ThreadWeaver::Thread::run (this=0xba5c700) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/Thread.cpp:98
#7  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0xba5c700) at thread/qthread_unix.cpp:338
#8  0x0000003509807c53 in start_thread (arg=0x7f0e586b3700) at pthread_create.c:308
#9  0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 12 (Thread 0x7f0e57eb2700 (LWP 25069)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ba2a7b1e6 in wait (time=18446744073709551615, this=0x2cb29e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2cb28b8, mutex=0x2cb2b60, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003bb7e0a85c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2cb2890, th=0xb8b5670) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x0000003bb7e0d2f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2cb2bf0, th=0xb8b5670, previous=0x6a01a30) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x0000003bb7e0c00f in ThreadWeaver::Thread::run (this=0xb8b5670) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/Thread.cpp:98
#6  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0xb8b5670) at thread/qthread_unix.cpp:338
#7  0x0000003509807c53 in start_thread (arg=0x7f0e57eb2700) at pthread_create.c:308
#8  0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 11 (Thread 0x7f0e56c58700 (LWP 25071)):
#0  g_mutex_get_impl (mutex=0x7f0e4c0009a0) at gthread-posix.c:120
#1  0x0000003ba1e87249 in g_mutex_unlock (mutex=mutex@entry=0x7f0e4c0009a0) at gthread-posix.c:229
#2  0x0000003ba1e47b59 in g_main_context_check (context=context@entry=0x7f0e4c0009a0, max_priority=2147483647, fds=fds@entry=0x7f0e4c002ea0, n_fds=n_fds@entry=1) at gmain.c:3543
#3  0x0000003ba1e4807b in g_main_context_iterate (context=context@entry=0x7f0e4c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3698
#4  0x0000003ba1e481ec in g_main_context_iteration (context=0x7f0e4c0009a0, may_block=1) at gmain.c:3762
#5  0x0000003ba2ba7166 in QEventDispatcherGlib::processEvents (this=0x7f0e4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x0000003ba2b78ecf in QEventLoop::processEvents (this=this@entry=0x7f0e56c57d20, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003ba2b791c5 in QEventLoop::exec (this=this@entry=0x7f0e56c57d20, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003ba2a7866f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0xbad0a70) at thread/qthread_unix.cpp:338
#10 0x0000003509807c53 in start_thread (arg=0x7f0e56c58700) at pthread_create.c:308
#11 0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 10 (Thread 0x7f0e56457700 (LWP 25072)):
#0  0x0000003ba1e86f6a in g_mutex_get_impl (mutex=0x7f0e400009a0) at gthread-posix.c:121
#1  0x0000003ba1e87249 in g_mutex_unlock (mutex=mutex@entry=0x7f0e400009a0) at gthread-posix.c:229
#2  0x0000003ba1e47ff6 in g_main_context_iterate (context=context@entry=0x7f0e400009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3679
#3  0x0000003ba1e481ec in g_main_context_iteration (context=0x7f0e400009a0, may_block=1) at gmain.c:3762
#4  0x0000003ba2ba7166 in QEventDispatcherGlib::processEvents (this=0x7f0e400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x0000003ba2b78ecf in QEventLoop::processEvents (this=this@entry=0x7f0e56456d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003ba2b791c5 in QEventLoop::exec (this=this@entry=0x7f0e56456d20, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003ba2a7866f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0xba48b30) at thread/qthread_unix.cpp:338
#9  0x0000003509807c53 in start_thread (arg=0x7f0e56457700) at pthread_create.c:308
#10 0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7f0e55c56700 (LWP 26229)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ba2a7b1e6 in wait (time=18446744073709551615, this=0x2af4250) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xc3fa978, mutex=0x2a81dd0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003bb7e0a85c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xc3fa950, th=0xc3d66d0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x0000003bb7e0d2f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xc3d66d0, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xc3d66d0, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xc3d66d0, previous=0x91f5970) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x0000003bb7e0c00f in ThreadWeaver::Thread::run (this=0xc3d66d0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/Thread.cpp:98
#8  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0xc3d66d0) at thread/qthread_unix.cpp:338
#9  0x0000003509807c53 in start_thread (arg=0x7f0e55c56700) at pthread_create.c:308
#10 0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f0e55455700 (LWP 26230)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ba2a7b1e6 in wait (time=18446744073709551615, this=0x2af4250) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xc3fa978, mutex=0x2a81dd0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003bb7e0a85c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xc3fa950, th=0xc3fc260) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x0000003bb7e0d2f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xc3fc260, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xc3fc260, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xc3fc260, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xc3fc260, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xc3fc260, previous=0xc574a30) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x0000003bb7e0c00f in ThreadWeaver::Thread::run (this=0xc3fc260) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/Thread.cpp:98
#10 0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0xc3fc260) at thread/qthread_unix.cpp:338
#11 0x0000003509807c53 in start_thread (arg=0x7f0e55455700) at pthread_create.c:308
#12 0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f0e54c54700 (LWP 28760)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ba2a7b1e6 in wait (time=18446744073709551615, this=0x2af4250) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xc3fa978, mutex=0x2a81dd0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003bb7e0a85c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xc3fa950, th=0x2976280) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x0000003bb7e0d2f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x2976280, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x2976280, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x2976280, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x2976280, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x2976280, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x2976280, previous=0x60212c0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#10 0x0000003bb7e0c00f in ThreadWeaver::Thread::run (this=0x2976280) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/Thread.cpp:98
#11 0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0x2976280) at thread/qthread_unix.cpp:338
#12 0x0000003509807c53 in start_thread (arg=0x7f0e54c54700) at pthread_create.c:308
#13 0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f0e37fff700 (LWP 28761)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ba2a7b1e6 in wait (time=18446744073709551615, this=0x2af4250) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xc3fa978, mutex=0x2a81dd0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003bb7e0a85c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xc3fa950, th=0x2a06b90) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x0000003bb7e0d2f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x2a06b90, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x2a06b90, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x2a06b90, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x2a06b90, previous=0xc50caa0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x0000003bb7e0c00f in ThreadWeaver::Thread::run (this=0x2a06b90) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/Thread.cpp:98
#9  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0x2a06b90) at thread/qthread_unix.cpp:338
#10 0x0000003509807c53 in start_thread (arg=0x7f0e37fff700) at pthread_create.c:308
#11 0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f0e377fe700 (LWP 29076)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ba2a7b1e6 in wait (time=18446744073709551615, this=0x2af4250) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xc3fa978, mutex=0x2a81dd0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003bb7e0a85c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xc3fa950, th=0x68af3e0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x0000003bb7e0d2f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x68af3e0, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x68af3e0, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x68af3e0, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x68af3e0, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x0000003bb7e0c00f in ThreadWeaver::Thread::run (this=0x68af3e0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/Thread.cpp:98
#9  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0x68af3e0) at thread/qthread_unix.cpp:338
#10 0x0000003509807c53 in start_thread (arg=0x7f0e377fe700) at pthread_create.c:308
#11 0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f0e36ffd700 (LWP 29077)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ba2a7b1e6 in wait (time=18446744073709551615, this=0x2af4250) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xc3fa978, mutex=0x2a81dd0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003bb7e0a85c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xc3fa950, th=0xba9c820) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x0000003bb7e0d2f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xba9c820, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xba9c820, previous=0xaf9c150) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x0000003bb7e0c00f in ThreadWeaver::Thread::run (this=0xba9c820) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/Thread.cpp:98
#7  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0xba9c820) at thread/qthread_unix.cpp:338
#8  0x0000003509807c53 in start_thread (arg=0x7f0e36ffd700) at pthread_create.c:308
#9  0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f0e367fc700 (LWP 29083)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ba2a7b1e6 in wait (time=18446744073709551615, this=0x2af4250) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xc3fa978, mutex=0x2a81dd0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003bb7e0a85c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xc3fa950, th=0xc5cd890) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x0000003bb7e0d2f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xc5cd890, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x0000003bb7e0d30c in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0xc5cd890, previous=0x0) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x0000003bb7e0c00f in ThreadWeaver::Thread::run (this=0xc5cd890) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/Thread.cpp:98
#7  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0xc5cd890) at thread/qthread_unix.cpp:338
#8  0x0000003509807c53 in start_thread (arg=0x7f0e367fc700) at pthread_create.c:308
#9  0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f0e35ffb700 (LWP 29084)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ba2a7b1e6 in wait (time=18446744073709551615, this=0x2af4250) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xc3fa978, mutex=0x2a81dd0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003bb7e0a85c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xc3fa950, th=0x76d0b50) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x0000003bb7e0d2f3 in ThreadWeaver::WorkingHardState::applyForWork (this=0xc3f97c0, th=0x76d0b50, previous=0xa9fc680) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x0000003bb7e0c00f in ThreadWeaver::Thread::run (this=0x76d0b50) at /usr/src/debug/kdelibs-4.11.3/threadweaver/Weaver/Thread.cpp:98
#6  0x0000003ba2a7ad0f in QThreadPrivate::start (arg=0x76d0b50) at thread/qthread_unix.cpp:338
#7  0x0000003509807c53 in start_thread (arg=0x7f0e35ffb700) at pthread_create.c:308
#8  0x0000003508cf5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f0f5d31c8c0 (LWP 24986)):
[KCrash Handler]
#6  QUrl::QUrl (this=0x7fffb18f5730, other=...) at io/qurl.cpp:4263
#7  0x0000003219b25669 in KUrl::KUrl (this=0x7fffb18f5730, _u=...) at /usr/src/debug/kdelibs-4.11.3/kdecore/io/kurl.cpp:490
#8  0x00007f0f5dc03531 in KDevelop::ProjectBaseItem::url (this=this@entry=0x6dd5950) at /srv/devel/src/kde4/src/kdevplatform/project/projectmodel.cpp:432
#9  0x00007f0f5dc188e3 in KDevelop::FileManagerListJob::startNextJob (this=0xc4642a0) at /srv/devel/src/kde4/src/kdevplatform/project/filemanagerlistjob.cpp:75
#10 0x0000003ba2b9232e in QObject::event (this=0xc4642a0, e=<optimized out>) at kernel/qobject.cpp:1194
#11 0x0000003ba39c84dc in QApplicationPrivate::notify_helper (this=this@entry=0x22bd980, receiver=receiver@entry=0xc4642a0, e=e@entry=0x5f50480) at kernel/qapplication.cpp:4562
#12 0x0000003ba39ceaa0 in QApplication::notify (this=this@entry=0x7fffb18f6ff0, receiver=receiver@entry=0xc4642a0, e=e@entry=0x5f50480) at kernel/qapplication.cpp:4348
#13 0x000000321a23fe9a in KApplication::notify (this=0x7fffb18f6ff0, receiver=0xc4642a0, event=0x5f50480) at /usr/src/debug/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311
#14 0x0000003ba2b7a26d in QCoreApplication::notifyInternal (this=0x7fffb18f6ff0, receiver=receiver@entry=0xc4642a0, event=event@entry=0x5f50480) at kernel/qcoreapplication.cpp:949
#15 0x0000003ba2b7d1df in sendEvent (event=0x5f50480, receiver=0xc4642a0) at kernel/qcoreapplication.h:231
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x22200a0) at kernel/qcoreapplication.cpp:1573
#17 0x0000003ba2b7d683 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#18 0x0000003ba2ba7883 in sendPostedEvents () at kernel/qcoreapplication.h:236
#19 postEventSourceDispatch (s=s@entry=0x22b5360) at kernel/qeventdispatcher_glib.cpp:280
#20 0x0000003ba1e47df6 in g_main_dispatch (context=0x22c1f40) at gmain.c:3054
#21 g_main_context_dispatch (context=context@entry=0x22c1f40) at gmain.c:3630
#22 0x0000003ba1e48148 in g_main_context_iterate (context=context@entry=0x22c1f40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#23 0x0000003ba1e481ec in g_main_context_iteration (context=0x22c1f40, may_block=1) at gmain.c:3762
#24 0x0000003ba2ba7145 in QEventDispatcherGlib::processEvents (this=0x22215a0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#25 0x0000003ba3a64fc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#26 0x0000003ba2b78ecf in QEventLoop::processEvents (this=this@entry=0x7fffb18f5d80, flags=...) at kernel/qeventloop.cpp:149
#27 0x0000003ba2b791c5 in QEventLoop::exec (this=this@entry=0x7fffb18f5d80, flags=...) at kernel/qeventloop.cpp:204
#28 0x0000003ba3df3267 in QMenu::exec (this=this@entry=0x7fffb18f5ee0, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2125
#29 0x00007f0ebf745181 in ProjectTreeView::popupContextMenu (this=0x4e78b10, pos=...) at /srv/devel/src/kde4/src/kdevplatform/plugins/projectmanagerview/projecttreeview.cpp:357
#30 0x00007f0ebf745aa1 in ProjectTreeView::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /srv/devel/src/kde4/build/kdevplatform/plugins/projectmanagerview/projecttreeview.moc:64
#31 0x0000003ba2b8df78 in QMetaObject::activate (sender=0x4e78b10, m=m@entry=0x3ba446a4e0 <QWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb18f6070) at kernel/qobject.cpp:3547
#32 0x0000003ba3a09fd2 in QWidget::customContextMenuRequested (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qwidget.cpp:373
#33 0x0000003ba3a17ef7 in QWidget::event (this=this@entry=0x4e78b10, event=event@entry=0x7fffb18f6700) at kernel/qwidget.cpp:8557
#34 0x0000003ba3db3cde in QFrame::event (this=0x4e78b10, e=0x7fffb18f6700) at widgets/qframe.cpp:557
#35 0x0000003ba3ec1b23 in QAbstractItemView::viewportEvent (this=this@entry=0x4e78b10, event=event@entry=0x7fffb18f6700) at itemviews/qabstractitemview.cpp:1644
#36 0x0000003ba3f00a50 in QTreeView::viewportEvent (this=0x4e78b10, event=0x7fffb18f6700) at itemviews/qtreeview.cpp:1252
#37 0x0000003ba2b7a3d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x22bd980, receiver=receiver@entry=0x4e7aca0, event=event@entry=0x7fffb18f6700) at kernel/qcoreapplication.cpp:1059
#38 0x0000003ba39c84bc in QApplicationPrivate::notify_helper (this=this@entry=0x22bd980, receiver=receiver@entry=0x4e7aca0, e=e@entry=0x7fffb18f6700) at kernel/qapplication.cpp:4558
#39 0x0000003ba39cf800 in QApplication::notify (this=this@entry=0x7fffb18f6ff0, receiver=receiver@entry=0x4e7aca0, e=e@entry=0x7fffb18f6700) at kernel/qapplication.cpp:4184
#40 0x000000321a23fe9a in KApplication::notify (this=0x7fffb18f6ff0, receiver=0x4e7aca0, event=0x7fffb18f6700) at /usr/src/debug/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311
#41 0x0000003ba2b7a26d in QCoreApplication::notifyInternal (this=0x7fffb18f6ff0, receiver=receiver@entry=0x4e7aca0, event=event@entry=0x7fffb18f6700) at kernel/qcoreapplication.cpp:949
#42 0x0000003ba3a3f980 in sendSpontaneousEvent (event=0x7fffb18f6700, receiver=0x4e7aca0) at ../../src/corelib/kernel/qcoreapplication.h:234
#43 QETWidget::translateMouseEvent (this=this@entry=0x2c14460, event=event@entry=0x7fffb18f6a40) at kernel/qapplication_x11.cpp:4543
#44 0x0000003ba3a3e39c in QApplication::x11ProcessEvent (this=0x7fffb18f6ff0, event=event@entry=0x7fffb18f6a40) at kernel/qapplication_x11.cpp:3661
#45 0x0000003ba3a64e54 in x11EventSourceDispatch (s=s@entry=0x22c3120, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#46 0x0000003ba1e47df6 in g_main_dispatch (context=0x22c1f40) at gmain.c:3054
#47 g_main_context_dispatch (context=context@entry=0x22c1f40) at gmain.c:3630
#48 0x0000003ba1e48148 in g_main_context_iterate (context=context@entry=0x22c1f40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#49 0x0000003ba1e481ec in g_main_context_iteration (context=0x22c1f40, may_block=1) at gmain.c:3762
#50 0x0000003ba2ba7145 in QEventDispatcherGlib::processEvents (this=0x22215a0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#51 0x0000003ba3a64fc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#52 0x0000003ba2b78ecf in QEventLoop::processEvents (this=this@entry=0x7fffb18f6e20, flags=...) at kernel/qeventloop.cpp:149
#53 0x0000003ba2b791c5 in QEventLoop::exec (this=this@entry=0x7fffb18f6e20, flags=...) at kernel/qeventloop.cpp:204
#54 0x0000003ba2b7e45b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#55 0x0000003ba39c6c9c in QApplication::exec () at kernel/qapplication.cpp:3823
#56 0x0000000000410a04 in main (argc=<optimized out>, argv=<optimized out>) at /srv/devel/src/kde4/src/kdevelop/app/main.cpp:562

Possible duplicates by query: bug 328699, bug 313919, bug 312314.

Reported using DrKonqi
Comment 1 Kevin Funk 2013-12-17 07:45:27 UTC

*** This bug has been marked as a duplicate of bug 312314 ***
Comment 2 Milian Wolff 2013-12-17 11:57:24 UTC
Actually more related to 260741 as it's not the CMakeManager which crashes here.

While the BT is slightly different, it is due to the same reason - an invalidated project item is tried to be accessed.

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