Lock contention analysis for 4 thread background parsing with kdevelop

Hamish Rodda rodda at kde.org
Thu Dec 3 11:49:01 UTC 2009


Hi,

I've just stumbled on what seems to be a great new tool for lock contention 
analysis: mutrace by Lennart Poettering, at 
http://0pointer.de/blog/projects/mutrace.html

After some initial problems building on kubuntu, I managed to get it compiled. 
Kubuntu/ubuntu/debian users will probably have to do like I did, so that 
libbdb is built with -fPIC: install binutils-dev and binutils-source, extract 
the source, ./configure  --prefix=/usr --with-pic, cd bdb, make && make 
install.

Running kdevelop was easy once I removed the patchreview plugin, since that 
plugin throws exceptions (which are not currently compatible with mutrace).

I haven't yet had time to really analyse each of the locks that is represented 
here, but it certainly shows that we do massive amounts of locking, and that 
there are very many instances of lock contention.  Hopefully through this tool 
we can find some hot spots to optimise, such that running with more than one 
background parsing thread will one day make sense and be faster than a single 
thread.

You'll need to read the description at the program homepage to understand the 
output. Here is the best output I could generate so far (full parse of 
kdevplatform/kdevelop/java by kdevelop with clean .kdevduchain):

hamish at Sleek:/opt/kde4/src/kdevplatform/plugins/patchreview$ mutrace --hash-
size=100000 --max=30 kdevelop                                                                                                                     
mutrace: Application appears to be compiled without -rdynamic. It might be a                                                                                                                                                  
mutrace: good idea to recompile with -rdynamic enabled since this produces 
more                                                                                                                                               
mutrace: useful stack traces.                                                                                                                                                                                                 

mutrace: 0.2 sucessfully initialized for process kdevelop (pid 21617).

mutrace: Showing statistics for process kdevelop (pid 21617).
mutrace: 59311 mutexes used.                                 

Mutex #7702 (0x0x1889af0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x135) [0x7fa925f18865]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop40shouldDoDUChainReferenceCountingInternalEPv+0x22) 
[0x7fa922551607]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922554d15]                                                                
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop26IndexedQualifiedIdentifierD1Ev+0x1b) 
[0x7fa9225e03d5]             
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9226307bc]                                                                
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922630c8e]                                                                
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa92263ab37]                                                                
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9226336ba]                                                                
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop21PersistentSymbolTable17removeDeclarationERKNS_26IndexedQualifiedIdentifierERKNS_18IndexedDeclarationE+0x2f0) 
[0x7fa92262e090]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop11DeclarationD0Ev+0x165) 
[0x7fa9225c2cb3]                                                                                      
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop9DUContext23deleteLocalDeclarationsEv+0x2a7) 
[0x7fa92258f7ff]                                                                  

Mutex #4543 (0x0x4ad7180) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9226cb468]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9226cad18]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN5Utils18BasicSetRepositoryC2E7QStringPN8KDevelop22ItemRepositoryRegistryEb+0xa9) 
[0x7fa9226c9d59]
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf5461]                                                                                           
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf4c5b]                                                                                           
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf4c95]                                                                                           
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffc531f6]                                                                                           

Mutex #6734 (0x0x3953f00) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9226cb468]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9226cad18]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN5Utils18BasicSetRepositoryC2E7QStringPN8KDevelop22ItemRepositoryRegistryEb+0xa9) 
[0x7fa9226c9d59]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN5Utils19StringSetRepositoryC1E7QString+0x49) 
[0x7fa9226caadd]                                    
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf4c20]                                                                                           
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf4c95]                                                                                           
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffc531f6]                                                                                           

Mutex #57070 (0x0x1860550) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x115) [0x7fa925f18845]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922554dc2]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922626d62]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop13IndexedString3strEv+0x8b) 
[0x7fa922625bdf]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop19QualifiedIdentifierC1ERKNS_10IdentifierE+0x6c) 
[0x7fa9225dd83a]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop9DUContext16findDeclarationsERKNS_10IdentifierERKNS_12SimpleCursorEPKNS_12TopDUContextE6QFlagsINS0_10SearchFlagEE+0xf2) 
[0x7fa92258ffd4]
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN19CMakeProjectVisitor10createUsesERK17CMakeFunctionDesc+0x226) 
[0x7fa914e79f2a]                                                                         
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN19CMakeProjectVisitor4walkERK5QListI17CMakeFunctionDescEib+0x4d0) 
[0x7fa914e78d86]                                                                      
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN19CMakeProjectVisitor5visitEPK5IfAst+0x933) 
[0x7fa914e6f63b]                                                                                            
        /opt/kde4/lib/libkdev4cmakecommon.so [0x7fa914e5c320]                                                                                                                                           
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN19CMakeProjectVisitor4walkERK5QListI17CMakeFunctionDescEib+0xbe0) 
[0x7fa914e79496]                                                                      

