Bug 375968 - Hang when opeing/parsing file
Summary: Hang when opeing/parsing file
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: language (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: VHI crash
Target Milestone: 5.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 19:20 UTC by Francis Herne
Modified: 2021-01-16 04:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francis Herne 2017-02-03 19:20:19 UTC
Using current-ish 5.1 branches (KDevelop 6f11ac7, kdevplatform f09049e58), compiled from source on Arch Linux.

When opening a new file (only C++ files open), KDevelop hung with the UI not updating. I left it for a minute or so, it didn't recover, nor abort/OOM.

Backtrace (from pausing it in gdb at an arbitrary time) below. It's long...

------------
(gdb) thread apply all bt full

Thread 14 (Thread 0x7f678aebe700 (LWP 29546)):
#0  0x00007f6806c6048d in poll () at /usr/lib/libc.so.6
#1  0x00007f67fb447786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f67fb44789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6807a9f44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f6807a48c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f680786aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f6804dc50a1 in KDevelop::CompletionWorkerThread::run() (this=0x5a03c40) at /home/flh/projects/kdevplatform/language/codecompletion/codecompletionmodel.cpp:89
#7  0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f67ae5b1700 (LWP 29322)):
#0  0x00007f6806c6048d in poll () at /usr/lib/libc.so.6
#1  0x00007f67fb447786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f67fb44789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6807a9f44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f6807a48c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f680786aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f67aeffd700 (LWP 29321)):
#0  0x00007f6806c38ffd in nanosleep () at /usr/lib/libc.so.6
#1  0x00007f6807a9e65d in  () at /usr/lib/libQt5Core.so.5
#2  0x00007f680786ea94 in QThread::usleep(unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f6804cf7e37 in KDevelop::DUChainLock::lockForWrite(unsigned int) (this=0x7f68055401a0 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, timeout=0)
    at /home/flh/projects/kdevplatform/language/duchain/duchainlock.cpp:155
        t = {t1 = -9223372036854775808, t2 = -9223372036854775808}
#4  0x00007f6804cf813f in KDevelop::DUChainWriteLocker::lock() (this=0x7f67aeffa940) at /home/flh/projects/kdevplatform/language/duchain/duchainlock.cpp:249
        l = false
#5  0x00007f6804cf80d8 in KDevelop::DUChainWriteLocker::DUChainWriteLocker(KDevelop::DUChainLock*, unsigned int) (this=0x7f67aeffa940, duChainLock=0x0, timeout=0)
    at /home/flh/projects/kdevplatform/language/duchain/duchainlock.cpp:233
#6  0x00007f67c78ffdd5 in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f6774109670, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:136
        lock = {m_lock = 0x7f68055401a0 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, m_locked = false, m_timeout = 0}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b89860}, d = 0x7f67a0b89860}}
        path = {m_index = 70266}
        environment = 
              @0x7f67aeffaa20: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67c7b811b0 <vtable for ClangParsingEnvironment+16>}, m_projectPaths = {d = 0x5177cc0}, m_includes = {d = 0x6063160}, m_frameworkDirectories = {d = 0x7f6807af5860 <QArrayData::shared_null>}, m_defines = {d = 0x606ecb0}, m_pchInclude = {m_data = {d = 0x7f6807af5860 <QArrayData::shared_null>}}, m_tuUrl = {m_index = 3737824}, m_quality = ClangParsingEnvironment::Source, m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x607ea90}}}
        update = false
        urlLock = {m_url = {m_index = 70266}}
        context = {m_topContext = 0x0}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f440}, d = 0x7f67a0b9f440}}
#7  0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f67740c9a80, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0b55fa0: {file = 0x7f6774109670, location = {line = 345, column = 0}}
---Type <return> to continue, or q <return> to quit---
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f420}, d = 0x7f67a0b9f420}}, i = {i = 0x7f67a0b9f430}, e = {i = 0x7f67a0b9f448}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f420}, d = 0x7f67a0b9f420}}
        path = {m_index = 2935991568}
        environment = 
              @0x7f67aeffade0: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67a0b9f3d8}, m_projectPaths = {d = 0x7f6700000001}, m_includes = {d = 0x7f67a0b9f370}, m_frameworkDirectories = {d = 0x7f6804cc2fd0 <KDevVarLengthArray<QPair<QPair<unsigned int, unsigned int>, Utils::VirtualSetNode<KDevelop::IndexedTopDUContext, KDevelop::IndexedTopDUContextIndexConversion, KDevelop::RecursiveImportCacheRepository> >, 256>::~KDevVarLengthArray()+24>}, m_defines = {d = 0x7f67a0b9f378}, m_pchInclude = {m_data = {d = 0x7f67aeffae78}}, m_tuUrl = {m_index = 2696541048}, m_quality = (ClangParsingEnvironment::Source | ClangParsingEnvironment::BuildSystem | unknown: 32612), m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x7f67aeffbed0}}}
        update = false
        urlLock = {m_url = {m_index = 2935991456}}
        context = {m_topContext = 0x7f67aeffac20}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67aeffabe0}, d = 0x7f67aeffabe0}}
#8  0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f6774116bd0, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0bfda10: {file = 0x7f67740c9a80, location = {line = 38, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f3c0}, d = 0x7f67a0b9f3c0}}, i = {i = 0x7f67a0b9f3d0}, e = {i = 0x7f67a0b9f3d8}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f3c0}, d = 0x7f67a0b9f3c0}}
        path = {m_index = 2935992192}
        environment = 
              @0x7f67aeffb050: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67a0b9f380}, m_projectPaths = {d = 0x7f6800000001}, m_includes = {d = 0x7f67a02a3f48}, m_frameworkDirectories = {d = 0x7f67aeffb090}, m_defines = {d = 0x7f67aeffb0a0}, m_pchInclude = {m_data = {d = 0x7f67c7905bf6 <std::swap<Import>(Import&, Import&)+85>}}, m_tuUrl = {m_index = 2696246736}, m_quality = (ClangParsingEnvironment::Source | ClangParsingEnvironment::BuildSystem | unknown: 32612), m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x7f67a0b3ddf0}}}
        update = false
        urlLock = {m_url = {m_index = 2935992080}}
        context = {m_topContext = 0x7f67a0b9f370}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f378}, d = 0x7f67a0b9f378}}
#9  0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f67741014f0, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0b46f00: {file = 0x7f6774116bd0, location = {line = 506, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f360}, d = 0x7f67a0b9f360}}, i = {i = 0x7f67a0b9f370}, e = {i = 0x7f67a0b9f380}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f360}, d = 0x7f67a0b9f360}}
        path = {m_index = 2935992816}
        environment = 
              @0x7f67aeffb2c0: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67a0b9f318}, m_projectPaths = {d = 0x1}, m_includes = {d = 0x7f67a0b9f240}, m_frameworkDirectories = {d = 0x7f6804c22ec6 <QBasicAtomicInteger<int>::load() const+24>}, m_defines = {d = 0x7f67aeffb3b0}, m_pchInclude = {m_data = {d = 0x7f67aeffb320}}, m_tuUrl = {m_index = 2935993168}, m_quality = (ClangParsingEnvironment::Source | ClangParsingEnvironment::BuildSystem | unknown: 32612), m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x7f67c7904913 <std::__unguarded_insertion_sort<QList<Import>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Import const&, Import const&)> >(QList<Import>::iterator, QList<Import>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Import const&, Import const&)>)+59>}}}
        update = false
