Deadlock when switching working-sets while a project is being parsed

Andreas Pakulat apaku at gmx.de
Tue Jun 16 19:43:04 UTC 2009


Hi,

just managed to deadlock kdevelop (probably only for a while, still
pretty bad IMHO) by simply clicking onto the workingset button in the
Debug tab that I have here, while KDevelop was parsing the files from
kdevplatform project.

Backtrace shows that there's a writeLock being acquired when a document
is activated, not sure wether thats avoidable, but would be good if it
could be.

Backtrace (I've removed the less interesting threads to make the mail shorter):

Thread 13 (Thread 0xeb5d0b90 (LWP 11206)):
#0  0xf6b188d0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xf6ba7f20 in QWaitConditionPrivate::wait (this=0x9b56b20, time=4294967295)
    at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:87 
#2  0xf6ba7a1f in QWaitCondition::wait (this=0x98e7df0, mutex=0x98d3770, time=4294967295)
    at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:159          
#3  0xf7876668 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x98e7dd8, th=0x9b49888)
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365                                        
#4  0xf787940c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x996f880, th=0x9b49888)           
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80                                   
#5  0xf787524b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x98e7dd8, th=0x9b49888)                 
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356                                        
#6  0xf787950a in ThreadWeaver::WorkingHardState::applyForWork (this=0x996f880, th=0x9b49888)                  
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71                                   
#7  0xf7876bf3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98e7dd8, th=0x9b49888, previous=0x98d0088)    
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351                                        
#8  0xf78774de in ThreadWeaver::ThreadRunHelper::run (this=0xeb5d0330, parent=0x98e7dd8, th=0x9b49888)         
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:87                                             
#9  0xf7877b1b in ThreadWeaver::Thread::run (this=0x9b49888) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#10 0xf6ba74c2 in QThreadPrivate::start (arg=0x9b49888) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:189
#11 0xf6b14f50 in start_thread () from /lib/libpthread.so.0                                                                 
#12 0xf5d2b63e in clone () from /lib/libc.so.6                                                                              

Thread 9 (Thread 0xde360b90 (LWP 11244)):
#0  0xf5cf630c in nanosleep () from /lib/libc.so.6
#1  0xf5d2543c in usleep () from /lib/libc.so.6   
#2  0xf58ef294 in KDevelop::DUChainLock::lockForWrite (this=0x97d6d2c, timeout=10000)
    at /home/andreas/src/kdevplatform/language/duchain/duchainlock.cpp:301           
#3  0xf58ef3bc in KDevelop::DUChainWriteLocker::lock (this=0xde35e4b0) at /home/andreas/src/kdevplatform/language/duchain/duchainlock.cpp:411
#4  0xf58ef46c in DUChainWriteLocker (this=0xde35e4b0, duChainLock=0x97d6d2c, timeout=0)                                                     
    at /home/andreas/src/kdevplatform/language/duchain/duchainlock.cpp:396                                                                   
#5  0xe3078187 in CPPInternalParseJob::run (this=0xf092138) at /home/andreas/src/kdevelop/languages/cpp/cppparsejob.cpp:441                  
#6  0xe3076e6a in CPPParseJob::parseForeground (this=0x10d3f288) at /home/andreas/src/kdevelop/languages/cpp/cppparsejob.cpp:203             
#7  0xe308694e in PreprocessJob::sourceNeeded (this=0x107114d8, _fileName="sublime/mainwindow.h", type=rpp::Preprocessor::IncludeGlobal,     
    sourceLine=35, skipCurrentPath=false) at /home/andreas/src/kdevelop/languages/cpp/preprocessjob.cpp:639                                  
#8  0xe2f1cc64 in rpp::pp::handle_include (this=0xde35ef38, skip_current_path=false, input=..., output=...)                                  
    at /home/andreas/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:192                                                                 
#9  0xe2f1d4d7 in rpp::pp::handle_directive (this=0xde35ef38, directive=205223, input=..., output=...)                                       
    at /home/andreas/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:130                                                                 
#10 0xe2f1d837 in rpp::pp::operator() (this=0xde35ef38, input=..., output=...)                                                               
    at /home/andreas/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:245                                                                 
#11 0xe2f1dbf0 in rpp::pp::processFileInternal (this=0xde35ef38,                                                                             
    fileName="/home/andreas/src/kdevplatform/plugins/documentswitcher/documentswitcherplugin.cpp", fileContents=..., result=...)             
    at /home/andreas/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:97                                                                  
#12 0xe2f1dc63 in rpp::pp::processFile (this=0xde35ef38,                                                                                     
    fileName="/home/andreas/src/kdevplatform/plugins/documentswitcher/documentswitcherplugin.cpp", data=...)                                 
    at /home/andreas/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:84                                                                  
#13 0xe30848e3 in PreprocessJob::run (this=0x107114d8) at /home/andreas/src/kdevelop/languages/cpp/preprocessjob.cpp:302                     
#14 0xf7878534 in ThreadWeaver::JobRunHelper::runTheJob (this=0xde360278, th=0xc3318a8, job=0x107114d8)                                      
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:106                                                                             
#15 0xf78788d9 in ThreadWeaver::Job::execute (this=0x107114d8, th=0xc3318a8) at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:135    
#16 0xf787a263 in ThreadWeaver::JobCollectionJobRunner::execute (this=0xfbed3b0, t=0xc3318a8)                                                
    at /home/andreas/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:82                                                                    
#17 0xf787ac11 in ThreadWeaver::JobCollection::execute (this=0xdd51a48, t=0xc3318a8)                                                         
    at /home/andreas/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:228                                                                   
#18 0xf78774aa in ThreadWeaver::ThreadRunHelper::run (this=0xde360330, parent=0x977e2a8, th=0xc3318a8)                                       
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:95                                                                           
#19 0xf7877b1b in ThreadWeaver::Thread::run (this=0xc3318a8) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:142                 
#20 0xf6ba74c2 in QThreadPrivate::start (arg=0xc3318a8) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:189                 
#21 0xf6b14f50 in start_thread () from /lib/libpthread.so.0                                                                                  
#22 0xf5d2b63e in clone () from /lib/libc.so.6                                                                                               

Thread 8 (Thread 0xddb60b90 (LWP 11245)):
#0  0xf6b188d0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xf6ba7f20 in QWaitConditionPrivate::wait (this=0x977e3a0, time=4294967295)
    at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:87 
#2  0xf6ba7a1f in QWaitCondition::wait (this=0x977e2c0, mutex=0x977ceb0, time=4294967295)
---Type <return> to continue, or q <return> to quit---                                   
    at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:159          
#3  0xf7876668 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x977e2a8, th=0xa36aa20)
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365                                        
#4  0xf787940c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x977e5d0, th=0xa36aa20)           
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80                                   
#5  0xf787524b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x977e2a8, th=0xa36aa20)                 
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356                                        
#6  0xf787950a in ThreadWeaver::WorkingHardState::applyForWork (this=0x977e5d0, th=0xa36aa20)                  
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71                                   
#7  0xf7876bf3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x977e2a8, th=0xa36aa20, previous=0x0)          
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351                                        
#8  0xf7879529 in ThreadWeaver::WorkingHardState::applyForWork (this=0x977e5d0, th=0xa36aa20)                  
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74                                   
#9  0xf7876bf3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x977e2a8, th=0xa36aa20, previous=0x0)          
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351                                        
#10 0xf7879529 in ThreadWeaver::WorkingHardState::applyForWork (this=0x977e5d0, th=0xa36aa20)                  
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74                                   
#11 0xf7876bf3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x977e2a8, th=0xa36aa20, previous=0xff242e8)    
    at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351                                        
#12 0xf78774de in ThreadWeaver::ThreadRunHelper::run (this=0xddb60330, parent=0x977e2a8, th=0xa36aa20)         
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:87                                             
#13 0xf7877b1b in ThreadWeaver::Thread::run (this=0xa36aa20) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#14 0xf6ba74c2 in QThreadPrivate::start (arg=0xa36aa20) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:189
#15 0xf6b14f50 in start_thread () from /lib/libpthread.so.0                                                                 
#16 0xf5d2b63e in clone () from /lib/libc.so.6                                                                              

Thread 7 (Thread 0xdd360b90 (LWP 11246)):
#0  0xf6b188d0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0

#1  0xf6ba603e in QMutexPrivate::wait (this=0x9b49e30, timeout=-1) at /home/andreas/src/qt-copy/src/corelib/thread/qmutex_unix.cpp:80
#2  0xf6b9fc31 in QMutex::lock (this=0x9b7fad8) at /home/andreas/src/qt-copy/src/corelib/thread/qmutex.cpp:169                       
#3  0xf584f7ea in QMutexLocker::relock (this=0xdd35e388) at /usr/local/include/QtCore/qmutex.h:120                                   
#4  0xf584f862 in QMutexLocker (this=0xdd35e388, m=0x9b7fad8) at /usr/local/include/QtCore/qmutex.h:102                              
#5  0xf58f2286 in ~IndexedQualifiedIdentifier (this=0xe1d58c8, __in_chrg=<value optimized out>)                                      
    at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:1215                                                           
