Bug 213424 - Crashes with multiple threads used for parsing
Summary: Crashes with multiple threads used for parsing
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: git master
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-06 15:50 UTC by Matthias Fuchs
Modified: 2009-12-05 15:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Fuchs 2009-11-06 15:50:37 UTC
Version:            (using Devel)
Installed from:    Compiled sources

I set the numbers of threads used for parsing to 3 and then it crashes after a while.

(gdb) thread apply all bt                                                                                                                                  

Thread 15 (Thread 0x7fffc869a910 (LWP 18430)):
#0  0x00007ffff4685d31 in QTime::minute (this=0x7fffc8697d30) at tools/qdatetime.cpp:1527
#1  0x00007ffff468c4a9 in localToUtc (date=..., time=..., isdst=0) at tools/qdatetime.cpp:3781
#2  0x00007ffff468c71b in QDateTimePrivate::getUTC (this=0x7fffccff74d0, outDate=..., outTime=...) at tools/qdatetime.cpp:3871
#3  0x00007ffff468736b in QDateTime::toTime_t (this=0x7fffc8697d80) at tools/qdatetime.cpp:2421                               
#4  0x00007ffff07282cb in ModificationRevision (this=0x7fffc8697d90, modTime=..., revision_=21)                               
    at /home/kde-devel/kde/src/git-test/kdevplatform/language/editor/modificationrevision.cpp:131                             
#5  0x00007ffff0728946 in KDevelop::ModificationRevision::revisionForFile (url=...)                                           
    at /home/kde-devel/kde/src/git-test/kdevplatform/language/editor/modificationrevision.cpp:119                             
#6  0x00007fffcb68895d in CppTools::IncludePathResolver::findIncludePathDependency (this=<value optimized out>, file=<value optimized out>)
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathresolver.cpp:282                                                 
#7  0x00007fffcb66e0b0 in IncludePathComputer::computeBackground (this=0x5f799a0)                                                          
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathcomputer.cpp:120                                                 
#8  0x00007fffcb671c01 in CPPParseJob::includePaths (this=0x5f77c70) at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/cppparsejob.cpp:244
#9  0x00007fffcb67e30d in PreprocessJob::run (this=0x4613700) at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/preprocessjob.cpp:205     
#10 0x00007ffff644a93d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fffc8699f60, th=0x7fffcc0ca170, job=0x4613700)                            
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Job.cpp:106                                                                    
#11 0x00007ffff644ac3e in ThreadWeaver::Job::execute (this=0x4613700, th=0x7fffcc0ca170)                                                           
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Job.cpp:135                                                                    
#12 0x00007ffff644c063 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x663cac0, t=0x7fffcc0ca170)                                         
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/JobCollection.cpp:82                                                           
#13 0x00007ffff6449b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7fffc869a010, parent=0x17c1840, th=0x7fffcc0ca170)                            
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Thread.cpp:95                                                                  
#14 0x00007ffff644a018 in ThreadWeaver::Thread::run (this=0x7fffcc0ca170) at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Thread.cpp:142
#15 0x00007ffff467655d in QThreadPrivate::start (arg=0x7fffcc0ca170) at thread/qthread_unix.cpp:244                                                     
#16 0x00007ffff43c657a in start_thread () from /lib/libpthread.so.0                                                                                     
#17 0x00007ffff273014d in clone () from /lib/libc.so.6                                                                                                  
#18 0x0000000000000000 in ?? ()                                                                                                                         

Thread 14 (Thread 0x7fffc8e9b910 (LWP 18429)):
#0  0x00007ffff2696f15 in raise () from /lib/libc.so.6
#1  0x00007ffff2698340 in abort () from /lib/libc.so.6
#2  0x00007ffff466a66d in qt_message_output (msgType=QtFatalMsg, buf=0x7fffccdbd918 "ASSERT: \"d->ref == 1\" in file tools/qlist.cpp, line 170")
    at global/qglobal.cpp:2212                                                                                                                  
