Bug 463802 - Crash while loading Python code
Summary: Crash while loading Python code
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-01-03 21:38 UTC by Jan Kriho
Modified: 2023-01-23 10:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kriho 2023-01-03 21:38:02 UTC
Application: kdevelop (5.10.221200 (22.12.0))

Qt Version: 5.15.7
Frameworks Version: 5.101.0
Operating System: Linux 6.0.0-6-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux bookworm/sid
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
Any project containing Python code causes crash while background parsing

Using Python 3.11 and KDevelop 22.12.0

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault

[KCrash Handler]
#4  Python::PythonEditorIntegrator::findPosition(Python::Ast const*, Python::PythonEditorIntegrator::Edge) const (node=<optimized out>, this=0x7f7aec144310, edge=Python::PythonEditorIntegrator::BackEdge) at ./duchain/pythoneditorintegrator.cpp:45
#5  Python::PythonEditorIntegrator::findPosition(Python::Ast const*, Python::PythonEditorIntegrator::Edge) const (this=0x7f7aec144310, node=0x0, edge=Python::PythonEditorIntegrator::BackEdge) at ./duchain/pythoneditorintegrator.cpp:38
#6  0x00007f7b42051ad7 in Python::PythonEditorIntegrator::findRange(Python::Ast const*, Python::Ast const*) const (this=0x7f7aec144310, from=0x0, to=<optimized out>) at ./duchain/pythoneditorintegrator.cpp:60
#7  0x00007f7b42065db7 in Python::DeclarationBuilder::visitVariableDeclaration<KDevelop::Declaration>(Python::Identifier*, KDevelop::Declaration*, KDevelop::TypePtr<KDevelop::AbstractType>, Python::DeclarationBuilder::VisitVariableFlags) (this=this@entry=0x7f7aec278fd0, node=0x0, previous=<optimized out>, previous@entry=0x0, type=..., flags=flags@entry=Python::DeclarationBuilder::NoVisitVariableFlags) at ./duchain/declarationbuilder.cpp:221
#8  0x00007f7b4205a1b7 in Python::DeclarationBuilder::visitMatch(Python::MatchAst*) (this=0x7f7aec278fd0, node=0x7f7aec10ac80) at ./duchain/declarationbuilder.cpp:1088
#9  0x00007f7b42051d11 in non-virtual thunk to Python::DeclarationBuilder::visitNode(Python::Ast*) () at ./duchain/declarationbuilder.h:99
#10 0x00007f7b4204dcc0 in Python::AstVisitor::visitNodeList<Python::Ast>(QList<Python::Ast*> const&) (l=..., this=0x7f7aec2791b8) at ./parser/astvisitor.h:35
#11 Python::ContextBuilder::visitFunctionBody(Python::FunctionDefinitionAst*) (this=0x7f7aec278fd0, node=0x7f7aec10aa30) at ./duchain/contextbuilder.cpp:474
#12 0x00007f7b4205f120 in Python::DeclarationBuilder::visitFunctionDefinition(Python::FunctionDefinitionAst*) (this=0x7f7aec278fd0, node=0x7f7aec10aa30) at ./duchain/declarationbuilder.cpp:1536
#13 0x00007f7b42051d11 in non-virtual thunk to Python::DeclarationBuilder::visitNode(Python::Ast*) () at ./duchain/declarationbuilder.h:99
#14 0x00007f7b480926dc in Python::AstVisitor::visitNodeList<Python::Ast>(QList<Python::Ast*> const&) (l=..., this=0x7f7aec2791b8) at ./parser/astvisitor.h:35
#15 Python::AstDefaultVisitor::visitCode(Python::CodeAst*) (this=0x7f7aec2791b8, node=0x7f7aec0d8f10) at ./parser/astdefaultvisitor.cpp:77
#16 0x00007f7b4204e957 in Python::ContextBuilder::visitCode(Python::CodeAst*) (this=0x7f7aec278fd0, node=0x7f7aec0d8f10) at ./duchain/contextbuilder.cpp:308
#17 0x00007f7b42051d11 in non-virtual thunk to Python::DeclarationBuilder::visitNode(Python::Ast*) () at ./duchain/declarationbuilder.h:99
#18 0x00007f7b4206052f in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::supportBuild(Python::Ast*, KDevelop::DUContext*) (context=0x7f7aec270ac0, node=0x7f7aec0d8f10, this=0x7f7aec278fd0) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:113
#19 KDevelop::AbstractTypeBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::supportBuild(Python::Ast*, KDevelop::DUContext*) (this=0x7f7aec278fd0, node=0x7f7aec0d8f10, context=<optimized out>) at /usr/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:72
#20 0x00007f7b42051113 in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::build(KDevelop::IndexedString const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) (this=this@entry=0x7f7aec278fd0, url=..., node=node@entry=0x7f7aec0d8f10, updateContext=...) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:92
#21 0x00007f7b4204c2a4 in Python::ContextBuilder::build(KDevelop::IndexedString const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) (this=this@entry=0x7f7aec278fd0, url=..., node=node@entry=0x7f7aec0d8f10, updateContext_=...) at ./duchain/contextbuilder.cpp:65
#22 0x00007f7b42052fad in Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) (this=0x7f7aec278fd0, url=..., node=0x7f7aec0d8f10, updateContext_=<optimized out>) at ./duchain/declarationbuilder.cpp:93
#23 0x00007f7b42052f46 in Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) (this=this@entry=0x7f7afbffe550, url=..., node=node@entry=0x7f7aec0d8f10, updateContext_=...) at ./duchain/declarationbuilder.cpp:86
#24 0x00007f7b421222c1 in Python::ParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=<optimized out>) at ./pythonparsejob.cpp:157
#25 0x00007f7b897866c7 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#26 0x00007f7b8978631b in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#27 0x00007f7b8978717f in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#28 0x00007f7b8978b3c8 in ThreadWeaver::Thread::run() () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#29 0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#31 0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 23 (Thread 0x7f7b28d276c0 (LWP 241681) "Queue(0x561b276"):
#1  0x00007f7b8cef2d03 in __GI___nanosleep (req=<optimized out>, rem=<optimized out>) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2  0x00007f7b8d30926d in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f7b8b10c7e4 in KDevelop::DUChainLock::lockForWrite(unsigned int) (this=<optimized out>, timeout=0) at ./kdevplatform/language/duchain/duchainlock.cpp:145
#4  0x00007f7b8b10c9cc in KDevelop::DUChainWriteLocker::lock() (this=0x7f7b28d255c0) at ./kdevplatform/language/duchain/duchainlock.cpp:244
#5  KDevelop::DUChainWriteLocker::lock() (this=0x7f7b28d255c0) at ./kdevplatform/language/duchain/duchainlock.cpp:236
#6  0x00007f7b42054435 in Python::DeclarationBuilder::assignToName(Python::NameAst*, Python::DeclarationBuilder::SourceType const&) (this=0x7f7b28d26550, target=0x7f7af42c0160, element=...) at ./duchain/declarationbuilder.cpp:1141
#7  0x00007f7b4205b625 in Python::DeclarationBuilder::assignToUnknown(Python::ExpressionAst*, Python::DeclarationBuilder::SourceType const&) (this=<optimized out>, target=<optimized out>, element=...) at ./duchain/declarationbuilder.cpp:1344
#8  0x00007f7b4205b670 in Python::DeclarationBuilder::assignToUnknown(Python::ExpressionAst*, KDevelop::TypePtr<KDevelop::AbstractType>) (this=this@entry=0x7f7b28d26550, target=<optimized out>, type=...) at ./duchain/declarationbuilder.cpp:1333
#9  0x00007f7b4205c294 in Python::DeclarationBuilder::visitComprehension(Python::ComprehensionAst*) (this=0x7f7b28d26550, node=0x7f7af42c0110) at ./duchain/declarationbuilder.cpp:467
#10 0x00007f7b42051d11 in non-virtual thunk to Python::DeclarationBuilder::visitNode(Python::Ast*) () at ./duchain/declarationbuilder.h:99
#11 0x00007f7b48095264 in Python::AstVisitor::visitNodeList<Python::ComprehensionAst>(QList<Python::ComprehensionAst*> const&) (l=..., this=0x7f7b28d26738) at ./parser/astvisitor.h:35
#12 Python::AstDefaultVisitor::visitListComprehension(Python::ListComprehensionAst*) (this=this@entry=0x7f7b28d26738, node=node@entry=0x7f7af42c0000) at ./parser/astdefaultvisitor.cpp:243
#13 0x00007f7b4204e53f in Python::ContextBuilder::visitComprehensionCommon(Python::Ast*) (this=0x7f7b28d26550, node=0x7f7af42c0000) at ./duchain/contextbuilder.cpp:253
#14 0x00007f7b42051d11 in non-virtual thunk to Python::DeclarationBuilder::visitNode(Python::Ast*) () at ./duchain/declarationbuilder.h:99
#15 0x00007f7b4205c37b in Python::DeclarationBuilder::visitAssignment(Python::AssignmentAst*) (this=0x7f7b28d26550, node=0x7f7af42bfec0) at ./duchain/declarationbuilder.cpp:1358
#16 0x00007f7b42051d11 in non-virtual thunk to Python::DeclarationBuilder::visitNode(Python::Ast*) () at ./duchain/declarationbuilder.h:99
#17 0x00007f7b4204dcc0 in Python::AstVisitor::visitNodeList<Python::Ast>(QList<Python::Ast*> const&) (l=..., this=0x7f7b28d26738) at ./parser/astvisitor.h:35
#18 Python::ContextBuilder::visitFunctionBody(Python::FunctionDefinitionAst*) (this=0x7f7b28d26550, node=0x7f7af42bf670) at ./duchain/contextbuilder.cpp:474
#19 0x00007f7b4205f120 in Python::DeclarationBuilder::visitFunctionDefinition(Python::FunctionDefinitionAst*) (this=0x7f7b28d26550, node=0x7f7af42bf670) at ./duchain/declarationbuilder.cpp:1536
#20 0x00007f7b42051d11 in non-virtual thunk to Python::DeclarationBuilder::visitNode(Python::Ast*) () at ./duchain/declarationbuilder.h:99
#21 0x00007f7b4205d0a0 in Python::AstVisitor::visitNodeList<Python::Ast>(QList<Python::Ast*> const&) (l=..., this=0x7f7b28d26738) at ./parser/astvisitor.h:35
#22 Python::DeclarationBuilder::visitClassDefinition(Python::ClassDefinitionAst*) (this=0x7f7b28d26550, node=0x7f7af4270c10) at ./duchain/declarationbuilder.cpp:1476
#23 0x00007f7b42051d11 in non-virtual thunk to Python::DeclarationBuilder::visitNode(Python::Ast*) () at ./duchain/declarationbuilder.h:99
#24 0x00007f7b480926dc in Python::AstVisitor::visitNodeList<Python::Ast>(QList<Python::Ast*> const&) (l=..., this=0x7f7b28d26738) at ./parser/astvisitor.h:35
#25 Python::AstDefaultVisitor::visitCode(Python::CodeAst*) (this=0x7f7b28d26738, node=0x7f7af406b3f0) at ./parser/astdefaultvisitor.cpp:77
#26 0x00007f7b4204e957 in Python::ContextBuilder::visitCode(Python::CodeAst*) (this=0x7f7b28d26550, node=0x7f7af406b3f0) at ./duchain/contextbuilder.cpp:308
#27 0x00007f7b42051d11 in non-virtual thunk to Python::DeclarationBuilder::visitNode(Python::Ast*) () at ./duchain/declarationbuilder.h:99
#28 0x00007f7b4206052f in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::supportBuild(Python::Ast*, KDevelop::DUContext*) (context=0x7f7af400bf90, node=0x7f7af406b3f0, this=0x7f7b28d26550) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:113
#29 KDevelop::AbstractTypeBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::supportBuild(Python::Ast*, KDevelop::DUContext*) (this=0x7f7b28d26550, node=0x7f7af406b3f0, context=<optimized out>) at /usr/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:72
#30 0x00007f7b42051113 in KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>::build(KDevelop::IndexedString const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) (this=this@entry=0x7f7b28d26550, url=..., node=node@entry=0x7f7af406b3f0, updateContext=...) at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:92
#31 0x00007f7b4204c2a4 in Python::ContextBuilder::build(KDevelop::IndexedString const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) (this=this@entry=0x7f7b28d26550, url=..., node=node@entry=0x7f7af406b3f0, updateContext_=...) at ./duchain/contextbuilder.cpp:65
#32 0x00007f7b42052fad in Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) (this=this@entry=0x7f7b28d26550, url=..., node=node@entry=0x7f7af406b3f0, updateContext_=...) at ./duchain/declarationbuilder.cpp:93
#33 0x00007f7b421222c1 in Python::ParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=<optimized out>) at ./pythonparsejob.cpp:157
#34 0x00007f7b897866c7 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#35 0x00007f7b8978631b in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#36 0x00007f7b8978717f in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#37 0x00007f7b8978b3c8 in ThreadWeaver::Thread::run() () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#38 0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#40 0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 22 (Thread 0x7f7b295286c0 (LWP 241680) "Queue(0x561b276"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x561b27831140, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f7b8cea4d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561b27831140, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7b8cea73f8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561b278310f0, cond=0x561b27831118) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x561b27831118, mutex=0x561b278310f0) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f7b8d0d1a1b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8978daa5 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f7b8978ee26 in  () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x00007f7b8978cbd1 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f7b8978b326 in ThreadWeaver::Thread::run() () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#12 0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 21 (Thread 0x7f7b29d296c0 (LWP 241679) "Queue(0x561b276"):
#1  0x00007f7b8cef2d03 in __GI___nanosleep (req=<optimized out>, rem=<optimized out>) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2  0x00007f7b8d30926d in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f7b8b10c7e4 in KDevelop::DUChainLock::lockForWrite(unsigned int) (this=<optimized out>, timeout=0) at ./kdevplatform/language/duchain/duchainlock.cpp:145
#4  0x00007f7b8b10c9cc in KDevelop::DUChainWriteLocker::lock() (this=0x7f7b29d26a40) at ./kdevplatform/language/duchain/duchainlock.cpp:244
#5  KDevelop::DUChainWriteLocker::lock() (this=0x7f7b29d26a40) at ./kdevplatform/language/duchain/duchainlock.cpp:236
#6  0x00007f7b4a840640 in Php::DeclarationBuilder::updateCurrentType() () at /lib/x86_64-linux-gnu/libkdevphpduchain.so
#7  0x00007f7b4a85d30d in Php::TypeBuilder::visitClassStatement(Php::ClassStatementAst*) () at /lib/x86_64-linux-gnu/libkdevphpduchain.so
#8  0x00007f7b4a847a25 in Php::DeclarationBuilder::visitClassStatement(Php::ClassStatementAst*) () at /lib/x86_64-linux-gnu/libkdevphpduchain.so
#9  0x00007f7b4ab6d12e in Php::DefaultVisitor::visitClassBody(Php::ClassBodyAst*) () at /lib/x86_64-linux-gnu/libkdevphpparser.so
#10 0x00007f7b4a852fc5 in Php::ContextBuilder::visitClassDeclarationStatement(Php::ClassDeclarationStatementAst*) () at /lib/x86_64-linux-gnu/libkdevphpduchain.so
#11 0x00007f7b4a844a9d in Php::DeclarationBuilder::visitClassDeclarationStatement(Php::ClassDeclarationStatementAst*) () at /lib/x86_64-linux-gnu/libkdevphpduchain.so
#12 0x00007f7b4ab6e720 in Php::DefaultVisitor::visitTopStatement(Php::TopStatementAst*) () at /lib/x86_64-linux-gnu/libkdevphpparser.so
#13 0x00007f7b4ab6e1ae in Php::DefaultVisitor::visitStart(Php::StartAst*) () at /lib/x86_64-linux-gnu/libkdevphpparser.so
#14 0x00007f7b4a854786 in Php::ContextBuilder::startVisiting(Php::AstNode*) () at /lib/x86_64-linux-gnu/libkdevphpduchain.so
#15 0x00007f7b4a8405bf in Php::DeclarationBuilder::supportBuild(Php::AstNode*, KDevelop::DUContext*) () at /lib/x86_64-linux-gnu/libkdevphpduchain.so
#16 0x00007f7b4a84d83a in  () at /lib/x86_64-linux-gnu/libkdevphpduchain.so
#17 0x00007f7b4a8417ed in Php::DeclarationBuilder::build(KDevelop::IndexedString const&, Php::AstNode*, KDevelop::ReferencedTopDUContext const&) () at /lib/x86_64-linux-gnu/libkdevphpduchain.so
#18 0x00007f7b4ae73f0f in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/510/kdevphplanguagesupport.so
#19 0x00007f7b4ae73160 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/510/kdevphplanguagesupport.so
#20 0x00007f7b8ceace37 in __pthread_once_slow (once_control=0x7f7b4ae7d594, init_routine=0x7f7b8ccd3200 <__once_proxy>) at ./nptl/pthread_once.c:116
#21 0x00007f7b4ae73c97 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/510/kdevphplanguagesupport.so
#22 0x00007f7b897866c7 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#23 0x00007f7b8978631b in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#24 0x00007f7b8978717f in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#25 0x00007f7b8978b3c8 in ThreadWeaver::Thread::run() () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#26 0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#28 0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 20 (Thread 0x7f7b2a52a6c0 (LWP 241678) "Queue(0x561b276"):
#1  0x00007f7b8d0cc055 in QBasicMutex::lockInternal() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7b8d0cc34b in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f7b4ae7393a in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/510/kdevphplanguagesupport.so
#4  0x00007f7b897866c7 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x00007f7b8978631b in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x00007f7b8978717f in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f7b8978b3c8 in ThreadWeaver::Thread::run() () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 19 (Thread 0x7f7b2b67b6c0 (LWP 241677) "Queue(0x561b276"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x561b27831140, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f7b8cea4d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561b27831140, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7b8cea73f8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561b278310f0, cond=0x561b27831118) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x561b27831118, mutex=0x561b278310f0) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f7b8d0d1a1b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8978daa5 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x00007f7b8978ee26 in  () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x00007f7b8978cbd1 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f7b8978b326 in ThreadWeaver::Thread::run() () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#12 0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 18 (Thread 0x7f7b4102f6c0 (LWP 241604) "kdevelop"):
#1  __pselect (nfds=5, readfds=0x7f7b41026a10, writefds=0x0, exceptfds=0x0, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007f7b82054a62 in  () at /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#3  0x00007f7b82055e60 in  () at /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#4  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#5  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 17 (Thread 0x7f7b420016c0 (LWP 241601) "KDevelop::Compl"):
#1  0x00007f7b890659ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7b89065acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7b8d3098ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7b8d2b024b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7b8d0cab77 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 16 (Thread 0x7f7b42bff6c0 (LWP 241591) "OutputFilterThr"):
#1  0x00007f7b890659ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7b89065acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7b8d3098ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7b8d2b024b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7b8d0cab77 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 15 (Thread 0x7f7b43fff6c0 (LWP 241579) "Qt bearer threa"):
#1  0x00007f7b890659ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7b89065acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7b8d3098ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7b8d2b024b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7b8d0cab77 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 14 (Thread 0x7f7b49b226c0 (LWP 241578) "QQmlThread"):
#1  0x00007f7b890659ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7b89065acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7b8d3098ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7b8d2b024b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7b8d0cab77 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b89f283e5 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 13 (Thread 0x7f7b4a7ff6c0 (LWP 241577) "KDevelop::Compl"):
#1  0x00007f7b890650e1 in g_main_context_query () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7b8906592f in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7b89065acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7b8d3098ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7b8d2b024b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8d0cab77 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 12 (Thread 0x7f7b4bdfd6c0 (LWP 241571) "QThread"):
#1  0x00007f7b890659ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7b89065acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7b8d3098ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7b8d2b024b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7b8d0cab77 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8b0cad4b in KDevelop::DUChainPrivate::CleanupThread::run() (this=0x561b27934430) at ./kdevplatform/language/duchain/duchain.cpp:357
#7  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 11 (Thread 0x7f7b4c5fe6c0 (LWP 241570) "Thread (pooled)"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x561b27658e30, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f7b4c5fda70, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f7b8cea4d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561b27658e30, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f7b4c5fda70, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7b8cea76dc in __pthread_cond_wait_common (abstime=0x7f7b4c5fda70, clockid=1, mutex=0x561b27658de0, cond=0x561b27658e08) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x561b27658e08, mutex=0x561b27658de0, abstime=0x7f7b4c5fda70) at ./nptl/pthread_cond_wait.c:643
#5  0x00007f7b8d0d19ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8d0cf095 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7f7b4cdff6c0 (LWP 241569) "Thread (pooled)"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x561b276588f0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f7b4cdfea70, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f7b8cea4d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561b276588f0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f7b4cdfea70, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7b8cea76dc in __pthread_cond_wait_common (abstime=0x7f7b4cdfea70, clockid=1, mutex=0x561b276588a0, cond=0x561b276588c8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x561b276588c8, mutex=0x561b276588a0, abstime=0x7f7b4cdfea70) at ./nptl/pthread_cond_wait.c:643
#5  0x00007f7b8d0d19ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8d0cf095 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7f7b65ffb6c0 (LWP 241568) "Thread (pooled)"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x561b27991fe0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f7b65ffaa70, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f7b8cea4d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561b27991fe0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f7b65ffaa70, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7b8cea76dc in __pthread_cond_wait_common (abstime=0x7f7b65ffaa70, clockid=1, mutex=0x561b27991f90, cond=0x561b27991fb8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x561b27991fb8, mutex=0x561b27991f90, abstime=0x7f7b65ffaa70) at ./nptl/pthread_cond_wait.c:643
#5  0x00007f7b8d0d19ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8d0cf095 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7f7b667fc6c0 (LWP 241567) "Thread (pooled)"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x561b279b8a20, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f7b667fba70, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f7b8cea4d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561b279b8a20, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f7b667fba70, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7b8cea76dc in __pthread_cond_wait_common (abstime=0x7f7b667fba70, clockid=1, mutex=0x561b279b89d0, cond=0x561b279b89f8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x561b279b89f8, mutex=0x561b279b89d0, abstime=0x7f7b667fba70) at ./nptl/pthread_cond_wait.c:643
#5  0x00007f7b8d0d19ac in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8d0cf095 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7f7b66ffd6c0 (LWP 241564) "kdevelop:shlo0"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x561b27146d00, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f7b8cea4d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561b27146d00, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7b8cea73f8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561b27146cb0, cond=0x561b27146cd8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x561b27146cd8, mutex=0x561b27146cb0) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f7b79d0bff9 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#6  0x00007f7b79cbe11b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#7  0x00007f7b79d0bf37 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f7b677fe6c0 (LWP 241563) "kdevelop:sh0"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x561b27146794, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f7b8cea4d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561b27146794, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7b8cea73f8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561b27146740, cond=0x561b27146768) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x561b27146768, mutex=0x561b27146740) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f7b79d0bff9 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#6  0x00007f7b79cbe11b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#7  0x00007f7b79d0bf37 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f7b67fff6c0 (LWP 241562) "kdevelo:disk$0"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x561b271b4638, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f7b8cea4d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561b271b4638, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7b8cea73f8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561b271b45e8, cond=0x561b271b4610) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x561b271b4610, mutex=0x561b271b45e8) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f7b79d0bff9 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#6  0x00007f7b79cbe11b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#7  0x00007f7b79d0bf37 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f7b6cdff6c0 (LWP 241561) "kdevelop:cs0"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x561b271360cc, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f7b8cea4d9b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x561b271360cc, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f7b8cea73f8 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561b27136078, cond=0x561b271360a0) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x561b271360a0, mutex=0x561b27136078) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f7b79d0bff9 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#6  0x00007f7b79cbe11b in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#7  0x00007f7b79d0bf37 in  () at /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f7b808696c0 (LWP 241559) "QDBusConnection"):
#1  0x00007f7b890659ae in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7b89065acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7b8d3098ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7b8d2b024b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7b8d0cab77 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7b8e586487 in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f7b811ff6c0 (LWP 241558) "QXcbEventQueue"):
#1  0x00007f7b85b75d12 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f7b85b7807a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7b814faca0 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f7b8d0cbd33 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7b8cea7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f7b8cf2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f7b81f2ca80 (LWP 241557) "kdevelop"):
#1  0x00007f7b85b75d12 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f7b85b76801 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7b85b77e25 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f7b85b77ea1 in xcb_wait_for_reply () at /lib/x86_64-linux-gnu/libxcb.so.1
#5  0x00007f7b814d5b1a in QXcbConnection::sync() () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#6  0x00007f7b814efad3 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#7  0x00007f7b814efe10 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007f7b8d9006cf in QBackingStore::beginPaint(QRegion const&) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#9  0x00007f7b8df74099 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f7b8dfa4fa8 in QWidget::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f7b8ab64ed7 in KXmlGuiWindow::event(QEvent*) () at /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#12 0x00007f7b8df62f5e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f7b8d2b17c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f7b8df75155 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f7b8df77985 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f7b8df8ea80 in QWidget::repaint(QRect const&) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f7b8df8eada in QWidget::repaint() () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f7b8d2e8fcf in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f7b8ee02ec9 in KDevelop::ProgressItem::progressItemProgress(KDevelop::ProgressItem*, unsigned int) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at ./obj-x86_64-linux-gnu/kdevplatform/shell/KDevPlatformShell_autogen/BY6TO23VXM/moc_progressmanager.cpp:287
#20 0x00007f7b8d2dd770 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f7b8df62f5e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f7b8d2b17c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f7b8d2b4761 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f7b8d30a1d3 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f7b890657a9 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f7b89065a38 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f7b89065acc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f7b8d3098b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f7b8d2b024b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f7b8d2b83b6 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x0000561b26857699 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:846
[Inferior 1 (process 241557) detached]