Mutex #55385 (0x0x4ab45d0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf6a3e]                           
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf4bcb]                           
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf4c95]                           
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffc531f6]                           

Mutex #1658 (0x0x2c46780) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225d9db6]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop11DUChainLockC1Ev+0x25) 
[0x7fa9225d9167]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922566a71]                                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922560b8f]                                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop7DUChain4selfEv+0x10) 
[0x7fa9225611f2]  
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop18LanguageController10initializeEv+0x16) 
[0x7fa92878df3c]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop11CorePrivate10initializeENS_4Core5SetupE+0x6cf) 
[0x7fa9287662c9]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop4Core10initializeENS0_5SetupE+0x60) 
[0x7fa928766a24]             
        kdevelop [0x405822]                                                                                                  
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                                              
        kdevelop [0x402c59]                                                                                                  

Mutex #14209 (0x0x28aa468) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /lib/libglib-2.0.so.0(g_source_attach+0x91) [0x7fa91f749ec1]    
        /usr/lib/libQtCore.so.4(_ZN27QEventDispatcherGlibPrivateC2EP13_GMainContext+0xbc) 
[0x7fa92602c66c]
        /usr/lib/libQtGui.so.4 [0x7fa9252e872f]                                                           
        /usr/lib/libQtGui.so.4 [0x7fa9252e881e]                                                           
        /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate21createEventDispatcherEv+0x83) 
[0x7fa9252b18d3]   
        /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4initEv+0x9a) 
[0x7fa92600712a]                       
        /usr/lib/libQtCore.so.4(_ZN16QCoreApplicationC2ER23QCoreApplicationPrivate+0x25) 
[0x7fa9260071f5] 
        /usr/lib/libQtGui.so.4(_ZN12QApplicationC2ERiPPcbi+0x5b) 
[0x7fa92525916b]                         
        /usr/lib/libkdeui.so.5(_ZN12KApplicationC1Eb+0x37) [0x7fa92678ded7]                               
        kdevelop [0x4056e0]                                                                               
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                           
        kdevelop [0x402c59]                                                                               

Mutex #50907 (0x0x1847d70) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x135) [0x7fa925f18865]
        /usr/lib/libQtCore.so.4(_ZN11QMetaObject7connectEPK7QObjectiS2_iiPi+0x82) 
[0x7fa926014842]
        /usr/lib/libQtCore.so.4(_ZN7QObject7connectEPKS_PKcS1_S3_N2Qt14ConnectionTypeE+0x447) 
[0x7fa926014d87]
        /usr/lib/libQtCore.so.4(_ZN11QTextStreamC1EP9QIODevice+0x81) 
[0x7fa925fad5d1]                         
        /usr/lib/libkdecore.so.5 [0x7fa928d47cba]                                                             
        /usr/lib/libkdecore.so.5(_Z12kDebugStream9QtMsgTypeiPKciS1_+0x4eb) 
[0x7fa928d44c1b]                   
        /opt/kde4/lib/libkdev4cmakecommon.so [0x7fa914e3dc88]                                                 
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN19CMakeProjectVisitor5visitEPK9StringAst+0x6d6) 
[0x7fa914e75344]
        /opt/kde4/lib/libkdev4cmakecommon.so [0x7fa914e5ca8e]                                                   
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN19CMakeProjectVisitor4walkERK5QListI17CMakeFunctionDescEib+0xbe0) 
[0x7fa914e79496]
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN19CMakeProjectVisitor5visitEPK5IfAst+0x933) 
[0x7fa914e6f63b]                      

Mutex #48547 (0x0x183d360) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x115) [0x7fa925f18845]
        /usr/lib/libQtCore.so.4(_ZN19QAbstractFileEngine6createERK7QString+0xf0) 
[0x7fa925f8be00]
        /usr/lib/libQtCore.so.4 [0x7fa925f9f1fd]                                                 
        /usr/lib/libkdecore.so.5 [0x7fa928d7ce5a]                                                
        /usr/lib/libkdecore.so.5(_ZN13KStandardDirs7findExeERK7QStringS2_6QFlagsINS_12SearchOptionEE+0xeb) 