#3  0x00007ffff466a84c in qt_message (msgType=QtFatalMsg, msg=0x7ffff4826b78 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffc8e98c80)           
    at global/qglobal.cpp:2258                                                                                                                  
#4  0x00007ffff466b0b9 in qFatal (msg=0x7ffff4826b78 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2441                           
#5  0x00007ffff466a1ff in qt_assert (assertion=0x7ffff482a480 "d->ref == 1", file=0x7ffff482a470 "tools/qlist.cpp", line=170) at global/qglobal.cpp:1975
#6  0x00007ffff469c012 in QListData::append (this=0x7fffcb8f6bf0) at tools/qlist.cpp:170                                                                
#7  0x00007fffcb68bca4 in QList<QString>::append (this=0x7fffcb8f6bf0, t=...) at /home/kde-devel/qt-copy/include/QtCore/qlist.h:479                     
#8  0x00007fffcb68e047 in QStringList::operator<< (includePaths=<value optimized out>) at /home/kde-devel/qt-copy/include/QtCore/qstringlist.h:87       
#9  CppTools::setupStandardIncludePaths (includePaths=<value optimized out>) at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/setuphelpers.cpp:90
#10 0x00007fffcb6811c9 in CppUtils::standardIncludePaths () at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/cpputils.cpp:186                    
#11 0x00007fffcb66e032 in IncludePathComputer::computeBackground (this=0x67f4d90)                                                                          
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathcomputer.cpp:118                                                                 
#12 0x00007fffcb671c01 in CPPParseJob::includePaths (this=0x689fc60) at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/cppparsejob.cpp:244        
#13 0x00007fffcb67e30d in PreprocessJob::run (this=0x6833220) at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/preprocessjob.cpp:205             
#14 0x00007ffff644a93d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fffc8e9af60, th=0x43bf650, job=0x6833220)                                         
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Job.cpp:106                                                                            
#15 0x00007ffff644ac3e in ThreadWeaver::Job::execute (this=0x6833220, th=0x43bf650)                                                                        
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Job.cpp:135                                                                            
#16 0x00007ffff644c063 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x6511e00, t=0x43bf650)                                                      
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/JobCollection.cpp:82                                                                   
#17 0x00007ffff6449b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7fffc8e9b010, parent=0x17c1840, th=0x43bf650)                                         
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Thread.cpp:95                                                                          
#18 0x00007ffff644a018 in ThreadWeaver::Thread::run (this=0x43bf650) at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Thread.cpp:142        
#19 0x00007ffff467655d in QThreadPrivate::start (arg=0x43bf650) at thread/qthread_unix.cpp:244                                                             
#20 0x00007ffff43c657a in start_thread () from /lib/libpthread.so.0                                                                                        
#21 0x00007ffff273014d in clone () from /lib/libc.so.6                                                                                                     
---Type <return> to continue, or q <return> to quit---                                                                                                     
#22 0x0000000000000000 in ?? ()                                                                                                                            

Thread 13 (Thread 0x7fffc969c910 (LWP 18428)):
#0  0x00007ffff2729a42 in select () from /lib/libc.so.6
#1  0x00007ffff47d6c2b in qt_safe_select (nfds=58, fdread=0x7fffc9696190, fdwrite=0x7fffc9696110, fdexcept=0x0, orig_timeout=0x7fffc96960d0)
    at kernel/qcore_unix.cpp:151                                                                                                            
#2  0x00007ffff4775d33 in select_msecs (nfds=58, fdread=0x7fffc9696190, fdwrite=0x7fffc9696110, timeout=39999994) at io/qprocess_unix.cpp:875
#3  0x00007ffff4776b02 in QProcessPrivate::waitForFinished (this=0x7fffc0972b80, msecs=39999994) at io/qprocess_unix.cpp:1091                
#4  0x00007ffff472c8ad in QProcess::waitForFinished (this=0x7fffc96962e0, msecs=39999994) at io/qprocess.cpp:1687                            
#5  0x00007ffff7a354c2 in KProcess::execute (this=0x7fffc96962e0, msecs=40000000) at /home/kde-devel/kde/src/git-test/kdelibs/kdecore/io/kprocess.cpp:322
#6  0x00007fffcb685716 in CppTools::IncludePathResolver::executeCommand (this=<value optimized out>, command=<value optimized out>,                      
    workingDirectory=<value optimized out>, result=...) at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathresolver.cpp:421           
