https://bugs.kde.org/show_bug.cgi?id=302744 Bug ID: 302744 Severity: critical Version: git master Priority: NOR Assignee: kdevelop-bugs@kdevelop.org Summary: crash on start in KDevelop::TopDUContext::indexForUsedDeclaration Classification: Unclassified OS: Linux Reporter: b.buschinski@googlemail.com Hardware: Other Status: NEW Component: Build tools: CMake Product: kdevelop Sometimes kdevelop crashes on start in KDevelop::TopDUContext::indexForUsedDeclaration from the backtrace I think it is cmakes fault wild guess: this crash seems like the new version of https://bugs.kde.org/show_bug.cgi?id=296429 which got fixed, but I can be wrong kdevelop+kdevplatform very recent git master Reproducible: Sometimes Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 [Current thread is 1 (Thread 0x7f68d00ae780 (LWP 8984))] Thread 14 (Thread 0x7f68b6454700 (LWP 8985)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x00007f68cdac3f42 in wait (time=1000, this=0x978650) at thread/qwaitcondition_unix.cpp:84 #2 QWaitCondition::wait (this=, mutex=0x1c71da0, time=1000) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f68c9b01aba in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1c71d80) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchain.cpp:282 #4 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x1c71d80) at thread/qthread_unix.cpp:307 #5 0x00007f68cc3ed03a in start_thread (arg=0x7f68b6454700) at pthread_create.c:305 #6 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 13 (Thread 0x7f68ac58c700 (LWP 8986)): #0 0x00007f68cc6e3f83 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f68cdba86e2 in QProcessManager::run (this=0x7f68cdf39500) at io/qprocess_unix.cpp:245 #2 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x7f68cdf39500) at thread/qthread_unix.cpp:307 #3 0x00007f68cc3ed03a in start_thread (arg=0x7f68ac58c700) at pthread_create.c:305 #4 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 12 (Thread 0x7f68a8848700 (LWP 8988)): #0 0x00007f68cc6e18df in __GI___poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f68c671e9bc in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f68c671eaec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f68cdbfcb24 in QEventDispatcherGlib::processEvents (this=0x7f689c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f68cdbc9a2f in QEventLoop::processEvents (this=this@entry=0x7f68a8847e90, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f68cdbc9ce8 in QEventLoop::exec (this=0x7f68a8847e90, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f68cdac0ded in QThread::exec (this=) at thread/qthread.cpp:501 #7 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x27991a0) at thread/qthread_unix.cpp:307 #8 0x00007f68cc3ed03a in start_thread (arg=0x7f68a8848700) at pthread_create.c:305 #9 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 11 (Thread 0x7f68a1cc5700 (LWP 8989)): #0 0x00007f68cc6e18df in __GI___poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f68c671e9bc in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f68c671eaec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f68cdbfcb24 in QEventDispatcherGlib::processEvents (this=0x7f68940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f68cdbc9a2f in QEventLoop::processEvents (this=this@entry=0x7f68a1cc4e90, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f68cdbc9ce8 in QEventLoop::exec (this=0x7f68a1cc4e90, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f68cdac0ded in QThread::exec (this=) at thread/qthread.cpp:501 #7 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x27899b0) at thread/qthread_unix.cpp:307 #8 0x00007f68cc3ed03a in start_thread (arg=0x7f68a1cc5700) at pthread_create.c:305 #9 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 10 (Thread 0x7f689b43f700 (LWP 8999)): #0 0x00007f68cc6e18df in __GI___poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f68c671e9bc in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f68c671eaec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f68cdbfcb24 in QEventDispatcherGlib::processEvents (this=0x7f68900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f68cdbc9a2f in QEventLoop::processEvents (this=this@entry=0x7f689b43ee50, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f68cdbc9ce8 in QEventLoop::exec (this=0x7f689b43ee50, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f68cdac0ded in QThread::exec (this=) at thread/qthread.cpp:501 #7 0x00007f68cdba90b3 in QInotifyFileSystemWatcherEngine::run (this=0x4bab1b0) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x4bab1b0) at thread/qthread_unix.cpp:307 #9 0x00007f68cc3ed03a in start_thread (arg=0x7f689b43f700) at pthread_create.c:305 #10 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 9 (Thread 0x7f689a1da700 (LWP 9000)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f68c2feabe7 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4 #2 0x00007f68c2feac29 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4 #3 0x00007f68cc3ed03a in start_thread (arg=0x7f689a1da700) at pthread_create.c:305 #4 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 8 (Thread 0x7f68998d9700 (LWP 9001)): #0 0x00007f68cc6e18df in __GI___poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f68c671e9bc in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f68c671eaec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f68cdbfcb24 in QEventDispatcherGlib::processEvents (this=0x7f68880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f68cdbc9a2f in QEventLoop::processEvents (this=this@entry=0x7f68998d8e90, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f68cdbc9ce8 in QEventLoop::exec (this=0x7f68998d8e90, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f68cdac0ded in QThread::exec (this=) at thread/qthread.cpp:501 #7 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x4fa1460) at thread/qthread_unix.cpp:307 #8 0x00007f68cc3ed03a in start_thread (arg=0x7f68998d9700) at pthread_create.c:305 #9 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 7 (Thread 0x7f68990d8700 (LWP 9002)): #0 0x00007f68cc6e18df in __GI___poll (fds=, nfds=, timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f68c671e9bc in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f68c671eaec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f68cdbfcb24 in QEventDispatcherGlib::processEvents (this=0x7f688c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f68cdbc9a2f in QEventLoop::processEvents (this=this@entry=0x7f68990d7e90, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f68cdbc9ce8 in QEventLoop::exec (this=0x7f68990d7e90, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f68cdac0ded in QThread::exec (this=) at thread/qthread.cpp:501 #7 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x2719450) at thread/qthread_unix.cpp:307 #8 0x00007f68cc3ed03a in start_thread (arg=0x7f68990d8700) at pthread_create.c:305 #9 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 6 (Thread 0x7f68988d7700 (LWP 9003)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x00007f68cdac3f42 in wait (time=30000, this=0x7f688c006850) at thread/qwaitcondition_unix.cpp:84 #2 QWaitCondition::wait (this=, mutex=0x7f688c0067f8, time=30000) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f68cdab73e6 in QThreadPoolThread::run (this=0x7f688c006b20) at concurrent/qthreadpool.cpp:141 #4 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x7f688c006b20) at thread/qthread_unix.cpp:307 #5 0x00007f68cc3ed03a in start_thread (arg=0x7f68988d7700) at pthread_create.c:305 #6 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 5 (Thread 0x7f684671c700 (LWP 9082)): [KCrash Handler] #6 0x00007f683c0d0100 in ?? () #7 0x00007f68c9b1cb2e in KDevelop::TopDUContext::indexForUsedDeclaration (this=0x7f683c14b1b0, declaration=0x7f683c07a630, create=true) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/topducontext.cpp:1268 #8 0x00007f68ab4b2d8f in CMakeProjectVisitor::createUses (this=this@entry=0x7f684671b6d0, desc=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2299 #9 0x00007f68ab4b5b3b in CMakeProjectVisitor::walk (this=0x7f684671b6d0, fc=..., line=12, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2195 #10 0x00007f68ab4b96c5 in CMakeProjectVisitor::visit (this=0x7f684671b6d0, inc=0x7f683c1ae140) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:566 #11 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f684671b6d0, fc=..., line=124, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #12 0x00007f68ab4b7928 in CMakeProjectVisitor::visit (this=0x7f684671b6d0, ifast=0x7f683c1a85f0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1311 #13 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f684671b6d0, fc=..., line=70, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #14 0x00007f68ab4b7928 in CMakeProjectVisitor::visit (this=0x7f684671b6d0, ifast=0x7f683c304c90) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1311 #15 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f684671b6d0, fc=..., line=10, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #16 0x00007f68ab4bad23 in CMakeProjectVisitor::visit (this=this@entry=0x7f684671b6d0, pack=pack@entry=0x7f683c16b5e0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:681 #17 0x00007f68ab4bc556 in CMakeProjectVisitor::visit (this=0x7f684671b6d0, pack=0x7f683c16b5e0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:597 #18 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f684671b6d0, fc=..., line=37, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #19 0x00007f68ab4b7928 in CMakeProjectVisitor::visit (this=0x7f684671b6d0, ifast=0x7f683c105780) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1311 #20 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f684671b6d0, fc=..., line=29, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #21 0x00007f68ab4bad23 in CMakeProjectVisitor::visit (this=this@entry=0x7f684671b6d0, pack=pack@entry=0x7f683c086050) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:681 #22 0x00007f68ab4bc556 in CMakeProjectVisitor::visit (this=0x7f684671b6d0, pack=0x7f683c086050) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:597 #23 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f684671b6d0, fc=..., line=4, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #24 0x00007f68ab4cb38e in CMakeParserUtils::includeScript (file=..., parent=..., data=0x7f683c33b418, sourcedir=..., env=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeparserutils.cpp:175 #25 0x00007f6847351e5e in CMakeManager::includeScript (this=this@entry=0x52e22c0, file=..., project=project@entry=0x52f5620, dir=..., parent=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/cmakemanager.cpp:660 #26 0x00007f6847354357 in CMakeManager::parse (this=0x52e22c0, item=0x5016cc0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/cmakemanager.cpp:741 #27 0x00007f68ca0fe5c0 in KDevelop::ImportProjectJobPrivate::import (this=0x5017880, folder=) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/project/importprojectjob.cpp:53 #28 0x00007f68ca0fe2f6 in run (this=0x4f4bcc0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134 #29 QtConcurrent::RunFunctionTask::run (this=0x4f4bcc0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:125 #30 0x00007f68cdab732b in QThreadPoolThread::run (this=0x5030440) at concurrent/qthreadpool.cpp:107 #31 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x5030440) at thread/qthread_unix.cpp:307 #32 0x00007f68cc3ed03a in start_thread (arg=0x7f684671c700) at pthread_create.c:305 #33 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 4 (Thread 0x7f6846f1d700 (LWP 9125)): #0 0x00007f68cc6b9fad in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f68cc6e4894 in usleep (useconds=) at ../sysdeps/unix/sysv/linux/usleep.c:33 #2 0x00007f68c9b403e2 in lockForRead (timeout=0, this=0x1c645f8) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:133 #3 KDevelop::DUChainLock::lockForRead (this=0x1c645f8, timeout=0) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:111 #4 0x00007f68c9b4071f in KDevelop::DUChainReadLocker::lock (this=0x7f6846f1a0f0) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:257 #5 0x00007f68ab4b2ccf in CMakeProjectVisitor::createUses (this=this@entry=0x7f6846f1c6d0, desc=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2292 #6 0x00007f68ab4b5b3b in CMakeProjectVisitor::walk (this=0x7f6846f1c6d0, fc=..., line=12, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2195 #7 0x00007f68ab4b96c5 in CMakeProjectVisitor::visit (this=0x7f6846f1c6d0, inc=0x7f68381c7d10) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:566 #8 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f6846f1c6d0, fc=..., line=124, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #9 0x00007f68ab4b7928 in CMakeProjectVisitor::visit (this=0x7f6846f1c6d0, ifast=0x7f68381f7fe0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1311 #10 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f6846f1c6d0, fc=..., line=70, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #11 0x00007f68ab4b7928 in CMakeProjectVisitor::visit (this=0x7f6846f1c6d0, ifast=0x7f68380c41a0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1311 #12 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f6846f1c6d0, fc=..., line=10, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #13 0x00007f68ab4bad23 in CMakeProjectVisitor::visit (this=this@entry=0x7f6846f1c6d0, pack=pack@entry=0x7f6838093c00) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:681 #14 0x00007f68ab4bc556 in CMakeProjectVisitor::visit (this=0x7f6846f1c6d0, pack=0x7f6838093c00) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:597 #15 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f6846f1c6d0, fc=..., line=37, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #16 0x00007f68ab4b7928 in CMakeProjectVisitor::visit (this=0x7f6846f1c6d0, ifast=0x7f683809a470) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1311 #17 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f6846f1c6d0, fc=..., line=29, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #18 0x00007f68ab4bad23 in CMakeProjectVisitor::visit (this=this@entry=0x7f6846f1c6d0, pack=pack@entry=0x7f683800d6f0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:681 #19 0x00007f68ab4bc556 in CMakeProjectVisitor::visit (this=0x7f6846f1c6d0, pack=0x7f683800d6f0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:597 #20 0x00007f68ab4b59da in CMakeProjectVisitor::walk (this=0x7f6846f1c6d0, fc=..., line=2, isClean=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2222 #21 0x00007f68ab4cb38e in CMakeParserUtils::includeScript (file=..., parent=..., data=0x7f6838002988, sourcedir=..., env=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/parser/cmakeparserutils.cpp:175 #22 0x00007f6847351e5e in CMakeManager::includeScript (this=this@entry=0x52e22c0, file=..., project=project@entry=0x5874c90, dir=..., parent=...) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/cmakemanager.cpp:660 #23 0x00007f6847354357 in CMakeManager::parse (this=0x52e22c0, item=0x5a883a0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/cmakemanager.cpp:741 #24 0x00007f68ca0fe5c0 in KDevelop::ImportProjectJobPrivate::import (this=0x5aa13d0, folder=) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/project/importprojectjob.cpp:53 #25 0x00007f68ca0fe2f6 in run (this=0x5aa1240) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134 #26 QtConcurrent::RunFunctionTask::run (this=0x5aa1240) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:125 #27 0x00007f68cdab732b in QThreadPoolThread::run (this=0x5a945b0) at concurrent/qthreadpool.cpp:107 #28 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x5a945b0) at thread/qthread_unix.cpp:307 #29 0x00007f68cc3ed03a in start_thread (arg=0x7f6846f1d700) at pthread_create.c:305 #30 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 3 (Thread 0x7f68451e5700 (LWP 9168)): #0 0x00007f68cc6b9fad in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f68cc6e4894 in usleep (useconds=) at ../sysdeps/unix/sysv/linux/usleep.c:33 #2 0x00007f68c9b40622 in KDevelop::DUChainLock::lockForWrite (this=0x1c645f8, timeout=0) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:201 #3 0x00007f68c9b407e2 in KDevelop::DUChainWriteLocker::lock (this=0x7f68451e4610) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/language/duchain/duchainlock.cpp:299 #4 0x00007f6847352514 in CMakeManager::initializeProject (this=this@entry=0x52e22c0, project=0x26fda80) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/cmakemanager.cpp:530 #5 0x00007f6847355c3e in CMakeManager::parse (this=0x52e22c0, item=0x5ab4eb0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/cmakemanager.cpp:722 #6 0x00007f68ca0fe5c0 in KDevelop::ImportProjectJobPrivate::import (this=0x5aff240, folder=) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/project/importprojectjob.cpp:53 #7 0x00007f68ca0fe2f6 in run (this=0x5b10c10) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134 #8 QtConcurrent::RunFunctionTask::run (this=0x5b10c10) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:125 #9 0x00007f68cdab732b in QThreadPoolThread::run (this=0x5b10e20) at concurrent/qthreadpool.cpp:107 #10 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x5b10e20) at thread/qthread_unix.cpp:307 #11 0x00007f68cc3ed03a in start_thread (arg=0x7f68451e5700) at pthread_create.c:305 #12 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7f68449e4700 (LWP 9223)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39 #1 0x00007f68cdac276c in _q_futex (timeout=0x0, val=2, op=0, addr=0x52cccf0, addr2=, val2=) at thread/qmutex_unix.cpp:99 #2 QMutexPrivate::wait (this=0x52cccf0, timeout=) at thread/qmutex_unix.cpp:113 #3 0x00007f68cdabe9f5 in QMutex::lockInternal (this=) at thread/qmutex.cpp:450 #4 0x00007f6847351fb3 in lockInline (this=0x52e2300) at /usr/include/qt4/QtCore/qmutex.h:190 #5 lockInline (this=0x52e2300) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/cmakemanager.cpp:487 #6 QMutexLocker (m=0x52e2300, this=) at /usr/include/qt4/QtCore/qmutex.h:109 #7 CMakeManager::initializeProject (this=this@entry=0x52e22c0, project=0x2) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/cmakemanager.cpp:489 #8 0x00007f6847355c3e in CMakeManager::parse (this=0x52e22c0, item=0x5b12cf0) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/projectmanagers/cmake/cmakemanager.cpp:722 #9 0x00007f68ca0fe5c0 in KDevelop::ImportProjectJobPrivate::import (this=0x5b21be0, folder=) at /var/tmp/portage/dev-util/kdevplatform-9999/work/kdevplatform-9999/project/importprojectjob.cpp:53 #10 0x00007f68ca0fe2f6 in run (this=0x5b21b10) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134 #11 QtConcurrent::RunFunctionTask::run (this=0x5b21b10) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:125 #12 0x00007f68cdab732b in QThreadPoolThread::run (this=0x5b117f0) at concurrent/qthreadpool.cpp:107 #13 0x00007f68cdac3ad8 in QThreadPrivate::start (arg=0x5b117f0) at thread/qthread_unix.cpp:307 #14 0x00007f68cc3ed03a in start_thread (arg=0x7f68449e4700) at pthread_create.c:305 #15 0x00007f68cc6ea72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7f68d00ae780 (LWP 8984)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f68cdac4033 in wait (time=18446744073709551615, this=0x579e9b0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=, mutex=0x4f2ac88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f68cdab6c98 in QThreadPoolPrivate::waitForDone (this=0x4f2ac00, msecs=msecs@entry=-1) at concurrent/qthreadpool.cpp:298 #4 0x00007f68cdab8565 in QThreadPool::~QThreadPool (this=0x4c0a630, __in_chrg=) at concurrent/qthreadpool.cpp:440 #5 0x00007f68cdab85a9 in QThreadPool::~QThreadPool (this=0x4c0a630, __in_chrg=) at concurrent/qthreadpool.cpp:442 #6 0x00007f68cdab85d5 in QGlobalStaticDeleter::~QGlobalStaticDeleter (this=0x7f68cdf38fc8, __in_chrg=) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1927 #7 0x00007f68cc63bec9 in __run_exit_handlers (status=1, listp=0x7f68cc9a65a8, run_list_atexit=run_list_atexit@entry=true) at exit.c:78 #8 0x00007f68cc63bf55 in __GI_exit (status=) at exit.c:100 #9 0x00007f68ccf099a8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:770 #10 0x00007f68ce411bc0 in KApplication::xioErrhandler (this=0x7fffdee5f380, dpy=0x75eac0) at /var/tmp/portage/kde-base/kdelibs-4.8.4/work/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:419 #11 0x00007f68c7c1836e in _XIOError (dpy=dpy@entry=0x75eac0) at /var/tmp/portage/x11-libs/libX11-1.5.0/work/libX11-1.5.0/src/XlibInt.c:1618 #12 0x00007f68c7c15e7d in _XEventsQueued (dpy=dpy@entry=0x75eac0, mode=mode@entry=2) at /var/tmp/portage/x11-libs/libX11-1.5.0/work/libX11-1.5.0/src/xcb_io.c:365 #13 0x00007f68c7c0744b in XEventsQueued (dpy=0x75eac0, mode=2) at /var/tmp/portage/x11-libs/libX11-1.5.0/work/libX11-1.5.0/src/Pending.c:43 #14 0x00007f68ccf42667 in x11EventSourcePrepare (s=0x750670, timeout=) at kernel/qguieventdispatcher_glib.cpp:77 #15 0x00007f68c671e194 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #16 0x00007f68c671e8db in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0 #17 0x00007f68c671eaec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #18 0x00007f68cdbfcb24 in QEventDispatcherGlib::processEvents (this=0x74d180, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #19 0x00007f68ccf427a6 in QGuiEventDispatcherGlib::processEvents (this=, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #20 0x00007f68cdbc9a2f in QEventLoop::processEvents (this=this@entry=0x7fffdee5ee30, flags=...) at kernel/qeventloop.cpp:149 #21 0x00007f68cdbc9ce8 in QEventLoop::exec (this=0x7fffdee5ee30, flags=...) at kernel/qeventloop.cpp:204 #22 0x00007f68cdbcf248 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187 #23 0x000000000040f4bd in main (argc=, argv=) at /var/tmp/portage/dev-util/kdevelop-9999/work/kdevelop-9999/app/main.cpp:518 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs