Fwd: Dead lock when autocompleting

Aleix aleixpol at gmail.com
Sun Jul 13 16:14:08 UTC 2008


Looks like after convincing some people to try KDevelop4 they are starting
to see the problems :P

---------- Forwarded message ----------
From: Cyrille Berger <cberger at cberger.net>
Date: Sun, Jul 13, 2008 at 5:40 PM
Subject: Dead lock when autocompleting
To: Aleix <aleixpol at gmail.com>


Here are the backtraces:

thread 4:

#0  0xb7f9a424 in __kernel_vsyscall ()
#1  0xb6282aa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
  from /lib/i686/cmov/libpthread.so.0
#2  0xb6447bfd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb7da5a02 in QMutexPrivate::wait (this=0xb1eaaa0, timeout=-1)
   at thread/qmutex_unix.cpp:85
#4  0xb7da0fda in QMutex::lock (this=0xaa93988) at thread/qmutex.cpp:164
#5  0xb61cbc1e in KDevelop::DocumentRangeObject::syncFromSmart (
   this=0xaaf51b80) at /usr/include/qt4/QtCore/qmutex.h:122
#6  0xb61cbd98 in KDevelop::DocumentRangeObject::range (this=0xaaf51b80)

at
/home/cyrille/kde4/src/kdevplatform/language/editor/documentrangeobject.cpp:149
#7  0xb61f0a07 in KDevelop::DUContext::findLocalDeclarationsInternal (
   this=0xaaf51d38, identifier=@0xaacf1d50, position=@0xb14cc914,
   dataType=@0xb14ce140, ret=@0xb14cdd00, flags={i = -1320372744})
   at /home/cyrille/kde4/src/kdevplatform/language/duchain/ducontext.cpp:526
#8  0xb24c5f70 in
Cpp::CppDUContext<KDevelop::DUContext>::findLocalDeclarationsInternal
(this=0xaaf51d38, identifier=@0xaacf1d50, position=@0xb14cc914,
   dataType=@0xb14ce140, ret=@0xb14cdd00, source=0xaf667c68, flags=
     {i = -1320370456})

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:312
#9  0xb61eefce in KDevelop::DUContext::findDeclarationsInternal (
   this=0xaaf51d38, baseIdentifiers=@0xb14cc0c4, position=@0xb14cc914,
   dataType=@0xb14ce140, ret=@0xb14cdd00, source=0xaf667c68, flags=
---Type <return> to continue, or q <return> to quit---
     {i = -1320370120})
   at /home/cyrille/kde4/src/kdevplatform/language/duchain/ducontext.cpp:545
#10 0xb24c9698 in
Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal
(this=0xaaf51d38, identifiers=@0xb14cc0c4, position=@0xb14cc914,
   dataType=@0xb14ce140, ret=@0xb14cdd00, source=0xaf667c68, basicFlags=
     {i = -1320367836})

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:208
#11 0xb61ef2c3 in KDevelop::DUContext::findDeclarationsInternal (
   this=0xaaf553f8, baseIdentifiers=@0xb14ccf18, position=@0xb14cd34c,
   dataType=@0xb14ce140, ret=@0xb14cdd00, source=0xaf667c68, flags=
     {i = -1320367496})
   at /home/cyrille/kde4/src/kdevplatform/language/duchain/ducontext.cpp:585
#12 0xb24c9698 in
Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal
(this=0xaaf553f8, identifiers=@0xb14ccf18, position=@0xb14cd34c,
   dataType=@0xb14ce140, ret=@0xb14cdd00, source=0xaf667c68, basicFlags=
     {i = -1320365220})

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:208
#13 0xb61ef61f in KDevelop::DUContext::findDeclarationsInternal (
   this=0xaaf558e0, baseIdentifiers=@0xb14cd644, position=@0xb14ce138,
   dataType=@0xb14ce140, ret=@0xb14cdd00, source=0xaf667c68, flags=
     {i = -1320364872})
   at /home/cyrille/kde4/src/kdevplatform/language/duchain/ducontext.cpp:597
#14 0xb24c9698 in
Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsIntern---Type
<return> to continue, or q <return> to quit---
al (this=0xaaf558e0, identifiers=@0xb14cd644, position=@0xb14ce138,
   dataType=@0xb14ce140, ret=@0xb14cdd00, source=0xaf667c68, basicFlags=
     {i = -1320362432})

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:208
#15 0xb2511354 in Cpp::FindDeclaration::closeIdentifier (this=0xb14ce124,
   isFinalIdentifier=true)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/cppducontext.cpp:160
#16 0xb2556448 in NameASTVisitor::visitUnqualifiedName (this=0xb14ce0fc,
   node=0xaacd8b78)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/name_visitor.cpp:101
#17 0xb245f76e in Visitor::visit (this=0xb14ce0fc, node=0xaacd8b78)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#18 0xb245de90 in DefaultVisitor::visitName (this=0xb14ce0fc,
node=0xaacd8b5c)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/parser/default_visitor.cpp:239
#19 0xb245f76e in Visitor::visit (this=0xb14ce0fc, node=0xaacd8b5c)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#20 0xb255621d in NameASTVisitor::run (this=0xb14ce0fc, node=0xaacd8b5c,
   skipLastNamePart=false)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/name_visitor.cpp:248
#21 0xb2536c60 in Cpp::ExpressionVisitor::visitName (this=0xb14ce65c,
---Type <return> to continue, or q <return> to quit---
   node=0xaacd8b5c)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:473
#22 0xb245f76e in Visitor::visit (this=0xb14ce65c, node=0xaacd8b5c)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#23 0xb252ebe0 in Cpp::ExpressionVisitor::visitPrimaryExpression (
   this=0xb14ce65c, node=0xaacd8b38)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:593
#24 0xb245f76e in Visitor::visit (this=0xb14ce65c, node=0xaacd8b38)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#25 0xb252ea2e in Cpp::ExpressionVisitor::visitPostfixExpression (
   this=0xb14ce65c, node=0xaacd8c9c)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:720
#26 0xb245f76e in Visitor::visit (this=0xb14ce65c, node=0xaacd8c9c)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#27 0xb25380ce in Cpp::ExpressionVisitor::visitBinaryExpression (
   this=0xb14ce65c, node=0xaacd8cb8)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:813
#28 0xb245f76e in Visitor::visit (this=0xb14ce65c, node=0xaacd8cb8)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#29 0xb252e83d in Cpp::ExpressionVisitor::visitExpressionStatement (
   this=0xb14ce65c, node=0xaacd8cd4)
---Type <return> to continue, or q <return> to quit---

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:1280
#30 0xb245f76e in Visitor::visit (this=0xb14ce65c, node=0xaacd8cd4)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#31 0xb253355a in Cpp::ExpressionVisitor::parse (this=0xb14ce65c,
   ast=0xaacd8cd4)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:225
#32 0xb24f0e5a in UseBuilder::visitExpression (this=0xb14ceed8,
   node=0xaacd8cd4)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/usebuilder.cpp:179
#33 0xb24f1144 in UseBuilder::visitExpressionStatement (this=0xb14ceed8,
   exp=0xaacd8cd4)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/usebuilder.cpp:81
#34 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaacd8cd4)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#35 0xb245d824 in DefaultVisitor::visitCompoundStatement (this=0xb14cef04,
   node=0xaacd8450)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.h:127
#36 0xb24c00ae in ContextBuilder::visitCompoundStatement (this=0xb14ceed8,
   node=0xaacd8450)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:636
---Type <return> to continue, or q <return> to quit---
#37 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaacd8450)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#38 0xb24be5b0 in ContextBuilder::visitIfStatement (this=0xb14ceed8,
   node=0xaacd6134)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:881
#39 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaacd6134)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#40 0xb245d824 in DefaultVisitor::visitCompoundStatement (this=0xb14cef04,
   node=0xaacd581c)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.h:127
#41 0xb24c00ae in ContextBuilder::visitCompoundStatement (this=0xb14ceed8,
   node=0xaacd581c)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:636