---Type <return> to continue, or q <return> to quit---
        urlLock = {m_url = {m_index = 2935992704}}
        context = {m_topContext = 0x7f67aeffb100}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67aeffb0c0}, d = 0x7f67aeffb0c0}}
#10 0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f67740cca60, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0b9f840: {file = 0x7f67741014f0, location = {line = 37, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f300}, d = 0x7f67a0b9f300}}, i = {i = 0x7f67a0b9f310}, e = {i = 0x7f67a0b9f318}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f300}, d = 0x7f67a0b9f300}}
        path = {m_index = 2935993440}
        environment = 
              @0x7f67aeffb530: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67a0b9f258}, m_projectPaths = {d = 0x7f6700000001}, m_includes = {d = 0x7f67aeffb580}, m_frameworkDirectories = {d = 0x7f6804c32761 <QVector<KDevelop::Bucket<Utils::SetNodeData, Utils::SetNodeDataRequest, false, 24u>*>::at(int) const+127>}, m_defines = {d = 0x1aaeffb570}, m_pchInclude = {m_data = {d = 0x7f6805940208 <KDevelop::RecursiveImportRepository::repository()::recursiveImportRepositoryObject+72>}}, m_tuUrl = {m_index = 14480136}, m_quality = ClangParsingEnvironment::Unknown, m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x7f67aeffb590}}}
        update = false
        urlLock = {m_url = {m_index = 2696540744}}
        context = {m_topContext = 0x7f67a0b9f258}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67aeffb3b0}, d = 0x7f67aeffb3b0}}
#11 0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f6774030b80, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0b3ddf0: {file = 0x7f67740cca60, location = {line = 44, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f1c0}, d = 0x7f67a0b9f1c0}}, i = {i = 0x7f67a0b9f1d0}, e = {i = 0x7f67a0b9f258}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f1c0}, d = 0x7f67a0b9f1c0}}
        path = {m_index = 2935994064}
        environment = 
              @0x7f67aeffb7a0: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67a0b9f178}, m_projectPaths = {d = 0x7f6700000001}, m_includes = {d = 0x7f67a0b9f110}, m_frameworkDirectories = {d = 0x7f68078f06d7 <QString::replace(QChar, QLatin1String, Qt::CaseSensitivity)+119>}, m_defines = {d = 0x7f67a0b9f118}, m_pchInclude = {m_data = {d = 0x0}}, m_tuUrl = {m_index = 2696540440}, m_quality = (ClangParsingEnvironment::Source | ClangParsingEnvironment::BuildSystem | unknown: 32612), m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x7c00000002}}}
        update = false
        urlLock = {m_url = {m_index = 2935993952}}
        context = {m_topContext = 0x7f67aeffb5e0}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67aeffb5a0}, d = 0x7f67aeffb5a0}}
#12 0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f6774064220, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a028c740: {file = 0x7f6774030b80, location = {line = 42, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f160}, d = 0x7f67a0b9f160}}, i = {i = 0x7f67a0b9f170}, e = {i = 0x7f67a0b9f178}, control = 1}
        sortedImports = 
---Type <return> to continue, or q <return> to quit---
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f160}, d = 0x7f67a0b9f160}}
        path = {m_index = 2935994688}
        environment = 
              @0x7f67aeffba10: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67a0b9f120}, m_projectPaths = {d = 0x1}, m_includes = {d = 0x7f67a0b9f0b0}, m_frameworkDirectories = {d = 0x3000000003}, m_defines = {d = 0x7f67a0b9f0b8}, m_pchInclude = {m_data = {d = 0x0}}, m_tuUrl = {m_index = 91}, m_quality = (ClangParsingEnvironment::BuildSystem | unknown: 108), m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x0}}}
        update = false
        urlLock = {m_url = {m_index = 2935994576}}
        context = {m_topContext = 0x7f67a0b9f110}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f118}, d = 0x7f67a0b9f118}}
#13 0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f67740ae760, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0bf8c60: {file = 0x7f6774064220, location = {line = 47, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f100}, d = 0x7f67a0b9f100}}, i = {i = 0x7f67a0b9f110}, e = {i = 0x7f67a0b9f120}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f100}, d = 0x7f67a0b9f100}}
        path = {m_index = 2935995312}
        environment = 
              @0x7f67aeffbc80: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67a0b9f0c0}, m_projectPaths = {d = 0x1}, m_includes = {d = 0x7f67a0b9eff0}, m_frameworkDirectories = {d = 0xc15000}, m_defines = {d = 0x7f67a0b9f020}, m_pchInclude = {m_data = {d = 0x63}}, m_tuUrl = {m_index = 2696540152}, m_quality = (ClangParsingEnvironment::Source | ClangParsingEnvironment::BuildSystem | unknown: 32612), m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x7f67a0000078}}}
        update = false
        urlLock = {m_url = {m_index = 2696540344}}
        context = {m_topContext = 0x7f67aeffbac0}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67aeffba80}, d = 0x7f67aeffba80}}
#14 0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f67740cc3c0, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0bf8e40: {file = 0x7f67740ae760, location = {line = 26, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f0a0}, d = 0x7f67a0b9f0a0}}, i = {i = 0x7f67a0b9f0b0}, e = {i = 0x7f67a0b9f0c0}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f0a0}, d = 0x7f67a0b9f0a0}}
        path = {m_index = 2935995936}
        environment = 
              @0x7f67aeffbef0: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67a0b9f028}, m_projectPaths = {d = 0x82900000001}, m_includes = {d = 0x87000000849}, m_frameworkDirectories = {d = 0x8a300000889}, m_defines = {d = 0x8d4000008be}, m_pchInclude = {m_data = {d = 0x8fa000008f3}}, m_tuUrl = {m_index = 2299}, m_quality = (ClangParsingEnvironment::BuildSystem | unknown: 2316), m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x9580000090f}}}
        update = false
        urlLock = {m_url = {m_index = 2935995824}}
        context = {m_topContext = 0x7f67a0b9eff0}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9f020}, d = 0x7f67a0b9f020}}
#15 0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f67740b14d0, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abo---Type <return> to continue, or q <return> to quit---
rtFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0b47460: {file = 0x7f67740cc3c0, location = {line = 45, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9efe0}, d = 0x7f67a0b9efe0}}, i = {i = 0x7f67a0b9eff0}, e = {i = 0x7f67a0b9f028}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9efe0}, d = 0x7f67a0b9efe0}}
        path = {m_index = 2935996560}
        environment = 
              @0x7f67aeffc160: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67a0b9ef98}, m_projectPaths = {d = 0x1cb600000001}, m_includes = {d = 0x1cf600001cd4}, m_frameworkDirectories = {d = 0x1d5b00000003}, m_defines = {d = 0x20}, m_pchInclude = {m_data = {d = 0x7f6700000003}}, m_tuUrl = {m_index = 40}, m_quality = ClangParsingEnvironment::Unknown, m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x50}}}
        update = false
        urlLock = {m_url = {m_index = 2935996448}}
        context = {m_topContext = 0x7f67aeffbfa0}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0xa0800000a06}, d = 0xa0800000a06}}
