KDev4 just deadlocked

Andreas Pakulat apaku at gmx.de
Thu Jan 15 22:28:18 UTC 2009


Hi,

just got KDev4 to deadlock, I was typing a classname, followed by :: and
then hit Ctrl+Space. Completion never appeared, app froze.

Backtraces:
,----
| (gdb) thread apply all bt                                                                                                                        
| 
| Thread 8 (Thread 0xb312bb90 (LWP 30264)):
| #0  0xb6dd8c08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
| #1  0xb6e64b56 in QWaitConditionPrivate::wait (this=0x9105118, time=140000) at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:80
| #2  0xb6e6466f in QWaitCondition::wait (this=0x93b2804, mutex=0x93b2808, time=140000) at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:154
| #3  0xb5d750f0 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x93b27f8) at /home/andreas/src/kdevplatform/language/duchain/duchain.cpp:238               
| #4  0xb6e64114 in QThreadPrivate::start (arg=0x93b27f8) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:185                                     
| #5  0xb6dd4f3b in start_thread () from /lib/libpthread.so.0                                                                                                      
| #6  0xb6141bee in clone () from /lib/libc.so.6                                                                                                                   
| 
| Thread 7 (Thread 0xb282cb90 (LWP 30265)):
| #0  0xb613b007 in select () from /lib/libc.so.6
| #1  0xb6f5321f in QProcessManager::run (this=0x909a020) at /home/andreas/src/qt-copy/src/corelib/io/qprocess_unix.cpp:301
| #2  0xb6e64114 in QThreadPrivate::start (arg=0x909a020) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:185
| #3  0xb6dd4f3b in start_thread () from /lib/libpthread.so.0                                                                 
| #4  0xb6141bee in clone () from /lib/libc.so.6                                                                              
| 
| Thread 6 (Thread 0xaeb09b90 (LWP 30287)):
| #0  0xb614ddee in ?? () from /lib/libc.so.6
| #1  0xb60e6499 in ?? () from /lib/libc.so.6
| Backtrace stopped: previous frame identical to this frame (corrupt stack?)
| 
| Thread 5 (Thread 0xae309b90 (LWP 30292)):
| #0  0xb614ddee in ?? () from /lib/libc.so.6
| #1  0xb60e6499 in ?? () from /lib/libc.so.6
| Backtrace stopped: previous frame identical to this frame (corrupt stack?)
| 
| Thread 4 (Thread 0xb1a82b90 (LWP 31399)):
| #0  0xb6dd88f0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
| #1  0xb6e64b70 in QWaitConditionPrivate::wait (this=0x91fecd8, time=4294967295) at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
| #2  0xb6e6466f in QWaitCondition::wait (this=0x91febb8, mutex=0x91af2b8, time=4294967295) at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:154
| #3  0xb7978c0b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x91feba0, th=0x9df7fc0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
| #4  0xb797c52c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9166f60, th=0x9df7fc0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80      
| #5  0xb79774ab in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x91feba0, th=0x9df7fc0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
| #6  0xb797c66f in ThreadWeaver::WorkingHardState::applyForWork (this=0x9166f60, th=0x9df7fc0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
| #7  0xb7979c83 in ThreadWeaver::WeaverImpl::applyForWork (this=0x91feba0, th=0x9df7fc0, previous=0x0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
| #8  0xb797c691 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9166f60, th=0x9df7fc0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
| #9  0xb7979c83 in ThreadWeaver::WeaverImpl::applyForWork (this=0x91feba0, th=0x9df7fc0, previous=0x0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
| #10 0xb797c691 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9166f60, th=0x9df7fc0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
| #11 0xb7979c83 in ThreadWeaver::WeaverImpl::applyForWork (this=0x91feba0, th=0x9df7fc0, previous=0x0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
| #12 0xb797c691 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9166f60, th=0x9df7fc0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
| #13 0xb7979c83 in ThreadWeaver::WeaverImpl::applyForWork (this=0x91feba0, th=0x9df7fc0, previous=0x0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
| #14 0xb797c691 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9166f60, th=0x9df7fc0) at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
| #15 0xb7979c83 in ThreadWeaver::WeaverImpl::applyForWork (this=0x91feba0, th=0x9df7fc0, previous=0xc5b5728) at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
| #16 0xb797a7ad in ThreadWeaver::ThreadRunHelper::run (this=0xb1a82360, parent=0x91feba0, th=0x9df7fc0) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:87
| #17 0xb797a925 in ThreadWeaver::Thread::run (this=0x9df7fc0) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
| #18 0xb6e64114 in QThreadPrivate::start (arg=0x9df7fc0) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:185
| #19 0xb6dd4f3b in start_thread () from /lib/libpthread.so.0
| #20 0xb6141bee in clone () from /lib/libc.so.6
| 
| Thread 3 (Thread 0xad78eb90 (LWP 31400)):
| #0  0xb6dd88f0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
| #1  0xb6e64b70 in QWaitConditionPrivate::wait (this=0xbbaee58, time=4294967295) at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
| #2  0xb6e6466f in QWaitCondition::wait (this=0xa0011a8, mutex=0xa0011a4, time=4294967295) at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:154
| ---Type <return> to continue, or q <return> to quit---
| #3  0xaf096b7a in CPPParseJob::includePaths (this=0xa001118) at /home/andreas/src/kdevelop/plugins/languages/cpp/cppparsejob.cpp:241
| #4  0xaf0a28d2 in PreprocessJob::run (this=0xb5022a8) at /home/andreas/src/kdevelop/plugins/languages/cpp/preprocessjob.cpp:193
| #5  0xb797b8b0 in ThreadWeaver::JobRunHelper::runTheJob (this=0xad78e288, th=0x9eacac8, job=0xb5022a8) at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:106
| #6  0xb797ba95 in ThreadWeaver::Job::execute (this=0xb5022a8, th=0x9eacac8) at /home/andreas/src/kdelibs/threadweaver/Weaver/Job.cpp:135
| #7  0xb797d4c3 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x9ca20f0, t=0x9eacac8) at /home/andreas/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:82
| #8  0xb797e757 in ThreadWeaver::JobCollection::execute (this=0xa001118, t=0x9eacac8) at /home/andreas/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:228
| #9  0xb797a762 in ThreadWeaver::ThreadRunHelper::run (this=0xad78e360, parent=0x91feba0, th=0x9eacac8) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:95
| #10 0xb797a925 in ThreadWeaver::Thread::run (this=0x9eacac8) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
| #11 0xb6e64114 in QThreadPrivate::start (arg=0x9eacac8) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:185
| #12 0xb6dd4f3b in start_thread () from /lib/libpthread.so.0
| #13 0xb6141bee in clone () from /lib/libc.so.6
| 
| Thread 2 (Thread 0xacd18b90 (LWP 31409)):
| #0  0xb6dd88f0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
| #1  0xb6e64b70 in QWaitConditionPrivate::wait (this=0xef55308, time=4294967295) at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
| #2  0xb6e6466f in QWaitCondition::wait (this=0xcd82048, mutex=0xa36f210, time=4294967295) at /home/andreas/src/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:154
| #3  0xb7978c0b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xcd82030, th=0xda69600) at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
| #4  0xb797c52c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xe2689f8, th=0xda69600) at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
| #5  0xb79774ab in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xcd82030, th=0xda69600) at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
| #6  0xb797c66f in ThreadWeaver::WorkingHardState::applyForWork (this=0xe2689f8, th=0xda69600) at /home/andreas/src/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
| #7  0xb7979c83 in ThreadWeaver::WeaverImpl::applyForWork (this=0xcd82030, th=0xda69600, previous=0xa42fa38) at /home/andreas/src/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
| #8  0xb797a7ad in ThreadWeaver::ThreadRunHelper::run (this=0xacd18360, parent=0xcd82030, th=0xda69600) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:87
| #9  0xb797a925 in ThreadWeaver::Thread::run (this=0xda69600) at /home/andreas/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
| #10 0xb6e64114 in QThreadPrivate::start (arg=0xda69600) at /home/andreas/src/qt-copy/src/corelib/thread/qthread_unix.cpp:185
| #11 0xb6dd4f3b in start_thread () from /lib/libpthread.so.0
| #12 0xb6141bee in clone () from /lib/libc.so.6
| 
| Thread 1 (Thread 0xb56876c0 (LWP 30263)):
| #0  0xb614ddee in ?? () from /lib/libc.so.6
| #1  0xb60e6459 in ?? () from /lib/libc.so.6
| Backtrace stopped: previous frame identical to this frame (corrupt stack?)
`----

Andreas

-- 
There will be big changes for you but you will be happy.




More information about the KDevelop-devel mailing list