deadlock
Milian Wolff
mail at milianw.de
Fri Jan 15 13:45:21 UTC 2010
On Thursday, 14. January 2010 09:23:29 Niko Sams wrote:
> Hi,
>
> I just got into the following deadlock. Please take a look at it.
Just got another one (as far as I can see):
David?
(gdb) thread apply all bt
Thread 13 (Thread 0xb2135b70 (LWP 22295)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb6152696 in nanosleep () from /lib/i686/cmov/libc.so.6
#2 0xb6181e7c in usleep (useconds=0) at
../sysdeps/unix/sysv/linux/usleep.c:33
#3 0xb5c3438f in KDevelop::DUChainLock::lockForWrite (this=0x93f94a4,
timeout=0)
at
/home/milianw/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:198
#4 0xb5c343f8 in KDevelop::DUChainWriteLocker::lock (this=0xb2135228) at
/home/milianw/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:296
#5 0xb5c344bf in DUChainWriteLocker (this=0xb2135228, duChainLock=0x93f94a4,
timeout=0)
at
/home/milianw/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:281
#6 0xb5be61f3 in KDevelop::DUChainPrivate::doMoreCleanup (this=0x93f9498,
retries=1, needLockRepository=true)
at
/home/milianw/projects/kde4/kdevplatform/language/duchain/duchain.cpp:705
#7 0xb5be73eb in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x93fa1c0) at
/home/milianw/projects/kde4/kdevplatform/language/duchain/duchain.cpp:294
#8 0xb6d9a5e2 in QThreadPrivate::start (arg=0x93fa1c0) at
thread/qthread_unix.cpp:188
#9 0xb5501585 in start_thread (arg=0xb2135b70) at pthread_create.c:300
#10 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 12 (Thread 0xb0686b70 (LWP 22318)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb61815b1 in select () from /lib/i686/cmov/libc.so.6
#2 0xb6e694a0 in QProcessManager::run (this=0x90d2c48) at
io/qprocess_unix.cpp:296
#3 0xb6d9a5e2 in QThreadPrivate::start (arg=0x90d2c48) at
thread/qthread_unix.cpp:188
#4 0xb5501585 in start_thread (arg=0xb0686b70) at pthread_create.c:300
#5 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 11 (Thread 0xaeffeb70 (LWP 22350)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb55050a5 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb619582d in __pthread_cond_wait (cond=0x97e4da8, mutex=0x97e4d90) at
forward.c:139
---Type <return> to continue, or q <return> to quit---
#3 0xb6d9b5c2 in QWaitConditionPrivate::wait (this=0x97e4c00,
mutex=0x96eda78, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4 QWaitCondition::wait (this=0x97e4c00, mutex=0x96eda78, time=4294967295) at
thread/qwaitcondition_unix.cpp:159
#5 0xb7907648 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned
(this=0x97e4be8, th=0x97ea478)
at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6 0xb790a3ac in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x96edee0, th=0x97ea478) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7 0xb790623b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x97e4be8, th=0x97ea478) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8 0xb790a4a2 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x96edee0, th=0x97ea478) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9 0xb7907bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97e4be8,
th=0x97ea478, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb790a4c1 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x96edee0, th=0x97ea478) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb7907bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97e4be8,
th=0x97ea478, previous=0x984dfc8) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb79084be in ThreadWeaver::ThreadRunHelper::run (this=0xaeffe330,
parent=0x97e4be8, th=0x97ea478) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb7908afb in ThreadWeaver::Thread::run (this=0x97ea478) at
../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb6d9a5e2 in QThreadPrivate::start (arg=0x97ea478) at
thread/qthread_unix.cpp:188
#15 0xb5501585 in start_thread (arg=0xaeffeb70) at pthread_create.c:300
#16 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 10 (Thread 0xae7fdb70 (LWP 22387)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb55050a5 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb619582d in __pthread_cond_wait (cond=0x97e4da8, mutex=0x97e4d90) at
forward.c:139
#3 0xb6d9b5c2 in QWaitConditionPrivate::wait (this=0x97e4c00,
mutex=0x96eda78, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4 QWaitCondition::wait (this=0x97e4c00, mutex=0x96eda78, time=4294967295) at
thread/qwaitcondition_unix.cpp:159
#5 0xb7907648 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned
(this=0x97e4be8, th=0x9834d88)
at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6 0xb790a3ac in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x96edee0, th=0x9834d88) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7 0xb790623b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x97e4be8, th=0x9834d88) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8 0xb790a4a2 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x96edee0, th=0x9834d88) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9 0xb7907bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97e4be8,
th=0x9834d88, previous=0x9fe7df0) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb79084be in ThreadWeaver::ThreadRunHelper::run (this=0xae7fd330,
parent=0x97e4be8, th=0x9834d88) at ../../../threadweaver/Weaver/Thread.cpp:87
---Type <return> to continue, or q <return> to quit---
#11 0xb7908afb in ThreadWeaver::Thread::run (this=0x9834d88) at
../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb6d9a5e2 in QThreadPrivate::start (arg=0x9834d88) at
thread/qthread_unix.cpp:188
#13 0xb5501585 in start_thread (arg=0xae7fdb70) at pthread_create.c:300
#14 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 9 (Thread 0xadffcb70 (LWP 22432)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb55050a5 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb619582d in __pthread_cond_wait (cond=0x97e4da8, mutex=0x97e4d90) at
forward.c:139
#3 0xb6d9b5c2 in QWaitConditionPrivate::wait (this=0x97e4c00,
mutex=0x96eda78, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4 QWaitCondition::wait (this=0x97e4c00, mutex=0x96eda78, time=4294967295) at
thread/qwaitcondition_unix.cpp:159
#5 0xb7907648 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned
(this=0x97e4be8, th=0x9fb8ea0)
at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6 0xb790a3ac in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x96edee0, th=0x9fb8ea0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7 0xb790623b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x97e4be8, th=0x9fb8ea0) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8 0xb790a4a2 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x96edee0, th=0x9fb8ea0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9 0xb7907bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97e4be8,
th=0x9fb8ea0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb790a4c1 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x96edee0, th=0x9fb8ea0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb7907bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97e4be8,
th=0x9fb8ea0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb79084be in ThreadWeaver::ThreadRunHelper::run (this=0xadffc330,
parent=0x97e4be8, th=0x9fb8ea0) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb7908afb in ThreadWeaver::Thread::run (this=0x9fb8ea0) at
../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb6d9a5e2 in QThreadPrivate::start (arg=0x9fb8ea0) at
thread/qthread_unix.cpp:188
#15 0xb5501585 in start_thread (arg=0xadffcb70) at pthread_create.c:300
#16 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 8 (Thread 0xaa0ffb70 (LWP 22496)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb617ab47 in *__GI___poll (fds=0xa4c1f30, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2 0xb544d75b in g_poll () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#3 0xb5440585 in ?? () from /lib/libglib-2.0.so.0
#4 0xb5440838 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5 0xb6eb6041 in QEventDispatcherGlib::processEvents (this=0xa497cc8,
flags=...) at kernel/qeventdispatcher_glib.cpp:407
#6 0xb6e8983a in QEventLoop::processEvents (this=0xaa0ff300, flags=...) at
kernel/qeventloop.cpp:149
#7 0xb6e89c82 in QEventLoop::exec (this=0xaa0ff300, flags=...) at
kernel/qeventloop.cpp:201
#8 0xb6d97309 in QThread::exec (this=0xa4b1cb8) at thread/qthread.cpp:487
#9 0xb5cf107b in KDevelop::CompletionWorkerThread::run (this=0xa4b1cb8)
at
/home/milianw/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#10 0xb6d9a5e2 in QThreadPrivate::start (arg=0xa4b1cb8) at
thread/qthread_unix.cpp:188
#11 0xb5501585 in start_thread (arg=0xaa0ffb70) at pthread_create.c:300
#12 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 7 (Thread 0xab4ffb70 (LWP 22568)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb617ab47 in *__GI___poll (fds=0xa620f88, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2 0xb544d75b in g_poll () from /lib/libglib-2.0.so.0
#3 0xb5440585 in ?? () from /lib/libglib-2.0.so.0
#4 0xb5440838 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5 0xb6eb6041 in QEventDispatcherGlib::processEvents (this=0xa2c7408,
flags=...) at kernel/qeventdispatcher_glib.cpp:407
#6 0xb6e8983a in QEventLoop::processEvents (this=0xab4ff300, flags=...) at
kernel/qeventloop.cpp:149
#7 0xb6e89c82 in QEventLoop::exec (this=0xab4ff300, flags=...) at
kernel/qeventloop.cpp:201
#8 0xb6d97309 in QThread::exec (this=0xa64aa60) at thread/qthread.cpp:487
#9 0xb5cf107b in KDevelop::CompletionWorkerThread::run (this=0xa64aa60)
at
/home/milianw/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#10 0xb6d9a5e2 in QThreadPrivate::start (arg=0xa64aa60) at
thread/qthread_unix.cpp:188
#11 0xb5501585 in start_thread (arg=0xab4ffb70) at pthread_create.c:300
#12 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 6 (Thread 0xa8d98b70 (LWP 22570)):
---Type <return> to continue, or q <return> to quit---
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb617ab47 in *__GI___poll (fds=0xa6320e0, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2 0xb544d75b in g_poll () from /lib/libglib-2.0.so.0
#3 0xb5440585 in ?? () from /lib/libglib-2.0.so.0
#4 0xb5440838 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5 0xb6eb6041 in QEventDispatcherGlib::processEvents (this=0xa32d790,
flags=...) at kernel/qeventdispatcher_glib.cpp:407
#6 0xb6e8983a in QEventLoop::processEvents (this=0xa8d98300, flags=...) at
kernel/qeventloop.cpp:149
#7 0xb6e89c82 in QEventLoop::exec (this=0xa8d98300, flags=...) at
kernel/qeventloop.cpp:201
#8 0xb6d97309 in QThread::exec (this=0xa6a4e10) at thread/qthread.cpp:487
#9 0xb5cf107b in KDevelop::CompletionWorkerThread::run (this=0xa6a4e10)
at
/home/milianw/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#10 0xb6d9a5e2 in QThreadPrivate::start (arg=0xa6a4e10) at
thread/qthread_unix.cpp:188
#11 0xb5501585 in start_thread (arg=0xa8d98b70) at pthread_create.c:300
#12 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 5 (Thread 0xa8597b70 (LWP 22573)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb55053d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2 0xb6195884 in __pthread_cond_timedwait (cond=0xa8597294, mutex=0xa85972c4,
abstime=0xa8597300) at forward.c:152
#3 0xb6d99fee in thread_sleep (ti=0xa8597300) at thread/qthread_unix.cpp:297
#4 0xb6d9a11b in QThread::msleep (msecs=<value optimized out>) at
thread/qthread_unix.cpp:323
#5 0xa9867be3 in UIBlockTester::UIBlockTesterThread::run (this=0xa6bd940) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/cpplanguagesupport.cpp:672
#6 0xb6d9a5e2 in QThreadPrivate::start (arg=0xa6bd940) at
thread/qthread_unix.cpp:188
#7 0xb5501585 in start_thread (arg=0xa8597b70) at pthread_create.c:300
#8 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 4 (Thread 0xa77a9b70 (LWP 22629)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb55050a5 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
---Type <return> to continue, or q <return> to quit---
#2 0xb619582d in __pthread_cond_wait (cond=0x932f3c8, mutex=0x932f3b0) at
forward.c:139
#3 0xb6d99cb2 in QMutexPrivate::wait (this=0x932f398, timeout=-1) at
thread/qmutex_unix.cpp:80
#4 0xb6d952bd in QMutex::lock (this=0x932ef24) at thread/qmutex.cpp:169
#5 0xb7cd8978 in QMutexLocker::relock (this=0xa77a2508) at
/usr/include/qt4/QtCore/qmutex.h:120
#6 0xb7cd89f0 in QMutexLocker (this=0xa77a2508, m=0x932ef24) at
/usr/include/qt4/QtCore/qmutex.h:102
#7 0xb7cd7451 in KDevelop::LanguageController::languagesForUrl
(this=0x932f008, url=...)
at
/home/milianw/projects/kde4/kdevplatform/shell/languagecontroller.cpp:192
#8 0xb5c5a824 in KDevelop::DUChainUtils::standardContextForUrl (url=...) at
/home/milianw/projects/kde4/kdevplatform/language/duchain/duchainutils.cpp:236
#9 0xa987a928 in CPPInternalParseJob::run (this=0xca4ecc8) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:612
#10 0xa9878344 in CPPParseJob::parseForeground (this=0xca1d360) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:205
#11 0xa9888dcf in PreprocessJob::sourceNeeded (this=0xcd01828,
_fileName="qcombobox.h", type=rpp::Preprocessor::IncludeLocal, sourceLine=0,
skipCurrentPath=false) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:576
#12 0xaac1aade in rpp::pp::handle_include (this=0xa77a3560,
skip_current_path=false, input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:193
#13 0xaac1b351 in rpp::pp::handle_directive (this=0xa77a3560, directive=87024,
input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:131
#14 0xaac1b6b1 in rpp::pp::operator() (this=0xa77a3560, input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:246
#15 0xaac1ba6a in rpp::pp::processFileInternal (this=0xa77a3560,
fileName="/usr/include/qt4/QtGui/QComboBox", fileContents="#include
\"qcombobox.h\"\n" = {...},
result=...) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#16 0xaac1badd in rpp::pp::processFile (this=0xa77a3560,
fileName="/usr/include/qt4/QtGui/QComboBox", data="#include \"qcombobox.h\"\n"
= {...})
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:85
#17 0xa9886da5 in PreprocessJob::run (this=0xcd01828) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:238
#18 0xa987832c in CPPParseJob::parseForeground (this=0xcc16928) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:204
#19 0xa9888dcf in PreprocessJob::sourceNeeded (this=0xc7f9df0,
_fileName="QtGui/QComboBox", type=rpp::Preprocessor::IncludeGlobal,
sourceLine=24,
skipCurrentPath=false) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:576
#20 0xaac1aade in rpp::pp::handle_include (this=0xa77a4e60,
skip_current_path=false, input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:193
#21 0xaac1b351 in rpp::pp::handle_directive (this=0xa77a4e60, directive=87024,
input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:131
---Type <return> to continue, or q <return> to quit---
#22 0xaac1b6b1 in rpp::pp::operator() (this=0xa77a4e60, input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:246
#23 0xaac1ba6a in rpp::pp::processFileInternal (this=0xa77a4e60,
fileName="/usr/include/kcombobox.h",
fileContents="/* This file is part of the KDE libraries\n\n Copyright (c)
2000,2001 Dawit Alemayehu <adawit at kde.org>\n Copyright (c) 2000,2001 Carsten
Pfeiffer <pfeiffer at kde.org>\n\n This library is free software;"... = {...},
result=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:98
#24 0xaac1badd in rpp::pp::processFile (this=0xa77a4e60,
fileName="/usr/include/kcombobox.h",
data="/* This file is part of the KDE libraries\n\n Copyright (c)
2000,2001 Dawit Alemayehu <adawit at kde.org>\n Copyright (c) 2000,2001 Carsten
Pfeiffer <pfeiffer at kde.org>\n\n This library is free software;"... = {...}) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#25 0xa9886da5 in PreprocessJob::run (this=0xc7f9df0) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:238
#26 0xa987832c in CPPParseJob::parseForeground (this=0xcc45288) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:204
#27 0xa9888dcf in PreprocessJob::sourceNeeded (this=0xce6f210,
_fileName="kcombobox.h", type=rpp::Preprocessor::IncludeLocal, sourceLine=25,
skipCurrentPath=false) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:576
#28 0xaac1aade in rpp::pp::handle_include (this=0xa77a6760,
skip_current_path=false, input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:193
#29 0xaac1b351 in rpp::pp::handle_directive (this=0xa77a6760, directive=87024,
input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:131
#30 0xaac1b6b1 in rpp::pp::operator() (this=0xa77a6760, input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:246
#31 0xaac1ba6a in rpp::pp::processFileInternal (this=0xa77a6760,
fileName="/home/milianw/projects/.build/kde4/kdevplatform/plugins/appwizard/ui_projectvcspage.h",
fileContents="#include <kdialog.h>\n#include <klocale.h>\n\n/", '*'
<repeats 80 times>, "\n** Form generated from reading ui file
'projectvcspage.ui'\n**\n** Created: Fri Dec 4 13:34:52 2009\n** by: Qt
User Interface Compiler version "... = {...}, result=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:98
#32 0xaac1badd in rpp::pp::processFile (this=0xa77a6760,
fileName="/home/milianw/projects/.build/kde4/kdevplatform/plugins/appwizard/ui_projectvcspage.h",
data="#include <kdialog.h>\n#include <klocale.h>\n\n/", '*' <repeats 80
times>, "\n** Form generated from reading ui file 'projectvcspage.ui'\n**\n**
Created: Fri Dec 4 13:34:52 2009\n** by: Qt User Interface Compiler
version "... = {...})
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:85
#33 0xa9886da5 in PreprocessJob::run (this=0xce6f210) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:238
#34 0xa987832c in CPPParseJob::parseForeground (this=0xc24fe40) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/cppparsejob.cpp:204
#35 0xa9888dcf in PreprocessJob::sourceNeeded (this=0xce7ae98,
_fileName="ui_projectvcspage.h", type=rpp::Preprocessor::IncludeLocal,
sourceLine=21,
---Type <return> to continue, or q <return> to quit---
skipCurrentPath=false) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:576
#36 0xaac1aade in rpp::pp::handle_include (this=0xa77a8060,
skip_current_path=false, input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:193
#37 0xaac1b351 in rpp::pp::handle_directive (this=0xa77a8060, directive=87024,
input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:131
#38 0xaac1b6b1 in rpp::pp::operator() (this=0xa77a8060, input=..., output=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:246
#39 0xaac1ba6a in rpp::pp::processFileInternal (this=0xa77a8060,
fileName="/home/milianw/projects/kde4/KDE/kdevplatform/plugins/appwizard/projectvcspage.cpp",
fileContents="/", '*' <repeats 75 times>, "\n * This file is part of
KDevelop", ' ' <repeats 41 times>, "*\n * Copyright 2007 Andreas Pakulat
<apaku at gmx.de>", ' ' <repeats 25 times>, "*\n *", ' ' <repeats 73 times>, "*\n
* This program is free software; you can redistribute it and/or"... = {...},
result=...)
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:98
#40 0xaac1badd in rpp::pp::processFile (this=0xa77a8060,
fileName="/home/milianw/projects/kde4/KDE/kdevplatform/plugins/appwizard/projectvcspage.cpp",
data="/", '*' <repeats 75 times>, "\n * This file is part of KDevelop", '
' <repeats 41 times>, "*\n * Copyright 2007 Andreas Pakulat <apaku at gmx.de>",
' ' <repeats 25 times>, "*\n *", ' ' <repeats 73 times>, "*\n * This program
is free software; you can redistribute it and/or"... = {...})
at /home/milianw/projects/kde4/kdevelop/languages/cpp/parser/rpp/pp-
engine.cpp:85
#41 0xa9886da5 in PreprocessJob::run (this=0xce7ae98) at
/home/milianw/projects/kde4/kdevelop/languages/cpp/preprocessjob.cpp:238
#42 0xb79094f4 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa77a9278,
th=0xa9c7910, job=0xce7ae98) at ../../../threadweaver/Weaver/Job.cpp:106
#43 0xb7909871 in ThreadWeaver::Job::execute (this=0xce7ae98, th=0xa9c7910) at
../../../threadweaver/Weaver/Job.cpp:135
#44 0xb790b1f3 in ThreadWeaver::JobCollectionJobRunner::execute
(this=0xbb3b5b0, t=0xa9c7910) at
../../../threadweaver/Weaver/JobCollection.cpp:82
#45 0xb790bb81 in ThreadWeaver::JobCollection::execute (this=0xba7d8c0,
t=0xa9c7910) at ../../../threadweaver/Weaver/JobCollection.cpp:228
#46 0xb790848a in ThreadWeaver::ThreadRunHelper::run (this=0xa77a9330,
parent=0x932f5a8, th=0xa9c7910) at ../../../threadweaver/Weaver/Thread.cpp:95
#47 0xb7908afb in ThreadWeaver::Thread::run (this=0xa9c7910) at
../../../threadweaver/Weaver/Thread.cpp:142
#48 0xb6d9a5e2 in QThreadPrivate::start (arg=0xa9c7910) at
thread/qthread_unix.cpp:188
#49 0xb5501585 in start_thread (arg=0xa77a9b70) at pthread_create.c:300
#50 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 3 (Thread 0xa6fa8b70 (LWP 22630)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb55050a5 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb619582d in __pthread_cond_wait (cond=0x932f6c8, mutex=0x932f6b0) at
forward.c:139
---Type <return> to continue, or q <return> to quit---
#3 0xb6d9b5c2 in QWaitConditionPrivate::wait (this=0x932f5c0,
mutex=0x932f850, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4 QWaitCondition::wait (this=0x932f5c0, mutex=0x932f850, time=4294967295) at
thread/qwaitcondition_unix.cpp:159
#5 0xb7907648 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned
(this=0x932f5a8, th=0xa622c50)
at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6 0xb790a3ac in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x932f910, th=0xa622c50) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7 0xb790623b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x932f5a8, th=0xa622c50) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8 0xb790a4a2 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x932f910, th=0xa622c50) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9 0xb7907bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x932f5a8,
th=0xa622c50, previous=0x9e9bf948) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb79084be in ThreadWeaver::ThreadRunHelper::run (this=0xa6fa8330,
parent=0x932f5a8, th=0xa622c50) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb7908afb in ThreadWeaver::Thread::run (this=0xa622c50) at
../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb6d9a5e2 in QThreadPrivate::start (arg=0xa622c50) at
thread/qthread_unix.cpp:188
#13 0xb5501585 in start_thread (arg=0xa6fa8b70) at pthread_create.c:300
#14 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 2 (Thread 0xa66a7b70 (LWP 22631)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb55050a5 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb619582d in __pthread_cond_wait (cond=0x932f6c8, mutex=0x932f6b0) at
forward.c:139
#3 0xb6d9b5c2 in QWaitConditionPrivate::wait (this=0x932f5c0,
mutex=0x932f850, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4 QWaitCondition::wait (this=0x932f5c0, mutex=0x932f850, time=4294967295) at
thread/qwaitcondition_unix.cpp:159
#5 0xb7907648 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned
(this=0x932f5a8, th=0xa88e6a0)
at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6 0xb790a3ac in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x932f910, th=0xa88e6a0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7 0xb790623b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x932f5a8, th=0xa88e6a0) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8 0xb790a4a2 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x932f910, th=0xa88e6a0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9 0xb7907bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x932f5a8,
th=0xa88e6a0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb790a4c1 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x932f910, th=0xa88e6a0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb7907bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x932f5a8,
th=0xa88e6a0, previous=0xc61aea8) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb79084be in ThreadWeaver::ThreadRunHelper::run (this=0xa66a7330,
parent=0x932f5a8, th=0xa88e6a0) at ../../../threadweaver/Weaver/Thread.cpp:87
---Type <return> to continue, or q <return> to quit---
#13 0xb7908afb in ThreadWeaver::Thread::run (this=0xa88e6a0) at
../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb6d9a5e2 in QThreadPrivate::start (arg=0xa88e6a0) at
thread/qthread_unix.cpp:188
#15 0xb5501585 in start_thread (arg=0xa66a7b70) at pthread_create.c:300
#16 0xb61882be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 1 (Thread 0xb5041920 (LWP 22273)):
#0 0xb7feb424 in __kernel_vsyscall ()
#1 0xb6152696 in nanosleep () from /lib/i686/cmov/libc.so.6
#2 0xb6181e7c in usleep (useconds=0) at
../sysdeps/unix/sysv/linux/usleep.c:33
#3 0xb5c346ed in KDevelop::DUChainLock::lockForRead (this=0x93f94a4,
timeout=0) at
/home/milianw/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:130
#4 0xb5c34775 in KDevelop::DUChainReadLocker::lock (this=0xbfe3f268) at
/home/milianw/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:254
#5 0xb5c34825 in DUChainReadLocker (this=0xbfe3f268, duChainLock=0x93f94a4,
timeout=0)
at
/home/milianw/projects/kde4/kdevplatform/language/duchain/duchainlock.cpp:235
#6 0xb5bc7c93 in KDevelop::DUChain::documentActivated (this=0x91ddf40,
doc=0xa6b4808)
at
/home/milianw/projects/kde4/kdevplatform/language/duchain/duchain.cpp:1459
#7 0xb5bc8d34 in KDevelop::DUChain::qt_metacall (this=0x91ddf40,
_c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe3f3fc)
at
/home/milianw/projects/.build/kde4/kdevplatform/language/duchain.moc:156
#8 0xb6ea0303 in QMetaObject::activate (sender=0x932fc28,
from_signal_index=4, to_signal_index=4, argv=0xbfe3f3fc) at
kernel/qobject.cpp:3112
#9 0xb6ea0f42 in QMetaObject::activate (sender=0x932fc28, m=0xb7d7fcf4,
local_signal_index=0, argv=0xbfe3f3fc) at kernel/qobject.cpp:3186
#10 0xb7d740e0 in KDevelop::IDocumentController::documentActivated
(this=0x932fc28, _t1=0xa6b4808)
at
/home/milianw/projects/.build/kde4/kdevplatform/interfaces/idocumentcontroller.moc:205
#11 0xb7d70ff2 in KDevelop::IDocument::notifyActivated (this=0xa6b4808) at
/home/milianw/projects/kde4/kdevplatform/interfaces/idocument.cpp:79
#12 0xb7cc9bb2 in KDevelop::PartDocument::activate (this=0xa6b47f8,
activeView=0xa6c83f8, mainWindow=0x91eedf8)
at /home/milianw/projects/kde4/kdevplatform/shell/partdocument.cpp:172
#13 0xb7ca42c7 in KDevelop::MainWindowPrivate::changeActiveView
(this=0x92117d0, view=0xa6c83f8)
at /home/milianw/projects/kde4/kdevplatform/shell/mainwindow_p.cpp:204
#14 0xb7c9fe10 in KDevelop::MainWindow::applyMainWindowSettings
(this=0x91eedf8, config=..., force=false)
at /home/milianw/projects/kde4/kdevplatform/shell/mainwindow.cpp:72
#15 0xb72eab66 in KXmlGuiWindow::finalizeGUI (this=0x91eedf8) at
../../kdeui/xmlgui/kxmlguiwindow.cpp:348
---Type <return> to continue, or q <return> to quit---
#16 0xb72e84e0 in KXMLGUIBuilder::finalizeGUI (this=0x91eee10) at
../../kdeui/xmlgui/kxmlguibuilder.cpp:412
#17 0xb72eaac7 in KXmlGuiWindow::finalizeGUI (this=0x91eedf8, client=0xad00048)
at ../../kdeui/xmlgui/kxmlguiwindow.cpp:364
#18 0xb72f93dd in KXMLGUIFactory::addClient (this=0x92118f8, client=0xad00048)
at ../../kdeui/xmlgui/kxmlguifactory.cpp:276
#19 0xb7ca5dbb in KDevelop::MainWindowPrivate::addPlugin (this=0x92117d0,
plugin=0xad00040)
at /home/milianw/projects/kde4/kdevplatform/shell/mainwindow_p.cpp:101
#20 0xb7ca5f9f in KDevelop::MainWindowPrivate::qt_metacall (this=0x92117d0,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe3f9cc)
at
/home/milianw/projects/.build/kde4/kdevplatform/shell/mainwindow_p.moc:121
#21 0xb6ea0303 in QMetaObject::activate (sender=0x923e968,
from_signal_index=5, to_signal_index=5, argv=0xbfe3f9cc) at
kernel/qobject.cpp:3112
#22 0xb6ea0f42 in QMetaObject::activate (sender=0x923e968, m=0xb7d7fac8,
local_signal_index=1, argv=0xbfe3f9cc) at kernel/qobject.cpp:3186
#23 0xb7d71a4a in KDevelop::IPluginController::pluginLoaded (this=0x923e968,
_t1=0xad00040)
at
/home/milianw/projects/.build/kde4/kdevplatform/interfaces/iplugincontroller.moc:92
#24 0xb7caaf88 in KDevelop::PluginController::loadPluginInternal
(this=0x923e968, pluginId="KDevCssSupport")
at /home/milianw/projects/kde4/kdevplatform/shell/plugincontroller.cpp:443
#25 0xb7cab861 in KDevelop::PluginController::allPluginsForExtension
(this=0x923e968, extension="ILanguageSupport", constraints=QList<QString> =
{...})
at /home/milianw/projects/kde4/kdevplatform/shell/plugincontroller.cpp:574
#26 0xb7cd79c4 in KDevelop::LanguageController::languagesForUrl
(this=0x932f008, url=...)
at
/home/milianw/projects/kde4/kdevplatform/shell/languagecontroller.cpp:234
#27 0xb5bae046 in KDevelop::BackgroundParserPrivate::createParseJob
(this=0x932f490, url=...,
features=KDevelop::TopDUContext::VisibleDeclarationsAndContexts,
notifyWhenReady=empty QList<QPointer<QObject>>) at
/home/milianw/projects/kde4/kdevplatform/language/backgroundparser/backgroundparser.cpp:195
#28 0xb5baf0c9 in KDevelop::BackgroundParserPrivate::parseDocumentsInternal
(this=0x932f490)
at
/home/milianw/projects/kde4/kdevplatform/language/backgroundparser/backgroundparser.cpp:164
#29 0xb5ba76b8 in KDevelop::BackgroundParser::parseDocuments (this=0x927dc80)
at
/home/milianw/projects/kde4/kdevplatform/language/backgroundparser/backgroundparser.cpp:514
#30 0xb5ba829e in KDevelop::BackgroundParser::qt_metacall (this=0x927dc80,
_c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xcd1c930)
at
/home/milianw/projects/.build/kde4/kdevplatform/language/backgroundparser.moc:169
#31 0xb6e99b0b in QMetaCallEvent::placeMetaCall (this=0xb741710,
object=0x927dc80) at kernel/qobject.cpp:477
#32 0xb6e9b5e0 in QObject::event (this=0x927dc80, e=0xb741710) at
kernel/qobject.cpp:1110
#33 0xb6477a94 in QApplicationPrivate::notify_helper (this=0x90cf8b0,
receiver=0x927dc80, e=0xb741710) at kernel/qapplication.cpp:4065
#34 0xb647fbee in QApplication::notify (this=0xbfe40804, receiver=0x927dc80,
e=0xb741710) at kernel/qapplication.cpp:3605
---Type <return> to continue, or q <return> to quit---
#35 0xb71c462d in KApplication::notify (this=0xbfe40804, receiver=0x927dc80,
event=0xb741710) at ../../kdeui/kernel/kapplication.cpp:302
#36 0xb6e8b1eb in QCoreApplication::notifyInternal (this=0xbfe40804,
receiver=0x927dc80, event=0xb741710) at kernel/qcoreapplication.cpp:610
#37 0xb6e8be2e in QCoreApplication::sendEvent (receiver=0x0, event_type=0,
data=0x90362f0)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x90362f0) at kernel/qcoreapplication.cpp:1247
#39 0xb6e8c00d in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1140
#40 0xb6eb64cf in QCoreApplication::sendPostedEvents (s=0x90d1ca0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#41 postEventSourceDispatch (s=0x90d1ca0) at
kernel/qeventdispatcher_glib.cpp:276
#42 0xb543cf28 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0xb54406b3 in ?? () from /lib/libglib-2.0.so.0
#44 0xb5440838 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0xb6eb6041 in QEventDispatcherGlib::processEvents (this=0x90cf870,
flags=...) at kernel/qeventdispatcher_glib.cpp:407
#46 0xb6517305 in QGuiEventDispatcherGlib::processEvents (this=0x90cf870,
flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#47 0xb6e8983a in QEventLoop::processEvents (this=0xbfe40740, flags=...) at
kernel/qeventloop.cpp:149
#48 0xb6e89c82 in QEventLoop::exec (this=0xbfe40740, flags=...) at
kernel/qeventloop.cpp:201
#49 0xb6e8c0d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#50 0xb6477917 in QApplication::exec () at kernel/qapplication.cpp:3525
#51 0x0804dc46 in main (argc=1, argv=0xbfe40d44) at
/home/milianw/projects/kde4/kdevelop/app/main.cpp:209
(gdb)
--
Milian Wolff
mail at milianw.de
http://milianw.de
More information about the KDevelop-devel
mailing list