#16 0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f67740b4780, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0b46fb0: {file = 0x7f67740b14d0, location = {line = 0, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9ef80}, d = 0x7f67a0b9ef80}}, i = {i = 0x7f67a0b9ef90}, e = {i = 0x7f67a0b9ef98}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9ef80}, d = 0x7f67a0b9ef80}}
        path = {m_index = 2935997184}
        environment = 
              @0x7f67aeffc3d0: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x7f67a0b9ef38}, m_projectPaths = {d = 0x7f6700000001}, m_includes = {d = 0x1668f60}, m_frameworkDirectories = {d = 0x7f6803d495c0 <ThreadWeaver::Job::setStatus(ThreadWeaver::JobInterface::Status)>}, m_defines = {d = 0x1}, m_pchInclude = {m_data = {d = 0x1}}, m_tuUrl = {m_index = 2935998544}, m_quality = (ClangParsingEnvironment::Source | ClangParsingEnvironment::BuildSystem | unknown: 32612), m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x7f680e6c98f4 <_dl_fixup+212>}}}
        update = false
        urlLock = {m_url = {m_index = 2935997072}}
        context = {m_topContext = 0x7f67aeffc210}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67aeffc1d0}, d = 0x7f67aeffc1d0}}
#17 0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f67740b5970, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0b471a0: {file = 0x7f67740b4780, location = {line = 23, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9ef20}, d = 0x7f67a0b9ef20}}, i = {i = 0x7f67a0b9ef30}, e = {i = 0x7f67a0b9ef38}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9ef20}, d = 0x7f67a0b9ef20}}
        path = {m_index = 0}
        environment = <error reading variable>
        update = false
        urlLock = {m_url = {m_index = 2696539488}}
        context = {m_topContext = 0x7f67aeffc5d0}
        problems = 
---Type <return> to continue, or q <return> to quit---
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9eeb0}, d = 0x7f67a0b9eeb0}}
#18 0x00007f67c78ffc1f in ClangHelpers::buildDUChain(void*, QMultiHash<void*, Import> const&, ParseSession const&, KDevelop::TopDUContext::Features, QHash<void*, KDevelop::ReferencedTopDUContext>&, ClangIndex*, std::function<bool ()> const&) (file=0x7f677406bad0, imports=..., session=..., features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses, includedFiles=..., index=0x1668f60, abortFunction=...) at /home/flh/projects/kdevelop/languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7f67a0b55980: {file = 0x7f67740b5970, location = {line = 20, column = 0}}
        _container_ = 
          {c = {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9ee60}, d = 0x7f67a0b9ee60}}, i = {i = 0x7f67a0b9ee70}, e = {i = 0x7f67a0b9eeb8}, control = 1}
        sortedImports = 
            {<QListSpecialMethods<Import>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a0b9ee60}, d = 0x7f67a0b9ee60}}
        path = {m_index = 2935998192}
        environment = 
              @0x7f67aeffcbc0: {<KDevelop::ParsingEnvironment> = {_vptr.ParsingEnvironment = 0x39d2230}, m_projectPaths = {d = 0xb633f101d297ee00}, m_includes = {d = 0x7f67c7b938d9 <std::_Function_base::_Base_manager<ClangParseJob::run(ThreadWeaver::JobPointer, ThreadWeaver::Thread*)::<lambda()> >::_M_manager(std::_Any_data &, const std::_Any_data &, std::_Manager_operation)>}, m_frameworkDirectories = {d = 0x7f67c7b938b7 <std::_Function_handler<bool(), ClangParseJob::run(ThreadWeaver::JobPointer, ThreadWeaver::Thread*)::<lambda()> >::_M_invoke(const std::_Any_data &)>}, m_defines = {d = 0x7f67aeffcdb0}, m_pchInclude = {m_data = {d = 0x7f679c0013a0}}, m_tuUrl = {m_index = 2617250720}, m_quality = (ClangParsingEnvironment::Source | ClangParsingEnvironment::BuildSystem | unknown: 32612), m_parserSettings = {parserOptions = {static null = {<No data fields>}, d = 0x7f6803d46263 <ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool)+83>}}}
        update = false
        urlLock = {m_url = {m_index = 2935998160}}
        context = {m_topContext = 0x0}
        problems = 
            {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x0}, d = 0x0}}
#19 0x00007f67c7b92f74 in ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=0x39d2230)
    at /home/flh/projects/kdevelop/languages/clang/clangparsejob.cpp:323
        parseLock = {q_val = 23419217}
        __PRETTY_FUNCTION__ = "virtual void ClangParseJob::run(ThreadWeaver::JobPointer, ThreadWeaver::Thread*)"



        session = {d = {d = 0x7f67a0b46650}}
        imports = {<QHash<void*, Import>> = {{d = 0x7f67a0b562c0, e = 0x7f67a0b562c0}}, <No data fields>}
        includedFiles = {{d = 0x7f67a0b9ed60, e = 0x7f67a0b9ed60}}
        context = {m_topContext = 0x0}
#20 0x00007f6803d4a586 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#21 0x00007f6803d4ab88 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#22 0x00007f6803d49a9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#23 0x00007f6803d49140 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#24 0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#25 0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#26 0x00007f6806c697df in clone () at /usr/lib/libc.so.6
Comment 1 Francis Herne 2017-02-03 19:20:58 UTC
Continued, because the comment was too long...


Thread 11 (Thread 0x7f67af7fe700 (LWP 29320)):
#0  0x00007f6806c38ffd in nanosleep () at /usr/lib/libc.so.6
#1  0x00007f6807a9e65d in  () at /usr/lib/libQt5Core.so.5
#2  0x00007f680786ea94 in QThread::usleep(unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f6804c6fcd2 in KDevelop::DUChainPrivate::loadChain(unsigned int, QSet<unsigned int>&) (this=0x7f6805540180 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>, index=1473, loaded=...) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:568
        chain = 0x7f67af7fcc20
        l = {val = 140084742717824}
        __PRETTY_FUNCTION__ = "void KDevelop::DUChainPrivate::loadChain(uint, QSet<unsigned int>&)"
#4  0x00007f6804c6ff3f in KDevelop::DUChainPrivate::loadChain(unsigned int, QSet<unsigned int>&) (this=0x7f6805540180 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>, index=1474, loaded=...) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:587
        import = 
            @0x7f679c40c6c8: {position = {line = -1, column = -1}, m_declaration = {{m_indirectData = {identifier = {<KDevelop::ReferenceCountManager> = {<No data fields>}, index = 65538}, additionalIdentity = 0}, m_directData = {m_topContext = 65538, m_declarationIndex = 0}}, m_isDirect = false, m_specialization = {<KDevelop::ReferenceCountManager> = {<No data fields>}, m_index = 0}}, m_context = {m_topContext = 1473, m_contextIndex = 0}}

        _container_ = {c = {d = 0x7f679c40c6b0}, i = {i = 0x7f679c40c6c8}, e = {i = 0x7f679c40c6e8}, control = 1}
---Type <return> to continue, or q <return> to quit---
        chain = 0x7f679c40a910
        l = {val = 140084742717824}
        __PRETTY_FUNCTION__ = "void KDevelop::DUChainPrivate::loadChain(uint, QSet<unsigned int>&)"
#5  0x00007f6804c69b04 in KDevelop::DUChain::loadChain(unsigned int) (this=0x1111750, index=1474) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:1312
        loaded = {q_hash = {{d = 0x7f679c3fefe0, e = 0x7f679c3fefe0}}}
#6  0x00007f6804cbdaa0 in KDevelop::DUChain::chainForIndex(unsigned int) (this=0x1111750, index=1474) at /home/flh/projects/kdevplatform/language/duchain/duchain.h:186
#7  0x00007f6804cbdbdd in KDevelop::IndexedTopDUContext::data() const (this=0x7f67af7fce40) at /home/flh/projects/kdevplatform/language/duchain/indexedtopducontext.cpp:49

#8  0x00007f6804d11009 in KDevelop::ParsingEnvironmentFile::topContext() const (this=0x7f679c408790) at /home/flh/projects/kdevplatform/language/duchain/parsingenvironment.cpp:140

#9  0x00007f67c21c584d in Python::ParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=0x66a7310) at /home/flh/projects/kdev-python/pythonparsejob.cpp:128

        file = @0x7f679c4083f0: {d = 0x7f679c408790}
        _container_ = 
          {c = {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::ParsingEnvironmentFile> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f679c4083e0}, d = 0x7f679c4083e0}}, i = {i = 0x7f679c4083f0}, e = {i = 0x7f679c4083f8}, control = 1}
        lock = {m_lock = 0x7f68055401a0 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, m_locked = true, m_timeout = 0}
        langString = {m_index = 916876}
        __PRETTY_FUNCTION__ = "virtual void Python::ParseJob::run(ThreadWeaver::JobPointer, ThreadWeaver::Thread*)"
        parselock = {q_val = 28771441}
        urlLock = {m_url = {m_index = 132511}}
        toUpdate = {m_topContext = 0x0}
        parserResults = {first = {value = 0x0, d = 0x7f67af7fddb0}, second = 224}
        editor = {value = 0x7f67af7fdd00, d = 0x6681ce0}
        lock = {m_lock = 0x7f67a40023d0, m_locked = 208, m_timeout = 32615}
#10 0x00007f6803d4a586 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#11 0x00007f6803d4ab88 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#12 0x00007f6803d49a9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#13 0x00007f6803d49140 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#14 0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#15 0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f67affff700 (LWP 29319)):

#0  0x00007f6806c38ffd in nanosleep () at /usr/lib/libc.so.6

#1  0x00007f6807a9e65d in  () at /usr/lib/libQt5Core.so.5
#2  0x00007f680786ea94 in QThread::usleep(unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f6804cf7e37 in KDevelop::DUChainLock::lockForWrite(unsigned int) (this=0x7f68055401a0 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, timeout=0)
    at /home/flh/projects/kdevplatform/language/duchain/duchainlock.cpp:155
        t = {t1 = -9223372036854775808, t2 = -9223372036854775808}
#4  0x00007f6804cf813f in KDevelop::DUChainWriteLocker::lock() (this=0x7f67afffe930) at /home/flh/projects/kdevplatform/language/duchain/duchainlock.cpp:249
        l = false
#5  0x00007f6804cf80d8 in KDevelop::DUChainWriteLocker::DUChainWriteLocker(KDevelop::DUChainLock*, unsigned int) (this=0x7f67afffe930, duChainLock=0x0, timeout=0)
    at /home/flh/projects/kdevplatform/language/duchain/duchainlock.cpp:233
#6  0x00007f67c7b92594 in ClangParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=0x6721720)
    at /home/flh/projects/kdevelop/languages/clang/clangparsejob.cpp:257
        session = {d = {d = 0x7f67a4729110}}
        lock = {m_lock = 0x7f68055401a0 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, m_locked = false, m_timeout = 0}
        ctx = 0x5fba500
        parseLock = {q_val = 23419217}
        __PRETTY_FUNCTION__ = "virtual void ClangParseJob::run(ThreadWeaver::JobPointer, ThreadWeaver::Thread*)"
        session = {d = {d = 0x6568991}}
        imports = {<QHash<void*, Import>> = {{d = 0xdb4b80, e = 0xdb4b80}}, <No data fields>}
        includedFiles = {{d = 0x6568991, e = 0x6568991}}
        context = {m_topContext = 0x7f6807af7230 <QListData::shared_null+16>}
#7  0x00007f6803d4a586 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007f6803d4ab88 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#9  0x00007f6803d49a9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#10 0x00007f6803d49140 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
---Type <return> to continue, or q <return> to quit---
#11 0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#13 0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f67bafe1700 (LWP 29318)):
#0  0x00007f6806c38ffd in nanosleep () at /usr/lib/libc.so.6
#1  0x00007f6807a9e65d in  () at /usr/lib/libQt5Core.so.5
#2  0x00007f680786ea94 in QThread::usleep(unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f6804c6fcd2 in KDevelop::DUChainPrivate::loadChain(unsigned int, QSet<unsigned int>&) (this=0x7f6805540180 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>, index=1473, loaded=...) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:568
        chain = 0x7f67bafdfc20
        l = {val = 140084742717824}
        __PRETTY_FUNCTION__ = "void KDevelop::DUChainPrivate::loadChain(uint, QSet<unsigned int>&)"
#4  0x00007f6804c6ff3f in KDevelop::DUChainPrivate::loadChain(unsigned int, QSet<unsigned int>&) (this=0x7f6805540180 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>, index=1488, loaded=...) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:587
        import = 
            @0x7f67b09c3f58: {position = {line = -1, column = -1}, m_declaration = {{m_indirectData = {identifier = {<KDevelop::ReferenceCountManager> = {<No data fields>}, index = 65538}, additionalIdentity = 0}, m_directData = {m_topContext = 65538, m_declarationIndex = 0}}, m_isDirect = false, m_specialization = {<KDevelop::ReferenceCountManager> = {<No data fields>}, m_index = 0}}, m_context = {m_topContext = 1473, m_contextIndex = 0}}
        _container_ = {c = {d = 0x7f67b09c3f40}, i = {i = 0x7f67b09c3f58}, e = {i = 0x7f67b09c3f98}, control = 1}
        chain = 0x7f67b09c4750
        l = {val = 140084742717824}
        __PRETTY_FUNCTION__ = "void KDevelop::DUChainPrivate::loadChain(uint, QSet<unsigned int>&)"
#5  0x00007f6804c69b04 in KDevelop::DUChain::loadChain(unsigned int) (this=0x1111750, index=1488) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:1312
        loaded = {q_hash = {{d = 0x7f67b09c3890, e = 0x7f67b09c3890}}}
#6  0x00007f6804cbdaa0 in KDevelop::DUChain::chainForIndex(unsigned int) (this=0x1111750, index=1488) at /home/flh/projects/kdevplatform/language/duchain/duchain.h:186
#7  0x00007f6804cbdbdd in KDevelop::IndexedTopDUContext::data() const (this=0x7f67bafdfe40) at /home/flh/projects/kdevplatform/language/duchain/indexedtopducontext.cpp:49
#8  0x00007f6804d11009 in KDevelop::ParsingEnvironmentFile::topContext() const (this=0x7f67b09c49e0) at /home/flh/projects/kdevplatform/language/duchain/parsingenvironment.cpp:140
#9  0x00007f67c21c584d in Python::ParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=0x66ce260) at /home/flh/projects/kdev-python/pythonparsejob.cpp:128
        file = @0x7f67b09c1e30: {d = 0x7f67b09c49e0}
        _container_ = 
          {c = {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::ParsingEnvironmentFile> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67b09c1e20}, d = 0x7f67b09c1e20}}, i = {i = 0x7f67b09c1e30}, e = {i = 0x7f67b09c1e38}, control = 1}
        lock = {m_lock = 0x7f68055401a0 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, m_locked = true, m_timeout = 0}
        langString = {m_index = 916876}
        __PRETTY_FUNCTION__ = "virtual void Python::ParseJob::run(ThreadWeaver::JobPointer, ThreadWeaver::Thread*)"
        parselock = {q_val = 28771441}
        urlLock = {m_url = {m_index = 132429}}
        toUpdate = {m_topContext = 0x1}
        parserResults = {first = {value = 0xdaf230, d = 0x7f6803d4714c <ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool)+604>}, second = 176}
        editor = {value = 0x7f67bafe0d00, d = 0x4eec600}
        lock = {m_lock = 0xdaf230, m_locked = false, m_timeout = 32615}
#10 0x00007f6803d4a586 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#11 0x00007f6803d4ab88 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#12 0x00007f6803d49a9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#13 0x00007f6803d49140 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#14 0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#15 0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f67ba7e0700 (LWP 29317)):
#0  0x00007f6806c38ffd in nanosleep () at /usr/lib/libc.so.6
#1  0x00007f6807a9e65d in  () at /usr/lib/libQt5Core.so.5
#2  0x00007f680786ea94 in QThread::usleep(unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f6804c6fcd2 in KDevelop::DUChainPrivate::loadChain(unsigned int, QSet<unsigned int>&) (this=0x7f6805540180 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>, index=1474, loaded=...) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:568
---Type <return> to continue, or q <return> to quit---
        chain = 0x7f67ba7deaf0
        l = {val = 140084742717824}
        __PRETTY_FUNCTION__ = "void KDevelop::DUChainPrivate::loadChain(uint, QSet<unsigned int>&)"
#4  0x00007f6804c6ff3f in KDevelop::DUChainPrivate::loadChain(unsigned int, QSet<unsigned int>&) (this=0x7f6805540180 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>, index=1473, loaded=...) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:587
        import = 
            @0x7f67a8ac8c18: {position = {line = -1, column = -1}, m_declaration = {{m_indirectData = {identifier = {<KDevelop::ReferenceCountManager> = {<No data fields>}, index = 65538}, additionalIdentity = 0}, m_directData = {m_topContext = 65538, m_declarationIndex = 0}}, m_isDirect = false, m_specialization = {<KDevelop::ReferenceCountManager> = {<No data fields>}, m_index = 0}}, m_context = {m_topContext = 1474, m_contextIndex = 0}}
        _container_ = {c = {d = 0x7f67a8ac8c00}, i = {i = 0x7f67a8ac8c18}, e = {i = 0x7f67a8ac8c38}, control = 1}
        chain = 0x7f67a8b0ed00
        l = {val = 140084742717824}
        __PRETTY_FUNCTION__ = "void KDevelop::DUChainPrivate::loadChain(uint, QSet<unsigned int>&)"
#5  0x00007f6804c6ff3f in KDevelop::DUChainPrivate::loadChain(unsigned int, QSet<unsigned int>&) (this=0x7f6805540180 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>, index=1585, loaded=...) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:587
        import = 
            @0x7f67a8aced28: {position = {line = -1, column = -1}, m_declaration = {{m_indirectData = {identifier = {<KDevelop::ReferenceCountManager> = {<No data fields>}, index = 65538}, additionalIdentity = 0}, m_directData = {m_topContext = 65538, m_declarationIndex = 0}}, m_isDirect = false, m_specialization = {<KDevelop::ReferenceCountManager> = {<No data fields>}, m_index = 0}}, m_context = {m_topContext = 1473, m_contextIndex = 0}}
        _container_ = {c = {d = 0x7f67a8aced10}, i = {i = 0x7f67a8aced28}, e = {i = 0x7f67a8aced68}, control = 1}
        chain = 0x7f67a8acd9e0
        l = {val = 140084742717824}
        __PRETTY_FUNCTION__ = "void KDevelop::DUChainPrivate::loadChain(uint, QSet<unsigned int>&)"
#6  0x00007f6804c69b04 in KDevelop::DUChain::loadChain(unsigned int) (this=0x1111750, index=1585) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:1312
        loaded = {q_hash = {{d = 0x7f67a8acd220, e = 0x7f67a8acd220}}}
#7  0x00007f6804cbdaa0 in KDevelop::DUChain::chainForIndex(unsigned int) (this=0x1111750, index=1585) at /home/flh/projects/kdevplatform/language/duchain/duchain.h:186
#8  0x00007f6804cbdbdd in KDevelop::IndexedTopDUContext::data() const (this=0x7f67ba7dee40) at /home/flh/projects/kdevplatform/language/duchain/indexedtopducontext.cpp:49
#9  0x00007f6804d11009 in KDevelop::ParsingEnvironmentFile::topContext() const (this=0x7f67a8acf820) at /home/flh/projects/kdevplatform/language/duchain/parsingenvironment.cpp:140
#10 0x00007f67c21c584d in Python::ParseJob::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) (this=0x66507f0) at /home/flh/projects/kdev-python/pythonparsejob.cpp:128
        file = @0x7f67a8ace9c0: {d = 0x7f67a8acf820}
        _container_ = 
          {c = {<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::ParsingEnvironmentFile> >> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f67a8ace9b0}, d = 0x7f67a8ace9b0}}, i = {i = 0x7f67a8ace9c0}, e = {i = 0x7f67a8ace9c8}, control = 1}
        lock = {m_lock = 0x7f68055401a0 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, m_locked = true, m_timeout = 0}
        langString = {m_index = 916876}
        __PRETTY_FUNCTION__ = "virtual void Python::ParseJob::run(ThreadWeaver::JobPointer, ThreadWeaver::Thread*)"
        parselock = {q_val = 28771441}
        urlLock = {m_url = {m_index = 132590}}
        toUpdate = {m_topContext = 0x1}
        parserResults = {first = {value = 0x7f67a8ac8b30, d = 0x7f67a8ac8b30}, second = 48}
        editor = {value = 0x7f67ba7dfd00, d = 0x50396a0}
        lock = {m_lock = 0xdaf230, m_locked = false, m_timeout = 0}
#11 0x00007f6803d4a586 in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#12 0x00007f6803d4ab88 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#13 0x00007f6803d49a9a in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib/libKF5ThreadWeaver.so.5
#14 0x00007f6803d49140 in ThreadWeaver::Thread::run() () at /usr/lib/libKF5ThreadWeaver.so.5
#15 0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#16 0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#17 0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f67c1c93700 (LWP 29175)):
#0  0x00007f6806c6048d in poll () at /usr/lib/libc.so.6
#1  0x00007f67fb447786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f67fb44789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6807a9f44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f6807a48c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#5  0x00007f680786aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f6804dc50a1 in KDevelop::CompletionWorkerThread::run() (this=0x1af0080) at /home/flh/projects/kdevplatform/language/codecompletion/codecompletionmodel.cpp:89
#7  0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f67c2c49700 (LWP 29167)):
#0  0x00007f6806c6048d in poll () at /usr/lib/libc.so.6
#1  0x00007f67fb447786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f67fb44789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6807a9f44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f6807a48c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f680786aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f6804dc50a1 in KDevelop::CompletionWorkerThread::run() (this=0x165a6c0) at /home/flh/projects/kdevplatform/language/codecompletion/codecompletionmodel.cpp:89
#7  0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f67d1e66700 (LWP 29166)):
#0  0x00007f6806c6048d in poll () at /usr/lib/libc.so.6
#1  0x00007f67fb447786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f67fb44789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6807a9f44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f6807a48c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f680786aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f6804dc50a1 in KDevelop::CompletionWorkerThread::run() (this=0x11b4c50) at /home/flh/projects/kdevplatform/language/codecompletion/codecompletionmodel.cpp:89
#7  0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f67d96ea700 (LWP 29165)):
#0  0x00007f67ff4694b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f68078704c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f6804c6df0b in KDevelop::DUChainPrivate::CleanupThread::run() (this=0x110a950) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:282
        lock = {val = 17869169}
        s = 174