#42 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaacd581c)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#43 0xb24bede0 in ContextBuilder::visitForStatement (this=0xb14ceed8,
   node=0xaacd8d00)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:796
#44 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaacd8d00)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#45 0xb24bede0 in ContextBuilder::visitForStatement (this=0xb14ceed8,
   node=0xaacd8d20)
---Type <return> to continue, or q <return> to quit---

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:796
#46 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaacd8d20)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#47 0xb245d824 in DefaultVisitor::visitCompoundStatement (this=0xb14cef04,
   node=0xaacac460)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.h:127
#48 0xb24c00ae in ContextBuilder::visitCompoundStatement (this=0xb14ceed8,
   node=0xaacac460)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:636
#49 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaacac460)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#50 0xb24be575 in ContextBuilder::visitIfStatement (this=0xb14ceed8,
   node=0xaacabea4)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:872
#51 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaacabea4)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#52 0xb245d824 in DefaultVisitor::visitCompoundStatement (this=0xb14cef04,
   node=0xaaca0118)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.h:127
#53 0xb24c00ae in ContextBuilder::visitCompoundStatement (this=0xb14ceed8,
   node=0xaaca0118)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/contextbuilder.c---Type
<return> to continue, or q <return> to quit---
pp:636
#54 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaaca0118)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#55 0xb24bfbd7 in ContextBuilder::visitFunctionDefinition (this=0xb14ceed8,
   node=0xaacd8d58)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:558
#56 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaacd8d58)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#57 0xb245ea4c in visitNodes<DeclarationAST*> (v=0xb14cef04,
nodes=0xaac9ef08)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.h:127
#58 0xb245f76e in Visitor::visit (this=0xb14cef04, node=0xaac9ecb8)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/parser/visitor.cpp:112
#59 0xb24bc4ec in ContextBuilder::startVisiting (this=0xb14ceed8,
   node=0xaac9ecb8)

at
/home/cyrille/kde4/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:139
#60 0xb24f1bbf in UseBuilder::buildUses (this=0xb14ceed8, node=0xaac9ecb8)

at
/home/cyrille/kde4/inst/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:200
#61 0xb259b40e in CPPInternalParseJob::run (this=0xd278ce0)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/cppparsejob.cpp:496
#62 0xb6919890 in ThreadWeaver::JobRunHelper::runTheJob (this=0xb14cf278,
   th=0xa669860, job=0xd278ce0)
   at /tmp/buildd/kde4libs-4.0.84/threadweaver/Weaver/Job.cpp:106
---Type <return> to continue, or q <return> to quit---
#63 0xb6919a75 in ThreadWeaver::Job::execute (this=0xd278ce0, th=0xa669860)
   at /tmp/buildd/kde4libs-4.0.84/threadweaver/Weaver/Job.cpp:135
#64 0xb691b4b3 in ThreadWeaver::JobCollectionJobRunner::execute (
   this=0xdc5f358, t=0xa669860)
   at /tmp/buildd/kde4libs-4.0.84/threadweaver/Weaver/JobCollection.cpp:82
#65 0xb6918732 in ThreadWeaver::ThreadRunHelper::run (this=0xb14cf310,
   parent=0x8dfe6e8, th=0xa669860)
   at /tmp/buildd/kde4libs-4.0.84/threadweaver/Weaver/Thread.cpp:95
#66 0xb69188f5 in ThreadWeaver::Thread::run (this=0xa669860)
   at /tmp/buildd/kde4libs-4.0.84/threadweaver/Weaver/Thread.cpp:142
#67 0xb7da6322 in QThreadPrivate::start (arg=0xa669860)
   at thread/qthread_unix.cpp:190
#68 0xb627e4fb in start_thread () from /lib/i686/cmov/libpthread.so.0
#69 0xb643ad7e in clone () from /lib/i686/cmov/libc.so.6

thread 1:

#0  0xb7f9a424 in __kernel_vsyscall ()
#1  0xb6282aa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
  from /lib/i686/cmov/libpthread.so.0
#2  0xb6447bfd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb7da5a02 in QMutexPrivate::wait (this=0x8cddd18, timeout=-1)
   at thread/qmutex_unix.cpp:85