#6  0xf5872a13 in ~Indirect (this=0xe1d58c8, __in_chrg=<value optimized out>)                                                        
    at /home/andreas/src/kdevplatform/language/duchain/declarationid.h:165                                                           
#7  0xf5872a45 in ~DeclarationId (this=0xe1d58c8, __in_chrg=<value optimized out>)                                                   
    at /home/andreas/src/kdevplatform/language/duchain/declarationid.h:55                                                            
#8  0xf589efee in ~Import (this=0xe1d58c0, __in_chrg=<value optimized out>) at /home/andreas/src/kdevplatform/language/duchain/ducontext.h:348
#9  0xf58bdaac in KDevelop::DUContextData::m_importedContextsFree (this=0xe1d5860)                                                            
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:65                                                                     
#10 0xf58bdad1 in KDevelop::DUContextData::m_importedContextsFreeChain (this=0xe1d5860)                                                       
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:65                                                                     
#11 0xf58bedb4 in KDevelop::DUContextData::m_childContextsFreeChain (this=0xe1d5860)                                                          
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:66                                                                     
#12 0xf58bedd2 in KDevelop::DUContextData::m_importersFreeChain (this=0xe1d5860)                                                              
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:70                                                                     
#13 0xf58bedf0 in KDevelop::DUContextData::m_localDeclarationsFreeChain (this=0xe1d5860)                                                      
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:73                                                                     
---Type <return> to continue, or q <return> to quit---                                                                                        
#14 0xf58bee0e in KDevelop::DUContextData::m_usesFreeChain (this=0xe1d5860)                                                                   
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:78                                                                     
#15 0xf58bee21 in KDevelop::DUContextData::freeAppendedLists (this=0xe1d5860)                                                                 
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:79                                                                     
#16 0xf58ad5f7 in ~DUContextData (this=0xe1d5860, __in_chrg=<value optimized out>)                                                            
    at /home/andreas/src/kdevplatform/language/duchain/ducontext.cpp:96                                                                       
#17 0xe2ff28e4 in ~TopDUContextData (this=0xe1d5860, __in_chrg=<value optimized out>)                                                         
    at /usr/local/include/kdevplatform/language/duchain/topducontextdata.h:53                                                                 
#18 0xe2ff2939 in KDevelop::DUChainItemFactory<Cpp::CppDUContext<KDevelop::TopDUContext>, KDevelop::TopDUContextData>::callDestructor (       
    this=0x9e6dd48, data=0xe1d5860) at /usr/local/include/kdevplatform/language/duchain/duchainregister.h:65                                  
#19 0xf593da94 in KDevelop::DUChainItemSystem::callDestructor (this=0xf5a0c888, data=0xe1d5860)                                               
    at /home/andreas/src/kdevplatform/language/duchain/duchainregister.cpp:40                                                                 
#20 0xf58edb81 in KDevelop::DUChainBase::makeDynamic (this=0xe4d9cc0) at /home/andreas/src/kdevplatform/language/duchain/duchainbase.cpp:125  
#21 0xf58c8aef in KDevelop::TopDUContext::d_func_dynamic (this=0xe4d9cc0)                                                                     
    at /home/andreas/src/kdevplatform/language/duchain/topducontext.h:381                                                                     
#22 0xf58bfea5 in KDevelop::TopDUContext::setFlags (this=0xe4d9cc0, f=KDevelop::TopDUContext::NoFlags)                                        
    at /home/andreas/src/kdevplatform/language/duchain/topducontext.cpp:1448                                                                  
#23 0xf58d0ff3 in KDevelop::TopDUContextDynamicData::load (topContextIndex=2833)                                                              
    at /home/andreas/src/kdevplatform/language/duchain/topducontextdynamicdata.cpp:332                                                        
#24 0xf58a0a2b in KDevelop::DUChainPrivate::loadChain (this=0x97d6d20, index=2833, loaded=...)                                                
    at /home/andreas/src/kdevplatform/language/duchain/duchain.cpp:521                                                                        
#25 0xf5881865 in KDevelop::DUChain::chainForIndex (this=0x97d6b88, index=2833)                                                               
    at /home/andreas/src/kdevplatform/language/duchain/duchain.cpp:1200                                                                       
#26 0xf58c253b in KDevelop::IndexedTopDUContext::data (this=0xdd35e760)                                                                       
    at /home/andreas/src/kdevplatform/language/duchain/topducontext.cpp:118                                                                   
#27 0xf5907ce7 in KDevelop::ParsingEnvironmentFile::topContext (this=0xf9a62c8)                                                               
    at /home/andreas/src/kdevplatform/language/duchain/parsingenvironment.cpp:113                                                             
#28 0xf5882d12 in KDevelop::DUChain::chainForDocument (this=0x97d6b88, document=..., environment=0xd3fc988, onlyProxyContexts=true,           
    noProxyContexts=false) at /home/andreas/src/kdevplatform/language/duchain/duchain.cpp:1314                                                
#29 0xf5882d8d in KDevelop::DUChain::chainForDocument (this=0x97d6b88, document=..., environment=0xd3fc988, onlyProxyContexts=true,           
    noProxyContexts=false) at /home/andreas/src/kdevplatform/language/duchain/duchain.cpp:1276                                                
#30 0xe3085d0a in PreprocessJob::sourceNeeded (this=0xe28c210, _fileName="launchconfigurationdialog.h", type=rpp::Preprocessor::IncludeLocal, 
    sourceLine=19, skipCurrentPath=false) at /home/andreas/src/kdevelop/languages/cpp/preprocessjob.cpp:542                                   
#31 0xe2f1cc64 in rpp::pp::handle_include (this=0xdd35ef38, skip_current_path=false, input=..., output=...)                                   
    at /home/andreas/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:192                                                                  
#32 0xe2f1d4d7 in rpp::pp::handle_directive (this=0xdd35ef38, directive=205223, input=..., output=...)                                        
    at /home/andreas/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:130                                                                  
#33 0xe2f1d837 in rpp::pp::operator() (this=0xdd35ef38, input=..., output=...)                                                                
    at /home/andreas/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:245                                                                  
#34 0xe2f1dbf0 in rpp::pp::processFileInternal (this=0xdd35ef38,                                                                              
    fileName="/home/andreas/src/kdevplatform/shell/launchconfigurationdialog.cpp", fileContents=..., result=...)                              
    at /home/andreas/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:97                                                                   
#35 0xe2f1dc63 in rpp::pp::processFile (this=0xdd35ef38, fileName="/home/andreas/src/kdevplatform/shell/launchconfigurationdialog.cpp",       
    data=...) at /home/andreas/src/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:84                                                         
#36 0xe30848e3 in PreprocessJob::run (this=0xe28c210) at /home/andreas/src/kdevelop/languages/cpp/preprocessjob.cpp:302                       
#37 0xf7878534 in ThreadWeaver::JobRunHelper::runTheJob (this=0xdd360278, th=0xb0ff688, job=0xe28c210)                                        
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:106                                                                              
#38 0xf78788d9 in ThreadWeaver::Job::execute (this=0xe28c210, th=0xb0ff688) at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:135      
#39 0xf787a263 in ThreadWeaver::JobCollectionJobRunner::execute (this=0xe4de2d8, t=0xb0ff688)                                                 
---Type <return> to continue, or q <return> to quit---                                                                                        
    at /home/andreas/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:82                                                                     
#40 0xf787ac11 in ThreadWeaver::JobCollection::execute (this=0xf01ff08, t=0xb0ff688)                                                          
    at /home/andreas/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:228                                                                    
#41 0xf78774aa in ThreadWeaver::ThreadRunHelper::run (this=0xdd360330, parent=0x977e2a8, th=0xb0ff688)                                        
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:95                                                                            
#42 0xf7877b1b in ThreadWeaver::Thread::run (this=0xb0ff688) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:142                  
#43 0xf6ba74c2 in QThreadPrivate::start (arg=0xb0ff688) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:189                  
#44 0xf6b14f50 in start_thread () from /lib/libpthread.so.0                                                                                   
#45 0xf5d2b63e in clone () from /lib/libc.so.6                                                                                                

Thread 6 (Thread 0xdcb60b90 (LWP 11247)):
#0  0xf6b188d0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xf6ba603e in QMutexPrivate::wait (this=0x9b49e30, timeout=-1) at /home/andreas/src/qt-copy/src/corelib/thread/qmutex_unix.cpp:80
#2  0xf6b9fc31 in QMutex::lock (this=0x9b7fad8) at /home/andreas/src/qt-copy/src/corelib/thread/qmutex.cpp:169                       
#3  0xf584f7ea in QMutexLocker::relock (this=0xdcb5e538) at /usr/local/include/QtCore/qmutex.h:120                                   
#4  0xf584f862 in QMutexLocker (this=0xdcb5e538, m=0x9b7fad8) at /usr/local/include/QtCore/qmutex.h:102                              
#5  0xf58f2286 in ~IndexedQualifiedIdentifier (this=0xdaff6b8, __in_chrg=<value optimized out>)                                      
    at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:1215                                                           
#6  0xf5872a13 in ~Indirect (this=0xdaff6b8, __in_chrg=<value optimized out>)                                                        
    at /home/andreas/src/kdevplatform/language/duchain/declarationid.h:165                                                           