#7  0x00007fffcb685fe2 in CppTools::IncludePathResolver::getFullOutput (this=0x3a, command=..., workingDirectory=..., output=...)                        
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathresolver.cpp:716                                                               
#8  0x00007fffcb686a96 in CppTools::IncludePathResolver::resolveIncludePathInternal (this=0x5fb6358, file=<value optimized out>,                         
    workingDirectory=<value optimized out>, makeParameters=<value optimized out>, source=<value optimized out>)                                          
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathresolver.cpp:733                                                               
#9  0x00007fffcb68a040 in CppTools::IncludePathResolver::resolveIncludePath (this=0x5fb6358, file=<value optimized out>,                                 
    _workingDirectory=<value optimized out>, maxStepsUp=<value optimized out>)                                                                           
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathresolver.cpp:651                                                               
#10 0x00007fffcb6893d0 in CppTools::IncludePathResolver::resolveIncludePath (this=0x5fb6358, file=<value optimized out>,                                 
    _workingDirectory=<value optimized out>, maxStepsUp=<value optimized out>)                                                                           
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathresolver.cpp:558                                                               
#11 0x00007fffcb6893d0 in CppTools::IncludePathResolver::resolveIncludePath (this=0x5fb6358, file=<value optimized out>,                                 
    _workingDirectory=<value optimized out>, maxStepsUp=<value optimized out>)                                                                           
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathresolver.cpp:558                                                               
#12 0x00007fffcb6893d0 in CppTools::IncludePathResolver::resolveIncludePath (this=0x5fb6358, file=<value optimized out>,                                 
    _workingDirectory=<value optimized out>, maxStepsUp=<value optimized out>)                                                                           
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathresolver.cpp:558                                                               
#13 0x00007fffcb6893d0 in CppTools::IncludePathResolver::resolveIncludePath (this=0x5fb6358, file=<value optimized out>,                                 
    _workingDirectory=<value optimized out>, maxStepsUp=<value optimized out>)                                                                           
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathresolver.cpp:558                                                               
#14 0x00007fffcb68b425 in CppTools::IncludePathResolver::resolveIncludePath (this=0x5fb6358, file=<value optimized out>)                                 
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathresolver.cpp:433                                                               
#15 0x00007fffcb66eb6e in IncludePathComputer::computeBackground (this=0x5fb62e0)                                                                        
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/includepathcomputer.cpp:184                                                               
#16 0x00007fffcb671c01 in CPPParseJob::includePaths (this=0x7293a00) at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/cppparsejob.cpp:244      
#17 0x00007fffcb67e30d in PreprocessJob::run (this=0x465ebc0) at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/preprocessjob.cpp:205           
#18 0x00007ffff644a93d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fffc969bf60, th=0x7fffcc1430a0, job=0x465ebc0)                                  
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Job.cpp:106                                                                          
#19 0x00007ffff644ac3e in ThreadWeaver::Job::execute (this=0x465ebc0, th=0x7fffcc1430a0)                                                                 
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Job.cpp:135                                                                          
#20 0x00007ffff644c063 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x53beee0, t=0x7fffcc1430a0)                                               
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/JobCollection.cpp:82                                                                 
#21 0x00007ffff6449b8f in ThreadWeaver::ThreadRunHelper::run (this=0x7fffc969c010, parent=0x17c1840, th=0x7fffcc1430a0)                                  
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Thread.cpp:95                                                                        
#22 0x00007ffff644a018 in ThreadWeaver::Thread::run (this=0x7fffcc1430a0) at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Thread.cpp:142 
#23 0x00007ffff467655d in QThreadPrivate::start (arg=0x7fffcc1430a0) at thread/qthread_unix.cpp:244                                                      
#24 0x00007ffff43c657a in start_thread () from /lib/libpthread.so.0                                                                                      
#25 0x00007ffff273014d in clone () from /lib/libc.so.6                                                                                                   
#26 0x0000000000000000 in ?? ()                                                                                                                          

Thread 12 (Thread 0x7fffc9e9d910 (LWP 18427)):
#0  0x00007ffff43cadd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffff4677b55 in QWaitConditionPrivate::wait (this=0x17ace60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007ffff46778fd in QWaitCondition::wait (this=0x17c1868, mutex=0x17c1aa0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffff6449056 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17c1840, th=0x42d1ee0)                          
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365                                                           
#4  0x00007ffff644b70b in ThreadWeaver::WorkingHardState::applyForWork (this=0x17f4e90, th=0x42d1ee0)                                            
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71                                                      
---Type <return> to continue, or q <return> to quit---                                                                                           
#5  0x00007ffff644b724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17f4e90, th=0x42d1ee0)                                            
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74                                                      
#6  0x00007ffff6449bbf in ThreadWeaver::ThreadRunHelper::run (this=0x7fffc9e9d010, parent=0x17c1840, th=0x42d1ee0)                               
    at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Thread.cpp:87                                                                
#7  0x00007ffff644a018 in ThreadWeaver::Thread::run (this=0x42d1ee0) at /home/kde-devel/kde/src/git-test/kdelibs/threadweaver/Weaver/Thread.cpp:142
#8  0x00007ffff467655d in QThreadPrivate::start (arg=0x42d1ee0) at thread/qthread_unix.cpp:244                                                     
#9  0x00007ffff43c657a in start_thread () from /lib/libpthread.so.0                                                                                
#10 0x00007ffff273014d in clone () from /lib/libc.so.6                                                                                             
#11 0x0000000000000000 in ?? ()                                                                                                                    

Thread 11 (Thread 0x7fffca69e910 (LWP 18426)):
#0  0x00007ffff43cb05d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffff467679a in thread_sleep (ti=0x7fffca69dfb0) at thread/qthread_unix.cpp:394 
#2  0x00007ffff4676922 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:420       
#3  0x00007fffcb665d21 in UIBlockTester::UIBlockTesterThread::run (this=0x476a720)        
    at /home/kde-devel/kde/src/git-test/kdevelop/languages/cpp/cpplanguagesupport.cpp:647 
#4  0x00007ffff467655d in QThreadPrivate::start (arg=0x476a720) at thread/qthread_unix.cpp:244
#5  0x00007ffff43c657a in start_thread () from /lib/libpthread.so.0                           
#6  0x00007ffff273014d in clone () from /lib/libc.so.6                                        
#7  0x0000000000000000 in ?? ()                                                               