The reporter indicates this bug may be a duplicate of or related to bug 447634.

Reported using DrKonqi
Comment 1 Sven Brauch 2023-01-03 22:45:49 UTC
Hi, you are the second person to report this crash, but I'm pretty confused by it. The code indicated in the backtrace is probably faulty, but it is not contained in the 22.10 release. It was only added to the master branch.

So, either you are using some non-released unstable build, or Debian packaged something else than our released archives. Any idea what's going on?
Comment 2 Jan Kriho 2023-01-03 23:24:54 UTC
Hi, after some digging, I believe it was caused because of Python 3.11 transition, as described in a Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008694

They have included some of the patches from the master branch, as it was the only way to make the Python plugin work with the newer Python: https://salsa.debian.org/qt-kde-team/kde/kdevelop-python/-/tree/master/debian/patches

I have submitted the bug to the Debian package too, and cross-link it when I receive the bug #

Regards,
Jan Kriho
Comment 3 Jan Kriho 2023-01-03 23:29:38 UTC
Debian bug as promised: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027845
Comment 4 Sven Brauch 2023-01-03 23:37:17 UTC
Thanks a lot. That 4bcec08fb400b was picked is understandable, it fixes build with 3.11, which I didn't anticipate was required so quickly.

Including c4ec40a9cac is odd though, it is the commit that introduced the crash and it's also completely unrelated to any build or even python 3.11 topic, it just adds support for some random python 3.10 feature. It should just be removed from the patch set.
Comment 5 Pino Toscano 2023-01-04 06:01:41 UTC
Hello, Debian packager here.