#4  0xb7da0fda in QMutex::lock (this=0xb6242864) at thread/qmutex.cpp:164
#5  0xb61e7a86 in KDevelop::DUContext::localDeclarations (this=0xaf14bd20)
   at /usr/include/qt4/QtCore/qmutex.h:122
#6  0xb25d0214 in createArgumentList (item=@0xdac2738, ret=@0xbfbb394c,
   highlighting=0x0)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/completionhelpers.cpp:57
#7  0xb25ce11b in NormalDeclarationCompletionItem::data (this=0xdac2738,
   index=@0xbfbb3bb0, role=0, model=0xb128980)
   at /home/cyrille/kde4/src/kdevelop/languages/cpp/completionitem.cpp:327
#8  0xb623746b in KDevelop::CodeCompletionModel::data (this=0xb128980,
   index=@0xbfbb3bb0, role=0)

at
/home/cyrille/kde4/src/kdevplatform/language/codecompletion/codecompletionmodel.cpp:224
#9  0xb15d2aa0 in KateCompletionModel::data (this=0xb264e80,
   index=@0xbfbb4004, role=0)
   at /usr/include/qt4/QtCore/qabstractitemmodel.h:373
#10 0xb702d27c in QItemDelegate::rect (this=0xb2654f8, option=@0xbfbb3f84,
   index=@0xbfbb4004, role=0)
   at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:373
---Type <return> to continue, or q <return> to quit---
#11 0xb702d856 in QItemDelegate::sizeHint (this=0xb2654f8,
option=@0xbfbb3f84,
   index=@0xbfbb4004) at itemviews/qitemdelegate.cpp:489
#12 0xb15f495a in ExpandingDelegate::sizeHint (this=0xb2654f8,
   option=@0xbfbb3f84, index=@0xbfbb4004)

at
/tmp/buildd/kde4libs-4.0.84/kate/completion/expandingtree/expandingdelegate.cpp:85
#13 0xb701acb1 in QTreeView::indexRowSizeHint (this=0xb252308,
   index=@0xdcad6c0) at itemviews/qtreeview.cpp:2710
#14 0xb701b022 in QTreeViewPrivate::itemHeight (this=0xb24faf0, item=1)
   at itemviews/qtreeview.cpp:3087
#15 0xb7022932 in QTreeView::dataChanged (this=0xb252308,
topLeft=@0xbfbb43c0,
   bottomRight=@0xbfbb43c0) at itemviews/qtreeview.cpp:703
#16 0xb702636e in QTreeView::qt_metacall (this=0xb252308,
   _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfbb4218)
   at .moc/release-shared/moc_qtreeview.cpp:128
#17 0xb15e06aa in KateCompletionTree::qt_metacall (this=0xb252308,
   _c=QMetaObject::InvokeMetaMethod, _id=70, _a=0xbfbb4218)

at
/tmp/buildd/kde4libs-4.0.84/obj-i486-linux-gnu/kate/katecompletiontree.moc:60
#18 0xb7eaa090 in QMetaObject::activate (sender=0xb264e80,
   from_signal_index=4, to_signal_index=4, argv=0xbfbb4218)
   at kernel/qobject.cpp:3010
#19 0xb7eaae12 in QMetaObject::activate (sender=0xb264e80, m=0xb7f776d8,
   local_signal_index=0, argv=0xbfbb4218) at kernel/qobject.cpp:3080
#20 0xb7ee42a9 in QAbstractItemModel::dataChanged (this=0xb264e80,
---Type <return> to continue, or q <return> to quit---
   _t1=@0xbfbb43c0, _t2=@0xbfbb43c0)
   at .moc/release-shared/moc_qabstractitemmodel.cpp:124
#21 0xb15f0603 in ExpandingWidgetModel::rowSelected (this=0xb264e80,
   idx_=@0xdc3e090)

at
/tmp/buildd/kde4libs-4.0.84/kate/completion/expandingtree/expandingwidgetmodel.cpp:218
#22 0xb15d02b6 in KateCompletionModel::rowSelected (this=0xb264e80,
   row=@0xdc3e090)