Thread 10 (Thread 0x7fffcae9f910 (LWP 18425)):
#0  0x00007ffff2727993 in poll () from /lib/libc.so.6
#1  0x00007fffec60999c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffec609ce0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff47db82e in QEventDispatcherGlib::processEvents (this=0x44028e0, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007ffff479bce0 in QEventLoop::processEvents (this=0x7fffcae9eff0, flags=...) at kernel/qeventloop.cpp:149                
#5  0x00007ffff479be36 in QEventLoop::exec (this=0x7fffcae9eff0, flags=...) at kernel/qeventloop.cpp:201                         
#6  0x00007ffff4673861 in QThread::exec (this=0x4668850) at thread/qthread.cpp:487                                               
#7  0x00007ffff467655d in QThreadPrivate::start (arg=0x4668850) at thread/qthread_unix.cpp:244                                   
#8  0x00007ffff43c657a in start_thread () from /lib/libpthread.so.0                                                              
#9  0x00007ffff273014d in clone () from /lib/libc.so.6                                                                           
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fffd2023910 (LWP 18424)):
#0  0x00007ffff2727993 in poll () from /lib/libc.so.6
#1  0x00007fffec60999c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffec609ce0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff47db82e in QEventDispatcherGlib::processEvents (this=0x4737a50, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007ffff479bce0 in QEventLoop::processEvents (this=0x7fffd2022ff0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffff479be36 in QEventLoop::exec (this=0x7fffd2022ff0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ffff4673861 in QThread::exec (this=0x4769310) at thread/qthread.cpp:487
#7  0x00007ffff467655d in QThreadPrivate::start (arg=0x4769310) at thread/qthread_unix.cpp:244
#8  0x00007ffff43c657a in start_thread () from /lib/libpthread.so.0
#9  0x00007ffff273014d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fffd2824910 (LWP 18376)):
#0  0x00007ffff43cadd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffff1682d3f in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7ffff19cba40) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007ffff168238a in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7ffff19cba40)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007ffff43c657a in start_thread () from /lib/libpthread.so.0
#4  0x00007ffff273014d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffe1e2e910 (LWP 18299)):
#0  0x00007ffff43cadd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffff4675e4e in QMutexPrivate::wait (this=0x1499610, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007ffff466f295 in QMutex::lock (this=0x7ffff4b1c8f0) at thread/qmutex.cpp:205
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff46542a0 in QMutexLocker::relock (this=0x7fffe1e2df50) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:120
#4  0x00007ffff4654202 in QMutexLocker (this=0x7fffe1e2df50, m=0x7ffff4b1c8f0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:102
#5  0x00007ffff4773b7a in QProcessManager::catchDeadChildren (this=0x7ffff4b1c8e0) at io/qprocess_unix.cpp:262
#6  0x00007ffff4773b41 in QProcessManager::run (this=0x7ffff4b1c8e0) at io/qprocess_unix.cpp:256
#7  0x00007ffff467655d in QThreadPrivate::start (arg=0x7ffff4b1c8e0) at thread/qthread_unix.cpp:244
#8  0x00007ffff43c657a in start_thread () from /lib/libpthread.so.0
#9  0x00007ffff273014d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffe3b30910 (LWP 18297)):
#0  0x00007ffff43cb05d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffff4677b39 in QWaitConditionPrivate::wait (this=0x189f0e0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007ffff46778fd in QWaitCondition::wait (this=0x18a3f08, mutex=0x18a3f10, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffff076093e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x18a3ef0)
    at /home/kde-devel/kde/src/git-test/kdevplatform/language/duchain/duchain.cpp:280
#4  0x00007ffff467655d in QThreadPrivate::start (arg=0x18a3ef0) at thread/qthread_unix.cpp:244
#5  0x00007ffff43c657a in start_thread () from /lib/libpthread.so.0
#6  0x00007ffff273014d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fb4750 (LWP 18296)):
#0  0x00007ffff2727993 in poll () from /lib/libc.so.6
#1  0x00007fffec60999c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffec609ce0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff47db80b in QEventDispatcherGlib::processEvents (this=0x1098580, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#4  0x00007ffff346436c in QGuiEventDispatcherGlib::processEvents (this=0x1098580, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#5  0x00007ffff479bce0 in QEventLoop::processEvents (this=0x7fffffffccb0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffff479be36 in QEventLoop::exec (this=0x7fffffffccb0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007ffff479f366 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#8  0x00007ffff3384148 in QApplication::exec () at kernel/qapplication.cpp:3582
#9  0x0000000000405e17 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/kde-devel/kde/src/git-test/kdevelop/app/main.cpp:193
(gdb)
Comment 1 Matthias Fuchs 2009-11-06 15:52:19 UTC
milian mentioned that calling includePaths multiple times might be the issue.
Comment 2 Dario Andres 2009-11-06 16:40:46 UTC
This looks somewhat related to bug 207350. Thanks
Comment 3 David Nolden 2009-12-05 15:34:02 UTC
Should be fixed now. Reopen if you can still reproduce this.