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

            Bug ID: 375968
           Summary: Hang when opeing/parsing file
           Product: kdevelop
           Version: 5.0.80
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: m...@flherne.uk
  Target Milestone: ---

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

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

Reply via email to