[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 168128] New: Deadlock in editorintegrator + problemreporter
From: mbreugel <mbr.nxi () gmail ! com>
Date: 2008-08-02 16:06:29
Message-ID: 20080802180627.168128.mbr.nxi () gmail ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=168128
Summary: Deadlock in editorintegrator + problemreporter
Product: kdevelop
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: mbr.nxi gmail com
Version: 4 (using Devel)
Installed from: Compiled sources
OS: Linux
Total lockup, happens about every thirty minutes. Workaround is to close the problem \
report tool.
------------------------------------------------
kdevelop(4209)/kdevelop (cpp support) CPPInternalParseJob::run: ===-- PARSING --===> \
"/home/nix/KdeDev/kdevelop/languages/cpp/testswitch.cpp" kdevelop(4209)/kdevelop (cpp \
support) CPPInternalParseJob::run: updating duchain for \
"/home/nix/KdeDev/kdevelop/languages/cpp/testswitch.cpp" kdevelop(4209)/kdevelop (cpp \
support) ContextBuilder::buildContexts: ContextBuilder::buildContexts: recompiling
------------------------------------------------
(gdb) thread apply all bt
Thread 4 (Thread 0xb2707b90 (LWP 4210)):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0xb64caef1 in select () from /lib/libc.so.6
#2 0xb74c4980 in QEventDispatcherUNIX::select (this=0x85c5f60, nfds=33,
readfds=0x85b8d5c, writefds=0x85b8f70, exceptfds=0x85b9184, timeout=0x0)
at kernel/qeventdispatcher_unix.cpp:608
#3 0xb74c53af in QEventDispatcherUNIXPrivate::doSelect (this=0x85b8c70,
flags={i = -1301253480}, timeout=0x0)
at kernel/qeventdispatcher_unix.cpp:172
#4 0xb74c6391 in QEventDispatcherUNIX::processEvents (this=0x85c5f60, flags=
{i = -1301253432}) at kernel/qeventdispatcher_unix.cpp:895
#5 0xb749c2ca in QEventLoop::processEvents (this=0xb2707330, flags=
{i = -1301253368}) at kernel/qeventloop.cpp:149
#6 0xb749c48a in QEventLoop::exec (this=0xb2707330, flags={i = -1301253320})
at kernel/qeventloop.cpp:196
#7 0xb73c0be3 in QThread::exec (this=0x85bcaa8) at thread/qthread.cpp:433
#8 0xb63cca7d in KDevelop::CodeCompletionWorker::run (this=0x85bcaa8)
at /home/nix/KdeDev/kdevplatform/language/codecompletion/codecompletionworker.cpp:87
#9 0xb73c39b7 in QThreadPrivate::start (arg=0x85bcaa8) \
at thread/qthread_unix.cpp:190 \
#10 0xb7348175 in start_thread () from /lib/libpthread.so.0 \
#11 0xb64d1dce in clone () from /lib/libc.so.6 \
Thread 3 (Thread 0xb1f06b90 (LWP 4211)):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0xb64caef1 in select () from /lib/libc.so.6
#2 0xb7481557 in QProcessManager::run (this=0x80d7288)
at io/qprocess_unix.cpp:307
#3 0xb73c39b7 in QThreadPrivate::start (arg=0x80d7288)
at thread/qthread_unix.cpp:190
#4 0xb7348175 in start_thread () from /lib/libpthread.so.0
#5 0xb64d1dce in clone () from /lib/libc.so.6
Thread 2 (Thread 0xb14b9b90 (LWP 4216)):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0xb734bc15 in pthread_cond_wait GLIBC_2 3 2 () from /lib/libpthread.so.0
#2 0xb73c3022 in QMutexPrivate::wait (this=0xc3ba028, timeout=-1)
at thread/qmutex_unix.cpp:85
#3 0xb73bedf8 in QMutex::lock (this=0x8920e58) at thread/qmutex.cpp:164
#4 0xb6336d3e in LockedSmartInterface (this=0xb14b8cb8, iface=0x893352c,
doc=0x89334f0)
at /home/nix/KdeDev/kdevplatform/language/editor/editorintegrator.cpp:457
#5 0xb6337d85 in KDevelop::EditorIntegrator::smart (this=0xb14b90f0)
at /home/nix/KdeDev/kdevplatform/language/editor/editorintegrator.cpp:116
#6 0xb2ca088f in ContextBuilder::buildContexts (this=0xb14b8e74,
file= 0xb14b9220, node=0x267d0978, includes=0xb14b9218,
updateContext= 0xb14b91d8, removeOldImports=false)
at /home/nix/KdeDev/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:302
#7 0xb2cad939 in DeclarationBuilder::buildDeclarations (this=0xb14b8e74,
file= 0xb14b9220, node=0x267d0978, includes=0xb14b9218,
updateContext= 0xb14b91d8, removeOldImports=<value optimized out>)
at /home/nix/KdeDev/kdevelop/languages/cpp/cppduchain/declarationbuilder.cpp:108
#8 0xb2d8ab6c in CPPInternalParseJob::run (this=0x235e6d78) \
at /home/nix/KdeDev/kdevelop/languages/cpp/cppparsejob.cpp:438
#9 0xb700b4ed in ThreadWeaver::JobRunHelper::runTheJob (this=0xb14b92b8, \
th=0x81f5320, job=0x235e6d78) \
at /usr/src/debug/kdelibs-4.0.99/threadweaver/Weaver/Job.cpp:106 \
#10 0xb700b869 in ThreadWeaver::Job::execute (this=0x235e6d78, th=0x81f5320) \
at /usr/src/debug/kdelibs-4.0.99/threadweaver/Weaver/Job.cpp:135 \
#11 0xb700d213 in ThreadWeaver::JobCollectionJobRunner::execute ( \
this=0x26697020, t=0x81f5320) \
at /usr/src/debug/kdelibs-4.0.99/threadweaver/Weaver/JobCollection.cpp:82 \
#12 0xb700a47a in ThreadWeaver::ThreadRunHelper::run (this=0xb14b9340, \
parent=0x824add0, th=0x81f5320) \
at /usr/src/debug/kdelibs-4.0.99/threadweaver/Weaver/Thread.cpp:95 \
#13 0xb700aaeb in ThreadWeaver::Thread::run (this=0x81f5320) \
at /usr/src/debug/kdelibs-4.0.99/threadweaver/Weaver/Thread.cpp:142 \
#14 0xb73c39b7 in QThreadPrivate::start (arg=0x81f5320) \
at thread/qthread_unix.cpp:190 \
#15 0xb7348175 in start_thread () from /lib/libpthread.so.0 \
#16 0xb64d1dce in clone () from /lib/libc.so.6 \
Thread 1 (Thread 0xb5efd8e0 (LWP 4209)):
#0 0xffffe430 in __kernel_vsyscall ()
#1 0xb734bc15 in pthread_cond_wait GLIBC_2 3 2 () from /lib/libpthread.so.0
#2 0xb73c3022 in QMutexPrivate::wait (this=0x83ce428, timeout=-1)
at thread/qmutex_unix.cpp:85
#3 0xb73beda8 in QMutex::lock (this=0x83b0b48) at thread/qmutex.cpp:188
#4 0xb6337d63 in KDevelop::EditorIntegrator::smart (this=0xbf9842d4)
at /usr/include/QtCore/qmutex.h:122
#5 0xb6338f1b in KDevelop::EditorIntegrator::topRange (this=0xbf9842d4)
at /home/nix/KdeDev/kdevplatform/language/editor/editorintegrator.cpp:246
#6 0xb35381a2 in ProblemHighlighter::setProblems (this=0xc3bf480,
problems= 0xbf984350)
at /home/nix/KdeDev/kdevplatform/plugins/problemreporter/problemhighlighter.cpp:69 \
#7 0xb353340f in ProblemReporterPlugin::parseJobFinished (this=0x83f2400, \
parseJob=0x26377ff0) \
at /home/nix/KdeDev/kdevplatform/plugins/problemreporter/problemreporterplugin.cpp:132 \
#8 0xb3533adf in ProblemReporterPlugin::qt_metacall (this=0x83f2400, \
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf98445c) \
at /home/nix/KdeDev/kdevplatform/build/plugins/problemreporter/problemreporterplugin.moc:74 \
#9 0xb74af3fa in QMetaObject::activate (sender=0x824ab90, \
from_signal_index=4, to_signal_index=4, argv=0xbf98445c) \
at kernel/qobject.cpp:3007 \
#10 0xb74af972 in QMetaObject::activate (sender=0x824ab90, m=0xb63db164, \
local_signal_index=0, argv=0xbf98445c) at kernel/qobject.cpp:3080 \
#11 0xb63406c3 in KDevelop::BackgroundParser::parseJobFinished ( \
this=0x824ab90, _t1=0x26377ff0) \
at /home/nix/KdeDev/kdevplatform/build/language/backgroundparser.moc:124 \
#12 0xb6342598 in KDevelop::BackgroundParser::parseComplete (this=0x824ab90, \
job=0x26377ff0) \
at /home/nix/KdeDev/kdevplatform/language/backgroundparser/backgroundparser.cpp:366 \
#13 0xb6343e6c in KDevelop::BackgroundParser::qt_metacall (this=0x824ab90, \
_c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbf98467c) \
at /home/nix/KdeDev/kdevplatform/build/language/backgroundparser.moc:112 \
#14 0xb74af3fa in QMetaObject::activate (sender=0x26377ff0, \
from_signal_index=5, to_signal_index=5, argv=0xbf98467c) \
at kernel/qobject.cpp:3007 \
#15 0xb74af972 in QMetaObject::activate (sender=0x26377ff0, m=0xb70128f4, \
local_signal_index=1, argv=0xbf98467c) at kernel/qobject.cpp:3080 \
#16 0xb700b113 in ThreadWeaver::Job::done (this=0x26377ff0, _t1=0x26377ff0) \
at /usr/src/debug/kdelibs-4.0.99/build/threadweaver/Weaver/Job.moc:89 \
#17 0xb700dca4 in ThreadWeaver::JobCollection::jobRunnerDone ( \
this=0x26377ff0) \
at /usr/src/debug/kdelibs-4.0.99/threadweaver/Weaver/JobCollection.cpp:297 \
#18 0xb700dd8d in ThreadWeaver::JobCollection::qt_metacall (this=0x26377ff0, \
_c=QMetaObject::InvokeMetaMethod, _id=-512, _a=0xbf98482c) \
at /usr/src/debug/kdelibs-4.0.99/build/threadweaver/Weaver/JobCollection.moc:68 \
#19 0xb700e0c2 in ThreadWeaver::JobSequence::qt_metacall (this=0x26377ff0, \
_c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf98482c) \
at /usr/src/debug/kdelibs-4.0.99/build/threadweaver/Weaver/JobSequence.moc:57 \
#20 0xb634735a in KDevelop::ParseJob::qt_metacall (this=0x26377ff0, \
_c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf98482c) \
at /home/nix/KdeDev/kdevplatform/build/language/parsejob.moc:65 \
#21 0xb2d86f12 in CPPParseJob::qt_metacall (this=0x26377ff0, \
_c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf98482c) \
at /home/nix/KdeDev/kdevelop/build/languages/cpp/cppparsejob.moc:59 \
#22 0xb74af3fa in QMetaObject::activate (sender=0x2637cc20, \
from_signal_index=5, to_signal_index=5, argv=0xbf98482c) \
at kernel/qobject.cpp:3007 \
#23 0xb74af972 in QMetaObject::activate (sender=0x2637cc20, m=0xb70128f4, \
local_signal_index=1, argv=0xbf98482c) at kernel/qobject.cpp:3080 \
#24 0xb700b113 in ThreadWeaver::Job::done (this=0x2637cc20, _t1=0x2637cc20)
at /usr/src/debug/kdelibs-4.0.99/build/threadweaver/Weaver/Job.moc:89
#25 0xb700b2ff in ThreadWeaver::Job::qt_metacall (this=0x2637cc20,
_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x239d89f8)
at /usr/src/debug/kdelibs-4.0.99/build/threadweaver/Weaver/Job.moc:70
#26 0xb700d0a2 in ThreadWeaver::JobCollectionJobRunner::qt_metacall (
this=0x2637cc20, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x239d89f8)
at /usr/src/debug/kdelibs-4.0.99/build/threadweaver/Weaver/JobCollection_p.moc:57
#27 0xb74aa33b in QMetaCallEvent::placeMetaCall (this=0x26220108,
object=0x2637cc20) at kernel/qobject.cpp:535
#28 0xb74abed1 in QObject::event (this=0x2637cc20, e=0x26220108)
at kernel/qobject.cpp:1137
#29 0xb6783ecc in QApplicationPrivate::notify_helper (this=0x80d6178,
receiver=0x2637cc20, e=0x26220108) at kernel/qapplication.cpp:3772
#30 0xb678a31e in QApplication::notify (this=0xbf985054,
receiver=0x2637cc20, e=0x26220108) at kernel/qapplication.cpp:3366
#31 0xb7873c5d in KApplication::notify (this=0xbf985054,
receiver=0x2637cc20, event=0x26220108)
at /usr/src/debug/kdelibs-4.0.99/kdeui/kernel/kapplication.cpp:311
#32 0xb749db51 in QCoreApplication::notifyInternal (this=0xbf985054,
receiver=0x2637cc20, event=0x26220108) at kernel/qcoreapplication.cpp:583
#33 0xb749e411 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0,
event_type=0, data=0x8054630) at kernel/qcoreapplication.h:215
#34 0xb749e5ad in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1091
#35 0xb680e00f in QEventDispatcherX11::processEvents (this=0x80d6098, flags=
{i = -1080537288})
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 0xb749c2ca in QEventLoop::processEvents (this=0xbf984fa0, flags=
{i = -1080537224}) at kernel/qeventloop.cpp:149
#37 0xb749c48a in QEventLoop::exec (this=0xbf984fa0, flags={i = -1080537176})
at kernel/qeventloop.cpp:196
#38 0xb749e66d in QCoreApplication::exec ()
at kernel/qcoreapplication.cpp:845
#39 0xb6783d47 in QApplication::exec () at kernel/qapplication.cpp:3304
#40 0x0804e4dc in main (argc=1, argv=0xbf9854b4)
at /home/nix/KdeDev/kdevelop/src/main.cpp:209
#0 0xffffe430 in __kernel_vsyscall ()
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic