Bug 313681 - kdevelop crashes while reloading the project from CMake [addImportedContextRecursion]
Summary: kdevelop crashes while reloading the project from CMake [addImportedContextRe...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (show other bugs)
Version: 4.4.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 317011 323617 347435 350138 358890 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-22 12:33 UTC by Andreas Roth
Modified: 2016-09-08 10:53 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (13.24 KB, text/plain)
2013-01-23 06:46 UTC, yo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Roth 2013-01-22 12:33:55 UTC
Application: kdevelop (4.4.1)
KDE Platform Version: 4.9.5
Qt Version: 4.8.3
Operating System: Linux 3.5.0-22-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

- i used the cmake GUI to enable an option in cmake to build an additional feature (used the CMake GUI as external app)
- kdevelop was reloading the modified project and crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/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 0x7fd4db263780 (LWP 7345))]

Thread 12 (Thread 0x7fd4bf6a7700 (LWP 7346)):
#0  0x00007fd4d7a02267 in sched_yield () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fd4d8d266fd in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:474
#2  0x00007fd4d4e5efb5 in QMutexLocker (m=0x7fd4d51d19a8 <KDevelop::DUChainPrivate::cleanupMutex()::mutex>, this=0x7fd4bf6a6900) at /usr/include/qt4/QtCore/qmutex.h:109
#3  KDevelop::DUChainPrivate::doMoreCleanup (this=this@entry=0x1eec540, retries=retries@entry=0, needLockRepository=needLockRepository@entry=false) at ../../language/duchain/duchain.cpp:695
#4  0x00007fd4d4e5fe31 in KDevelop::DUChainPrivate::doMoreCleanup (this=0x1eec540, retries=retries@entry=1, needLockRepository=needLockRepository@entry=true) at ../../language/duchain/duchain.cpp:879
#5  0x00007fd4d4e5ffcd in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1efa850) at ../../language/duchain/duchain.cpp:291
#6  0x00007fd4d8d2baec in QThreadPrivate::start (arg=0x1efa850) at thread/qthread_unix.cpp:338
#7  0x00007fd4d6d8fe9a in start_thread (arg=0x7fd4bf6a7700) at pthread_create.c:308
#8  0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fd4a5c0f700 (LWP 7349)):
#0  0x00007fd4d7a20303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd4d1d9fd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd4d1d9fea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd4d8e56c16 in QEventDispatcherGlib::processEvents (this=0x7fd4a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd4d8e272bf in QEventLoop::processEvents (this=this@entry=0x7fd4a5c0edd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd4d8e27548 in QEventLoop::exec (this=0x7fd4a5c0edd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd4d8d28b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd4d8e079af in QInotifyFileSystemWatcherEngine::run (this=0x2ad6590) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd4d8d2baec in QThreadPrivate::start (arg=0x2ad6590) at thread/qthread_unix.cpp:338
#9  0x00007fd4d6d8fe9a in start_thread (arg=0x7fd4a5c0f700) at pthread_create.c:308
#10 0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fd4a537f700 (LWP 7356)):
#0  0x00007fd4d6d91f69 in __pthread_mutex_lock (mutex=0x7fd498000a60) at pthread_mutex_lock.c:92
#1  0x00007fd4d1ddce21 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd4d1d9fd6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd4d1d9fea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd4d8e56c16 in QEventDispatcherGlib::processEvents (this=0x7fd4980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fd4d8e272bf in QEventLoop::processEvents (this=this@entry=0x7fd4a537edd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd4d8e27548 in QEventLoop::exec (this=0x7fd4a537edd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fd4d8d28b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fd4d8e079af in QInotifyFileSystemWatcherEngine::run (this=0x2ba14d0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fd4d8d2baec in QThreadPrivate::start (arg=0x2ba14d0) at thread/qthread_unix.cpp:338
#10 0x00007fd4d6d8fe9a in start_thread (arg=0x7fd4a537f700) at pthread_create.c:308
#11 0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fd49ffff700 (LWP 7387)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd4d41cccd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fd4d41ccd09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fd4d6d8fe9a in start_thread (arg=0x7fd49ffff700) at pthread_create.c:308
#4  0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fd49de9e700 (LWP 7416)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd4ceeb9b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fd4ceeb9c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fd4d6d8fe9a in start_thread (arg=0x7fd49de9e700) at pthread_create.c:308
#4  0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fd49e69f700 (LWP 7417)):
#0  0x00007fd4d6d91f69 in __pthread_mutex_lock (mutex=0x7fd48c055450) at pthread_mutex_lock.c:92
#1  0x00007fd4d1ddce21 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd4d1d9f897 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd4d1d9fd22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd4d1d9fea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd4d8e56c16 in QEventDispatcherGlib::processEvents (this=0x7fd48c1c27b0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fd4d8e272bf in QEventLoop::processEvents (this=this@entry=0x7fd49e69ee00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd4d8e27548 in QEventLoop::exec (this=0x7fd49e69ee00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd4d8d28b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fd4d8d2baec in QThreadPrivate::start (arg=0x3566620) at thread/qthread_unix.cpp:338
#10 0x00007fd4d6d8fe9a in start_thread (arg=0x7fd49e69f700) at pthread_create.c:308
#11 0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fd4913d7700 (LWP 8500)):
#0  0x00007fd4d7a1e8bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fd4d1ddc15f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd4d1d9f914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd4d1d9fd22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd4d1d9fea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd4d8e56c16 in QEventDispatcherGlib::processEvents (this=0x7fd4380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fd4d8e272bf in QEventLoop::processEvents (this=this@entry=0x7fd4913d6e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd4d8e27548 in QEventLoop::exec (this=0x7fd4913d6e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd4d8d28b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fd4d8d2baec in QThreadPrivate::start (arg=0x4218690) at thread/qthread_unix.cpp:338
#10 0x00007fd4d6d8fe9a in start_thread (arg=0x7fd4913d7700) at pthread_create.c:308
#11 0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd490bd6700 (LWP 8501)):
#0  0x00007fd4d7a20303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd4d1d9fd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd4d1d9fea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd4d8e56c16 in QEventDispatcherGlib::processEvents (this=0x7fd43c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd4d8e272bf in QEventLoop::processEvents (this=this@entry=0x7fd490bd5e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd4d8e27548 in QEventLoop::exec (this=0x7fd490bd5e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd4d8d28b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd4d8d2baec in QThreadPrivate::start (arg=0x4214820) at thread/qthread_unix.cpp:338
#8  0x00007fd4d6d8fe9a in start_thread (arg=0x7fd490bd6700) at pthread_create.c:308
#9  0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd446cc7700 (LWP 8506)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd4d8d2c04b in wait (time=18446744073709551615, this=0xffdd80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf9d2b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd4cf8aa0e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xffdf10, th=0x3d797c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd4cf8ac92b in ThreadWeaver::WorkingHardState::applyForWork (this=0xf9c010, th=0x3d797c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd4cf8ac944 in ThreadWeaver::WorkingHardState::applyForWork (this=0xf9c010, th=0x3d797c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd4cf8ab79f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fd446cc6e00, parent=0xffdf10, th=th@entry=0x3d797c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fd4cf8ab82b in ThreadWeaver::Thread::run (this=0x3d797c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fd4d8d2baec in QThreadPrivate::start (arg=0x3d797c0) at thread/qthread_unix.cpp:338
#9  0x00007fd4d6d8fe9a in start_thread (arg=0x7fd446cc7700) at pthread_create.c:308
#10 0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd4464c6700 (LWP 8507)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd4d8d2c04b in wait (time=18446744073709551615, this=0xffdd80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xf9d2b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd4cf8aa0e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xffdf10, th=0x7fd430002e50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd4cf8ac92b in ThreadWeaver::WorkingHardState::applyForWork (this=0xf9c010, th=0x7fd430002e50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd4cf8ab79f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7fd4464c5e00, parent=0xffdf10, th=th@entry=0x7fd430002e50) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd4cf8ab82b in ThreadWeaver::Thread::run (this=0x7fd430002e50) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd4d8d2baec in QThreadPrivate::start (arg=0x7fd430002e50) at thread/qthread_unix.cpp:338
#8  0x00007fd4d6d8fe9a in start_thread (arg=0x7fd4464c6700) at pthread_create.c:308
#9  0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd493fff700 (LWP 15188)):
[KCrash Handler]
#6  KDevelop::TopDUContext::indexed (this=0x7fd495b8b850) at ../../language/duchain/topducontext.cpp:657
#7  0x00007fd4d4e809f2 in addImportedContextRecursion (temporary=false, depth=2, imported=0x7fd495b8b850, traceNext=0x7fd4407688e0, this=0x7fd4404cff70) at ../../language/duchain/topducontext.cpp:384
#8  KDevelop::TopDUContextLocalPrivate::addImportedContextRecursively (this=this@entry=0x7fd4404cff70, context=0x7fd4407688e0, temporary=temporary@entry=false, local=local@entry=true) at ../../language/duchain/topducontext.cpp:252
#9  0x00007fd4d4e80ba7 in KDevelop::TopDUContextLocalPrivate::rebuildDynamicImportStructure (this=0x7fd4404cff70) at ../../language/duchain/topducontext.cpp:165
#10 0x00007fd4d4e605e3 in KDevelop::DUChainPrivate::loadChain (this=0x1eec540, index=index@entry=42, loaded=...) at ../../language/duchain/duchain.cpp:591
#11 0x00007fd4d4e4d51b in KDevelop::DUChain::loadChain (this=<optimized out>, index=42) at ../../language/duchain/duchain.cpp:1296
#12 0x00007fd4d4e77ee5 in chainForIndex (index=42, this=0x1efa000) at ../../language/duchain/duchain.h:187
#13 KDevelop::IndexedDUContext::context (this=0x7fd496651810) at ../../language/duchain/indexedducontext.cpp:63
#14 0x00007fd4d4e6b09a in KDevelop::DUContext::clearImportedParentContexts (this=0x7fd440652c70) at ../../language/duchain/ducontext.cpp:1487
#15 0x00007fd4d4e7a43e in KDevelop::TopDUContext::clearImportedParentContexts (this=0x7fd440652c70) at ../../language/duchain/topducontext.cpp:1154
#16 0x00007fd4ae773dfc in CMakeProjectVisitor::createContext (path=..., aux=..., endl=endl@entry=137, endc=endc@entry=65, isClean=isClean@entry=true) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:728
#17 0x00007fd4ae774935 in CMakeProjectVisitor::walk (this=0x7fd493ffe650, fc=..., line=0, isClean=<optimized out>) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2168
#18 0x00007fd4ae777f28 in CMakeProjectVisitor::visit (this=0x7fd493ffe650, inc=0x7fd440ce3bb0) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:566
#19 0x00007fd4ae77424a in CMakeProjectVisitor::walk (this=0x7fd493ffe650, fc=..., line=0, isClean=<optimized out>) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2233
#20 0x00007fd4ae777f28 in CMakeProjectVisitor::visit (this=0x7fd493ffe650, inc=0x7fd44110f010) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:566
#21 0x00007fd4ae77424a in CMakeProjectVisitor::walk (this=0x7fd493ffe650, fc=..., line=0, isClean=<optimized out>) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2233
#22 0x00007fd4ae777f28 in CMakeProjectVisitor::visit (this=0x7fd493ffe650, inc=0x7fd4952da1d0) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:566
#23 0x00007fd4ae77424a in CMakeProjectVisitor::walk (this=0x7fd493ffe650, fc=..., line=1, isClean=<optimized out>) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2233
#24 0x00007fd4ae779632 in CMakeProjectVisitor::visit (this=this@entry=0x7fd493ffe650, pack=pack@entry=0x7fd496ea0f20) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:682
#25 0x00007fd4ae77ae29 in CMakeProjectVisitor::visit (this=0x7fd493ffe650, pack=0x7fd496ea0f20) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:598
#26 0x00007fd4ae77424a in CMakeProjectVisitor::walk (this=0x7fd493ffe650, fc=..., line=111, isClean=<optimized out>) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2233
#27 0x00007fd4ae776201 in CMakeProjectVisitor::visit (this=0x7fd493ffe650, ifast=0x7fd496fbc030) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1307
#28 0x00007fd4ae77424a in CMakeProjectVisitor::walk (this=0x7fd493ffe650, fc=..., line=11, isClean=<optimized out>) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2233
#29 0x00007fd4ae77711a in CMakeProjectVisitor::visit (this=0x7fd493ffe650, call=0x7fd494495510) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1185
#30 0x00007fd4ae77424a in CMakeProjectVisitor::walk (this=0x7fd493ffe650, fc=..., line=4, isClean=<optimized out>) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2233
#31 0x00007fd4ae776201 in CMakeProjectVisitor::visit (this=0x7fd493ffe650, ifast=0x7fd496081460) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1307
#32 0x00007fd4ae77424a in CMakeProjectVisitor::walk (this=0x7fd493ffe650, fc=..., line=1, isClean=<optimized out>) at ../../../projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2233
#33 0x00007fd4ae789f30 in CMakeParserUtils::includeScript (file=..., parent=..., data=0x7fd49401d998, sourcedir=..., env=...) at ../../../projectmanagers/cmake/parser/cmakeparserutils.cpp:176
#34 0x00007fd49ead4a84 in CMakeManager::includeScript (this=this@entry=0x31bd760, file=..., project=project@entry=0x31be940, dir=..., parent=...) at ../../../projectmanagers/cmake/cmakemanager.cpp:669
#35 0x00007fd49ead6491 in CMakeManager::parse (this=0x31bd760, item=0x7fd49720e550) at ../../../projectmanagers/cmake/cmakemanager.cpp:751
#36 0x00007fd4d5451167 in import (folder=<optimized out>, this=0x3d4ee70) at ../../project/importprojectjob.cpp:53
#37 import (folder=<optimized out>, this=0x3d4ee70) at ../../project/importprojectjob.cpp:57
#38 import (folder=<optimized out>, this=0x3d4ee70) at ../../project/importprojectjob.cpp:57
#39 import (folder=<optimized out>, this=0x3d4ee70) at ../../project/importprojectjob.cpp:57
#40 KDevelop::ImportProjectJobPrivate::import (this=0x3d4ee70, folder=<optimized out>) at ../../project/importprojectjob.cpp:57
#41 0x00007fd4d5450c36 in run (this=0x7086000) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:134
#42 QtConcurrent::RunFunctionTask<void>::run (this=0x7086000) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:125
#43 0x00007fd4d8d1f45d in QThreadPoolThread::run (this=0x359d5b0) at concurrent/qthreadpool.cpp:107
#44 0x00007fd4d8d2baec in QThreadPrivate::start (arg=0x359d5b0) at thread/qthread_unix.cpp:338
#45 0x00007fd4d6d8fe9a in start_thread (arg=0x7fd493fff700) at pthread_create.c:308
#46 0x00007fd4d7a2bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#47 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd4db263780 (LWP 7345)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd4d8d2c04b in wait (time=18446744073709551615, this=0x35a5380) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x35d7c28, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd4d8d1ec2f in QThreadPoolPrivate::waitForDone (this=0x35d7ba0, msecs=msecs@entry=-1) at concurrent/qthreadpool.cpp:298
#4  0x00007fd4d8d206dd in QThreadPool::~QThreadPool (this=0x36023e0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#5  0x00007fd4d8d20719 in QThreadPool::~QThreadPool (this=0x36023e0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442
#6  0x00007fd4d8d20745 in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter (this=0x7fd4d917ffe8 <theInstance()::cleanup>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1950
#7  0x00007fd4d7973901 in __run_exit_handlers (status=1, listp=0x7fd4d7cf06a8 <__exit_funcs>, run_list_atexit=true) at exit.c:78
#8  0x00007fd4d7973985 in __GI_exit (status=<optimized out>) at exit.c:100
#9  0x00007fd4d8235b78 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#10 0x00007fd4d962efd8 in KApplication::xioErrhandler (this=0x7fff420060a0, dpy=0xb32760) at ../../kdeui/kernel/kapplication.cpp:419
#11 0x00007fd4d309d59e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007fd4d309b03d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007fd4d308c60b in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007fd4d8270a7c in x11EventSourceCheck (s=0xb23a60) at kernel/qguieventdispatcher_glib.cpp:85
#15 0x00007fd4d1d9f88c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fd4d1d9fd22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fd4d1d9fea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fd4d8e56bf6 in QEventDispatcherGlib::processEvents (this=0xae6b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#19 0x00007fd4d8270c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007fd4d8e272bf in QEventLoop::processEvents (this=this@entry=0x7fff42005b60, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007fd4d8e27548 in QEventLoop::exec (this=0x7fff42005b60, flags=...) at kernel/qeventloop.cpp:204
#22 0x00007fd4d8e2c708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#23 0x000000000040e6da in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:519