#7  0xf5872a45 in ~DeclarationId (this=0xdaff6b8, __in_chrg=<value optimized out>)                                                   
    at /home/andreas/src/kdevplatform/language/duchain/declarationid.h:55                                                            
#8  0xf589efee in ~Import (this=0xdaff6b0, __in_chrg=<value optimized out>) at /home/andreas/src/kdevplatform/language/duchain/ducontext.h:348
#9  0xf58bdaac in KDevelop::DUContextData::m_importedContextsFree (this=0xdaff650)                                                            
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:65                                                                     
#10 0xf58bdad1 in KDevelop::DUContextData::m_importedContextsFreeChain (this=0xdaff650)                                                       
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:65                                                                     
#11 0xf58bedb4 in KDevelop::DUContextData::m_childContextsFreeChain (this=0xdaff650)                                                          
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:66                                                                     
#12 0xf58bedd2 in KDevelop::DUContextData::m_importersFreeChain (this=0xdaff650)                                                              
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:70                                                                     
#13 0xf58bedf0 in KDevelop::DUContextData::m_localDeclarationsFreeChain (this=0xdaff650)                                                      
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:73                                                                     
#14 0xf58bee0e in KDevelop::DUContextData::m_usesFreeChain (this=0xdaff650)                                                                   
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:78                                                                     
#15 0xf58bee21 in KDevelop::DUContextData::freeAppendedLists (this=0xdaff650)                                                                 
    at /home/andreas/src/kdevplatform/language/duchain/ducontextdata.h:79                                                                     
#16 0xf58ad5f7 in ~DUContextData (this=0xdaff650, __in_chrg=<value optimized out>)                                                            
    at /home/andreas/src/kdevplatform/language/duchain/ducontext.cpp:96                                                                       
#17 0xe2ff28e4 in ~TopDUContextData (this=0xdaff650, __in_chrg=<value optimized out>)                                                         
    at /usr/local/include/kdevplatform/language/duchain/topducontextdata.h:53                                                                 
#18 0xe2ff2939 in KDevelop::DUChainItemFactory<Cpp::CppDUContext<KDevelop::TopDUContext>, KDevelop::TopDUContextData>::callDestructor (       
    this=0x9e6dd48, data=0xdaff650) at /usr/local/include/kdevplatform/language/duchain/duchainregister.h:65                                  
#19 0xf593da94 in KDevelop::DUChainItemSystem::callDestructor (this=0xf5a0c888, data=0xdaff650)                                               
    at /home/andreas/src/kdevplatform/language/duchain/duchainregister.cpp:40                                                                 
#20 0xf58edb81 in KDevelop::DUChainBase::makeDynamic (this=0x1059e248) at /home/andreas/src/kdevplatform/language/duchain/duchainbase.cpp:125 
#21 0xf58c8aef in KDevelop::TopDUContext::d_func_dynamic (this=0x1059e248)                                                                    
    at /home/andreas/src/kdevplatform/language/duchain/topducontext.h:381                                                                     
#22 0xf58bfea5 in KDevelop::TopDUContext::setFlags (this=0x1059e248, f=KDevelop::TopDUContext::NoFlags)                                       
---Type <return> to continue, or q <return> to quit---                                                                                        
    at /home/andreas/src/kdevplatform/language/duchain/topducontext.cpp:1448                                                                  
#23 0xf58d0ff3 in KDevelop::TopDUContextDynamicData::load (topContextIndex=2804)                                                              
    at /home/andreas/src/kdevplatform/language/duchain/topducontextdynamicdata.cpp:332                                                        
#24 0xf58a0a2b in KDevelop::DUChainPrivate::loadChain (this=0x97d6d20, index=2804, loaded=...)                                                
    at /home/andreas/src/kdevplatform/language/duchain/duchain.cpp:521                                                                        
#25 0xf5881865 in KDevelop::DUChain::chainForIndex (this=0x97d6b88, index=2804)                                                               
    at /home/andreas/src/kdevplatform/language/duchain/duchain.cpp:1200                                                                       
#26 0xf58c253b in KDevelop::IndexedTopDUContext::data (this=0xdcb5e910)                                                                       
    at /home/andreas/src/kdevplatform/language/duchain/topducontext.cpp:118                                                                   
#27 0xf5907ce7 in KDevelop::ParsingEnvironmentFile::topContext (this=0xde209c8)                                                               
    at /home/andreas/src/kdevplatform/language/duchain/parsingenvironment.cpp:113                                                             
#28 0xf5882ffe in KDevelop::DUChain::chainForDocument (this=0x97d6b88, document=...)                                                          
    at /home/andreas/src/kdevplatform/language/duchain/duchain.cpp:1245                                                                       
#29 0xf5915741 in KDevelop::DUChainUtils::standardContextForUrl (url=...)                                                                     
    at /home/andreas/src/kdevplatform/language/duchain/duchainutils.cpp:245                                                                   
#30 0xe3072225 in IncludePathComputer::computeBackground (this=0xf1ad830)                                                                     
    at /home/andreas/src/kdevelop/languages/cpp/includepathcomputer.cpp:138                                                                   
#31 0xe307780f in CPPParseJob::includePaths (this=0xf6f2d98) at /home/andreas/src/kdevelop/languages/cpp/cppparsejob.cpp:244                  
#32 0xe3083a09 in PreprocessJob::run (this=0xf969378) at /home/andreas/src/kdevelop/languages/cpp/preprocessjob.cpp:204                       
#33 0xf7878534 in ThreadWeaver::JobRunHelper::runTheJob (this=0xdcb60278, th=0xc22e210, job=0xf969378)                                        
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:106                                                                              
#34 0xf78788d9 in ThreadWeaver::Job::execute (this=0xf969378, th=0xc22e210) at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:135      
#35 0xf787a263 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x98e7398, t=0xc22e210)                                                 
    at /home/andreas/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:82                                                                     
#36 0xf787ac11 in ThreadWeaver::JobCollection::execute (this=0xf6f2d98, t=0xc22e210)                                                          
    at /home/andreas/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:228                                                                    
#37 0xf78774aa in ThreadWeaver::ThreadRunHelper::run (this=0xdcb60330, parent=0x977e2a8, th=0xc22e210)                                        
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:95                                                                            
#38 0xf7877b1b in ThreadWeaver::Thread::run (this=0xc22e210) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:142                  
#39 0xf6ba74c2 in QThreadPrivate::start (arg=0xc22e210) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:189                  
#40 0xf6b14f50 in start_thread () from /lib/libpthread.so.0                                                                                   
#41 0xf5d2b63e in clone () from /lib/libc.so.6                                                                                                

Thread 5 (Thread 0xdc360b90 (LWP 11248)):
#0  0xf6b188d0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xf6ba603e in QMutexPrivate::wait (this=0x9b49e30, timeout=-1) at /home/andreas/src/qt-copy/src/corelib/thread/qmutex_unix.cpp:80
#2  0xf6b9fc31 in QMutex::lock (this=0x9b7fad8) at /home/andreas/src/qt-copy/src/corelib/thread/qmutex.cpp:169                       
#3  0xf584f7ea in QMutexLocker::relock (this=0xdc35ec38) at /usr/local/include/QtCore/qmutex.h:120                                   
#4  0xf584f862 in QMutexLocker (this=0xdc35ec38, m=0x9b7fad8) at /usr/local/include/QtCore/qmutex.h:102                              

#5  0xf58f250d in IndexedQualifiedIdentifier (this=0xa06b498, id=...) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:1162
#6  0xf58fed96 in IndexedTypeIdentifier (this=0xa06b498) at /home/andreas/src/kdevplatform/language/duchain/identifier.h:319                
#7  0xf58ff132 in KDevelop::AppendedList<false, KDevelop::IndexedTypeIdentifier>::copy (this=0xa06b490, target=0xa06b498, data=0xed1dba0,   
    size=2) at /home/andreas/src/kdevplatform/language/duchain/appendedlist_static.h:127                                                    
#8  0xf58ff195 in KDevelop::IdentifierPrivate<false>::templateIdentifiersCopyAllFrom<KDevelop::IdentifierPrivate<true> > (this=0xa06b484,   
    rhs=...) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:66                                                           
#9  0xf58ff1b4 in KDevelop::IdentifierPrivate<false>::copyListsFrom<KDevelop::IdentifierPrivate<true> > (this=0xa06b484, rhs=...)           
    at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:68                                                                    
#10 0xf5904834 in IdentifierPrivate<true> (this=0xa06b484, rhs=...) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:41    
#11 0xf590487c in KDevelop::IdentifierItemRequest::createItem (this=0xdc35ee5c, item=0xa06b484)                                             
---Type <return> to continue, or q <return> to quit---                                                                                      
    at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:112                                                                   
#12 0xf5904f57 in KDevelop::Bucket<KDevelop::IdentifierPrivate<false>, KDevelop::IdentifierItemRequest, true, 0u>::index (this=0xa052eb8,   
    request=..., itemSize=36) at /home/andreas/src/kdevplatform/language/duchain/repositories/itemrepository.h:620                          