[0x7fa928d7d4db]
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN16CMakeParserUtils16initialVariablesEv+0x57) 
[0x7fa914e8bda2]              
        /opt/kde4/lib/kde4/kdevcmakemanager.so [0x7fa914bf5ccd]                                                            
        /opt/kde4/lib/kde4/kdevcmakemanager.so [0x7fa914bf7700]                                                            
        /opt/kde4/lib/libkdevplatformproject.so.1 [0x7fa922c0f277]                                                         
        /opt/kde4/lib/libkdevplatformproject.so.1 [0x7fa922c0f856]                                                         
        /opt/kde4/lib/libkdevplatformproject.so.1 [0x7fa922c0f050]                                                         

Mutex #12913 (0x0x2dfbb70) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922566a4f]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922560b8f]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop7DUChain4selfEv+0x10) 
[0x7fa9225611f2]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop18LanguageController10initializeEv+0x16) 
[0x7fa92878df3c]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop11CorePrivate10initializeENS_4Core5SetupE+0x6cf) 
[0x7fa9287662c9]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop4Core10initializeENS0_5SetupE+0x60) 
[0x7fa928766a24]             
        kdevelop [0x405822]                                                                                                  
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                                              
        kdevelop [0x402c59]                                                                                                  

Mutex #50901 (0x0x1847cf0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x135) [0x7fa925f18865]
        /usr/lib/libQtCore.so.4(_ZN16QCoreApplication9postEventEP7QObjectP6QEventi+0x42) 
[0x7fa926003932]
        /usr/lib/libQtCore.so.4 [0x7fa9260140d3]                                                         
        /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x16f) 
[0x7fa926018cef]         
        /usr/lib/libthreadweaver.so.4 [0x7fa92772a38f]                                                   
        /usr/lib/libthreadweaver.so.4 [0x7fa92772a750]                                                   
        /usr/lib/libthreadweaver.so.4(_ZN12ThreadWeaver3Job7executeEPNS_6ThreadE+0xbe) 
[0x7fa92772aa5e]  
        /usr/lib/libthreadweaver.so.4 [0x7fa927729a2f]                                                   
        /usr/lib/libthreadweaver.so.4(_ZN12ThreadWeaver6Thread3runEv+0x78) 
[0x7fa927729eb8]              
        /usr/lib/libQtCore.so.4 [0x7fa925f1d445]                                                         
        /lib/libpthread.so.0 [0x7fa923f77a04]                                                            

Mutex #3664 (0x0x426f070) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225e901a]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225e4a75]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225e1163]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225ef21c]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225e6a89]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225e285b]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225dc17b]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop26IndexedQualifiedIdentifierC1Ev+0x20) 
[0x7fa9225dfd86]
        /opt/kde4/lib/kde4/kdevcontextbrowser.so [0x7fa9014a31d1]                                                     
        /opt/kde4/lib/kde4/kdevcontextbrowser.so [0x7fa9014974fa]                                                     
        /opt/kde4/lib/libkdevplatformshell.so.1 [0x7fa92876c59e]                                                      

Mutex #52665 (0x0x7fa90402c340) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdev4cpprpp.so [0x7fa8ffeab694]                               
        /opt/kde4/lib/libkdev4cpprpp.so [0x7fa8ffea99df]                               
        /opt/kde4/lib/libkdev4cpprpp.so [0x7fa8ffea9ab2]                               
        /opt/kde4/lib/libkdev4cpprpp.so(_ZN3rpp31temporaryHashpp_macrodefinitionEv+0x10) 
[0x7fa8ffea9b15]
        /opt/kde4/lib/libkdev4cpprpp.so [0x7fa8ffeaad80]                                                 
        /opt/kde4/lib/libkdev4cpprpp.so [0x7fa8ffeaad0f]                                                 
        /opt/kde4/lib/libkdev4cpprpp.so(_ZN3rpp8pp_macro17setDefinitionTextE10QByteArray+0x6a) 
[0x7fa8ffeaa73e]
        /opt/kde4/lib/kde4/kdevcpplanguagesupport.so [0x7fa900125e8a]                                          
        /opt/kde4/lib/kde4/kdevcpplanguagesupport.so [0x7fa900125460]                                          
        /opt/kde4/lib/kde4/kdevcpplanguagesupport.so [0x7fa90011972d]                                          
        /opt/kde4/lib/kde4/kdevcpplanguagesupport.so [0x7fa900112c82]                                          