(In reply to Sven Brauch from comment #4)
> Including c4ec40a9cac is odd though, it is the commit that introduced the
> crash and it's also completely unrelated to any build or even python 3.11
> topic, it just adds support for some random python 3.10 feature.

I backported it because, as you wrote, it adds the basic support for some Python 3.10 feature, which I thought may be useful for users.

> It should just be removed from the patch set.

While I can do that (sigh), it would simply be delaying the problem, wouldn't it? I mean, if you said that that commit introduces a crash, that means kdev-python in master (for the future Gear 23.04) is currently buggy. Wouldn't it be better to fix the problem instead?
Comment 6 Sven Brauch 2023-01-04 09:19:09 UTC
Hi Pino, first of all, thanks a lot for your work in packaging kdev-python and sorry for the chaos it always causes.

Of course I will fix this crash, but also that fix should not be backported. The maintainers of the respective applications have the best judgement of which feature is ready to be included in a release and which isn't, and these decisions should not be overruled by packagers. The change was also made long after feature freeze for Gear 22.12.
Comment 7 Jan Kriho 2023-01-04 11:04:49 UTC
I have built the package without the c4ec40a9cac patch, and it fixes the crash for me.
Comment 8 Pino Toscano 2023-01-04 11:11:23 UTC
(In reply to Sven Brauch from comment #6)
> The maintainers of the respective applications have the best judgement of
> which feature is ready to be included in a release and which isn't, and
> these decisions should not be overruled by packagers. The change was also
> made long after feature freeze for Gear 22.12.

Sorry if I seem negative: I cannot get this paragraph as exactly cooperative.
Also, the support for Python 3.11 was added only in master (currently towards 23.04) and it is not in 22.12.x; according to your logic, I should not backport it either, because it would be a "maintainer decision that  should not be overruled by packagers"? Debian unstable recently switched to Python 3.11 as default (other distros did it already), so I see a bit of contradicting logic...
Comment 9 Sven Brauch 2023-01-04 11:18:44 UTC
Hi, I think ideally in this case you would have notified me that you needed Python 3.11 support in Gear 22.12. I would have backported it there.

Of course I see the problem that not all maintainers (including me) will always respond in time to such requests and you might not have the time to deal with that for each package.

Still, I dunno. I made an explicit, conscious decision to not include the patch in our tagged release because I knew it was risky, and it was just shipped to users regardless, without me even knowing. That's odd to me.
Comment 10 Pino Toscano 2023-01-04 12:33:34 UTC
(In reply to Sven Brauch from comment #9)
> Hi, I think ideally in this case you would have notified me that you needed
> Python 3.11 support in Gear 22.12. I would have backported it there.

While that is true, I think it would not be unreasonable to expect that, once a new Python version is released, it will start to flow into distros, and distro packagers will need to make sure all the Python-using packages (modules, plugins like kdev-python, etc) are compatible with it.

> Still, I dunno. I made an explicit, conscious decision to not include the
> patch in our tagged release because I knew it was risky, and it was just
> shipped to users regardless, without me even knowing. That's odd to me.

What I can tell you from my POV (not even with a DD hat, as non-kdevelop contributor) is that I don't find it easy to determine what you can "conscious decision": sometimes maintainer do not backport patches at all in stable branches, sometimes they do when requested, sometimes they do aggressively... and you don't know what's the actual case here, unless you really know each person involved. So please bear with people that are not part of the "kdevelop development group".

Back to the actual situation here:
1) should I drop the extra bits of Python 3.10 support, even if there will be (hopefully soon) a fix for that coming?
2) should I drop the support for Python 3.11, since it is not in 22.12.x as "conscious decision"?
Comment 11 Sven Brauch 2023-01-04 13:04:57 UTC
Hi, yes, I completely missed the 3.11 release, we were still busy with getting 3.10 working. Sorry for that.

As said I understand your situation. I think the easiest change to improve the situation the next time something like this happens would be to write a 2-line bug or email like "hey, by the way in Debian we did X because Y doesn't work, please fix". After all, I do care that our users get working software, and I don't want you as a packager to suffer with problems I inadvertently created.

Re. the current situation,

1) Yes please drop this patch, it is not needed to make the application compile and run properly with Python 3.10, it just adds some nice-to-have feature. This feature will come in 23.04.

2) Please keep the 3.11 support in, as you obviously need it in order to ship the package. I will also backport it for Gear 22.12.2 on Feb. 02, so you should be able to use this next release without patches then.
Comment 12 Pino Toscano 2023-01-10 06:26:44 UTC
The problem has been fixed in Debian unstable few days ago, and now it migrated to testing too.

Hence, closing.
Comment 13 Sven Brauch 2023-01-23 10:20:00 UTC
Hi, I backported Python 3.11 support to 22.12, so it should be in 22.12.1.

I also fixed the original crash which caused this issue. That fix is on master and will be in KDE Gear 23.04 (together with the feature it fixes).
Comment 14 Sven Brauch 2023-01-23 10:21:33 UTC
Sorry -- the backporting happened to 22.12.2, not .1 of course.