#13 0xf59054b5 in KDevelop::ItemRepository<KDevelop::IdentifierPrivate<false>, KDevelop::IdentifierItemRequest, true, true, 0u, 1048576u>::index (this=0x9b8b728, request=...) at /home/andreas/src/kdevplatform/language/duchain/repositories/itemrepository.h:1419                          
#14 0xf58f368e in KDevelop::Identifier::makeConstant (this=0xa038620) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:500    
#15 0xf58f37db in KDevelop::Identifier::index (this=0xa038620) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:428           
#16 0xf58f3994 in IndexedIdentifier (this=0xdc35eee0, id=...) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:1046           
#17 0xf58f4554 in KDevelop::QualifiedIdentifier::push (this=0xdc35f0b4, id=...)                                                                
    at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:840                                                                      
#18 0xe2eda255 in NameCompiler::visitUnqualifiedName (this=0xa038608, node=0x113ff998)                                                         
    at /home/andreas/src/kdevelop/languages/cpp/parser/name_compiler.cpp:163                                                                   
#19 0xe2edaec6 in Visitor::visit (this=0xa038608, node=0x113ff998) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113          
#20 0xe2ed8d03 in DefaultVisitor::visitName (this=0xa038608, node=0x113ff97c)                                                                  
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:239                                                                 
#21 0xe2edaec6 in Visitor::visit (this=0xa038608, node=0x113ff97c) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113          
#22 0xe2ed9c15 in NameCompiler::internal_run (this=0xa038608, node=0x113ff97c)                                                                 
    at /home/andreas/src/kdevelop/languages/cpp/parser/name_compiler.cpp:122                                                                   
#23 0xe2ed9c67 in NameCompiler::run (this=0xa038608, node=0x113ff97c, target=0xdc35f0b4)                                                       
    at /home/andreas/src/kdevelop/languages/cpp/parser/name_compiler.cpp:187                                                                   

#24 0xe2f78962 in ContextBuilder::identifierForNode (this=0xdc35fb80, id=0x113ff97c, typeSpecifier=0x0, target=...)
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:1170                                 
#25 0xe2f789b7 in ContextBuilder::identifierForNode (this=0xdc35fb80, id=0x113ff97c, target=...)                   
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:196                                  
#26 0xe2fc2833 in TypeBuilder::openTypeFromName (this=0xdc35fb80, name=0x113ff97c, modifiers=0, needClass=false)   
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:387                                     
#27 0xe2fc3247 in TypeBuilder::visitSimpleTypeSpecifier (this=0xdc35fb80, node=0x113ff954)                         
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:326                                     
#28 0xe2edaec6 in Visitor::visit (this=0xdc35fbb0, node=0x113ff954) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#29 0xe2ed8d46 in DefaultVisitor::visitTypedef (this=0xdc35fbb0, node=0x113ffc5c)                                                     
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:431                                                        
#30 0xe2f799ab in ContextBuilder::visitTypedef (this=0xdc35fb80, node=0x113ffc5c)                                                     
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:616                                                     
#31 0xe2fc1d2a in TypeBuilder::visitTypedef (this=0xdc35fb80, node=0x113ffc5c)                                                        
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:482                                                        
#32 0xe2f92ef3 in DeclarationBuilder::visitTypedef (this=0xdc35fb80, def=0x113ffc5c)                                                  
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:784                                                 
#33 0xe2edaec6 in Visitor::visit (this=0xdc35fbb0, node=0x113ffc5c) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#34 0xe2ed9049 in visitNodes<DeclarationAST*> (v=0xdc35fbb0, nodes=0x113ffee0)                                                        
    at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.h:128                                                                  
#35 0xe2ed89e5 in DefaultVisitor::visitClassSpecifier (this=0xdc35fbb0, node=0x113ff6fc)                                              
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:63                                                         

#36 0xe2f7ac9a in ContextBuilder::visitClassSpecifier (this=0xdc35fb80, node=0x113ff6fc)
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:609       
#37 0xe2fc2e7a in TypeBuilder::visitClassSpecifier (this=0xdc35fb80, node=0x113ff6fc)   
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:75           
#38 0xe2f91800 in DeclarationBuilder::visitClassSpecifier (this=0xdc35fb80, node=0x113ff6fc)
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:964       
#39 0xe2edaec6 in Visitor::visit (this=0xdc35fbb0, node=0x113ff6fc) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113
---Type <return> to continue, or q <return> to quit---                                                                                
#40 0xe2fc1ba6 in TypeBuilder::visitSimpleDeclaration (this=0xdc35fb80, node=0x113fff3c)                                              
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:504                                                        
#41 0xe2f92f82 in DeclarationBuilder::visitSimpleDeclaration (this=0xdc35fb80, node=0x113fff3c)                                       
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:257                                                 
#42 0xe2edaec6 in Visitor::visit (this=0xdc35fbb0, node=0x113fff3c) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#43 0xe2f7a25d in ContextBuilder::visitTemplateDeclaration (this=0xdc35fb80, ast=0x113fff64)                                          
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:310                                                     
#44 0xe2edaec6 in Visitor::visit (this=0xdc35fbb0, node=0x113fff64) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#45 0xe2ed9049 in visitNodes<DeclarationAST*> (v=0xdc35fbb0, nodes=0x1145bddc)                                                        
    at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.h:128                                                                  
#46 0xe2ed8973 in DefaultVisitor::visitLinkageBody (this=0xdc35fbb0, node=0x106f49a4)                                                 
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:221                                                        
#47 0xe2edaec6 in Visitor::visit (this=0xdc35fbb0, node=0x106f49a4) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#48 0xe2ed8396 in DefaultVisitor::visitNamespace (this=0xdc35fbb0, node=0x106f4988)                                                   
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:244                                                        
#49 0xe2f7ae9c in ContextBuilder::visitNamespace (this=0xdc35fb80, node=0x106f4988)                                                   
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:553                                                     
#50 0xe2f8f8f3 in DeclarationBuilder::visitNamespace (this=0xdc35fb80, ast=0x106f4988)                                                
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:924                                                 
#51 0xe2edaec6 in Visitor::visit (this=0xdc35fbb0, node=0x106f4988) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#52 0xe2ed9049 in visitNodes<DeclarationAST*> (v=0xdc35fbb0, nodes=0x1145bde8)                                                        
    at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.h:128                                                                  
#53 0xe2ed8955 in DefaultVisitor::visitTranslationUnit (this=0xdc35fbb0, node=0x106f45a0)                                             
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:394                                                        
#54 0xe2edaec6 in Visitor::visit (this=0xdc35fbb0, node=0x106f45a0) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#55 0xe2f7868b in ContextBuilder::startVisiting (this=0xdc35fb80, node=0x106f45a0)                                                    
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:201                                                     

#56 0xe2f81022 in KDevelop::AbstractContextBuilder<AST, NameAST>::supportBuild (this=0xdc35fb80, node=0x106f45a0, context=0xe0e4cd8)
    at /usr/local/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:201                                       
#57 0xe2f9769d in KDevelop::AbstractTypeBuilder<AST, NameAST, ContextBuilder>::supportBuild (this=0xdc35fb80, node=0x106f45a0, context=0x0)
    at /usr/local/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85                                                  
#58 0xe2f7c847 in ContextBuilder::buildContexts (this=0xdc35fb80, file=..., node=0x106f45a0, includes=0xdc35ff2c, updateContext=...,       
    removeOldImports=false) at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:459                                  
#59 0xe2f9353c in DeclarationBuilder::buildDeclarations (this=0xdc35fb80, file=..., node=0x106f45a0, includes=0xdc35ff2c, updateContext=..., 
    removeOldImports=false) at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:128                                
#60 0xe30798ab in CPPInternalParseJob::run (this=0xfc5b588) at /home/andreas/src/kdevelop/languages/cpp/cppparsejob.cpp:613                  
#61 0xf7878534 in ThreadWeaver::JobRunHelper::runTheJob (this=0xdc3602a8, th=0xb104578, job=0xfc5b588)                                       
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:106                                                                             
#62 0xf78788d9 in ThreadWeaver::Job::execute (this=0xfc5b588, th=0xb104578) at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:135     
#63 0xf787a263 in ThreadWeaver::JobCollectionJobRunner::execute (this=0xf711be0, t=0xb104578)                                                
    at /home/andreas/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:82                                                                    
#64 0xf78774aa in ThreadWeaver::ThreadRunHelper::run (this=0xdc360330, parent=0x977e2a8, th=0xb104578)                                       
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:95                                                                           
#65 0xf7877b1b in ThreadWeaver::Thread::run (this=0xb104578) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:142                 
#66 0xf6ba74c2 in QThreadPrivate::start (arg=0xb104578) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:189                 
#67 0xf6b14f50 in start_thread () from /lib/libpthread.so.0                                                                                  
#68 0xf5d2b63e in clone () from /lib/libc.so.6                                                                                               