#3  0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f67ea885700 (LWP 29164)):
#0  0x00007f6806c6048d in poll () at /usr/lib/libc.so.6
#1  0x00007f67fb447786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f67fb44789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6807a9f44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f6807a48c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f680786aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f680a819125 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f67ec265700 (LWP 29163)):
#0  0x00007f6806c6048d in poll () at /usr/lib/libc.so.6
#1  0x00007f67fa2858e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f67fa287679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f67ee5b8239 in  () at /usr/lib/libQt5XcbQpa.so.5
---Type <return> to continue, or q <return> to quit---
#4  0x00007f680786f6d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f67ff463454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f6806c697df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f680e7b5800 (LWP 29162)):
#0  0x00007f6806c38ffd in nanosleep () at /usr/lib/libc.so.6
#1  0x00007f6807a9e65d in  () at /usr/lib/libQt5Core.so.5
#2  0x00007f680786ea94 in QThread::usleep(unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f6804cf7e37 in KDevelop::DUChainLock::lockForWrite(unsigned int) (this=0x7f68055401a0 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, timeout=0)
    at /home/flh/projects/kdevplatform/language/duchain/duchainlock.cpp:155
        t = {t1 = -9223372036854775808, t2 = -9223372036854775808}
#4  0x00007f6804cf813f in KDevelop::DUChainWriteLocker::lock() (this=0x7ffdfdba5c50) at /home/flh/projects/kdevplatform/language/duchain/duchainlock.cpp:249
        l = false
#5  0x00007f6804cf80d8 in KDevelop::DUChainWriteLocker::DUChainWriteLocker(KDevelop::DUChainLock*, unsigned int) (this=0x7ffdfdba5c50, duChainLock=0x7f68055401a0 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, timeout=0) at /home/flh/projects/kdevplatform/language/duchain/duchainlock.cpp:233
#6  0x00007f6804c6b0be in KDevelop::DUChain::documentLoadedPrepare(KDevelop::IDocument*) (this=0x1111750, doc=0x2c3a830) at /home/flh/projects/kdevplatform/language/duchain/duchain.cpp:1504
        url = {m_index = 9399892}
        lock = {m_lock = 0x7f68055401a0 <KDevelop::(anonymous namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, m_locked = false, m_timeout = 0}
        l = {val = 37522304}
        standardContext = 0x8
        chains = 
            {<QListSpecialMethods<KDevelop::TopDUContext*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x4c}, d = 0x4c}}
        languages = 
            {<QListSpecialMethods<KDevelop::ILanguageSupport*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffdfdba5cf0}, d = 0x7ffdfdba5cf0}}
        __PRETTY_FUNCTION__ = "void KDevelop::DUChain::documentLoadedPrepare(KDevelop::IDocument*)"
#7  0x00007f6804c8dc70 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KDevelop::IDocument*>, void, void (KDevelop::DUChain::*)(KDevelop::IDocument*)>::call(void (KDevelop::DUChain::*)(KDevelop::IDocument*), KDevelop::DUChain*, void**) (f=
    (void (KDevelop::DUChain::*)(KDevelop::DUChain * const, KDevelop::IDocument *)) 0x7f6804c6b01c <KDevelop::DUChain::documentLoadedPrepare(KDevelop::IDocument*)>, o=0x1111750, arg=0x7ffdfdba6020) at /usr/include/qt/QtCore/qobjectdefs_impl.h:143
#8  0x00007f6804c8caf4 in QtPrivate::FunctionPointer<void (KDevelop::DUChain::*)(KDevelop::IDocument*)>::call<QtPrivate::List<KDevelop::IDocument*>, void>(void (KDevelop::DUChain::*)(KDevelop::IDocument*), KDevelop::DUChain*, void**) (f=
    (void (KDevelop::DUChain::*)(KDevelop::DUChain * const, KDevelop::IDocument *)) 0x7f6804c6b01c <KDevelop::DUChain::documentLoadedPrepare(KDevelop::IDocument*)>, o=0x1111750, arg=0x7ffdfdba6020) at /usr/include/qt/QtCore/qobjectdefs_impl.h:162
#9  0x00007f6804c89915 in QtPrivate::QSlotObject<void (KDevelop::DUChain::*)(KDevelop::IDocument*), QtPrivate::List<KDevelop::IDocument*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x1110db0, r=0x1111750, a=0x7ffdfdba6020, ret=0x0) at /usr/include/qt/QtCore/qobject_impl.h:120
#10 0x00007f6807a764be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#11 0x00007f680ca85d2f in KDevelop::IDocumentController::documentLoadedPrepare(KDevelop::IDocument*) (this=0xdd28d0, _t1=0x2c3a830)
    at /home/flh/projects/kdevplatform/build/interfaces/KDevPlatformInterfaces_automoc.dir/moc_idocumentcontr_BKHINBC3JP6LAY.cpp:567
        _a = {0x0, 0x7ffdfdba6010}
#12 0x00007f680ca77cc0 in KDevelop::IDocument::notifyLoaded() (this=0x2c3a830) at /home/flh/projects/kdevplatform/interfaces/idocument.cpp:130
#13 0x00007f680e34ffae in KDevelop::TextDocument::slotDocumentLoaded() (this=0x2c3a810) at /home/flh/projects/kdevplatform/shell/textdocument.cpp:777
#14 0x00007f680e308e37 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KDevelop::TextDocument::*)()>::call(void (KDevelop::TextDocument::*)(), KDevelop::TextDocument*, void**) (f=(void (KDevelop::TextDocument::*)(KDevelop::TextDocument * const)) 0x7f680e34ff76 <KDevelop::TextDocument::slotDocumentLoaded()>, o=0x2c3a810, arg=0x7ffdfdba6250)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:143
#15 0x00007f680e3089ab in QtPrivate::FunctionPointer<void (KDevelop::TextDocument::*)()>::call<QtPrivate::List<>, void>(void (KDevelop::TextDocument::*)(), KDevelop::TextDocument*, void**) (f=(void (KDevelop::TextDocument::*)(KDevelop::TextDocument * const)) 0x7f680e34ff76 <KDevelop::TextDocument::slotDocumentLoaded()>, o=0x2c3a810, arg=0x7ffdfdba6250)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:162
#16 0x00007f680e308087 in QtPrivate::QSlotObject<void (KDevelop::TextDocument::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x2145830, r=0x2c3a810, a=0x7ffdfdba6250, ret=0x0) at /usr/include/qt/QtCore/qobject_impl.h:120
#17 0x00007f6807a764be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#18 0x00007f680c74b712 in KTextEditor::Document::textChanged(KTextEditor::Document*) (this=this@entry=0x21acb10, _t1=<optimized out>, _t1@entry=0x21acb10)
    at /home/flh/ktexteditor/src/build/src/KF5TextEditor_automoc.dir/moc_document_G7ZZNPEZ2BAWZM.cpp:577
        _a = {0x0, 0x7ffdfdba6248}