Mutex #11363 (0x0x2df4dd0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4(_ZN14QWaitConditionC1Ev+0x1b) [0x7fa925f1e26b]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225d9dc6]           
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop11DUChainLockC1Ev+0x25) 
[0x7fa9225d9167]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922566a71]                                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922560b8f]                                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop7DUChain4selfEv+0x10) 
[0x7fa9225611f2]  
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop18LanguageController10initializeEv+0x16) 
[0x7fa92878df3c]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop11CorePrivate10initializeENS_4Core5SetupE+0x6cf) 
[0x7fa9287662c9]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop4Core10initializeENS0_5SetupE+0x60) 
[0x7fa928766a24]             
        kdevelop [0x405822]                                                                                                  
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                                              
        kdevelop [0x402c59]                                                                                                  

Mutex #8561 (0x0x188cce0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x115) [0x7fa925f18845]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225286c6]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922528628]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK5Utils3Set8containsEj+0x4f) 
[0x7fa9226ca133]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225b1ae1]                                
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225af172]                                
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop12TopDUContext14importsPrivateEPKNS_9DUContextERKNS_12SimpleCursorE+0x93) 
[0x7fa9225a9379]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop12TopDUContext7importsEPKNS_9DUContextERKNS_12SimpleCursorE+0x2b) 
[0x7fa9225a92e3]        
        /opt/kde4/lib/libkdev4cppduchain.so(_Z14importsContextRK5QListI15LineContextPairEPN8KDevelop12TopDUContextE+0x8a) 
[0x7fa8ffb972ac]                
        /opt/kde4/lib/kde4/kdevcpplanguagesupport.so [0x7fa900106e4a]                                                                                     
        /opt/kde4/lib/kde4/kdevcpplanguagesupport.so [0x7fa900104c44]                                                                                     

Mutex #13049 (0x0x2dfc4c0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922566ac4]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922560b8f]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop7DUChain4selfEv+0x10) 
[0x7fa9225611f2]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop18LanguageController10initializeEv+0x16) 
[0x7fa92878df3c]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop11CorePrivate10initializeENS_4Core5SetupE+0x6cf) 
[0x7fa9287662c9]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop4Core10initializeENS0_5SetupE+0x60) 
[0x7fa928766a24]             
        kdevelop [0x405822]                                                                                                  
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                                              
        kdevelop [0x402c59]                                                                                                  

Mutex #40168 (0x0x2d78b60) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /usr/lib/libthreadweaver.so.4 [0x7fa92772826d]                                 
        /usr/lib/libthreadweaver.so.4(_ZN12ThreadWeaver6Weaver14makeWeaverImplEv+0x29) 
[0x7fa927727899]
        /usr/lib/libthreadweaver.so.4(_ZN12ThreadWeaver6WeaverC1EP7QObject+0x3c) 
[0x7fa9277279dc]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa92254328a]                                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop16BackgroundParserC1EPNS_19ILanguageControllerE+0xa5) 
[0x7fa922540b95]
        /opt/kde4/lib/libkdevplatformshell.so.1 [0x7fa92878ef95]                                                                     
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop18LanguageControllerC1EP7QObject+0x87) 
[0x7fa92878dde7]                  
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop11CorePrivate10initializeENS_4Core5SetupE+0x3a4) 
[0x7fa928765f9e]        
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop4Core10initializeENS0_5SetupE+0x60) 
[0x7fa928766a24]                     
        kdevelop [0x405822]                                                                                                          
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                                                      

Mutex #12793 (0x0x28a3e60) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libgthread-2.0.so.0 [0x7fa91f9d583c]                    
        /lib/libglib-2.0.so.0 [0x7fa91f76513e]                           
        /lib/libglib-2.0.so.0(g_thread_init_glib+0x79) [0x7fa91f7710a9]  
        /usr/lib/libQtCore.so.4(_ZN27QEventDispatcherGlibPrivateC2EP13_GMainContext+0x237) 
[0x7fa92602c7e7]
        /usr/lib/libQtGui.so.4 [0x7fa9252e872f]                                                            
        /usr/lib/libQtGui.so.4 [0x7fa9252e881e]                                                            
        /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate21createEventDispatcherEv+0x83) 
[0x7fa9252b18d3]    
        /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4initEv+0x9a) 
[0x7fa92600712a]                        
        /usr/lib/libQtCore.so.4(_ZN16QCoreApplicationC2ER23QCoreApplicationPrivate+0x25) 
[0x7fa9260071f5]  
        /usr/lib/libQtGui.so.4(_ZN12QApplicationC2ERiPPcbi+0x5b) 
[0x7fa92525916b]                          
        /usr/lib/libkdeui.so.5(_ZN12KApplicationC1Eb+0x37) [0x7fa92678ded7]                                
        kdevelop [0x4056e0]                                                                                
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                            