Thread 4 (Thread 0xdbb60b90 (LWP 11249)):
---Type <return> to continue, or q <return> to quit---
#0  0xf6b188d0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xf6ba603e in QMutexPrivate::wait (this=0x9b7d8b8, timeout=-1) at /home/andreas/src/qt-copy/src/corelib/thread/qmutex_unix.cpp:80
#2  0xf6b9fc31 in QMutex::lock (this=0x9b8b730) at /home/andreas/src/qt-copy/src/corelib/thread/qmutex.cpp:169                       
#3  0xf584f7ea in QMutexLocker::relock (this=0xdbb5b078) at /usr/local/include/QtCore/qmutex.h:120                                   
#4  0xf584f862 in QMutexLocker (this=0xdbb5b078, m=0x9b8b730) at /usr/local/include/QtCore/qmutex.h:102                              
#5  0xf58f2cbb in IndexedIdentifier (this=0x109d36d0, rhs=...) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:1055
#6  0xf59006ee in KDevelop::AppendedList<false, KDevelop::IndexedIdentifier>::copy (this=0x109d36cc, target=0x109d36d0, data=0xef4a9c0, 
    size=3) at /home/andreas/src/kdevplatform/language/duchain/appendedlist_static.h:127                                                
#7  0xf5900751 in KDevelop::QualifiedIdentifierPrivate<false>::identifiersCopyAllFrom<KDevelop::QualifiedIdentifierPrivate<true> > (    
    this=0x109d36c0, rhs=...) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:181                                     
#8  0xf5900770 in KDevelop::QualifiedIdentifierPrivate<false>::copyListsFrom<KDevelop::QualifiedIdentifierPrivate<true> > (this=0x109d36c0, 
    rhs=...) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:183                                                          
#9  0xf59007e7 in QualifiedIdentifierPrivate<true> (this=0x109d36c0, rhs=...)                                                               
    at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:167                                                                   
#10 0xf59008b0 in KDevelop::QualifiedIdentifierItemRequest::createItem (this=0xdbb5b26c, item=0x109d36c0)                                   
    at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:248                                                                   
#11 0xf59028ab in KDevelop::Bucket<KDevelop::QualifiedIdentifierPrivate<false>, KDevelop::QualifiedIdentifierItemRequest, true, 0u>::index (
    this=0xc2a6c58, request=..., itemSize=28) at /home/andreas/src/kdevplatform/language/duchain/repositories/itemrepository.h:620          
#12 0xf590363f in KDevelop::ItemRepository<KDevelop::QualifiedIdentifierPrivate<false>, KDevelop::QualifiedIdentifierItemRequest, true, true, 0u, 1048576u>::index (this=0x9b7fad0, request=...) at /home/andreas/src/kdevplatform/language/duchain/repositories/itemrepository.h:1419        
#13 0xf58f325d in KDevelop::QualifiedIdentifier::makeConstant (this=0xdbb5c330)                                                                
    at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:942                                                                      
#14 0xf58f3345 in KDevelop::QualifiedIdentifier::index (this=0xdbb5c330) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:492 

#15 0xf58f3500 in IndexedQualifiedIdentifier (this=0xdbb5c390, id=...) at /home/andreas/src/kdevplatform/language/duchain/identifier.cpp:1146
#16 0xf58ac2e6 in KDevelop::DUContext::findLocalDeclarationsInternal (this=0xed86108, identifier=..., position=..., dataType=..., ret=...,   
    flags=...) at /home/andreas/src/kdevplatform/language/duchain/ducontext.cpp:790                                                          
#17 0xe2f85b0f in Cpp::CppDUContext<KDevelop::DUContext>::findLocalDeclarationsInternal (this=0xed86108, identifier=..., position=...,       
    dataType=..., ret=..., source=0xe8b0298, flags=...) at /home/andreas/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:346            
#18 0xf58ab879 in KDevelop::DUContext::findDeclarationsInternal (this=0xed86108, baseIdentifiers=..., position=..., dataType=..., ret=...,   
    source=0xe8b0298, flags=...) at /home/andreas/src/kdevplatform/language/duchain/ducontext.cpp:831                                        
#19 0xe2f895f1 in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xed86108, identifiers=..., position=...,           
    dataType=..., ret=..., source=0xe8b0298, basicFlags=...) at /home/andreas/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:238       
#20 0xf58abf9e in KDevelop::DUContext::findDeclarationsInternal (this=0xee3f428, baseIdentifiers=..., position=..., dataType=..., ret=...,   
    source=0xe8b0298, flags=...) at /home/andreas/src/kdevplatform/language/duchain/ducontext.cpp:882                                        
#21 0xe2f895f1 in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xee3f428, identifiers=..., position=...,           
    dataType=..., ret=..., source=0xe8b0298, basicFlags=...) at /home/andreas/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:238       
#22 0xe2fed7b5 in Cpp::FindDeclaration::closeIdentifier (this=0xdbb5e64c, isFinalIdentifier=true)                                            
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/cppducontext.cpp:226                                                              
#23 0xe2f88f3a in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xee3f428, identifier=..., position=...,            
    dataType=..., ret=..., source=0xe8b0298, basicFlags=...) at /home/andreas/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:319       
#24 0xe2f89717 in Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal (this=0xee3f428, identifiers=..., position=...,           
    dataType=..., ret=..., source=0xe8b0298, basicFlags=...) at /home/andreas/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:243       
#25 0xf58a448d in KDevelop::DUContext::findDeclarations (this=0xee3f428, identifier=..., position=..., dataType=..., topContext=0x0,         
    flags=...) at /home/andreas/src/kdevplatform/language/duchain/ducontext.cpp:895                                                          
#26 0xe2fc28fc in TypeBuilder::openTypeFromName (this=0xdbb5fb80, name=0x115eecc4, modifiers=0, needClass=false)                             
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:399                                                               
#27 0xe2fc3247 in TypeBuilder::visitSimpleTypeSpecifier (this=0xdbb5fb80, node=0x115eec9c)                                                   
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:326                                                               
#28 0xe2edaec6 in Visitor::visit (this=0xdbb5fbb0, node=0x115eec9c) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113       
---Type <return> to continue, or q <return> to quit---                                                                                       
#29 0xe2ed84dc in DefaultVisitor::visitParameterDeclaration (this=0xdbb5fbb0, node=0x115eedd4)                                               
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:293                                                               
#30 0xe2fc1dfb in TypeBuilder::visitParameterDeclaration (this=0xdbb5fb80, node=0x115eedd4)                                                  
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:665                                                               
#31 0xe2f9121e in DeclarationBuilder::visitParameterDeclaration (this=0xdbb5fb80, node=0x115eedd4)                                           
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:1417                                                       
#32 0xe2edaec6 in Visitor::visit (this=0xdbb5fbb0, node=0x115eedd4) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113       
#33 0xe2ed972d in visitNodes<ParameterDeclarationAST*> (v=0xdbb5fbb0, nodes=0x115eedf0)                                                      
    at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.h:128                                                                         
#34 0xe2ed8d21 in DefaultVisitor::visitParameterDeclarationClause (this=0xdbb5fbb0, node=0x115eec84)                                         
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:300                                                               
#35 0xe2edaec6 in Visitor::visit (this=0xdbb5fbb0, node=0x115eec84) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113       
#36 0xe2f797e5 in ContextBuilder::visitDeclarator (this=0xdbb5fb80, node=0x115eebd8)                                                         
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:985                                                            
#37 0xe2f92790 in DeclarationBuilder::visitDeclarator (this=0xdbb5fb80, node=0x115eebd8)                                                     
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:298                                                        
#38 0xe2f7d47a in ContextBuilder::visitInitDeclarator (this=0xdbb5fb80, node=0x115eedfc)                                                     
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:955                                                            
#39 0xe2f8f757 in DeclarationBuilder::visitInitDeclarator (this=0xdbb5fb80, node=0x115eedfc)                                                 
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:246                                                        
#40 0xe2edaec6 in Visitor::visit (this=0xdbb5fbb0, node=0x115eedfc) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113       
#41 0xe2fc1bfd in TypeBuilder::visitSimpleDeclaration (this=0xdbb5fb80, node=0x115eee20)                                                     
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:512                                                               
#42 0xe2f92f82 in DeclarationBuilder::visitSimpleDeclaration (this=0xdbb5fb80, node=0x115eee20)                                              
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:257                                                        
#43 0xe2edaec6 in Visitor::visit (this=0xdbb5fbb0, node=0x115eee20) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113       
#44 0xe2ed9049 in visitNodes<DeclarationAST*> (v=0xdbb5fbb0, nodes=0x115f09e0)                                                               
    at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.h:128                                                                         
#45 0xe2ed89e5 in DefaultVisitor::visitClassSpecifier (this=0xdbb5fbb0, node=0x115ee2ec)                                                     
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:63                                                                
#46 0xe2f7ac9a in ContextBuilder::visitClassSpecifier (this=0xdbb5fb80, node=0x115ee2ec)                                                     
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:609                                                            
#47 0xe2fc2e7a in TypeBuilder::visitClassSpecifier (this=0xdbb5fb80, node=0x115ee2ec)                                                        
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:75                                                                
#48 0xe2f91800 in DeclarationBuilder::visitClassSpecifier (this=0xdbb5fb80, node=0x115ee2ec)                                                 
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:964                                                        
#49 0xe2edaec6 in Visitor::visit (this=0xdbb5fbb0, node=0x115ee2ec) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113       
#50 0xe2fc1ba6 in TypeBuilder::visitSimpleDeclaration (this=0xdbb5fb80, node=0x115f0a3c)                                                     
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/typebuilder.cpp:504                                                               
#51 0xe2f92f82 in DeclarationBuilder::visitSimpleDeclaration (this=0xdbb5fb80, node=0x115f0a3c)                                              
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:257                                                        
#52 0xe2edaec6 in Visitor::visit (this=0xdbb5fbb0, node=0x115f0a3c) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113       
#53 0xe2ed9049 in visitNodes<DeclarationAST*> (v=0xdbb5fbb0, nodes=0x11604f34)                                                               
    at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.h:128                                                                         