#19 0x00007f680c5b7c13 in KTextEditor::DocumentPrivate::openFile() (this=0x21acb10) at /home/flh/ktexteditor/src/ktexteditor-5.30.0/src/document/katedocument.cpp:2259
        currentEncoding = {static null = {<No data fields>}, d = 0x2146fd0}
---Type <return> to continue, or q <return> to quit---
        mimeType = {static null = {<No data fields>}, d = 0x2222700}
        pos = <optimized out>
        success = true
#20 0x00007f680c24e221 in  () at /usr/lib/libKF5Parts.so.5
#21 0x00007f680c24f14c in KParts::ReadOnlyPart::openUrl(QUrl const&) () at /usr/lib/libKF5Parts.so.5
#22 0x00007f680c5a41e9 in KTextEditor::DocumentPrivate::openUrl(QUrl const&) (this=0x21acb10, url=...) at /home/flh/ktexteditor/src/ktexteditor-5.30.0/src/document/katedocument.cpp:2625
        res = <optimized out>
#23 0x00007f680e34cfbc in KDevelop::TextDocument::createViewWidget(QWidget*) (this=0x2c3a810, parent=0x2a30e00) at /home/flh/projects/kdevplatform/shell/textdocument.cpp:310
        view = 0x0
#24 0x00007f680e34e90c in KDevelop::TextView::createWidget(QWidget*) (this=0x2150630, parent=0x2a30e00) at /home/flh/projects/kdevplatform/shell/textdocument.cpp:594
        textDocument = 0x2c3a810
        widget = 0x7ffdfdba67d0
#25 0x00007f680d3e1a86 in Sublime::View::widget(QWidget*) (this=0x2150630, parent=0x2a30e00) at /home/flh/projects/kdevplatform/sublime/view.cpp:76
#26 0x00007f680d3d9116 in Sublime::MainWindowPrivate::ViewCreator::operator()(Sublime::AreaIndex*) (this=0x7ffdfdba6b80, index=0xae9930)
    at /home/flh/projects/kdevplatform/sublime/mainwindow_p.cpp:388
        widget = 0x1d86ea0
        view = 0x2150630
        _container_ = 
          {c = {<QListSpecialMethods<Sublime::View*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x17bff60}, d = 0x17bff60}}, i = {i = 0x17bff90}, e = {i = 0x17bff98}, control = 1}
        container = 0x2a30e00
        position = 4
        hadActiveView = true
        activeView = 0x163c400
        splitter = 0xaa07b0
        __PRETTY_FUNCTION__ = "Sublime::Area::WalkerMode Sublime::MainWindowPrivate::ViewCreator::operator()(Sublime::AreaIndex*)"
#27 0x00007f680d3ddb31 in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) (this=0xae9890, op=..., index=0xae9930) at /home/flh/projects/kdevplatform/sublime/areawalkers.h:32
        mode = (unknown: 32616)
#28 0x00007f680d3dc8ed in Sublime::Area::walkViews<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) (this=0xae9890, op=..., index=0xae9930)
    at /home/flh/projects/kdevplatform/sublime/areawalkers.h:48
#29 0x00007f680d3d9e6a in Sublime::MainWindowPrivate::viewAdded(Sublime::AreaIndex*, Sublime::View*) (this=0xa0e560, index=0xae9930, view=0x2150630)
    at /home/flh/projects/kdevplatform/sublime/mainwindow_p.cpp:559
        viewCreator = {d = 0xa0e560, topViews = {q_hash = {{d = 0x2386c80, e = 0x2386c80}}}}
#30 0x00007f680d3d64ea in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<Sublime::AreaIndex*, Sublime::View*>, void, void (Sublime::MainWindowPrivate::*)(Sublime::AreaIndex*, Sublime::View*)>::call(void (Sublime::MainWindowPrivate::*)(Sublime::AreaIndex*, Sublime::View*), Sublime::MainWindowPrivate*, void**) (f=
    (void (Sublime::MainWindowPrivate::*)(Sublime::MainWindowPrivate * const, Sublime::AreaIndex *, Sublime::View *)) 0x7f680d3d9c82 <Sublime::MainWindowPrivate::viewAdded(Sublime::AreaIndex*, Sublime::View*)>, o=0xa0e560, arg=0x7ffdfdba6da0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:143
#31 0x00007f680d3d6091 in QtPrivate::FunctionPointer<void (Sublime::MainWindowPrivate::*)(Sublime::AreaIndex*, Sublime::View*)>::call<QtPrivate::List<Sublime::AreaIndex*, Sublime::View*>, void>(void (Sublime::MainWindowPrivate::*)(Sublime::AreaIndex*, Sublime::View*), Sublime::MainWindowPrivate*, void**) (f=
    (void (Sublime::MainWindowPrivate::*)(Sublime::MainWindowPrivate * const, Sublime::AreaIndex *, Sublime::View *)) 0x7f680d3d9c82 <Sublime::MainWindowPrivate::viewAdded(Sublime::AreaIndex*, Sublime::View*)>, o=0xa0e560, arg=0x7ffdfdba6da0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:162
#32 0x00007f680d3d565d in QtPrivate::QSlotObject<void (Sublime::MainWindowPrivate::*)(Sublime::AreaIndex*, Sublime::View*), QtPrivate::List<Sublime::AreaIndex*, Sublime::View*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x258dbb0, r=0xa0e560, a=0x7ffdfdba6da0, ret=0x0) at /usr/include/qt/QtCore/qobject_impl.h:120
#33 0x00007f6807a764be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#34 0x00007f680d3f13b1 in Sublime::Area::viewAdded(Sublime::AreaIndex*, Sublime::View*) (this=0xae9890, _t1=0xae9930, _t2=0x2150630)
    at /home/flh/projects/kdevplatform/build/sublime/KDevPlatformSublime_automoc.dir/moc_area_PMAGMMPI7SVUYA.cpp:278
        _a = {0x0, 0x7ffdfdba6d90, 0x7ffdfdba6d88}
#35 0x00007f680d3b2e4d in Sublime::Area::addView(Sublime::View*, Sublime::AreaIndex*, Sublime::View*) (this=0xae9890, view=0x2150630, index=0xae9930, after=0x0)
    at /home/flh/projects/kdevplatform/sublime/area.cpp:176
        __PRETTY_FUNCTION__ = "void Sublime::Area::addView(Sublime::View*, Sublime::AreaIndex*, Sublime::View*)"
#36 0x00007f680d3b2ec8 in Sublime::Area::addView(Sublime::View*, Sublime::View*) (this=0xae9890, view=0x2150630, after=0x163c400) at /home/flh/projects/kdevplatform/sublime/area.cpp:188
        index = 0xae9930
#37 0x00007f680e35e3a7 in KDevelop::DocumentControllerPrivate::openDocumentInternal(KDevelop::IDocument*, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (this=0xdc5e10, doc=0x2c3a830, range=..., activationParams=..., buddy=0x0) at /home/flh/projects/kdevplatform/shell/documentcontroller.cpp:493
        activeAreaIndex = 0xae9930
        afterActiveView = 0xb0e510