Mutex #1250 (0x0x186f050) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x115) [0x7fa925f18845]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225286c6]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922528628]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop23ModificationRevisionSet8toStringEv+0x2b) 
[0x7fa922527ce5]
        /opt/kde4/lib/kde4/kdevcpplanguagesupport.so [0x7fa9001007df]                                                      
        /opt/kde4/lib/kde4/kdevcpplanguagesupport.so [0x7fa900105086]                                                      
        /opt/kde4/lib/kde4/kdevcpplanguagesupport.so [0x7fa900113811]                                                      
        /usr/lib/libthreadweaver.so.4 [0x7fa92772a75d]                                                                     
        /usr/lib/libthreadweaver.so.4(_ZN12ThreadWeaver3Job7executeEPNS_6ThreadE+0xbe) 
[0x7fa92772aa5e]                    
        /usr/lib/libthreadweaver.so.4 [0x7fa92772bd83]                                                                     
        /usr/lib/libthreadweaver.so.4 [0x7fa927729a2f]                                                                     

Mutex #57231 (0x0x18610b0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x135) [0x7fa925f18865]
        /usr/lib/libQtCore.so.4(_ZN14QObjectPrivate11clearGuardsEP7QObject+0x198) 
[0x7fa926015c38]
        /usr/lib/libQtCore.so.4(_ZN7QObjectD2Ev+0x57a) [0x7fa92601a69a]                           
        /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x39) [0x7fa925faf909]                       
        /opt/kde4/lib/libkdev4cmakecommon.so [0x7fa914e3da46]                                     
        /opt/kde4/lib/libkdev4cmakecommon.so [0x7fa914e3dadd]                                     
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN19CMakeProjectVisitor5visitEPK12MacroCallAst+0xdb5) 
[0x7fa914e6e56f]
        /opt/kde4/lib/libkdev4cmakecommon.so [0x7fa914e5bc46]                                                       
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN19CMakeProjectVisitor4walkERK5QListI17CMakeFunctionDescEib+0xbe0) 
[0x7fa914e79496]
        /opt/kde4/lib/libkdev4cmakecommon.so(_ZN19CMakeProjectVisitor5visitEPK5IfAst+0x933) 
[0x7fa914e6f63b]                      
        /opt/kde4/lib/libkdev4cmakecommon.so [0x7fa914e5c320]                                                                     

Mutex #1134 (0x0x186e740) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x135) [0x7fa925f18865]
        /usr/lib/libkdecore.so.5(_Z12kDebugStream9QtMsgTypeiPKciS1_+0x51c) 
[0x7fa928d44c4c]
        /opt/kde4/lib/libkdevplatformshell.so.1 [0x7fa928749e9a]                           
        /opt/kde4/lib/libkdevplatformshell.so.1 [0x7fa92877c174]                           
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop7Project4openERK4KUrl+0x64) 
[0x7fa928779720]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop17ProjectController11openProjectERK4KUrl+0x588) 
[0x7fa9287708b0]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop17ProjectController10initializeEv+0x12c) 
[0x7fa92876f996]       
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop11CorePrivate10initializeENS_4Core5SetupE+0x6ea) 
[0x7fa9287662e4]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop4Core10initializeENS0_5SetupE+0x60) 
[0x7fa928766a24]             
        kdevelop [0x405822]                                                                                                  
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                                              

Mutex #50769 (0x0x2ce08b0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4(_ZN14QWaitConditionC1Ev+0x1b) [0x7fa925f1e26b]
        /usr/lib/libthreadweaver.so.4 [0x7fa92772824a]                        
        /usr/lib/libthreadweaver.so.4(_ZN12ThreadWeaver6Weaver14makeWeaverImplEv+0x29) 
[0x7fa927727899]
        /usr/lib/libthreadweaver.so.4(_ZN12ThreadWeaver6WeaverC1EP7QObject+0x3c) 
[0x7fa9277279dc]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa92254328a]                                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop16BackgroundParserC1EPNS_19ILanguageControllerE+0xa5) 
[0x7fa922540b95]
        /opt/kde4/lib/libkdevplatformshell.so.1 [0x7fa92878ef95]                                                                     
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop18LanguageControllerC1EP7QObject+0x87) 
[0x7fa92878dde7]                  
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop11CorePrivate10initializeENS_4Core5SetupE+0x3a4) 
[0x7fa928765f9e]        
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop4Core10initializeENS0_5SetupE+0x60) 
[0x7fa928766a24]                     
        kdevelop [0x405822]                                                                                                          
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                                                      
        kdevelop [0x402c59]                                                                                                          