#54 0xe2ed8973 in DefaultVisitor::visitLinkageBody (this=0xdbb5fbb0, node=0x115e78e4)                                                        
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:221                                                               
#55 0xe2edaec6 in Visitor::visit (this=0xdbb5fbb0, node=0x115e78e4) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113       
#56 0xe2ed8396 in DefaultVisitor::visitNamespace (this=0xdbb5fbb0, node=0x115e78c8)                                                          
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:244                                                               
---Type <return> to continue, or q <return> to quit---                                                                                       
#57 0xe2f7ae9c in ContextBuilder::visitNamespace (this=0xdbb5fb80, node=0x115e78c8)                                                          
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:553                                                            
#58 0xe2f8f8f3 in DeclarationBuilder::visitNamespace (this=0xdbb5fb80, ast=0x115e78c8)                                                       
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:924                                                        
#59 0xe2edaec6 in Visitor::visit (this=0xdbb5fbb0, node=0x115e78c8) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113       
#60 0xe2ed9049 in visitNodes<DeclarationAST*> (v=0xdbb5fbb0, nodes=0x11604f40)                                                               
    at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.h:128                                                                         
#61 0xe2ed8955 in DefaultVisitor::visitTranslationUnit (this=0xdbb5fbb0, node=0x115e7428)                                                    
    at /home/andreas/src/kdevelop/languages/cpp/parser/default_visitor.cpp:394                                                               
#62 0xe2edaec6 in Visitor::visit (this=0xdbb5fbb0, node=0x115e7428) at /home/andreas/src/kdevelop/languages/cpp/parser/visitor.cpp:113       
#63 0xe2f7868b in ContextBuilder::startVisiting (this=0xdbb5fb80, node=0x115e7428)                                                           
    at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:201                                                            
#64 0xe2f81022 in KDevelop::AbstractContextBuilder<AST, NameAST>::supportBuild (this=0xdbb5fb80, node=0x115e7428, context=0xe8b0298)         
    at /usr/local/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:201                                                
#65 0xe2f9769d in KDevelop::AbstractTypeBuilder<AST, NameAST, ContextBuilder>::supportBuild (this=0xdbb5fb80, node=0x115e7428, context=0x0)  
    at /usr/local/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85                                                    
#66 0xe2f7c847 in ContextBuilder::buildContexts (this=0xdbb5fb80, file=..., node=0x115e7428, includes=0xdbb5ff2c, updateContext=...,         
    removeOldImports=false) at /home/andreas/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:459                                    
#67 0xe2f9353c in DeclarationBuilder::buildDeclarations (this=0xdbb5fb80, file=..., node=0x115e7428, includes=0xdbb5ff2c, updateContext=..., 
    removeOldImports=false) at /home/andreas/src/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:128                                
#68 0xe30798ab in CPPInternalParseJob::run (this=0xf81f0f0) at /home/andreas/src/kdevelop/languages/cpp/cppparsejob.cpp:613                  
#69 0xf7878534 in ThreadWeaver::JobRunHelper::runTheJob (this=0xdbb602a8, th=0xb05c4b8, job=0xf81f0f0)                                       
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:106                                                                             
#70 0xf78788d9 in ThreadWeaver::Job::execute (this=0xf81f0f0, th=0xb05c4b8) at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:135     
#71 0xf787a263 in ThreadWeaver::JobCollectionJobRunner::execute (this=0xf048b40, t=0xb05c4b8)                                                
    at /home/andreas/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:82                                                                    
#72 0xf78774aa in ThreadWeaver::ThreadRunHelper::run (this=0xdbb60330, parent=0x977e2a8, th=0xb05c4b8)                                       
    at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:95                                                                           
#73 0xf7877b1b in ThreadWeaver::Thread::run (this=0xb05c4b8) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:142                 
#74 0xf6ba74c2 in QThreadPrivate::start (arg=0xb05c4b8) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:189                 
#75 0xf6b14f50 in start_thread () from /lib/libpthread.so.0                                                                                  
#76 0xf5d2b63e in clone () from /lib/libc.so.6                                                                                               

Thread 2 (Thread 0xdab60b90 (LWP 11270)):
#0  0xf5cf630c in nanosleep () from /lib/libc.so.6
#1  0xf5d2543c in usleep () from /lib/libc.so.6   
#2  0xf58ef294 in KDevelop::DUChainLock::lockForWrite (this=0x97d6d2c, timeout=10000)
    at /home/andreas/src/kdevplatform/language/duchain/duchainlock.cpp:301           
#3  0xf58ef3bc in KDevelop::DUChainWriteLocker::lock (this=0xdab5e310) at /home/andreas/src/kdevplatform/language/duchain/duchainlock.cpp:411
#4  0xf58ef46c in DUChainWriteLocker (this=0xdab5e310, duChainLock=0x97d6d2c, timeout=0)                                                     
    at /home/andreas/src/kdevplatform/language/duchain/duchainlock.cpp:396                                                                   
#5  0xec7c7730 in CMakeProjectVisitor::createUses (this=0xdab5feac, desc=...)                                                                
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2012                                                  
#6  0xec7c977c in CMakeProjectVisitor::walk (this=0xdab5feac, fc=QList = {...}, line=679, isClean=false)                                     
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1937                                                  
#7  0xec7ce641 in CMakeProjectVisitor::visit (this=0xdab5feac, ifast=0xf818470)                                                              
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1138                                                  
#8  0xec7b367f in IfAst::accept (this=0xf818470, visitor=0xdab5feac) at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:435
#9  0xec7c9c7b in CMakeProjectVisitor::walk (this=0xdab5feac, fc=QList = {...}, line=677, isClean=false)                                      
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972                                                   
#10 0xec7ce641 in CMakeProjectVisitor::visit (this=0xdab5feac, ifast=0xb726d50)                                                               
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1138                                                   

#11 0xec7b367f in IfAst::accept (this=0xb726d50, visitor=0xdab5feac) at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:435
#12 0xec7c9c7b in CMakeProjectVisitor::walk (this=0xdab5feac, fc=QList = {...}, line=676, isClean=false)                                      
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972                                                   
#13 0xec7ce641 in CMakeProjectVisitor::visit (this=0xdab5feac, ifast=0xbdd4118)                                                               
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1138                                                   
#14 0xec7b367f in IfAst::accept (this=0xbdd4118, visitor=0xdab5feac) at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:435
#15 0xec7c9c7b in CMakeProjectVisitor::walk (this=0xdab5feac, fc=QList = {...}, line=71, isClean=true)                                        
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972                                                   
#16 0xec7ccea9 in CMakeProjectVisitor::visit (this=0xdab5feac, pack=0xda4f850)                                                                
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:562                                                    
#17 0xec7b34bb in FindPackageAst::accept (this=0xda4f850, visitor=0xdab5feac)                                                                 
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:318                                                                 
#18 0xec7c9c7b in CMakeProjectVisitor::walk (this=0xdab5feac, fc=QList = {...}, line=19, isClean=false)                                       
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972                                                   
#19 0xec7ce641 in CMakeProjectVisitor::visit (this=0xdab5feac, ifast=0x989c7d8)                                                               
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1138                                                   
#20 0xec7b367f in IfAst::accept (this=0x989c7d8, visitor=0xdab5feac) at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:435
#21 0xec7c9c7b in CMakeProjectVisitor::walk (this=0xdab5feac, fc=QList = {...}, line=9, isClean=true)                                         
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972                                                   
#22 0xec7ccea9 in CMakeProjectVisitor::visit (this=0xdab5feac, pack=0x9e26a30)                                                                
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:562                                                    
#23 0xec7b34bb in FindPackageAst::accept (this=0x9e26a30, visitor=0xdab5feac)                                                                 
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:318                                                                 
---Type <return> to continue, or q <return> to quit---                                                                                        
#24 0xec7c9c7b in CMakeProjectVisitor::walk (this=0xdab5feac, fc=QList = {...}, line=37, isClean=false)                                       
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972                                                   
#25 0xec7ce641 in CMakeProjectVisitor::visit (this=0xdab5feac, ifast=0xd9315d8)                                                               
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1138                                                   
#26 0xec7b367f in IfAst::accept (this=0xd9315d8, visitor=0xdab5feac) at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:435
#27 0xec7c9c7b in CMakeProjectVisitor::walk (this=0xdab5feac, fc=QList = {...}, line=29, isClean=true)                                        
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972                                                   
#28 0xec7ccea9 in CMakeProjectVisitor::visit (this=0xdab5feac, pack=0xc1e4720)                                                                
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:562                                                    
#29 0xec7b34bb in FindPackageAst::accept (this=0xc1e4720, visitor=0xdab5feac)                                                                 
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:318                                                                 
#30 0xec7c9c7b in CMakeProjectVisitor::walk (this=0xdab5feac, fc=QList = {...}, line=7, isClean=false)                                        
    at /home/andreas/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1972                                                   
#31 0xec7653f3 in CMakeManager::parse (this=0x98a8ec8, item=0xca996b8)                                                                        
    at /home/andreas/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:478                                                                  
#32 0xf5a5fb05 in KDevelop::ImportProjectJobPrivate::import (this=0x9d20460, folder=0xca996b8)                                                
    at /home/andreas/src/kdevplatform/project/importprojectjob.cpp:47                                                                         
#33 0xf5a5efd1 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (this=0xa537590) at /usr/local/include/QtCore/qtconcurrentstoredfunctioncall.h:426                      
#34 0xf5a5f768 in QtConcurrent::RunFunctionTask<void>::run (this=0xa537590) at /usr/local/include/QtCore/qtconcurrentrunbase.h:120             

#35 0xf6b98609 in QThreadPoolThread::run (this=0xce7cd58) at /home/andreas/src/qt-copy/src/corelib/concurrent/qthreadpool.cpp:106
#36 0xf6ba74c2 in QThreadPrivate::start (arg=0xce7cd58) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:189     
#37 0xf6b14f50 in start_thread () from /lib/libpthread.so.0                                                                      
#38 0xf5d2b63e in clone () from /lib/libc.so.6                                                                                   

Thread 1 (Thread 0xf50d3700 (LWP 11200)):
#0  0xf5cf630c in nanosleep () from /lib/libc.so.6
#1  0xf5d2543c in usleep () from /lib/libc.so.6   
#2  0xf58ef294 in KDevelop::DUChainLock::lockForWrite (this=0x97d6d2c, timeout=10000)
    at /home/andreas/src/kdevplatform/language/duchain/duchainlock.cpp:301           
#3  0xf58ef3bc in KDevelop::DUChainWriteLocker::lock (this=0xffe02bf0) at /home/andreas/src/kdevplatform/language/duchain/duchainlock.cpp:411
#4  0xf58ef46c in DUChainWriteLocker (this=0xffe02bf0, duChainLock=0x97d6d2c, timeout=0)                                                     
    at /home/andreas/src/kdevplatform/language/duchain/duchainlock.cpp:396                                                                   
#5  0xf5882885 in KDevelop::DUChain::documentActivated (this=0x97d6b88, doc=0xba34c68)                                                       
    at /home/andreas/src/kdevplatform/language/duchain/duchain.cpp:1369                                                                      
#6  0xf5883611 in KDevelop::DUChain::qt_metacall (this=0x97d6b88, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xffe02dac)                    
    at /home/andreas/src/build/kdevplatform/language/duchain.moc:159                                                                         
#7  0xf6cd8ebf in QMetaObject::activate (sender=0x977e0e0, from_signal_index=4, to_signal_index=4, argv=0xffe02dac)                          
    at /home/andreas/src/qt-copy/src/corelib/kernel/qobject.cpp:3120                                                                         
#8  0xf6cda4b3 in QMetaObject::activate (sender=0x977e0e0, m=0xf7cab974, local_signal_index=0, argv=0xffe02dac)                              
    at /home/andreas/src/qt-copy/src/corelib/kernel/qobject.cpp:3194                                                                         
#9  0xf7ca1ea8 in KDevelop::IDocumentController::documentActivated (this=0x977e0e0, _t1=0xba34c68)                                           
    at /home/andreas/src/build/kdevplatform/interfaces/idocumentcontroller.moc:176                                                           
#10 0xf7c9ef12 in KDevelop::IDocument::notifyActivated (this=0xba34c68) at /home/andreas/src/kdevplatform/interfaces/idocument.cpp:79        
#11 0xf7c21fac in KDevelop::PartDocument::activate (this=0xba34c58, activeView=0xba1d700, mainWindow=0x961c070)                              
    at /home/andreas/src/kdevplatform/shell/partdocument.cpp:168                                                                             
#12 0xf7c0154c in KDevelop::MainWindowPrivate::changeActiveView (this=0x9666620, view=0xba1d700)                                             
    at /home/andreas/src/kdevplatform/shell/mainwindow_p.cpp:134                                                                             
#13 0xf7c019b6 in KDevelop::MainWindowPrivate::qt_metacall (this=0x9666620, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xffe02fec)          
---Type <return> to continue, or q <return> to quit---                                                                                       
    at /home/andreas/src/build/kdevplatform/shell/mainwindow_p.moc:114                                                                       
#14 0xf6cd8ebf in QMetaObject::activate (sender=0x961c070, from_signal_index=52, to_signal_index=52, argv=0xffe02fec)                        
    at /home/andreas/src/qt-copy/src/corelib/kernel/qobject.cpp:3120                                                                         
#15 0xf6cda4b3 in QMetaObject::activate (sender=0x961c070, m=0xf57e64d8, local_signal_index=2, argv=0xffe02fec)                              
    at /home/andreas/src/qt-copy/src/corelib/kernel/qobject.cpp:3194                                                                         
#16 0xf57c0d12 in Sublime::MainWindow::activeViewChanged (this=0x961c070, _t1=0xba1d700)                                                     
    at /home/andreas/src/build/kdevplatform/sublime/mainwindow.moc:137                                                                       
#17 0xf57c1e74 in Sublime::MainWindow::setActiveView (this=0x961c070, view=0xba1d700)                                                        
    at /home/andreas/src/kdevplatform/sublime/mainwindow.cpp:191                                                                             
#18 0xf57cdeda in Sublime::MainWindowOperator::setActiveView (this=0x95fae18, w=0x961c070, view=0xba1d700)                                   
    at /home/andreas/src/kdevplatform/sublime/mainwindowoperator.cpp:37                                                                      
#19 0xf57bc88c in Sublime::Controller::eventFilter (this=0x95fae18, obj=0xc8497c0, ev=0xffe0351c)                                            
    at /home/andreas/src/kdevplatform/sublime/controller.cpp:333                                                                             
#20 0xf6cbc358 in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x9568088, receiver=0xc8497c0, event=0xffe0351c)         
    at /home/andreas/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:707                                                                 
#21 0xf602bcb4 in QApplicationPrivate::notify_helper (this=0x9568088, receiver=0xc8497c0, e=0xffe0351c)                                      
    at /home/andreas/src/qt-copy/src/gui/kernel/qapplication.cpp:4032                                                                        
#22 0xf602df37 in QApplication::notify (this=0xffe062e4, receiver=0xc8497c0, e=0xffe0351c)                                                   
    at /home/andreas/src/qt-copy/src/gui/kernel/qapplication.cpp:4022                                                                        
#23 0xf703089d in KApplication::notify (this=0xffe062e4, receiver=0xc8497c0, event=0xffe0351c)                                               
    at /home/andreas/src/kdelibs/kdeui/kernel/kapplication.cpp:302                                                                           
#24 0xf6cbe6ea in QCoreApplication::notifyInternal (this=0xffe062e4, receiver=0xc8497c0, event=0xffe0351c)                                   
    at /home/andreas/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:610                                                                 
#25 0xf756e941 in QCoreApplication::sendEvent (receiver=0xc8497c0, event=0xffe0351c)                                                         
    at ../../../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:213                                              
#26 0xf602f886 in QApplicationPrivate::setFocusWidget (focus=0xc8497c0, reason=Qt::OtherFocusReason)                                         
    at /home/andreas/src/qt-copy/src/gui/kernel/qapplication.cpp:2098                                                                        
#27 0xf6091333 in QWidget::setFocus (this=0xc910850, reason=Qt::OtherFocusReason) at /home/andreas/src/qt-copy/src/gui/kernel/qwidget.cpp:5720
#28 0xf57bb7e1 in QWidget::setFocus (this=0xc910850) at /usr/local/include/QtGui/qwidget.h:408                                                

#29 0xf57b9abf in Sublime::Container::widgetActivated (this=0xb719910, idx=0) at /home/andreas/src/kdevplatform/sublime/container.cpp:222
#30 0xf57b9c9e in Sublime::Container::qt_metacall (this=0xb719910, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xffe0373c)               
    at /home/andreas/src/build/kdevplatform/sublime/container.moc:86                                                                     
#31 0xf6cd8ebf in QMetaObject::activate (sender=0xe1a3300, from_signal_index=27, to_signal_index=27, argv=0xffe0373c)                    
    at /home/andreas/src/qt-copy/src/corelib/kernel/qobject.cpp:3120                                                                     
#32 0xf6cda4b3 in QMetaObject::activate (sender=0xe1a3300, m=0xf6a86ca0, local_signal_index=0, argv=0xffe0373c)                          
    at /home/andreas/src/qt-copy/src/corelib/kernel/qobject.cpp:3194                                                                     
#33 0xf65e0606 in QTabBar::currentChanged (this=0xe1a3300, _t1=0) at .moc/debug-shared/moc_qtabbar.cpp:201                               
#34 0xf65e4220 in QTabBar::setCurrentIndex (this=0xe1a3300, index=0) at /home/andreas/src/qt-copy/src/gui/widgets/qtabbar.cpp:1176       
#35 0xf65e8eb4 in QTabBar::insertTab (this=0xe1a3300, index=0, icon=..., text="qbytearray.h")                                            
    at /home/andreas/src/qt-copy/src/gui/widgets/qtabbar.cpp:807                                                                         