at /tmp/buildd/kde4libs-4.0.84/kate/completion/katecompletionmodel.cpp:1973
#23 0xb15ddfbd in KateCompletionTree::currentChanged (this=0xb252308,
   current=@0xdc3e090, previous=@0xdcc1fa0)
   at /tmp/buildd/kde4libs-4.0.84/kate/completion/katecompletiontree.cpp:64
#24 0xb6fe3f9c in QAbstractItemView::qt_metacall (this=0xb252308,
   _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfbb4618)
   at .moc/release-shared/moc_qabstractitemview.cpp:227
#25 0xb702621a in QTreeView::qt_metacall (this=0xb252308,
   _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0xbfbb4618)
   at .moc/release-shared/moc_qtreeview.cpp:121
#26 0xb15e06aa in KateCompletionTree::qt_metacall (this=0xb252308,
   _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0xbfbb4618)

at
/tmp/buildd/kde4libs-4.0.84/obj-i486-linux-gnu/kate/katecompletiontree.moc:60
#27 0xb7eaa090 in QMetaObject::activate (sender=0xb28d108,
   from_signal_index=5, to_signal_index=5, argv=0xbfbb4618)
   at kernel/qobject.cpp:3010
---Type <return> to continue, or q <return> to quit---
#28 0xb7eaae12 in QMetaObject::activate (sender=0xb28d108, m=0xb72c9210,
   local_signal_index=1, argv=0xbfbb4618) at kernel/qobject.cpp:3080
#29 0xb702f7a9 in QItemSelectionModel::currentChanged (this=0xb28d108,
   _t1=@0xdc3e090, _t2=@0xdcc1fa0)
   at .moc/release-shared/moc_qitemselectionmodel.cpp:151
#30 0xb702f94d in QItemSelectionModel::setCurrentIndex (this=0xb28d108,
   index=@0xbfbb474c, command={i = -1078245644})
   at itemviews/qitemselectionmodel.cpp:1087
#31 0xb6fe29a6 in QAbstractItemView::setCurrentIndex (this=0xb252308,
   index=@0xbfbb474c) at itemviews/qabstractitemview.cpp:875
#32 0xb15cd6c8 in KateCompletionWidget::modelContentChanged (this=0xb264cd0)

at /tmp/buildd/kde4libs-4.0.84/kate/completion/katecompletionwidget.cpp:141
#33 0xb15ced43 in KateCompletionWidget::qt_metacall (this=0xb264cd0,
   _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfbb4888)

at
/tmp/buildd/kde4libs-4.0.84/obj-i486-linux-gnu/kate/katecompletionwidget.moc:90
#34 0xb7eaa090 in QMetaObject::activate (sender=0xb264e80,
   from_signal_index=23, to_signal_index=23, argv=0x0)
   at kernel/qobject.cpp:3010
#35 0xb7eaae12 in QMetaObject::activate (sender=0xb264e80, m=0xb1745ee8,
   local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3080
#36 0xb15d0147 in KateCompletionModel::contentGeometryChanged
(this=0xb264e80)

at
/tmp/buildd/kde4libs-4.0.84/obj-i486-linux-gnu/kate/katecompletionmodel.moc:119
#37 0xb15d8829 in KateCompletionModel::changeCompletions (this=0xb264e80,
---Type <return> to continue, or q <return> to quit---
   g=0xdb86528, newCompletion=@0xbfbb4a48,
   changeType=KateCompletionModel::Narrow)

at /tmp/buildd/kde4libs-4.0.84/kate/completion/katecompletionmodel.cpp:1012
#38 0xb15d925f in KateCompletionModel::setCurrentCompletion (this=0xb264e80,
   completion=@0xbfbb4a48)
   at
/tmp/buildd/kde4libs-4.0.84/kate/completion/katecompletionmodel.cpp:868
#39 0xb15cc66d in KateCompletionWidget::cursorPositionChanged
(this=0xb264cd0)

at /tmp/buildd/kde4libs-4.0.84/kate/completion/katecompletionwidget.cpp:389
#40 0xb15ced2b in KateCompletionWidget::qt_metacall (this=0xb264cd0,
   _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfbb4b48)

at
/tmp/buildd/kde4libs-4.0.84/obj-i486-linux-gnu/kate/katecompletionwidget.moc:91
#41 0xb7eaa090 in QMetaObject::activate (sender=0xb243f10,
   from_signal_index=34, to_signal_index=34, argv=0xbfbb4b48)
   at kernel/qobject.cpp:3010
#42 0xb7eaae12 in QMetaObject::activate (sender=0xb243f10, m=0xb694f060,
   local_signal_index=7, argv=0xbfbb4b48) at kernel/qobject.cpp:3080
#43 0xb693a239 in KTextEditor::View::cursorPositionChanged (this=0xb243f10,
   _t1=0xb243f10, _t2=@0xb27fe34)

at
/tmp/buildd/kde4libs-4.0.84/obj-i486-linux-gnu/interfaces/ktexteditor/view.moc:166
#44 0xb16c0a0d in KateViewInternal::updateCursor (this=0xb27fde0,
   newCursor=@0xb27fe34, force=true, center=false, calledExternally=false)
   at /tmp/buildd/kde4libs-4.0.84/kate/view/kateviewinternal.cpp:1843
#45 0xb16c70e3 in KateViewInternal::editEnd (this=0xb27fde0,
---Type <return> to continue, or q <return> to quit---
   editTagLineStart=125, editTagLineEnd=125, tagFrom=false)
   at /tmp/buildd/kde4libs-4.0.84/kate/view/kateviewinternal.cpp:3190
#46 0xb16a3ec9 in KateView::editEnd (this=0xb243f10, editTagLineStart=125,
   editTagLineEnd=125, tagFrom=<value optimized out>)
   at /tmp/buildd/kde4libs-4.0.84/kate/view/kateview.cpp:1333
#47 0xb1629c39 in KateDocument::editEnd (this=0xb1ea790)
   at /tmp/buildd/kde4libs-4.0.84/kate/document/katedocument.cpp:1100
#48 0xb162dce5 in KateDocument::typeChars (this=0xb1ea790, view=0xb243f10,
   chars=@0xbfbb4e80)
   at /tmp/buildd/kde4libs-4.0.84/kate/document/katedocument.cpp:4053
#49 0xb16c232e in KateViewInternal::keyPressEvent (this=0xb27fde0,
   e=0xbfbb52ac)
   at /tmp/buildd/kde4libs-4.0.84/kate/view/kateviewinternal.cpp:2293
#50 0xb16be8a9 in KateViewInternal::eventFilter (this=0xb27fde0,
   obj=0xb27fde0, e=0xbfbb52ac)
   at /tmp/buildd/kde4libs-4.0.84/kate/view/kateviewinternal.cpp:2133
#51 0xb7e9472a in QCoreApplicationPrivate::sendThroughObjectEventFilters (
   this=0x8ce4f90, receiver=0xb27fde0, event=0xbfbb52ac)
   at kernel/qcoreapplication.cpp:694
#52 0xb6b2364a in QApplicationPrivate::notify_helper (this=0x8ce4f90,
   receiver=0xb27fde0, e=0xbfbb52ac) at kernel/qapplication.cpp:3768
#53 0xb6b2c516 in QApplication::notify (this=0xbfbb5cf4, receiver=0xb27fde0,
   e=0xbfbb52ac) at kernel/qapplication.cpp:3420
#54 0xb7797c8d in KApplication::notify (this=0xbfbb5cf4, receiver=0xb27fde0,
   event=0xbfbb52ac)
---Type <return> to continue, or q <return> to quit---
   at /tmp/buildd/kde4libs-4.0.84/kdeui/kernel/kapplication.cpp:311
#55 0xb7e95541 in QCoreApplication::notifyInternal (this=0xbfbb5cf4,
   receiver=0xb27fde0, event=0xbfbb52ac) at kernel/qcoreapplication.cpp:587