Mutex #9751 (0x0x2c67ef0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdevplatformshell.so.1 [0x7fa92878ef46]                       
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop18LanguageControllerC1EP7QObject+0x87) 
[0x7fa92878dde7]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop11CorePrivate10initializeENS_4Core5SetupE+0x3a4) 
[0x7fa928765f9e]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop4Core10initializeENS0_5SetupE+0x60) 
[0x7fa928766a24]             
        kdevelop [0x405822]                                                                                                  
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                                              
        kdevelop [0x402c59]                                                                                                  

Mutex #2248 (0x0x5331d70) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /usr/lib/libthreadweaver.so.4(_ZN12ThreadWeaver16DependencyPolicy13addDependencyEPNS_3JobES2_+0x241) 
[0x7fa92772d8d1]
        /usr/lib/libthreadweaver.so.4(_ZN12ThreadWeaver11JobSequence15aboutToBeQueuedEPNS_15WeaverInterfaceE+0xad) 
[0x7fa92772cc1d]
        /usr/lib/libthreadweaver.so.4 [0x7fa927729618]                                                                             
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922544047]                                                                
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop16BackgroundParser14parseDocumentsEv+0x3a) 
[0x7fa9225417be]         
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop16BackgroundParser11qt_metacallEN11QMetaObject4CallEiPPv+0x451) 
[0x7fa922542887]
        /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x25c) 
[0x7fa926018ddc]                                               
        /usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0xb3) 
[0x7fa926012d83]                                                              
        /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac) 
[0x7fa925253efc]                                
        /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x37e) 
[0x7fa92525b1ce]                                              
        /usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x36) 
[0x7fa92678aab6]                                               

Mutex #14691 (0x0x28ac230) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /usr/lib/libQtCore.so.4 [0x7fa925fe2a8d]                                       
        /usr/lib/libQtCore.so.4 [0x7fa925fe2bee]                                       
        /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4initEv+0x73) 
[0x7fa926007103]    
        /usr/lib/libQtCore.so.4(_ZN16QCoreApplicationC2ER23QCoreApplicationPrivate+0x25) 
[0x7fa9260071f5]
        /usr/lib/libQtGui.so.4(_ZN12QApplicationC2ERiPPcbi+0x5b) 
[0x7fa92525916b]                        
        /usr/lib/libkdeui.so.5(_ZN12KApplicationC1Eb+0x37) [0x7fa92678ded7]                              
        kdevelop [0x4056e0]                                                                              
        /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9245b7abd]                                          
        kdevelop [0x402c59]                                                                              

Mutex #14984 (0x0x2e049e0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]                         
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922539405]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922535e81]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922535e0a]                    
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop16EditorIntegrator4dataEv+0x10) 
[0x7fa9225371b2]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop16EditorIntegrator8notifierEv+0x9) 
[0x7fa922537269]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop7DUChainC1Ev+0x95) 
[0x7fa922560f61]                
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922566d39]                                               
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922560b8f]                                               
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop7DUChain4selfEv+0x10) 
[0x7fa9225611f2]             
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop18LanguageController10initializeEv+0x16) 
[0x7fa92878df3c]
        /opt/kde4/lib/libkdevplatformshell.so.1(_ZN8KDevelop11CorePrivate10initializeENS_4Core5SetupE+0x6cf) 
[0x7fa9287662c9]

Mutex #8846 (0x0x188e1f0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x115) [0x7fa925f18845]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225286c6]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922528628]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop9DUContext20allLocalDeclarationsERKNS_10IdentifierE+0xc7) 
[0x7fa92258e889]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop9DUContext12applyAliasesERK18KDevVarLengthArrayI10KSharedPtrINS0_10SearchItemEELi256EERS5_RKNS_12SimpleCursorEbb+0x5e) 
[0x7fa922590d72]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop9DUContext24findDeclarationsInternalERK18KDevVarLengthArrayI10KSharedPtrINS0_10SearchItemEELi256EERKNS_12SimpleCursorERK7TypePtrINS_12AbstractTypeEERS1_IPNS_11DeclarationELi40EEPKNS_12TopDUContextE6QFlagsINS0_10SearchFlagEEj+0x33f) 
[0x7fa92258cc3f]                                                                                                                                                                                                                                                              
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffba90a8]                                                                                                                                                                                                                               
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffc13a4b]                                                                                                                                                                                                                               
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbad0d1]                                                                                                                                                                                                                               
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffba9201]                                                                                                                                                                                                                               
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop9DUContext16findDeclarationsERKNS_19QualifiedIdentifierERKNS_12SimpleCursorERK7TypePtrINS_12AbstractTypeEEPKNS_12TopDUContextE6QFlagsINS0_10SearchFlagEE+0x27e) 
[0x7fa92258da80]                                           

