https://bugs.kde.org/show_bug.cgi?id=437380

            Bug ID: 437380
           Summary: Background Parser causes crash when scanning python3
                    libraries
           Product: kdevelop
           Version: 5.3.1
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: devnull...@protonmail.com
  Target Milestone: ---

Application: kdevelop (5.3.1)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-16-amd64 x86_64
Distribution: Debian GNU/Linux 10 (buster)

-- Information about the crash:
- What I was doing when the application crashed:
Background Parser is scanning python libraries
The crash only occurs when certain libraries are imported:
I created an empty python file and added import lines as follows, and it
crashed on the final import (pandas)
        #!/usr/bin/python3
        import bs4
        import multiprocessing
        import os
        import pathlib
        import json
        import time
        import logging
        import pandas as pd
matplotlib also causes the crash
all above libraries are the debian package versions
mplfinance installed from pip also crashed

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
futex_wait_cancelable (private=0, expected=0, futex_word=0x7fff05111e88) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
[Current thread is 1 (Thread 0x7f7e381c6e40 (LWP 7138))]

Thread 17 (Thread 0x7f7deffff700 (LWP 7224)):
#0  0x00007f7e4430c720 in __GI___nanosleep (requested_time=0x7f7defffdeb0,
remaining=0x7f7defffdeb0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f7e448480bd in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7e432b6908 in KDevelop::DUChainLock::lockForWrite(unsigned int) ()
at /lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#3  0x00007f7e432b6b0c in KDevelop::DUChainWriteLocker::lock() () at
/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#4  0x00007f7e240e8fe3 in Python::ContextBuilder::build(KDevelop::IndexedString
const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#5  0x00007f7e240f2a05 in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#6  0x00007f7e240f2abe in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#7  0x00007f7e241ae5ba in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/31/kdevpythonlanguagesupport.so
#8  0x00007f7e40daad9a in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f7e40dab308 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f7e40daa110 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x00007f7e40da9c6b in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#12 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#14 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f7e0c989700 (LWP 7223)):
#0  0x00007f7e4430c720 in __GI___nanosleep (requested_time=0x7f7e0c987eb0,
remaining=0x7f7e0c987eb0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f7e448480bd in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7e432b6908 in KDevelop::DUChainLock::lockForWrite(unsigned int) ()
at /lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#3  0x00007f7e432b6b0c in KDevelop::DUChainWriteLocker::lock() () at
/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#4  0x00007f7e240e8fe3 in Python::ContextBuilder::build(KDevelop::IndexedString
const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#5  0x00007f7e240f2a05 in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#6  0x00007f7e240f2abe in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#7  0x00007f7e241ae5ba in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/31/kdevpythonlanguagesupport.so
#8  0x00007f7e40daad9a in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f7e40dab308 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f7e40daa110 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x00007f7e40da9c6b in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#12 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#14 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f7e0d18a700 (LWP 7222)):
#0  0x00007f7e4430c720 in __GI___nanosleep (requested_time=0x7f7e0d188eb0,
remaining=0x7f7e0d188eb0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f7e448480bd in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7e432b6908 in KDevelop::DUChainLock::lockForWrite(unsigned int) ()
at /lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#3  0x00007f7e432b6b0c in KDevelop::DUChainWriteLocker::lock() () at
/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#4  0x00007f7e240e8fe3 in Python::ContextBuilder::build(KDevelop::IndexedString
const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#5  0x00007f7e240f2a05 in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#6  0x00007f7e240f2abe in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#7  0x00007f7e241ae5ba in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/31/kdevpythonlanguagesupport.so
#8  0x00007f7e40daad9a in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f7e40dab308 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f7e40daa110 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x00007f7e40da9c6b in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#12 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#14 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f7e0d98b700 (LWP 7221)):
#0  0x00007f7e4430c720 in __GI___nanosleep (requested_time=0x7f7e0d989eb0,
remaining=0x7f7e0d989eb0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f7e448480bd in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7e432b6908 in KDevelop::DUChainLock::lockForWrite(unsigned int) ()
at /lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#3  0x00007f7e432b6b0c in KDevelop::DUChainWriteLocker::lock() () at
/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#4  0x00007f7e240e8fe3 in Python::ContextBuilder::build(KDevelop::IndexedString
const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#5  0x00007f7e240f2a05 in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#6  0x00007f7e240f2abe in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#7  0x00007f7e241ae5ba in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/31/kdevpythonlanguagesupport.so
#8  0x00007f7e40daad9a in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f7e40dab308 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f7e40daa110 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x00007f7e40da9c6b in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#12 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#14 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f7e0e18c700 (LWP 7220)):
#0  0x00007f7e4430c720 in __GI___nanosleep (requested_time=0x7f7e0e18aeb0,
remaining=0x7f7e0e18aeb0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f7e448480bd in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7e432b6908 in KDevelop::DUChainLock::lockForWrite(unsigned int) ()
at /lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#3  0x00007f7e432b6b0c in KDevelop::DUChainWriteLocker::lock() () at
/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#4  0x00007f7e240e8f7a in Python::ContextBuilder::build(KDevelop::IndexedString
const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#5  0x00007f7e240f2a05 in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#6  0x00007f7e240f2abe in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#7  0x00007f7e241ae5ba in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/31/kdevpythonlanguagesupport.so
#8  0x00007f7e40daad9a in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f7e40dab308 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f7e40daa110 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x00007f7e40da9c6b in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#12 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#14 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f7e0e98d700 (LWP 7219)):
#0  0x00007f7e4430c720 in __GI___nanosleep (requested_time=0x7f7e0e98beb0,
remaining=0x7f7e0e98beb0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f7e448480bd in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7e432b6908 in KDevelop::DUChainLock::lockForWrite(unsigned int) ()
at /lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#3  0x00007f7e432b6b0c in KDevelop::DUChainWriteLocker::lock() () at
/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#4  0x00007f7e240e8fe3 in Python::ContextBuilder::build(KDevelop::IndexedString
const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#5  0x00007f7e240f2a05 in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#6  0x00007f7e240f2abe in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#7  0x00007f7e241ae5ba in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/31/kdevpythonlanguagesupport.so
#8  0x00007f7e40daad9a in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f7e40dab308 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f7e40daa110 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x00007f7e40da9c6b in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#12 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#14 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f7e0f18e700 (LWP 7218)):
[KCrash Handler]
#6  0x00007f7e24106bf0 in
Python::UseBuilder::contextAtOrCurrent(KDevelop::CursorInRevision const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#7  0x00007f7e24107c12 in Python::UseBuilder::visitName(Python::NameAst*) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#8  0x00007f7e267e168b in
Python::AstDefaultVisitor::visitCall(Python::CallAst*) () at
/lib/x86_64-linux-gnu/libkdevpythonparser.so
#9  0x00007f7e24106fd8 in Python::UseBuilder::visitCall(Python::CallAst*) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#10 0x00007f7e240ef000 in
Python::ContextBuilder::visitLambda(Python::LambdaAst*) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#11 0x00007f7e267e16dc in
Python::AstDefaultVisitor::visitCall(Python::CallAst*) () at
/lib/x86_64-linux-gnu/libkdevpythonparser.so
#12 0x00007f7e24106fd8 in Python::UseBuilder::visitCall(Python::CallAst*) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#13 0x00007f7e240eb808 in
Python::ContextBuilder::visitFunctionBody(Python::FunctionDefinitionAst*) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#14 0x00007f7e240ea831 in
Python::ContextBuilder::visitFunctionDefinition(Python::FunctionDefinitionAst*)
() at /lib/x86_64-linux-gnu/libkdevpythonduchain.so
#15 0x00007f7e267e0bfc in
Python::AstDefaultVisitor::visitClassDefinition(Python::ClassDefinitionAst*) ()
at /lib/x86_64-linux-gnu/libkdevpythonparser.so
#16 0x00007f7e240ed828 in
Python::ContextBuilder::visitClassDefinition(Python::ClassDefinitionAst*) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#17 0x00007f7e267dff0c in
Python::AstDefaultVisitor::visitCode(Python::CodeAst*) () at
/lib/x86_64-linux-gnu/libkdevpythonparser.so
#18 0x00007f7e240edb57 in Python::ContextBuilder::visitCode(Python::CodeAst*)
() at /lib/x86_64-linux-gnu/libkdevpythonduchain.so
#19 0x00007f7e241ae7f6 in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/31/kdevpythonlanguagesupport.so
#20 0x00007f7e40daad9a in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#21 0x00007f7e40dab308 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#22 0x00007f7e40daa110 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#23 0x00007f7e40da9c6b in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#24 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#26 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f7e0f98f700 (LWP 7217)):
#0  0x00007f7e4430c720 in __GI___nanosleep (requested_time=0x7f7e0f98deb0,
remaining=0x7f7e0f98deb0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f7e448480bd in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7e432b6908 in KDevelop::DUChainLock::lockForWrite(unsigned int) ()
at /lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#3  0x00007f7e432b6b0c in KDevelop::DUChainWriteLocker::lock() () at
/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#4  0x00007f7e240e8fe3 in Python::ContextBuilder::build(KDevelop::IndexedString
const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#5  0x00007f7e240f2a05 in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#6  0x00007f7e240f2abe in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#7  0x00007f7e241ae5ba in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/31/kdevpythonlanguagesupport.so
#8  0x00007f7e40daad9a in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f7e40dab308 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f7e40daa110 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x00007f7e40da9c6b in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#12 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#14 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f7e2526a700 (LWP 7216)):
#0  0x00007f7e4430c720 in __GI___nanosleep (requested_time=0x7f7e25268eb0,
remaining=0x7f7e25268eb0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f7e448480bd in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7e432b6908 in KDevelop::DUChainLock::lockForWrite(unsigned int) ()
at /lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#3  0x00007f7e432b6b0c in KDevelop::DUChainWriteLocker::lock() () at
/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#4  0x00007f7e240e8fe3 in Python::ContextBuilder::build(KDevelop::IndexedString
const&, Python::Ast*, KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#5  0x00007f7e240f2a05 in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#6  0x00007f7e240f2abe in
Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*,
KDevelop::ReferencedTopDUContext const&) () at
/lib/x86_64-linux-gnu/libkdevpythonduchain.so
#7  0x00007f7e241ae5ba in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/31/kdevpythonlanguagesupport.so
#8  0x00007f7e40daad9a in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#9  0x00007f7e40dab308 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#10 0x00007f7e40daa110 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#11 0x00007f7e40da9c6b in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#12 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#14 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f7e24a69700 (LWP 7149)):
#0  0x00007f7e44330494 in __GI___libc_read (nbytes=16, buf=0x7f7e24a68970,
fd=24) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f7e44330494 in __GI___libc_read (fd=24, buf=0x7f7e24a68970,
nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f7e40e56aa0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e40e10c0f in g_main_context_check () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7e40e110e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7e40e1125c in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7e44848743 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7e447f615b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7e44645e76 in QThread::exec() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7e43375ecc in  () at
/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#10 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#12 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f7e25ae4700 (LWP 7145)):
#0  0x00007f7e44334819 in __GI___poll (fds=0x7f7e1c004e10, nfds=1,
timeout=9425) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7e40e11136 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7e40e1125c in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e44848743 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7e447f615b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7e44645e76 in QThread::exec() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#8  0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f7e277fe700 (LWP 7143)):
#0  0x00007f7e44330494 in __GI___libc_read (nbytes=16, buf=0x7f7e277fda00,
fd=13) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f7e44330494 in __GI___libc_read (fd=13, buf=0x7f7e277fda00,
nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f7e40e56aa0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e40e10c0f in g_main_context_check () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7e40e110e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7e40e1125c in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7e44848743 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7e447f615b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7e44645e76 in QThread::exec() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#11 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f7e27fff700 (LWP 7142)):
#0  0x00007f7e4434d019 in __GI___clock_gettime (clock_id=1, tp=0x7f7e27ffe980)
at ../sysdeps/unix/clock_gettime.c:133
#1  0x00007f7e44848061 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7e44846899 in QTimerInfoList::updateCurrentTime() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f7e44848ee5 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7e40e10b11 in g_main_context_check () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7e40e110e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7e40e1125c in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f7e44848743 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7e447f615b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7e44645e76 in QThread::exec() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f7e4327108b in  () at
/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.53
#11 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#13 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f7e35a24700 (LWP 7141)):
#0  0x00007f7e44330494 in __GI___libc_read (nbytes=16, buf=0x7f7e35a239d0,
fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f7e44330494 in __GI___libc_read (fd=7, buf=0x7f7e35a239d0,
nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f7e40e56aa0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e40e10c0f in g_main_context_check () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7e40e110e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7e40e1125c in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7e44848743 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7e447f615b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7e44645e76 in QThread::exec() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7e457d7545 in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#12 0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f7e369f9700 (LWP 7140)):
#0  0x00007f7e44334819 in __GI___poll (fds=0x7f7e369f8b38, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7e3d3a6cf7 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f7e3d3a891a in xcb_wait_for_event () at
/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7e37851d79 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f7e4464fa67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#6  0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7e381c0700 (LWP 7139)):
#0  0x00007f7e4189300c in futex_wait_cancelable (private=0, expected=0,
futex_word=0x7f7e40c5d150) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f7e4189300c in __pthread_cond_wait_common (abstime=0x0,
mutex=0x55cd09097840, cond=0x7f7e40c5d128) at pthread_cond_wait.c:502
#2  0x00007f7e4189300c in __pthread_cond_wait (cond=0x7f7e40c5d128,
mutex=0x55cd09097840) at pthread_cond_wait.c:655
#3  0x00007f7e444bd3bc in
std::condition_variable::wait(std::unique_lock<std::mutex>&) () at
/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f7e40188542 in  () at /lib/x86_64-linux-gnu/libQt5WebKit.so.5
#5  0x00007f7e40188659 in  () at /lib/x86_64-linux-gnu/libQt5WebKit.so.5
#6  0x00007f7e444c2b2f in  () at /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f7e4188cfa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#8  0x00007f7e4433f4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7e381c6e40 (LWP 7138)):
#0  0x00007f7e4189300c in futex_wait_cancelable (private=0, expected=0,
futex_word=0x7fff05111e88) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f7e4189300c in __pthread_cond_wait_common (abstime=0x0,
mutex=0x55cd090aa1f8, cond=0x7fff05111e60) at pthread_cond_wait.c:502
#2  0x00007f7e4189300c in __pthread_cond_wait (cond=0x7fff05111e60,
mutex=0x55cd090aa1f8) at pthread_cond_wait.c:655
#3  0x00007f7e3d3a6f02 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f7e3d3a863f in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#5  0x00007f7e3d3a8752 in xcb_wait_for_reply () at
/lib/x86_64-linux-gnu/libxcb.so.1
#6  0x00007f7e37850a5a in QXcbConnection::sync() () at
/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#7  0x00007f7e37871b33 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007f7e37871c10 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#9  0x00007f7e44e1ebe3 in QBackingStore::beginPaint(QRegion const&) () at
/lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007f7e452d6846 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f7e452d6e19 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f7e452ed9d5 in QWidgetPrivate::syncBackingStore() () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f7e45305608 in QWidget::event(QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f7e4540bdd4 in QMainWindow::event(QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f7e4292917b in KMainWindow::event(QEvent*) () at
/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#16 0x00007f7e42973115 in KXmlGuiWindow::event(QEvent*) () at
/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#17 0x00007f7e452c74c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f7e452ce970 in QApplication::notify(QObject*, QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f7e447f7489 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f7e447fa46b in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f7e44849103 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f7e40e10f2e in g_main_context_dispatch () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f7e40e111c8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f7e40e1125c in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f7e44848727 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f7e378e8491 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#27 0x00007f7e447f615b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f7e447fe132 in QCoreApplication::exec() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x000055cd07b17726 in  ()
#30 0x00007f7e4426a09b in __libc_start_main (main=0x55cd07b11c60, argc=1,
argv=0x7fff05112dc8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff05112db8) at ../csu/libc-start.c:308
#31 0x000055cd07b1826a in _start ()
[Inferior 1 (process 7138) detached]

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

Possible duplicates by query: bug 436308, bug 420303.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to