#36 0xf57b995d in Sublime::Container::addWidget (this=0xb719910, view=0xba1d700) at /home/andreas/src/kdevplatform/sublime/container.cpp:239
#37 0xf57c8078 in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0xffe03ae0, index=0x9609b90)                                    
    at /home/andreas/src/kdevplatform/sublime/mainwindow_p.cpp:247                                                                          
#38 0xf57cd9a8 in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator> (this=0x966e208, op=..., index=0x9609b90)       
    at /home/andreas/src/kdevplatform/sublime/areawalkers.h:32                                                                              
#39 0xf57cda7d in Sublime::Area::walkViews<Sublime::MainWindowPrivate::ViewCreator> (this=0x966e208, op=..., index=0x9609b90)               
    at /home/andreas/src/kdevplatform/sublime/areawalkers.h:48                                                                              
#40 0xf57c8498 in Sublime::MainWindowPrivate::reconstruct (this=0x9630cb8) at /home/andreas/src/kdevplatform/sublime/mainwindow_p.cpp:265   
#41 0xf57c2278 in Sublime::MainWindow::setArea (this=0x961c070, area=0x966e208) at /home/andreas/src/kdevplatform/sublime/mainwindow.cpp:111
---Type <return> to continue, or q <return> to quit---                                                                                      
#42 0xf57cdf28 in Sublime::MainWindowOperator::setArea (this=0x95fae18, w=0x961c070, area=0x966e208)                                        
    at /home/andreas/src/kdevplatform/sublime/mainwindowoperator.cpp:27                                                                     
#43 0xf57bd135 in Sublime::Controller::showAreaInternal (this=0x95fae18, area=0x966e208, mainWindow=0x961c070)                              
    at /home/andreas/src/kdevplatform/sublime/controller.cpp:142                                                                            
#44 0xf57bd867 in Sublime::Controller::showArea (this=0x95fae18, areaTypeId="debug", mainWindow=0x961c070)                                  
    at /home/andreas/src/kdevplatform/sublime/controller.cpp:163                                                                            
#45 0xf7bfa8c6 in DisconnectMainWindowsFromArea (this=0xffe03ce8, area=0x9686828)                                                           
    at /home/andreas/src/kdevplatform/shell/workingsetcontroller.cpp:190                                                                    
#46 0xf7bf3973 in KDevelop::WorkingSet::loadToArea (this=0x9608e78, area=0x9686828, areaIndex=0x95a9020, clear=false)                       
    at /home/andreas/src/kdevplatform/shell/workingsetcontroller.cpp:257                                                                    
#47 0xf7bf3db8 in KDevelop::WorkingSet::changedWorkingSet (this=0x9608e78, area=0x9686828, from="䖍览␄㛨Í",                               
    to="㺨¢꒳栨२\f") at /home/andreas/src/kdevplatform/shell/workingsetcontroller.cpp:524                                                 
#48 0xf7bf57e5 in KDevelop::WorkingSet::qt_metacall (this=0x9608e78, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xffe03ec4)                
    at /home/andreas/src/build/kdevplatform/shell/workingsetcontroller.moc:81                                                               
#49 0xf6cd8ebf in QMetaObject::activate (sender=0x9686828, from_signal_index=12, to_signal_index=12, argv=0xffe03ec4)                       
    at /home/andreas/src/qt-copy/src/corelib/kernel/qobject.cpp:3120                                                                        
#50 0xf6cda4b3 in QMetaObject::activate (sender=0x9686828, m=0xf57e6020, local_signal_index=8, argv=0xffe03ec4)                             
    at /home/andreas/src/qt-copy/src/corelib/kernel/qobject.cpp:3194                                                                        
#51 0xf57b2300 in Sublime::Area::changedWorkingSet (this=0x9686828, _t1=0x9686828, _t2="㾸¢㒗♐ಡ",                                         
    _t3=Traceback (most recent call last):                                                                                                  
  File "/home/andreas/.gdb/qt4_gdb.py", line 28, in to_string                                                                               
    return self.val['d']['data'].string('UTF-16')                                                                                           
RuntimeError: Error reading string from inferior: Input/output error                                                                        
) at /home/andreas/src/build/kdevplatform/sublime/area.moc:165                                                                              
#52 0xf57b2909 in Sublime::Area::setWorkingSet (this=0x9686828, name="䁘¢躿♐ಡ")                                                           
    at /home/andreas/src/kdevplatform/sublime/area.cpp:398
#53 0xf7bf141e in KDevelop::WorkingSetWidget::buttonTriggered (this=0xca12650)
    at /home/andreas/src/kdevplatform/shell/workingsetcontroller.cpp:505
#54 0xf7bf3497 in KDevelop::WorkingSetWidget::qt_metacall (this=0xca12650, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xffe040bc)
    at /home/andreas/src/build/kdevplatform/shell/workingsetcontroller.moc:149
#55 0xf6cd8ebf in QMetaObject::activate (sender=0xca25040, from_signal_index=29, to_signal_index=30, argv=0xffe040bc)
    at /home/andreas/src/qt-copy/src/corelib/kernel/qobject.cpp:3120
#56 0xf6cd91ec in QMetaObject::activate (sender=0xca25040, m=0xf6a912e4, from_local_signal_index=2, to_local_signal_index=3, argv=0xffe040bc)
    at /home/andreas/src/qt-copy/src/corelib/kernel/qobject.cpp:3214
#57 0xf683fc58 in QAbstractButton::clicked (this=0xca25040, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:200
#58 0xf64f2766 in QAbstractButtonPrivate::emitClicked (this=0xca94020) at /home/andreas/src/qt-copy/src/gui/widgets/qabstractbutton.cpp:543
#59 0xf64f3d03 in QAbstractButtonPrivate::click (this=0xca94020) at /home/andreas/src/qt-copy/src/gui/widgets/qabstractbutton.cpp:536
#60 0xf64f3ffc in QAbstractButton::mouseReleaseEvent (this=0xca25040, e=0xffe049b4)
    at /home/andreas/src/qt-copy/src/gui/widgets/qabstractbutton.cpp:1115

#61 0xf6608dc4 in QToolButton::mouseReleaseEvent (this=0xca25040, e=0xffe049b4)
    at /home/andreas/src/qt-copy/src/gui/widgets/qtoolbutton.cpp:709
#62 0xf609d215 in QWidget::event (this=0xca25040, event=0xffe049b4) at /home/andreas/src/qt-copy/src/gui/kernel/qwidget.cpp:7521
#63 0xf64f26ff in QAbstractButton::event (this=0xca25040, e=0xffe049b4) at /home/andreas/src/qt-copy/src/gui/widgets/qabstractbutton.cpp:1077
#64 0xf660a070 in QToolButton::event (this=0xca25040, event=0xffe049b4) at /home/andreas/src/qt-copy/src/gui/widgets/qtoolbutton.cpp:1151
#65 0xf7bf285a in WorkingSetToolButton::event (this=0xca25040, e=0xffe049b4)
    at /home/andreas/src/kdevplatform/shell/workingsetcontroller.cpp:440
#66 0xf602be07 in QApplicationPrivate::notify_helper (this=0x9568088, receiver=0xca25040, e=0xffe049b4)
    at /home/andreas/src/qt-copy/src/gui/kernel/qapplication.cpp:4057
#67 0xf602cbca in QApplication::notify (this=0xffe062e4, receiver=0xca25040, e=0xffe049b4)
---Type <return> to continue, or q <return> to quit---
    at /home/andreas/src/qt-copy/src/gui/kernel/qapplication.cpp:3759
#68 0xf703089d in KApplication::notify (this=0xffe062e4, receiver=0xca25040, event=0xffe049b4)
    at /home/andreas/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#69 0xf6cbe6ea in QCoreApplication::notifyInternal (this=0xffe062e4, receiver=0xca25040, event=0xffe049b4)
    at /home/andreas/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:610
#70 0xf603a039 in QCoreApplication::sendSpontaneousEvent (receiver=0xca25040, event=0xffe049b4)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:216
#71 0xf60315c5 in QApplicationPrivate::sendMouseEvent (receiver=0xca25040, event=0xffe049b4, alienWidget=0xca25040, nativeWidget=0x961c070,
    buttonDown=0xf6a9fea0, lastMouseReceiver=...) at /home/andreas/src/qt-copy/src/gui/kernel/qapplication.cpp:2925
#72 0xf60c6fa8 in QETWidget::translateMouseEvent (this=0x961c070, event=0xffe05fb0)
    at /home/andreas/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:4448
#73 0xf60c8277 in QApplication::x11ProcessEvent (this=0xffe062e4, event=0xffe05fb0)
    at /home/andreas/src/qt-copy/src/gui/kernel/qapplication_x11.cpp:3444

#74 0xf60f7e93 in x11EventSourceDispatch (s=0x956ad98, callback=0, user_data=0x0)
    at /home/andreas/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#75 0xf52d7848 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#76 0xf52dadab in ?? () from /usr/lib/libglib-2.0.so.0
#77 0x0956a498 in ?? ()
#78 0x00000000 in ?? ()


-- 
You look like a million dollars.  All green and wrinkled.




More information about the KDevelop-devel mailing list