---Type <return> to continue, or q <return> to quit---
        afterActiveDoc = 0x17b45a0
        pos = 0
        activeDoc = 0x16548e0
        activeView = 0x163c400
        activeDoc = 0x16548e0
        buddyFinder = 0x165bf38
        buddyView = 0x0
        placeAfterBuddy = true
        partView = 0x2150630
        activeViewIdx = 0xae9930
        addView = true
        previousActiveDocument = 0x1654900
        previousActiveTextView = 0x16fca00
        previousActivePosition = {m_line = 66, m_column = 1}
        url = {d = 0x2c053d0}
        uiController = 0x9e03a0
        area = 0xae9890
        sdoc = 0x2c3a810
        emitOpened = true
        activePosition = {m_line = 9916144, m_column = 0}
#38 0x00007f680e35d67e in KDevelop::DocumentControllerPrivate::openDocumentInternal(QUrl const&, QString const&, KTextEditor::Range const&, QString const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (this=0xdc5e10, inputUrl=..., prefName=..., range=..., encoding=..., activationParams=..., buddy=0x0)
    at /home/flh/projects/kdevplatform/shell/documentcontroller.cpp:341
        _encoding = {static null = {<No data fields>}, d = 0x67907a0}
        url = {d = 0x2c053d0}
        doc = 0x2c3a830
        __PRETTY_FUNCTION__ = "KDevelop::IDocument* KDevelop::DocumentControllerPrivate::openDocumentInternal(const QUrl&, const QString&, const KTextEditor::Range&, const QString&, KDevelop::IDocumentController::DocumentActivation"...
#39 0x00007f680e35be2d in KDevelop::DocumentControllerPrivate::chooseDocument() (this=0xdc5e10) at /home/flh/projects/kdevplatform/shell/documentcontroller.cpp:159
        u = @0x1641770: {d = 0x2157c20}
        _container_ = 
          {c = {<QListSpecialMethods<QUrl>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1641760}, d = 0x1641760}}, i = {i = 0x1641770}, e = {i = 0x1641778}, control = 1}
        encoding = {static null = {<No data fields>}, d = 0x67907a0}
        res = 
            {urls = {<QListSpecialMethods<QUrl>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1641760}, d = 0x1641760}}, encoding = {static null = {<No data fields>}, d = 0x67907a0}}
#40 0x00007f680e354749 in KDevelop::DocumentController::<lambda()>::operator()(void) const (__closure=0xdab7a0) at /home/flh/projects/kdevplatform/shell/documentcontroller.cpp:609
        this = 0xdd28d0
        ac = 0xffffffffffffffff
        action = 0xffffffffffffffff
#41 0x00007f680e35b218 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KDevelop::DocumentController::setupActions()::<lambda()> >::call(KDevelop::DocumentController::<lambda()> &, void **) (f=..., arg=0x7ffdfdba7850) at /usr/include/qt/QtCore/qobjectdefs_impl.h:137
#42 0x00007f680e35b1b3 in QtPrivate::Functor<KDevelop::DocumentController::setupActions()::<lambda()>, 0>::call<QtPrivate::List<>, void>(KDevelop::DocumentController::<lambda()> &, void *, void **) (f=..., arg=0x7ffdfdba7850) at /usr/include/qt/QtCore/qobjectdefs_impl.h:194
#43 0x00007f680e35b157 in QtPrivate::QFunctorSlotObject<KDevelop::DocumentController::setupActions()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0xdab790, r=0xdd28d0, a=0x7ffdfdba7850, ret=0x0) at /usr/include/qt/QtCore/qobject_impl.h:168
#44 0x00007f6807a764be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#45 0x00007f6808725c92 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#46 0x00007f68087283f0 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#47 0x00007f6808728d6c in QAction::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#48 0x00007f680872c34c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#49 0x00007f6808733b61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#50 0x00007f6807a4a840 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#51 0x00007f6807fc4f28 in QShortcutMap::dispatchEvent(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#52 0x00007f6807fc4fe9 in QShortcutMap::tryShortcut(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#53 0x00007f6807f795af in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, uns---Type <return> to continue, or q <return> to quit---
igned short) () at /usr/lib/libQt5Gui.so.5
#54 0x00007f6807f94504 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/libQt5Gui.so.5
#55 0x00007f6807f998a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#56 0x00007f6807f7544b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#57 0x00007f67ee6189e0 in  () at /usr/lib/libQt5XcbQpa.so.5
#58 0x00007f67fb447587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#59 0x00007f67fb4477f0 in  () at /usr/lib/libglib-2.0.so.0
#60 0x00007f67fb44789c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#61 0x00007f6807a9f44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#62 0x00007f6807a48c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#63 0x00007f6807a511e4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#64 0x000000000040f341 in main(int, char**) (argc=3, argv=0x7ffdfdbaa348) at /home/flh/projects/kdevelop/app/main.cpp:763
        timer = {t1 = -9223372036854775808, t2 = -9223372036854775808}
        description = "The KDevelop Integrated Development Environment"
        aboutData = {d = 0x89de00}
        debugArgs =
              {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f6807af7220 <QListData::shared_null>}, d = 0x7f6807af7220 <QListData::shared_null>}}, <No data fields>}
        debugeeName = {static null = {<No data fields>}, d = 0x7f6807af5860 <QArrayData::shared_null>}
        app = {<QApplication> = {<No data fields>}, <No data fields>}
        migrator = {d = 0x926da0}
        __PRETTY_FUNCTION__ = "int main(int, char**)"
        parser = {d = 0x89ad00}
        initialFiles = {d = 0x7f6807af5860 <QArrayData::shared_null>}
        availableSessionInfos = {d = 0x95b9f0}
        session = {static null = {<No data fields>}, d = 0x928400}
        nRunningSessions = 0
        core = 0x974ef0
        projectNames =
              {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7f6807af7220 <QListData::shared_null>}, d = 0x7f6807af7220 <QListData::shared_null>}}, <No data fields>}
Comment 2 Milian Wolff 2017-02-04 21:11:08 UTC
to me, it looks like a hang in KDevelop::DUChainPrivate::loadChain - there are three threads in there, all from python, all from places where the duchain is readlocked and thus block the other threads (like clang) that try to access the duchain for writing.

I think the loadChain bug arises due the recursion:

thread A:
- enters loadChain
- locks m_chainsMutex
- puts file X into m_loading
- unlocks m_chainsMutex

thread B
- enters loadChain
- locks m_chainsMutex
-puts file Y into m_loading
- unlocks m_chainsMutex

thread A:
- recurses
- locks m_chainsMutex
- tries to load Y -> blocked by B

thread B
- recurses
- locks m_chainsMutex
- tries to load X -> blocked by A

-> deadlock
Comment 3 Milian Wolff 2017-02-04 21:16:33 UTC
I think this only can arise when we have a cycle in the import structure, i.e.

X -> Y -> X

and probably that is only triggered by python which is why I haven't seen that ever. The importsCache afaik also guards against this and would eliminate the code path at play here.
Comment 4 Milian Wolff 2017-02-04 21:19:45 UTC
Yep, looking at the indices this becomes clear:

thread 11:
1474 -> 1473

thread 9:
1488 -> 1473

thread 8:
1585 -> 1473 -> 1474

thread 11 and thread 8 trigger the deadlock
Comment 5 Justin Zobel 2020-12-17 05:38:29 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 6 Bug Janitor Service 2021-01-01 04:36:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2021-01-16 04:35:21 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!