Created attachment 87897 [details] The php file in the state when kdevelop crashed (I was currently typing the comment '/* Returns the name of the co' (line 88, col 34) When editing a certain file (attached) from a larger project, kdevelop regularly crashes. The crash always happens when the file is in an "inconsistent" state - when I open the file in kate and finish editing it, so that it is "valid php" , kdevelop opens it just fine; on the other hand, when the crash happens, it happens consistently until the file is modified --- upon opening it kdevelop crashes. Possibly related to Bug #250781 (the backtrace looks vaguely similar; but in my case it does not seem to hit an assert) Backtrace (from gdb): Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff2df0d700 (LWP 22715)] 0x00007ffff1b92f41 in KDevelop::DUContext::findDeclarations(KDevelop::QualifiedIdentifier const&, KDevelop::CursorInRevision const&, TypePtr<KDevelop::AbstractType> const&, KDevelop::TopDUContext const*, QFlags<KDevelop::DUContext::SearchFlag>) const () from /usr/lib/libkdevplatformlanguage.so.7 (gdb) back #0 0x00007ffff1b92f41 in KDevelop::DUContext::findDeclarations(KDevelop::QualifiedIdentifier const&, KDevelop::CursorInRevision const&, TypePtr<KDevelop::AbstractType> const&, KDevelop::TopDUContext const*, QFlags<KDevelop::DUContext::SearchFlag>) const () from /usr/lib/libkdevplatformlanguage.so.7 #1 0x00007fff47c2a26e in Php::TypeBuilder::visitStatement (this=this@entry=0x7fff2df0cbc0, node=node@entry=0x7fff20ae4e58) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/typebuilder.cpp:536 #2 0x00007fff47c1dc9c in Php::DeclarationBuilder::visitStatement (this=0x7fff2df0cbc0, node=0x7fff20ae4e58) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/declarationbuilder.cpp:1033 #3 0x00007fff479d4036 in Php::DefaultVisitor::visitTopStatement (this=0x7fff2df0cc20, node=0x7fff20ae4e10) at /build/buildd/kdevelop-php-1.6.0/obj-x86_64-linux-gnu/parser/phpdefaultvisitor.cpp:996 #4 0x00007fff479d345d in Php::DefaultVisitor::visitInnerStatementList ( this=0x7fff2df0cc20, node=<optimized out>) at /build/buildd/kdevelop-php-1.6.0/obj-x86_64-linux-gnu/parser/phpdefaultvisitor.cpp:544 #5 0x00007fff47c22532 in Php::ContextBuilder::visitClassStatement ( this=this@entry=0x7fff2df0cbc0, node=node@entry=0x7fff20ae4c70) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/contextbuilder.cpp:244 #6 0x00007fff47c29b1f in Php::TypeBuilder::visitClassStatement ( this=this@entry=0x7fff2df0cbc0, node=node@entry=0x7fff20ae4c70) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/typebuilder.cpp:305 #7 0x00007fff47c18c8f in Php::DeclarationBuilder::visitClassStatement ( this=0x7fff2df0cbc0, node=0x7fff20ae4c70) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/declarationbuilder.cpp:361 #8 0x00007fff479d2b6d in Php::DefaultVisitor::visitClassBody (this=0x7fff2df0cc20, node=<optimized out>) at /build/buildd/kdevelop-php-1.6.0/obj-x86_64-linux-gnu/parser/phpdefaultvisitor.cpp:205 #9 0x00007fff47c21cf2 in Php::ContextBuilder::visitClassDeclarationStatement ( this=this@entry=0x7fff2df0cbc0, node=node@entry=0x7fff20ac0a30) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/contextbuilder.cpp:200 #10 0x00007fff47c26f45 in Php::TypeBuilder::visitClassDeclarationStatement ( this=this@entry=0x7fff2df0cbc0, node=node@entry=0x7fff20ac0a30) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/typebuilder.cpp:278 #11 0x00007fff47c1c88b in Php::DeclarationBuilder::visitClassDeclarationStatement ( this=0x7fff2df0cbc0, node=0x7fff20ac0a30) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/declarationbuilder.cpp:177 #12 0x00007fff479d4050 in Php::DefaultVisitor::visitTopStatement (this=0x7fff2df0cc20, node=0x7fff20ac09e8) at /build/buildd/kdevelop-php-1.6.0/obj-x86_64-linux-gnu/parser/phpdefaultvisitor.cpp:998 #13 0x00007fff47c16fb3 in Php::DeclarationBuilder::visitOuterTopStatement ( this=0x7fff2df0cbc0, node=0x7fff20ac09b8) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/declarationbuilder.cpp:696 #14 0x00007fff479d3afd in Php::DefaultVisitor::visitStart (this=0x7fff2df0cc20, node=<optimized out>) at /build/buildd/kdevelop-php-1.6.0/obj-x86_64-linux-gnu/parser/phpdefaultvisitor.cpp:823 #15 0x00007fff47c239a7 in Php::ContextBuilder::startVisiting (this=0x7fff2df0cbc0, node=0x7fff20b52a20) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/contextbuilder.cpp:116 #16 0x00007fff47c1838a in supportBuild (context=0x7fff2416fbe0, node=0x7fff20b52a20, this=0x7fff2df0cbc0) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133 #17 supportBuild (context=<optimized out>, node=0x7fff20b52a20, this=0x7fff2df0cbc0) at /usr/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85 #18 Php::DeclarationBuilder::supportBuild (this=0x7fff2df0cbc0, node=0x7fff20b52a20, context=<optimized out>) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/declarationbuilder.cpp:1192 #19 0x00007fff47c185d9 in build (updateContext=..., node=0x7fff20b52a20, url=..., this=0x7fff2df0cbc0) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:113 #20 Php::DeclarationBuilder::build (this=this@entry=0x7fff2df0cbc0, url=..., node=node@entry=0x7fff20b52a20, updateContext=...) at /build/buildd/kdevelop-php-1.6.0/duchain/builders/declarationbuilder.cpp:145 #21 0x00007fff47e843ca in Php::ParseJob::run (this=0x495bc70) at /build/buildd/kdevelop-php-1.6.0/phpparsejob.cpp:132 #22 0x00007fffec615cb2 in ThreadWeaver::JobRunHelper::runTheJob ( this=this@entry=0x7fff2df0cde0, th=th@entry=0x4cbb050, job=job@entry=0x495bc70) at ../../../threadweaver/Weaver/Job.cpp:106 #23 0x00007fffec615e6e in ThreadWeaver::Job::execute (this=0x495bc70, th=0x4cbb050) at ../../../threadweaver/Weaver/Job.cpp:135 #24 0x00007fffec6156bb in ThreadWeaver::Thread::run (this=0x4cbb050) at ../../../threadweaver/Weaver/Thread.cpp:108 #25 0x00007ffff5a6132f in QThreadPrivate::start (arg=0x4cbb050) at thread/qthread_unix.cpp:349 #26 0x00007ffff3ac0182 in start_thread (arg=0x7fff2df0d700) at pthread_create.c:312 #27 0x00007ffff476430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Please check if the issue is fixed with newest KDevelop.
Kdevelop 5.1.1 (Neon packages) still reliably crashes when editing this file, although the backtrace is slightly different now (see below). Might also be related to Bug #381123, the backtrace there matches my current more closely. Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 [Current thread is 1 (Thread 0x7f858ee24900 (LWP 16647))] Thread 10 (Thread 0x7f8545ffb700 (LWP 17321)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f85abf0046b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1a09830) at thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x1a09910, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215 #3 0x00007f85a12a707f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #4 0x00007f85a12ab078 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #5 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #6 0x00007f85a12ab0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #7 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #8 0x00007f85a12a8bf0 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #9 0x00007f85abeff509 in QThreadPrivate::start (arg=0x7f852c003190) at thread/qthread_unix.cpp:368 #10 0x00007f85a57b06ba in start_thread (arg=0x7f8545ffb700) at pthread_create.c:333 #11 0x00007f85ab80d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 9 (Thread 0x7f85467fc700 (LWP 17320)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f85abf0046b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1a09830) at thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x1a09910, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215 #3 0x00007f85a12a707f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #4 0x00007f85a12ab078 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #5 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #6 0x00007f85a12ab0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #7 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #8 0x00007f85a12ab0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #9 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #10 0x00007f85a12a8bf0 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #11 0x00007f85abeff509 in QThreadPrivate::start (arg=0x7f8538002f90) at thread/qthread_unix.cpp:368 #12 0x00007f85a57b06ba in start_thread (arg=0x7f85467fc700) at pthread_create.c:333 #13 0x00007f85ab80d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 8 (Thread 0x7f8546ffd700 (LWP 17319)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f85abf0046b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1a09830) at thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x1a09910, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215 #3 0x00007f85a12a707f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #4 0x00007f85a12ab078 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #5 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #6 0x00007f85a12ab0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #7 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #8 0x00007f85a12ab0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #9 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #10 0x00007f85a12ab0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #11 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #12 0x00007f85a12a8bf0 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #13 0x00007f85abeff509 in QThreadPrivate::start (arg=0x7f8534002d90) at thread/qthread_unix.cpp:368 #14 0x00007f85a57b06ba in start_thread (arg=0x7f8546ffd700) at pthread_create.c:333 #15 0x00007f85ab80d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 7 (Thread 0x7f85477fe700 (LWP 17318)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f85abf0046b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1a09830) at thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x1a09910, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:215 #3 0x00007f85a12a707f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #4 0x00007f85a12ab078 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #5 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #6 0x00007f85a12ab0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #7 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #8 0x00007f85a12ab0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #9 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #10 0x00007f85a12ab0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #11 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #12 0x00007f85a12ab0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #13 0x00007f85a12a626d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #14 0x00007f85a12a8bf0 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #15 0x00007f85abeff509 in QThreadPrivate::start (arg=0x7f853c002e00) at thread/qthread_unix.cpp:368 #16 0x00007f85a57b06ba in start_thread (arg=0x7f85477fe700) at pthread_create.c:333 #17 0x00007f85ab80d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 6 (Thread 0x7f8547fff700 (LWP 17317)): [KCrash Handler] #6 KDevelop::DUContext::findDeclarations (this=0x0, identifier=..., position=..., dataType=..., topContext=0x0, flags=...) at /workspace/build/language/duchain/ducontext.cpp:770 #7 0x00007f856f9e5db9 in Php::TypeBuilder::visitStatement(Php::StatementAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #8 0x00007f856f9d0a6f in Php::DeclarationBuilder::visitStatement(Php::StatementAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #9 0x00007f856f779966 in Php::DefaultVisitor::visitTopStatement(Php::TopStatementAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpparser.so #10 0x00007f856f778dae in Php::DefaultVisitor::visitInnerStatementList(Php::InnerStatementListAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpparser.so #11 0x00007f856f9dd826 in Php::ContextBuilder::visitClassStatement(Php::ClassStatementAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #12 0x00007f856f9e7f22 in Php::TypeBuilder::visitClassStatement(Php::ClassStatementAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #13 0x00007f856f9c933d in Php::DeclarationBuilder::visitClassStatement(Php::ClassStatementAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #14 0x00007f856f77844e in Php::DefaultVisitor::visitClassBody(Php::ClassBodyAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpparser.so #15 0x00007f856f9d7dc2 in Php::ContextBuilder::visitClassDeclarationStatement(Php::ClassDeclarationStatementAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #16 0x00007f856f9cdc2f in Php::DeclarationBuilder::visitClassDeclarationStatement(Php::ClassDeclarationStatementAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #17 0x00007f856f779980 in Php::DefaultVisitor::visitTopStatement(Php::TopStatementAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpparser.so #18 0x00007f856f9c7572 in Php::DeclarationBuilder::visitOuterTopStatement(Php::OuterTopStatementAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #19 0x00007f856f77941e in Php::DefaultVisitor::visitStart(Php::StartAst*) () from /usr/lib/x86_64-linux-gnu/libkdevphpparser.so #20 0x00007f856f9d600e in Php::ContextBuilder::startVisiting(Php::AstNode*) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #21 0x00007f856f9d1272 in Php::DeclarationBuilder::supportBuild(Php::AstNode*, KDevelop::DUContext*) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #22 0x00007f856f9c878a in Php::DeclarationBuilder::build(KDevelop::IndexedString const&, Php::AstNode*, KDevelop::ReferencedTopDUContext) () from /usr/lib/x86_64-linux-gnu/libkdevphpduchain.so #23 0x00007f856fc62960 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/27/kdevphplanguagesupport.so #24 0x00007f85a12aa3ea in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #25 0x00007f85a12aa827 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #26 0x00007f85a12a9350 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #27 0x00007f85a12a8b40 in ThreadWeaver::Thread::run() () from /usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5 #28 0x00007f85abeff509 in QThreadPrivate::start (arg=0x85e29a0) at thread/qthread_unix.cpp:368 #29 0x00007f85a57b06ba in start_thread (arg=0x7f8547fff700) at pthread_create.c:333 #30 0x00007f85ab80d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 5 (Thread 0x7f8565156700 (LWP 16716)): #0 0x00007f85a348ea94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f85a3449910 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f85a344a2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f85a344a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f85ac121adb in QEventDispatcherGlib::processEvents (this=0x7f855c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f85ac0cb30a in QEventLoop::exec (this=this@entry=0x7f8565155ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #6 0x00007f85abefaaf4 in QThread::exec (this=this@entry=0x3d14c90) at thread/qthread.cpp:515 #7 0x00007f85a1ec6075 in QQmlThreadPrivate::run (this=0x3d14c90) at qml/ftw/qqmlthread.cpp:147 #8 0x00007f85abeff509 in QThreadPrivate::start (arg=0x3d14c90) at thread/qthread_unix.cpp:368 #9 0x00007f85a57b06ba in start_thread (arg=0x7f8565156700) at pthread_create.c:333 #10 0x00007f85ab80d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7f856f51c700 (LWP 16679)): #0 0x00007f85ab80170d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f85a344a38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f85a344a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f85ac121adb in QEventDispatcherGlib::processEvents (this=0x7f85680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007f85ac0cb30a in QEventLoop::exec (this=this@entry=0x7f856f51bbf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #5 0x00007f85abefaaf4 in QThread::exec (this=this@entry=0x1d18ea0) at thread/qthread.cpp:515 #6 0x00007f85a9a3b1bb in KDevelop::CompletionWorkerThread::run (this=0x1d18ea0) at /workspace/build/language/codecompletion/codecompletionmodel.cpp:89 #7 0x00007f85abeff509 in QThreadPrivate::start (arg=0x1d18ea0) at thread/qthread_unix.cpp:368 #8 0x00007f85a57b06ba in start_thread (arg=0x7f856f51c700) at pthread_create.c:333 #9 0x00007f85ab80d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7f857a40e700 (LWP 16678)): #0 0x00007f85ab7d230d in nanosleep () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f85ac120cad in qt_nanosleep (amount=...) at kernel/qelapsedtimer_unix.cpp:195 #2 0x00007f85abefe8d4 in QThread::usleep (usecs=usecs@entry=500) at thread/qthread_unix.cpp:511 #3 0x00007f85a997ce16 in KDevelop::DUChainLock::lockForWrite (this=0x7f85aa10bb80 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, timeout=0) at /workspace/build/language/duchain/duchainlock.cpp:155 #4 0x00007f85a997d06c in KDevelop::DUChainWriteLocker::lock (this=0x7f857a40dc40) at /workspace/build/language/duchain/duchainlock.cpp:249 #5 0x00007f85a993b89f in KDevelop::DUChainPrivate::doMoreCleanup (this=0x7f85aa10bb60 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>, retries=retries@entry=1, lockFlag=lockFlag@entry=KDevelop::DUChainPrivate::TryLock) at /workspace/build/language/duchain/duchain.cpp:709 #6 0x00007f85a993cc11 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x177e500) at /workspace/build/language/duchain/duchain.cpp:290 #7 0x00007f85abeff509 in QThreadPrivate::start (arg=0x177e500) at thread/qthread_unix.cpp:368 #8 0x00007f85a57b06ba in start_thread (arg=0x7f857a40e700) at pthread_create.c:333 #9 0x00007f85ab80d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f858af24700 (LWP 16670)): #0 0x00007f85ab80170d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f85a344a38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f85a344a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f85ac121adb in QEventDispatcherGlib::processEvents (this=0x7f857c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007f85ac0cb30a in QEventLoop::exec (this=this@entry=0x7f858af23c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #5 0x00007f85abefaaf4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515 #6 0x00007f85ae247b75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007f85abeff509 in QThreadPrivate::start (arg=0x7f85ae2bdda0) at thread/qthread_unix.cpp:368 #8 0x00007f85a57b06ba in start_thread (arg=0x7f858af24700) at pthread_create.c:333 #9 0x00007f85ab80d3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f858ee24900 (LWP 16647)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f85abf0046b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1c09f90) at thread/qwaitcondition_unix.cpp:143 #2 QWaitCondition::wait (this=this@entry=0x1c09f70, mutex=mutex@entry=0x1c09f50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215 #3 0x00007f85abeff0ae in QThread::wait (this=this@entry=0x177e500, time=time@entry=18446744073709551615) at thread/qthread_unix.cpp:698 #4 0x00007f85a992cecf in KDevelop::DUChainPrivate::CleanupThread::stopThread (this=0x177e500) at /workspace/build/language/duchain/duchain.cpp:272 #5 KDevelop::DUChainPrivate::~DUChainPrivate (this=0x7f85aa10bb60 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>, __in_chrg=<optimized out>) at /workspace/build/language/duchain/duchain.cpp:356 #6 0x00007f85a99261f9 in KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at /workspace/build/language/duchain/duchain.cpp:1122 #7 0x00007f85ab73fff8 in __run_exit_handlers (status=status@entry=1, listp=0x7f85abaca5f8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82 #8 0x00007f85ab740045 in __GI_exit (status=status@entry=1) at exit.c:104 #9 0x00007f858ea32e03 in QXcbConnection::processXcbEvents (this=0x15354f0) at qxcbconnection.cpp:1685 #10 0x00007f85ac0fa109 in QObject::event (this=0x15354f0, e=<optimized out>) at kernel/qobject.cpp:1246 #11 0x00007f85aca393fc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x15354f0, e=0x7f858400afe0) at kernel/qapplication.cpp:3717 #12 0x00007f85aca40e07 in QApplication::notify (this=0x7fff97b4f210, receiver=0x15354f0, e=0x7f858400afe0) at kernel/qapplication.cpp:3476 #13 0x00007f85ac0cd128 in QCoreApplication::notifyInternal2 (receiver=0x15354f0, event=event@entry=0x7f858400afe0) at kernel/qcoreapplication.cpp:1018 #14 0x00007f85ac0cf62b in QCoreApplication::sendEvent (event=0x7f858400afe0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233 #15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x15236a0) at kernel/qcoreapplication.cpp:1678 #16 0x00007f85ac0cfa98 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1532 #17 0x00007f85ac1216b3 in postEventSourceDispatch (s=0x1586560) at kernel/qeventdispatcher_glib.cpp:276 #18 0x00007f85a344a197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007f85a344a3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #20 0x00007f85a344a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007f85ac121abf in QEventDispatcherGlib::processEvents (this=0x1582b30, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #22 0x00007f85ac0cb30a in QEventLoop::exec (this=this@entry=0x7fff97b4f020, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #23 0x00007f85ac0d3db4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291 #24 0x00007f85ac4bb2cc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1666 #25 0x00007f85aca39355 in QApplication::exec () at kernel/qapplication.cpp:2905 #26 0x000000000040bb96 in main (argc=1, argv=<optimized out>) at /workspace/build/app/main.cpp:763
Thanks for the heads-up, indeed looks like a duplicate. Marking as such. *** This bug has been marked as a duplicate of bug 381123 ***