#56 0xb6b83a1e in qt_sendSpontaneousEvent (receiver=0xb27fde0, event=0x17)
   at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#57 0xb6bb9270 in QKeyMapper::sendKeyEvent (keyWidget=0xb27fde0, grab=false,
   type=QEvent::KeyPress, code=65, modifiers={i = -1078241940},
   text=@0xbfbb5598, autorepeat=<value optimized out>,
   count=<value optimized out>, nativeScanCode=24, nativeVirtualKey=97,
   nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1656
#58 0xb6bbb33c in QKeyMapperPrivate::translateKeyEvent (this=0x8d07438,
   keyWidget=0xb27fde0, event=0xbfbb59ec, grab=false)
   at kernel/qkeymapper_x11.cpp:1627
#59 0xb6b92c22 in QApplication::x11ProcessEvent (this=0xbfbb5cf4,
   event=0xbfbb59ec) at kernel/qapplication_x11.cpp:3148
#60 0xb6bbcd14 in x11EventSourceDispatch (s=0x8ce7e08, callback=0,
   user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#61 0xb62c9978 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0xb62ccbce in ?? () from /usr/lib/libglib-2.0.so.0
#63 0x08ce7290 in ?? ()
#64 0x00000000 in ?? ()

For reference:
thread 3:

#0  0xb7f9a424 in __kernel_vsyscall ()
#1  0xb6430ae7 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb62ccbef in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x08fc54e0 in ?? ()
#4  0x00000001 in ?? ()
#5  0xffffffff in ?? ()
#6  0x08fc54e0 in ?? ()
#7  0x00000001 in ?? ()
#8  0xb63415f8 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb6341620 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0xb1f4d204 in ?? ()
#11 0x00000001 in ?? ()
#12 0x00000001 in ?? ()
#13 0x0b1288f8 in ?? ()
#14 0x08fc54e0 in ?? ()
#15 0xb6430a70 in ?? () from /lib/i686/cmov/libc.so.6
#16 0xb6447dd0 in ?? () from /lib/i686/cmov/libc.so.6
#17 0xb6447d90 in ?? () from /lib/i686/cmov/libc.so.6
#18 0xb62f1013 in g_thread_self () from /usr/lib/libglib-2.0.so.0
#19 0xb62cd11c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0xb7ebfb48 in QEventDispatcherGlib::processEvents (this=0x94b31e8,
flags=
     {i = -1309355384}) at kernel/qeventdispatcher_glib.cpp:325
#21 0xb7e93c2a in QEventLoop::processEvents (this=0xb1f4d300, flags=
     {i = -1309355320}) at kernel/qeventloop.cpp:149
#22 0xb7e93dea in QEventLoop::exec (this=0xb1f4d300, flags={i =
-1309355256})
---Type <return> to continue, or q <return> to quit---
   at kernel/qeventloop.cpp:200
#23 0xb7da3049 in QThread::exec (this=0xaf155f8) at thread/qthread.cpp:433
#24 0xb62354ad in KDevelop::CodeCompletionWorker::run (this=0xaf155f8)

at
/home/cyrille/kde4/src/kdevplatform/language/codecompletion/codecompletionworker.cpp:87
#25 0xb7da6322 in QThreadPrivate::start (arg=0xaf155f8)
   at thread/qthread_unix.cpp:190
#26 0xb627e4fb in start_thread () from /lib/i686/cmov/libpthread.so.0
#27 0xb643ad7e in clone () from /lib/i686/cmov/libc.so.6

thread 2:
#0  0xb7f9a424 in __kernel_vsyscall ()
#1  0xb6433761 in select () from /lib/i686/cmov/libc.so.6
#2  0xb7e749e0 in QProcessManager::run (this=0x8ce7f50)
   at io/qprocess_unix.cpp:307
#3  0xb7da6322 in QThreadPrivate::start (arg=0x8ce7f50)
   at thread/qthread_unix.cpp:190
#4  0xb627e4fb in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb643ad7e in clone () from /lib/i686/cmov/libc.so.6



--
Cyrille Berger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080713/91a4a4db/attachment.html>


More information about the KDevelop-devel mailing list