Mutex #8017 (0x0x188ae10) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x135) [0x7fa925f18865]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop15DUChainBaseData24shouldCreateConstantDataEv+0x14) 
[0x7fa9225d825e]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZN8KDevelop23DocumentRangeObjectData26appendedListDynamicDefaultEv+0x9) 
[0x7fa922533919]
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbd8d97]                                                                                
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbd7d48]                                                                                
        /opt/kde4/lib/libkdev4cppduchain.so(_ZN3Cpp26SpecialTemplateDeclarationIN8KDevelop11DeclarationEEC1ERKNS1_11SimpleRangeEPNS1_9DUContextE+0x2d) 
[0x7fa8ffbd60b5]
        /opt/kde4/lib/libkdev4cppduchain.so(_ZN18DeclarationBuilder19openDeclarationRealIN3Cpp26SpecialTemplateDeclarationIN8KDevelop11DeclarationEEEEEPT_P7NameASTP3ASTRKNS3_10IdentifierEbbPKNS3_11SimpleRangeE+0xd05) 
[0x7fa8ffbc7a85]
        /opt/kde4/lib/libkdev4cppduchain.so(_ZN18DeclarationBuilder15openDeclarationIN8KDevelop11DeclarationEEEPT_P7NameASTP3ASTRKNS1_10IdentifierEbb+0xea) 
[0x7fa8ffbb895c]                                                             
        /opt/kde4/lib/libkdev4cppduchain.so(_ZN18DeclarationBuilder21openNormalDeclarationEP7NameASTP3ASTRKN8KDevelop10IdentifierEb+0x126) 
[0x7fa8ffbb0a4a]                                                                              
        /opt/kde4/lib/libkdev4cppduchain.so(_ZN18DeclarationBuilder14openDefinitionEP7NameASTP3ASTb+0x4b) 
[0x7fa8ffbb083b]                                                                                                               
        /opt/kde4/lib/libkdev4cppduchain.so(_ZN18DeclarationBuilder15visitDeclaratorEP13DeclaratorAST+0x2d9) 
[0x7fa8ffbafc93]                                                                                                            

Mutex #8295 (0x0x188bca0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_lock+0x4a) [0x7fa9290f112a]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cb43]                        
        /usr/lib/libQtCore.so.4(_ZN6QMutex4lockEv+0x115) [0x7fa925f18845]
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa9225286c6]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1 [0x7fa922528628]      
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop12TopDUContext22recursiveImportIndicesEv+0x20) 
[0x7fa9225a73d4]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop12TopDUContext12applyAliasesINS0_24FindDeclarationsAcceptorEEEbPKNS0_17AliasChainElementERK10KSharedPtrINS_9DUContext10SearchItemEERT_RKNS_12SimpleCursorEbPNS0_21ApplyAliasesBuddyInfoEj+0x29a) 
[0x7fa9225b2b48]
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop12TopDUContext12applyAliasesINS0_24FindDeclarationsAcceptorEEEvRK18KDevVarLengthArrayI10KSharedPtrINS_9DUContext10SearchItemEELi256EERT_RKNS_12SimpleCursorEb+0xb1) 
[0x7fa9225af92f]                             
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop12TopDUContext24findDeclarationsInternalERK18KDevVarLengthArrayI10KSharedPtrINS_9DUContext10SearchItemEELi256EERKNS_12SimpleCursorERK7TypePtrINS_12AbstractTypeEERS1_IPNS_11DeclarationELi40EEPKS0_6QFlagsINS3_10SearchFlagEEj+0x149) 
[0x7fa9225a8d5d]                                                                                                                                                                                                                                                                
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffba6bc2]                                                                                                                                                                                                                               
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop9DUContext24findDeclarationsInternalERK18KDevVarLengthArrayI10KSharedPtrINS0_10SearchItemEELi256EERKNS_12SimpleCursorERK7TypePtrINS_12AbstractTypeEERS1_IPNS_11DeclarationELi40EEPKNS_12TopDUContextE6QFlagsINS0_10SearchFlagEEj+0xaf5) 
[0x7fa92258d3f5]                                                                                                                                                                                                                                                              
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffba90a8]                                                                                                                                                                                                                               
        /opt/kde4/lib/libkdevplatformlanguage.so.1(_ZNK8KDevelop9DUContext24findDeclarationsInternalERK18KDevVarLengthArrayI10KSharedPtrINS0_10SearchItemEELi256EERKNS_12SimpleCursorERK7TypePtrINS_12AbstractTypeEERS1_IPNS_11DeclarationELi40EEPKNS_12TopDUContextE6QFlagsINS0_10SearchFlagEEj+0xaf5) 
[0x7fa92258d3f5]                                                                                                                                                                                                                                                              

Mutex #10047 (0x0x2c68fd0) first referenced by:
        /usr/lib/libmutrace.so(pthread_mutex_init+0x110) [0x7fa9290f1440]
        /usr/lib/libQtCore.so.4 [0x7fa925f1cd76]
        /usr/lib/libQtCore.so.4(_ZN6QMutexC1ENS_13RecursionModeE+0x31) 
[0x7fa925f18911]
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf6826]
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf4b3a]
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffbf4c95]
        /opt/kde4/lib/libkdev4cppduchain.so [0x7fa8ffc531f6]

mutrace: Showing 30 most contended mutexes:

 Mutex #   Locked  Changed    Cont. tot.Time[ms] avg.Time[ms] max.Time[ms]  
Flags
    7702 10867922  1289097   602227     2045.941        0.000        3.661 
M-.--.
    4543  1438294   493776   220689      507.489        0.000       21.206 
Mx.--.
    6734  1135906   362313   121778      361.595        0.000        0.403 
Mx.--.
   57070   815470   119191    39109      175.622        0.000        4.104 
M-.--.
   55385   324520    73761    26341       91.553        0.000        0.040 
Mx.--.
    1658  1669670    22024     7307      215.852        0.000        0.103 
Mx.--.
   14209 16981126    29412     3420     2338.630        0.000       24.491 
M-.--.
   50907    28435     8981     1676       11.599        0.000        0.024 
M-.--.
   48547    25938     5502     1200        8.336        0.000        0.037 
M-.--.
   12913     9638     2772      882        3.339        0.000        0.008 
Mx.--.
   50901     3215     1923      554        2.250        0.001        0.017 
M-.--.
    3664    29149     1209      551        4.182        0.000        0.016 
M-.--.
   52665     2821     1249      360       26.699        0.009       25.399 
Mx.--.
   11363  2017019    26792      296      501.419        0.000       23.853 
Mx.--.
    8561     1820      703      231        0.807        0.000        0.011 
M-.--.
   13049     4354      616      210        1.056        0.000        0.007 
Mx.--.
   40168     2265     1365      195        1.408        0.001        0.015 
Mx.--.
   12793     1631      178       89        0.329        0.000        0.022 
M-.--.
    1250     2308     1087       83        1.200        0.001        0.010 
M-.--.
   57231      513      332       83        0.397        0.001        0.006 
M-.--.
    1134     4003     1159       57        1.571        0.000        0.009 
M-.--.
   50769    10590     8076       39       57.991        0.005       47.328 
Mx.--.
    9751     1477     1029       25        1.346        0.001        0.013 
Mx.--.
    2248       91       69       22        0.088        0.001        0.005 
Mx.--.
   14691     1888     1256       18       10.713        0.006        6.159 
Mx.--.
   14984      287      173       18        0.199        0.001        0.009 
Mx.--.
    8846      128      102       13        0.073        0.001        0.002 
M-.--.
    8017       36       30       10        0.029        0.001        0.004 
M-.--.
    8295      369       30        9        0.069        0.000        0.003 
M-.--.
   10047      161      114        7        0.095        0.001        0.003 
Mx.--.
     ...      ...      ...      ...          ...          ...          ... 
||||||
                                                                           /|||||
          Object:                                     M = Mutex, W = RWLock 
/||||
           State:                                 x = dead, ! = inconsistent 
/|||
             Use:                                 R = used in realtime thread 
/||
      Mutex Type:                 r = RECURSIVE, e = ERRRORCHECK, a = ADAPTIVE 
/|
  Mutex Protocol:                                      i = INHERIT, p = 
PROTECT /
     RWLock Kind: r = PREFER_READER, w = PREFER_WRITER, W = 
PREFER_WRITER_NONREC

mutrace: Note that the flags column R is only valid in --track-rt mode!

mutrace: Total runtime is 400313.059 ms.

mutrace: Results for SMP with 4 processors.

mutrace: WARNING: 384 internal hash collisions detected. Results might not be 
as reliable as they could be.
mutrace:          Try to increase --hash-size=, which is currently at 100000.


Cheers,
Hamish.




More information about the KDevelop-devel mailing list