Possible duplicates by query: bug 224608.

Reported using DrKonqi
Comment 1 yo 2013-01-23 06:46:59 UTC
Created attachment 76652 [details]
New crash information added by DrKonqi

kdevelop (4.4.1) on KDE Platform 4.9.97 using Qt 4.8.3

- What I was doing when the application crashed:

I attempted to load the Wintermute project into KDevelop using the KDevCMakeProjectManager.

-- Backtrace (Reduced):
#12 0x00007f9b33ffa60d in QThreadPoolThread::run (this=0x4a5d600) at concurrent/qthreadpool.cpp:114
#13 0x00007f9b34006aec in QThreadPrivate::start (arg=0x4a5d600) at thread/qthread_unix.cpp:338
[...]
Comment 2 Kevin Funk 2013-03-19 08:41:09 UTC
*** Bug 317011 has been marked as a duplicate of this bug. ***
Comment 3 Aleix Pol 2013-06-17 02:22:05 UTC
Hi, is it still reproducible with KDeveop 4.5.1?
Does it always happen with 4.4.1? Can I have a pointer to the project to reproduce locally?

Also it would be worth trying to clean the ~/.kdevduchain/<session>
Comment 4 Andreas Roth 2013-06-18 05:20:13 UTC
I haven't seen this crash for quite some time, especially after upgrading to 4.5.1.
Comment 5 Kevin Funk 2013-08-19 06:05:05 UTC
*** Bug 323617 has been marked as a duplicate of this bug. ***
Comment 6 Antonis Kanouras 2013-08-19 06:46:35 UTC
@Kevin Funk, you marked my bug as a duplicate of this, however this one is marked as fixed.

My crash happens with KDevelop 4.5.1 running on KDE SC 4.11.

Perhaps it should be reopened?
Comment 7 Jekyll Wu 2013-08-21 13:21:55 UTC
reopen per comment #6
Comment 8 Milian Wolff 2015-11-14 20:15:04 UTC
The CMake code in KDevelop 5 has changed significantly, and I don't think this bug is still applicable. If it is, please reopen the bug with more information on how to reproduce!

Thanks, stay tuned for KDevelop 5.
Comment 9 Kevin Funk 2015-11-29 15:09:34 UTC
*** Bug 347435 has been marked as a duplicate of this bug. ***
Comment 10 Kevin Funk 2016-02-01 21:31:47 UTC
*** Bug 358890 has been marked as a duplicate of this bug. ***
Comment 11 Kevin Funk 2016-09-08 10:53:44 UTC
*** Bug 350138 has been marked as a duplicate of this bug. ***