kdevelop freeze (dead lock?)

Hamish Rodda rodda at kde.org
Sun Aug 3 04:57:51 UTC 2008


Hi,

On Sunday 03 August 2008 09:19:53 Aleix wrote:
> Another backtrace, hope this helps!
>
> (gdb) info threads
>   4 Thread 0xb28c2b90 (LWP 10956)  0xb7f9e424 in __kernel_vsyscall ()
>   3 Thread 0xb0436b90 (LWP 10988)  0xb7f9e424 in __kernel_vsyscall ()
>   2 Thread 0xafa68b90 (LWP 11039)  0xb7f9e424 in __kernel_vsyscall ()
>   1 Thread 0xb5a53700 (LWP 10947)  0xb7f9e424 in __kernel_vsyscall ()
> (gdb) thread 1
> [Switching to thread 1 (Thread 0xb5a53700 (LWP 10947))]#0  0xb7f9e424
> in __kernel_vsyscall ()
> (gdb) where
> #0  0xb7f9e424 in __kernel_vsyscall ()
> #1  0xb73fa025 in pthread_cond_wait@@GLIBC_2.3.2 () from
> /lib/i686/cmov/libpthread.so.0
> #2  0xb745ea02 in ?? () from /usr/lib/libQtCore.so.4
> #3  0xb7459f8a in QMutex::lock () from /usr/lib/libQtCore.so.4
> #4  0xb62dfc54 in QMutexLocker::relock (this=0xbfab687c) at
> /usr/include/qt4/QtCore/qmutex.h:122
> #5  0xb62dfccc in QMutexLocker (this=0xbfab687c, m=0x96c8e80) at
> /usr/include/qt4/QtCore/qmutex.h:104
> #6  0xb62e15eb in KDevelop::EditorIntegrator::smart (this=0xbfab6934)
> at /home/kde-devel/kdevplatform/language/editor/editorintegrator.cpp:115
> #7  0xb62e28d2 in KDevelop::EditorIntegrator::topRange
> (this=0xbfab6934) at
> /home/kde-devel/kdevplatform/language/editor/editorintegrator.cpp:246
> #8  0xb0b32acd in ProblemHighlighter::setProblems (this=0x9d407e8,
> problems=@0xbfab69b4)
>     at
> /home/kde-devel/kdevplatform/plugins/problemreporter/problemhighlighter.cpp
>:69 #9  0xb0b2d057 in ProblemReporterPlugin::parseJobFinished
> (this=0x9a55080, parseJob=0xa4a50a28)
>     at
> /home/kde-devel/kdevplatform/plugins/problemreporter/problemreporterplugin.
>cpp:132 #10 0xb0b2d328 in ProblemReporterPlugin::qt_metacall
> (this=0x9a55080, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfab6abc)
>     at
> /home/kde-devel/build-kdevplatform/plugins/problemreporter/problemreporterp
>lugin.moc:74 #11 0xb75630c0 in QMetaObject::activate () from
> /usr/lib/libQtCore.so.4 #12 0xb7563e42 in QMetaObject::activate () from
> /usr/lib/libQtCore.so.4 #13 0xb62ebcca in
> KDevelop::BackgroundParser::parseJobFinished
> (this=0x963c6e0, _t1=0xa4a50a28)
>     at /home/kde-devel/build-kdevplatform/language/backgroundparser.moc:124
> #14 0xb62ec475 in KDevelop::BackgroundParser::parseComplete
> (this=0x963c6e0, job=0xa4a50a28)
>     at
> /home/kde-devel/kdevplatform/language/backgroundparser/backgroundparser.cpp
>:367 #15 0xb62ece7c in KDevelop::BackgroundParser::qt_metacall
> (this=0x963c6e0, _c=QMetaObject::InvokeMetaMethod, _id=13,
> _a=0xbfab6c3c)
>     at /home/kde-devel/build-kdevplatform/language/backgroundparser.moc:112
> #16 0xb75630c0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
> #17 0xb7563e42 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
> #18 0xb69641e0 in ThreadWeaver::Job::done (this=0xa4a50a28,
> _t1=0xa4a50a28) at
> /home/kde-devel/build-kdelibs/threadweaver/Weaver/Job.moc:89
> #19 0xb6966f85 in ThreadWeaver::JobCollection::jobRunnerDone
> (this=0xa4a50a28) at
> /home/kde-devel/kdelibs/threadweaver/Weaver/JobCollection.cpp:297
> #20 0xb696700f in ThreadWeaver::JobCollection::qt_metacall
> (this=0xa4a50a28, _c=QMetaObject::InvokeMetaMethod, _id=1,
> _a=0xbfab6ddc)
> ---Type <return> to continue, or q <return> to quit---
>     at
> /home/kde-devel/build-kdelibs/threadweaver/Weaver/JobCollection.moc:68 #21
> 0xb6967f98 in ThreadWeaver::JobSequence::qt_metacall
> (this=0xa4a50a28, _c=QMetaObject::InvokeMetaMethod, _id=8,
> _a=0xbfab6ddc)
>     at /home/kde-devel/build-kdelibs/threadweaver/Weaver/JobSequence.moc:57
> #22 0xb62f1eea in KDevelop::ParseJob::qt_metacall (this=0xa4a50a28,
> _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfab6ddc)
>     at /home/kde-devel/build-kdevplatform/language/parsejob.moc:65
> #23 0xb0ac661e in CPPParseJob::qt_metacall (this=0xa4a50a28,
> _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfab6ddc)
>     at /home/kde-devel/build-kdevelop/languages/cpp/cppparsejob.moc:63
> #24 0xb75630c0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
> #25 0xb7563e42 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
> #26 0xb69641e0 in ThreadWeaver::Job::done (this=0xa6017760,
> _t1=0xa6017760) at
> /home/kde-devel/build-kdelibs/threadweaver/Weaver/Job.moc:89
> #27 0xb696438f in ThreadWeaver::Job::qt_metacall (this=0xa6017760,
> _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xa676fff0)
>     at /home/kde-devel/build-kdelibs/threadweaver/Weaver/Job.moc:70
> #28 0xb69666da in ThreadWeaver::JobCollectionJobRunner::qt_metacall
> (this=0xa6017760, _c=QMetaObject::InvokeMetaMethod, _id=5,
> _a=0xa676fff0)
>     at
> /home/kde-devel/build-kdelibs/threadweaver/Weaver/JobCollection_p.moc:57
> #29 0xb755c23b in QMetaCallEvent::placeMetaCall () from
> /usr/lib/libQtCore.so.4 #30 0xb755ddf9 in QObject::event () from
> /usr/lib/libQtCore.so.4
> #31 0xb6aa866c in QApplicationPrivate::notify_helper () from
> /usr/lib/libQtGui.so.4
> #32 0xb6ab043e in QApplication::notify () from /usr/lib/libQtGui.so.4
> #33 0xb78ad32b in KApplication::notify (this=0xbfab757c,
> receiver=0xa6017760, event=0xa49ac510) at
> /home/kde-devel/kdelibs/kdeui/kernel/kapplication.cpp:311
> #34 0xb754e571 in QCoreApplication::notifyInternal () from
> /usr/lib/libQtCore.so.4
> #35 0xb754f1e5 in QCoreApplicationPrivate::sendPostedEvents () from
> /usr/lib/libQtCore.so.4
> #36 0xb754f3fd in QCoreApplication::sendPostedEvents () from
> /usr/lib/libQtCore.so.4
> #37 0xb7578f2f in ?? () from /usr/lib/libQtCore.so.4
> #38 0xb5d6e2e1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
> #39 0xb5d71973 in ?? () from /usr/lib/libglib-2.0.so.0
> #40 0x094e4f60 in ?? ()
> #41 0x00000000 in ?? ()
> (gdb) thread 2
> [Switching to thread 2 (Thread 0xafa68b90 (LWP 11039))]#0  0xb7f9e424
> in __kernel_vsyscall ()
> (gdb) where
> #0  0xb7f9e424 in __kernel_vsyscall ()
> #1  0xb73fa025 in pthread_cond_wait@@GLIBC_2.3.2 () from
> /lib/i686/cmov/libpthread.so.0
> #2  0xb745ea02 in ?? () from /usr/lib/libQtCore.so.4
> #3  0xb7459fda in QMutex::lock () from /usr/lib/libQtCore.so.4
> #4  0xb62e104a in LockedSmartInterface (this=0xafa67a98,
> iface=0x9d5042c, doc=0x9d503f0)
>     at
> /home/kde-devel/kdevplatform/language/editor/editorintegrator.cpp:457 #5 
> 0xb62e160f in KDevelop::EditorIntegrator::smart (this=0xafa6801c) at
> /home/kde-devel/kdevplatform/language/editor/editorintegrator.cpp:116 #6 
> 0xb09e5f14 in ContextBuilder::buildContexts (this=0xafa67da0,
> file=@0xafa680ac, node=0xa488ee78, includes=0xafa680a8,
> updateContext=@0xafa68154,
>     removeOldImports=false) at
> /home/kde-devel/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:302
> #7  0xb09f9023 in DeclarationBuilder::buildDeclarations
> (this=0xafa67da0, file=@0xafa680ac, node=0xa488ee78,
> includes=0xafa680a8, updateContext=@0xafa68154,
>     removeOldImports=false) at
> /home/kde-devel/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:10
>8 #8  0xb0ac7f30 in CPPInternalParseJob::run (this=0xa64e9c30) at
> /home/kde-devel/kdevelop/languages/cpp/cppparsejob.cpp:440
> #9  0xb696482c in ThreadWeaver::JobRunHelper::runTheJob
> (this=0xafa682b0, th=0x98b5018, job=0xa64e9c30)
>     at /home/kde-devel/kdelibs/threadweaver/Weaver/Job.cpp:106
> #10 0xb6964aa3 in ThreadWeaver::Job::execute (this=0xa64e9c30,
> th=0x98b5018) at
> /home/kde-devel/kdelibs/threadweaver/Weaver/Job.cpp:135
> #11 0xb69672c1 in ThreadWeaver::JobCollectionJobRunner::execute
> (this=0xa58325c8, t=0x98b5018)
>     at /home/kde-devel/kdelibs/threadweaver/Weaver/JobCollection.cpp:82
> #12 0xb6963ca2 in ThreadWeaver::ThreadRunHelper::run (this=0xafa68338,
> parent=0x96405d8, th=0x98b5018)
>     at /home/kde-devel/kdelibs/threadweaver/Weaver/Thread.cpp:95
> #13 0xb6963df8 in ThreadWeaver::Thread::run (this=0x98b5018) at
> /home/kde-devel/kdelibs/threadweaver/Weaver/Thread.cpp:142
> #14 0xb745f322 in ?? () from /usr/lib/libQtCore.so.4
> #15 0xb73f64c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
> #16 0xb64cd55e in clone () from /lib/i686/cmov/libc.so.6
> (gdb) thread 3
> [Switching to thread 3 (Thread 0xb0436b90 (LWP 10988))]#0  0xb7f9e424
> in __kernel_vsyscall ()
> (gdb) where
> #0  0xb7f9e424 in __kernel_vsyscall ()
> #1  0xb64c2ce7 in poll () from /lib/i686/cmov/libc.so.6
> #2  0xb5d71802 in ?? () from /usr/lib/libglib-2.0.so.0
> #3  0x099f1be8 in ?? ()
> #4  0x00000001 in ?? ()
> #5  0xffffffff in ?? ()
> #6  0x099f1be8 in ?? ()
> #7  0x00000001 in ?? ()
> #8  0xb5de9c08 in ?? () from /usr/lib/libglib-2.0.so.0
> #9  0xb5de9858 in ?? () from /usr/lib/libglib-2.0.so.0
> #10 0xb5de9880 in ?? () from /usr/lib/libglib-2.0.so.0
> #11 0xb0436224 in ?? ()
> #12 0xb5de9858 in ?? () from /usr/lib/libglib-2.0.so.0
> #13 0xb5de9880 in ?? () from /usr/lib/libglib-2.0.so.0
> #14 0x09a9279c in ?? ()
> #15 0x00000001 in ?? ()
> #16 0x09a92798 in ?? ()
> #17 0x099f1be8 in ?? ()
> #18 0xb64c2c70 in ?? () from /lib/i686/cmov/libc.so.6
> #19 0xb73f93f0 in ?? () from /lib/i686/cmov/libpthread.so.0
> #20 0xb73f7980 in ?? () from /lib/i686/cmov/libpthread.so.0
> #21 0x09a9279c in ?? ()
> #22 0xb7563e15 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
> #23 0xb5d71b31 in g_main_context_iteration () from
> /usr/lib/libglib-2.0.so.0 #24 0xb7578b78 in
> QEventDispatcherGlib::processEvents () from
> /usr/lib/libQtCore.so.4
> #25 0xb754cc5a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
> #26 0xb754ce1a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
> ---Type <return> to continue, or q <return> to quit---
> #27 0xb745c049 in QThread::exec () from /usr/lib/libQtCore.so.4
> #28 0xb63767c9 in KDevelop::CodeCompletionWorker::run (this=0x9a84c60)
> at
> /home/kde-devel/kdevplatform/language/codecompletion/codecompletionworker.c
>pp:87 #29 0xb745f322 in ?? () from /usr/lib/libQtCore.so.4
> #30 0xb73f64c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
> #31 0xb64cd55e in clone () from /lib/i686/cmov/libc.so.6
> (gdb) thread 4
> [Switching to thread 4 (Thread 0xb28c2b90 (LWP 10956))]#0  0xb7f9e424
> in __kernel_vsyscall ()
> (gdb) where
> #0  0xb7f9e424 in __kernel_vsyscall ()
> #1  0xb64c5931 in select () from /lib/i686/cmov/libc.so.6
> #2  0xb752da10 in ?? () from /usr/lib/libQtCore.so.4
> #3  0xb745f322 in ?? () from /usr/lib/libQtCore.so.4
> #4  0xb73f64c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
> #5  0xb64cd55e in clone () from /lib/i686/cmov/libc.so.6
> (gdb)

Looks the same as bug 168128, i'm going to commit a possible fix to svn, 
please post if you see it again.

Cheers,
Hamish.




More information about the KDevelop-devel mailing list