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

--- Comment #5 from bunge...@gmail.com ---
It's not super reliable... if I muck with this file for a bit it eventually
happens. When it can happen there is some visual indication, but I'm not sure
how to explain it since I've only seen it a few times. Essentially, it becomes
obvious that the clang parser information is getting out of date with the
content, then I delete some number of lines, then the assert triggers. Note
that this is in a header file included from a number of other files in the
project, so it may be possible that this header file is somehow in different
states while being considered for inclusion in various translation units.

I applied the patch in comment 4 and did a full clean/rebuild. The issue
reproduces with the following stack trace. Note that in frame #4 'end - start
== 58' which is exactly the length of what comes after '#define' to define the
macro (however, there only appear to be 18 tokens in this range instead of 37
as claimed by the stack trace). In the stack trace in the description (above)
this was 64, which is actually the length of the comments just before the
macro. I'm not sure about the the difference of 61 from comment #3, though this
is the length of the comment before the macro after the initial comment token
and whitespace.

ASSERT: "offset >= start" in file ../languages/clang/util/clangutils.cpp, line
281

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffb752b700 (LWP 3829)]
0x00007ffff503f267 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
55      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt full
#0  0x00007ffff503f267 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
        resultvar = 0
        pid = 3775
        selftid = 3829
#1  0x00007ffff5040eca in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x5, sa_sigaction = 0x5},
sa_mask = {__val = {140736269029728, 501, 140737351974688, 140736269029040,
140737312102628, 140736122888000, 140736269029104, 140736111120016,
11567111689573942784, 140736269029104, 140736269029168, 0, 140737304859901, 0,
23343264, 140737316439832}}, 
          sa_flags = -180549280, sa_restorer = 0x7fffb752b700}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff57e5c88 in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#3  0x00007ffff57e0dce in qt_assert(char const*, char const*, int) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#4  0x00007fff9e4e74e8 in ClangUtils::getRawContents (unit=0x7fff84008fc0,
range=...) at ../languages/clang/util/clangutils.cpp:281
        location = {ptr_data = {0x7fff801a1a90, 0x7fff800009e0}, int_data =
2146193542}
        offset = 16
        fillCharacters = 5
        spelling = {data = 0x7fffae78f8c0, private_flags = 1}
        token = {int_data = {2, 2146193542, 1, 0}, ptr_data = 0x7fff806e4550}
        __for_range = @0x7fffb75290b0: {m_unit = 0x7fff84008fc0, m_tokens =
0x7fffad1c79c0, m_numTokens = 37}
        __for_begin = 0x7fffad1c7d20
        __for_end = 0x7fffad1c7d38
        rangeStart = {ptr_data = {0x7fff801a1a90, 0x7fff800009e0}, int_data =
2146193457}
        rangeEnd = {ptr_data = {0x7fff801a1a90, 0x7fff800009e0}, int_data =
2146193515}
        start = 9011
        end = 9069
        result = {static MaxSize = 1073741800, d = 0x7fffad677680}
        tokens = {m_unit = 0x7fff84008fc0, m_tokens = 0x7fffad1c79c0,
m_numTokens = 37}
#5  0x00007fff9e4a7bd7 in (anonymous
namespace)::Visitor::setDeclData<(CXCursorKind)501> (this=0x7fffb7529c40,
cursor=..., decl=0x7fffac9feb70) at ../languages/clang/duchain/builder.cpp:912
        unit = 0x7fff84008fc0
        range = {ptr_data = {0x7fff801a1a90, 0x7fff800009e0}, begin_int_data =
2146193457, end_int_data = 2146193515}
        contents = {static null = {<No data fields>}, d = 0x7fffb75291e0}
        firstOpeningParen = 32767
        firstWhitespace = -1367534224
        isFunctionLike = false
        start = -1636632320
#6  0x00007fff9e4978e5 in (anonymous
namespace)::Visitor::createDeclarationCommon<(CXCursorKind)501,
MacroDefinition> (this=0x7fffb7529c40, cursor=..., id=...) at
../languages/clang/duchain/builder.cpp:372
        decl = 0x7fffac9feb70
        indexedId = {<KDevelop::ReferenceCountManager> = {<No data fields>},
index = 90442}
        lock = {m_lock = 0x7ffff40ef020 <KDevelop::(anonymous
namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder+32>, m_locked =
true, m_timeout = 0}
        it = {i = 0x7fffae7d1598}
        range = {start = {line = 188, column = 0}, end = {line = 188, column =
0}}
        clangRange = {ptr_data = {0x7fff801a1a90, 0x7fff800009e0},
begin_int_data = 2146193457, end_int_data = 2146193458}
        expansionLocOffset = 9011
        spellingLocation = {ptr_data = {0x7fff801a1a90, 0x7fff800009e0},
int_data = 2146193457}
        decl = 0x7fffc14cc010
#7  0x00007fff9e488b3f in (anonymous
namespace)::Visitor::createDeclaration<(CXCursorKind)501, MacroDefinition>
(this=0x7fffb7529c40, cursor=..., id=..., context=0x7fffaca03190) at
../languages/clang/duchain/builder.cpp:394
        decl = 0x7fec506b7fec5031
        type = 0xa086a2cbe652c600
        lock = {m_lock = 0x0, m_locked = false, m_timeout = 2693178059}
#8  0x00007fff9e480936 in (anonymous
namespace)::Visitor::buildDeclaration<(CXCursorKind)501, MacroDefinition, true>
(this=0x7fffb7529c40, cursor=...) at
../languages/clang/duchain/builder.cpp:1094
        context = 0x7fffaca03190
        newParent = {context = 0x7fff00019e82, previousChildContexts = {d =
0x1677f52}, previousChildDeclarations = {d = 0x7ffff5aa7500
<QArrayData::shared_null>}, resortChildContexts = 105, resortLocalDeclarations
= 20}
        pushCurrent = {m_ref = @0x1f5, m_oldValue = 0x7fffad47e0a8}
        id = {m_index = 90442, {dd = 0x166420a, cd = 0x166420a}}
        helperContext = {d = 0x0}
        pushCurrent = {m_ref = @0x7fffb7529c98, m_oldValue = 0x7fffb7529b30}
#9  0x00007fff9e47a367 in (anonymous
namespace)::Visitor::dispatchCursor<(CXCursorKind)501, (Decision)1,
(Decision)0, (detail::type)0> (this=0x7fffb7529c40, cursor=..., parent=...) at
../languages/clang/duchain/builder.cpp:870
        isClassMember = false
        isDefinition = true
        hasContext = true
#10 0x00007fff9e4778af in (anonymous namespace)::visitCursor (cursor=...,
parent=..., data=0x7fffb7529c40) at ../languages/clang/duchain/builder.cpp:1405
        visitor = 0x7fffb7529c40
        kind = CXCursor_MacroDefinition
        location = {ptr_data = {0x7fff801a1a90, 0x7fff800009e0}, int_data =
2146193457}
        file = 0x7fff80659630
#11 0x00007fff9d876add in clang::cxcursor::CursorVisitor::Visit
(this=this@entry=0x7fffb7529900, Cursor=...,
CheckedRegionOfInterest=CheckedRegionOfInterest@entry=false) at
/build/llvm-toolchain-3.6-18MJNr/llvm-toolchain-3.6-3.6.2/tools/clang/tools/libclang/CIndex.cpp:210
No locals.
#12 0x00007fff9d87742a in
clang::cxcursor::CursorVisitor::visitPreprocessedEntities<clang::PreprocessingRecord::iterator>
(this=this@entry=0x7fffb7529900, First=..., Last=..., PPRec=..., FID=...) at
/build/llvm-toolchain-3.6-18MJNr/llvm-toolchain-3.6-3.6.2/tools/clang/tools/libclang/CIndex.cpp:456
No locals.
#13 0x00007fff9d8779f5 in
clang::cxcursor::CursorVisitor::visitPreprocessedEntitiesInRegion
(this=this@entry=0x7fffb7529900) at
/build/llvm-toolchain-3.6-18MJNr/llvm-toolchain-3.6-3.6.2/tools/clang/tools/libclang/CIndex.cpp:439
        OnlyLocalDecls = false
#14 0x00007fff9d876804 in clang::cxcursor::CursorVisitor::VisitChildren
(this=this@entry=0x7fffb7529900, Cursor=...) at
/build/llvm-toolchain-3.6-18MJNr/llvm-toolchain-3.6-3.6.2/tools/clang/tools/libclang/CIndex.cpp:540
        I = <optimized out>
        TU = 0x7fff84008fc0
        VisitOrder = {0, 1}
        SetParent = {Parent = @0x7fffb7529910, StmtParent = @0x7fffb7529930,
OldParent = {kind = <optimized out>, xdata = <optimized out>, data =
{<optimized out>, <optimized out>, <optimized out>}}}
        BeginLoc = <optimized out>
#15 0x00007fff9d87d024 in clang_visitChildren (parent=...,
visitor=0x7fff9e47700f <(anonymous namespace)::visitCursor(CXCursor, CXCursor,
CXClientData)>, client_data=0x7fffb7529c40) at
/build/llvm-toolchain-3.6-18MJNr/llvm-toolchain-3.6-3.6.2/tools/clang/tools/libclang/CIndex.cpp:3419
        CursorVis = {<clang::DeclVisitor<clang::cxcursor::CursorVisitor, bool>>
= {<clang::declvisitor::Base<clang::declvisitor::make_ptr,
clang::cxcursor::CursorVisitor, bool>> = {<No data fields>}, <No data fields>},
<clang::TypeLocVisitor<clang::cxcursor::CursorVisitor, bool>> = {<No data
fields>}, TU = 0x7fff84008fc0, AU = 
    0x7fff840062b0, Parent = {kind = CXCursor_TranslationUnit, xdata = 0, data
= {0x7fff80004b30, 0x1, 0x7fff84008fc0}}, StmtParent = 0x0, Visitor =
0x7fff9e47700f <(anonymous namespace)::visitCursor(CXCursor, CXCursor,
CXClientData)>, PostChildrenVisitor = 0x0, ClientData = 0x7fffb7529c40,
VisitPreprocessorLast = false, 
          VisitIncludedEntities = false, RegionOfInterest = {B = {ID = 0}, E =
{ID = 0}}, VisitDeclsOnly = false, DI_current = 0x0, DE_current = {Current =
0x0}, FileDI_current = 0x0, FileDE_current = 0x7fffb75299c8, 
          WorkListFreeList =
{<llvm::SmallVectorImpl<llvm::SmallVector<clang::cxcursor::VisitorJob, 10u>*>>
=
{<llvm::SmallVectorTemplateBase<llvm::SmallVector<clang::cxcursor::VisitorJob,
10u>*, true>> =
{<llvm::SmallVectorTemplateCommon<llvm::SmallVector<clang::cxcursor::VisitorJob,
10u>*, void>> = {<llvm::SmallVectorBase> = {
                    BeginX = 0x7fffb7529998, EndX = 0x7fffb7529998, CapacityX =
0x7fffb75299c0}, FirstEl = {<llvm::AlignedCharArray<8ul, 8ul>> = {buffer =
"\000\232R\267\377\177\000"}, <No data fields>}}, <No data fields>}, <No data
fields>}, Storage = {InlineElts = {{<llvm::AlignedCharArray<8ul, 8ul>> = {
                    buffer = "\300\231R\267\377\177\000"}, <No data fields>},
{<llvm::AlignedCharArray<8ul, 8ul>> = {buffer =
"\002\245\177\363\377\177\000"}, <No data fields>},
{<llvm::AlignedCharArray<8ul, 8ul>> = {buffer = "\360\231R\267\377\177\000"},
<No data fields>}, {<llvm::AlignedCharArray<8ul, 8ul>> = {
                    buffer = "\000\232R\267\377\177\000"}, <No data
fields>}}}}, 
          WorkListCache =
{<llvm::SmallVectorImpl<llvm::SmallVector<clang::cxcursor::VisitorJob, 10u>*>>
=
{<llvm::SmallVectorTemplateBase<llvm::SmallVector<clang::cxcursor::VisitorJob,
10u>*, true>> =
{<llvm::SmallVectorTemplateCommon<llvm::SmallVector<clang::cxcursor::VisitorJob,
10u>*, void>> = {<llvm::SmallVectorBase> = {
                    BeginX = 0x7fffb75299d8, EndX = 0x7fffb75299d8, CapacityX =
0x7fffb7529a00}, FirstEl = {<llvm::AlignedCharArray<8ul, 8ul>> = {buffer =
"\000\232R\267\377\177\000"}, <No data fields>}}, <No data fields>}, <No data
fields>}, Storage = {InlineElts = {{<llvm::AlignedCharArray<8ul, 8ul>> = {
                    buffer = " \232R\267\377\177\000"}, <No data fields>},
{<llvm::AlignedCharArray<8ul, 8ul>> = {buffer = "\352z\203\363\377\177\000"},
<No data fields>}, {<llvm::AlignedCharArray<8ul, 8ul>> = {buffer =
"\240Ɵ\254\377\177\000"}, <No data fields>}, {<llvm::AlignedCharArray<8ul,
8ul>> = {
                    buffer = "\300\336n\001\000\000\000"}, <No data
fields>}}}}}
#16 0x00007fff9e476abb in (anonymous namespace)::Visitor::Visitor
(this=0x7fffb7529c40, tu=0x7fff84008fc0, file=0x7fff80659630, includes=...,
update=true) at ../languages/clang/duchain/builder.cpp:1299
        tuCursor = {kind = CXCursor_TranslationUnit, xdata = 0, data =
{0x7fff80004b30, 0x1, 0x7fff84008fc0}}
        parent = {context = 0x7fffac9fc6a0, previousChildContexts = {d =
0x7fffadca1c40}, previousChildDeclarations = {d = 0x7fffae7d1570},
resortChildContexts = true, resortLocalDeclarations = true}
        top = 0x7ffff5aa7500 <QArrayData::shared_null>
#17 0x00007fff9e477a2b in Builder::visit (tu=0x7fff84008fc0,
file=0x7fff80659630, includes=..., update=true) at
../languages/clang/duchain/builder.cpp:1437
        visitor = {m_file = 0x7fff80659630, m_includes = @0x7fffb752ac60,
m_uses = std::unordered_map with 0 elements, m_macroExpansionLocations =
{q_hash = {{d = 0x7ffff5aa84c0 <QHashData::shared_null>, e = 0x7ffff5aa84c0
<QHashData::shared_null>}}}, m_cursorToDeclarationCache = {{d = 0x7fffae56b340,
e = 0x7fffae56b340}}, 
          m_parentContext = 0x7fffb7529b30, m_update = true}
#18 0x00007fff9e452d96 in ClangHelpers::buildDUChain (file=0x7fff80659630,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:181
        path = {m_index = 65765}
        environment = @0x7fffb7529da0: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x7fff9e72f2b0 <vtable for
ClangParsingEnvironment+16>}, m_projectPaths = {d = 0x5d8cf70}, m_includes = {d
= 0x5db2d80}, m_defines = {d = 0x5d8d260}, m_pchInclude = {m_data = {d =
0x7ffff5aa7500 <QArrayData::shared_null>}}, 
          m_tuUrl = {m_index = 66235}, m_quality =
ClangParsingEnvironment::BuildSystem, m_parserSettings = {parserOptions =
{static null = {<No data fields>}, d = 0x7fffcee12660 <(anonymous
namespace)::defaultArguments()::{lambda()#1}::operator()()
const::qstring_literal>}}}
        update = true
        urlLock = {m_url = {m_index = 65765}}
        context = {m_topContext = 0x7fffac9fc6a0}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fffae2bfe90}, d =
0x7fffae2bfe90}}
#19 0x00007fff9e4525f1 in ClangHelpers::buildDUChain (file=0x7fff80486d80,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7fffad8def10: {file = 0x7fff80659630, location = {line =
10, column = 0}}
        _container_ = {c = {<QListSpecialMethods<Import>> = {<No data fields>},
{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin
= 0, end = 0, array = {0x0}}, d = 0x7fffaef5a7c0}, d = 0x7fffaef5a7c0}}, i = {i
= 0x7fffaef5a7e0}, e = {i = 0x7fffaef5a7e8}, control = 1}
        path = {m_index = 16}
        environment = @0x7fffb7529ee0: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x7fffac9f4f70}, m_projectPaths = {d =
0x7fffae06e6f0}, m_includes = {d = 0x7fffb7529f30}, m_defines = {d =
0x1007fffae06e6f0}, m_pchInclude = {m_data = {d = 0x7fffaef5a7c0}}, m_tuUrl =
{m_index = 2935334880}, 
          m_quality = (ClangParsingEnvironment::Source |
ClangParsingEnvironment::BuildSystem | unknown: 32764), m_parserSettings =
{parserOptions = {static null = {<No data fields>}, d = 0x7fffaef5a7e8}}}
        update = false
        urlLock = {m_url = {m_index = 98109649}}
        context = {m_topContext = 0x5d908d1}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1e}, d = 0x1e}}
#20 0x00007fff9e4525f1 in ClangHelpers::buildDUChain (file=0x7fff80172d20,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7fffadd04870: {file = 0x7fff80486d80, location = {line =
11, column = 0}}
        _container_ = {c = {<QListSpecialMethods<Import>> = {<No data fields>},
{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin
= 0, end = 0, array = {0x0}}, d = 0x7fffae06e6f0}, d = 0x7fffae06e6f0}}, i = {i
= 0x7fffae06e708}, e = {i = 0x7fffae06e718}, control = 1}
        path = {m_index = 16}
        environment = @0x7fffb752a040: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x0}, m_projectPaths = {d = 0x7fffad111f70},
m_includes = {d = 0x7fffb752a090}, m_defines = {d = 0x1007fffad111f70},
m_pchInclude = {m_data = {d = 0x7fffae06e6f0}}, m_tuUrl = {m_index =
2919687944}, 
          m_quality = (ClangParsingEnvironment::Source |
ClangParsingEnvironment::BuildSystem | unknown: 32764), m_parserSettings =
{parserOptions = {static null = {<No data fields>}, d = 0x7fffae06e718}}}
        update = false
        urlLock = {m_url = {m_index = 98109649}}
        context = {m_topContext = 0x5d908d1}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff5aa8530
<QListData::shared_null+16>}, d = 0x7ffff5aa8530 <QListData::shared_null+16>}}
#21 0x00007fff9e4525f1 in ClangHelpers::buildDUChain (file=0x7fff80172da0,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7fffadd8ce60: {file = 0x7fff80172d20, location = {line =
10, column = 0}}
        _container_ = {c = {<QListSpecialMethods<Import>> = {<No data fields>},
{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin
= 0, end = 0, array = {0x0}}, d = 0x7fffad111f70}, d = 0x7fffad111f70}}, i = {i
= 0x7fffad111f80}, e = {i = 0x7fffad111f88}, control = 1}
        path = {m_index = 16}
        environment = @0x7fffb752a1a0: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x7fffad111f70}, m_projectPaths = {d =
0x7fffaec40960}, m_includes = {d = 0x7fffb752a1f0}, m_defines = {d =
0x1007fffaec40960}, m_pchInclude = {m_data = {d = 0x7fffad111f70}}, m_tuUrl =
{m_index = 2903580544}, 
          m_quality = (ClangParsingEnvironment::Source |
ClangParsingEnvironment::BuildSystem | unknown: 32764), m_parserSettings =
{parserOptions = {static null = {<No data fields>}, d = 0x7fffad111f88}}}
        update = false
        urlLock = {m_url = {m_index = 98109649}}
        context = {m_topContext = 0x5d908d1}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1e}, d = 0x1e}}
#22 0x00007fff9e4525f1 in ClangHelpers::buildDUChain (file=0x7fff80172e20,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7fffaf12f4c0: {file = 0x7fff80172da0, location = {line =
12, column = 0}}
        _container_ = {c = {<QListSpecialMethods<Import>> = {<No data fields>},
{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin
= 0, end = 0, array = {0x0}}, d = 0x7fffaec40960}, d = 0x7fffaec40960}}, i = {i
= 0x7fffaec40978}, e = {i = 0x7fffaec40980}, control = 1}
        path = {m_index = 16}
        environment = @0x7fffb752a300: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x0}, m_projectPaths = {d = 0x7fffaef4f6b0},
m_includes = {d = 0x7fffb752a350}, m_defines = {d = 0x1007fffaef4f6b0},
m_pchInclude = {m_data = {d = 0x7fffaec40960}}, m_tuUrl = {m_index =
2932083064}, 
          m_quality = (ClangParsingEnvironment::Source |
ClangParsingEnvironment::BuildSystem | unknown: 32764), m_parserSettings =
{parserOptions = {static null = {<No data fields>}, d = 0x7fffaec40980}}}
        update = false
        urlLock = {m_url = {m_index = 98109649}}
        context = {m_topContext = 0x5d908d1}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1e}, d = 0x1e}}
#23 0x00007fff9e4525f1 in ClangHelpers::buildDUChain (file=0x7fff80047570,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7fffad0fd920: {file = 0x7fff80172e20, location = {line =
13, column = 0}}
        _container_ = {c = {<QListSpecialMethods<Import>> = {<No data fields>},
{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin
= 0, end = 0, array = {0x0}}, d = 0x7fffaef4f6b0}, d = 0x7fffaef4f6b0}}, i = {i
= 0x7fffaef4f6c0}, e = {i = 0x7fffaef4f6e0}, control = 1}
        path = {m_index = 3075646496}
        environment = @0x7fffb752a460: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x7fffaef4f6b0}, m_projectPaths = {d =
0x7ffff37fa4ba <QMutexLocker::~QMutexLocker()+24>}, m_includes = {d =
0x7fffae2e7c50}, m_defines = {d = 0x7fffb752a4a0}, m_pchInclude = {m_data = {d
= 0x7fffaef4f6b0}}, m_tuUrl = {
            m_index = 2935289536}, m_quality = (ClangParsingEnvironment::Source
| ClangParsingEnvironment::BuildSystem | unknown: 32764), m_parserSettings =
{parserOptions = {static null = {<No data fields>}, d = 0x7fffaef4f6e0}}}
        update = false
        urlLock = {m_url = {m_index = 3075646528}}
        context = {m_topContext = 0x7fffb752a490}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fffb752a490}, d =
0x7fffb752a490}}
#24 0x00007fff9e4525f1 in ClangHelpers::buildDUChain (file=0x7fff80657170,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7fffacf563f0: {file = 0x7fff80047570, location = {line =
14, column = 0}}
        _container_ = {c = {<QListSpecialMethods<Import>> = {<No data fields>},
{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin
= 0, end = 0, array = {0x0}}, d = 0x7fffad8ca2e0}, d = 0x7fffad8ca2e0}}, i = {i
= 0x7fffad8ca2f8}, e = {i = 0x7fffad8ca320}, control = 1}
        path = {m_index = 16}
        environment = @0x7fffb752a5c0: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x7fffc83a0970}, m_projectPaths = {d =
0x7fffad7d7eb0}, m_includes = {d = 0x7fffb752a610}, m_defines = {d =
0x1007fffad7d7eb0}, m_pchInclude = {m_data = {d = 0x7fffad8ca2e0}}, m_tuUrl =
{m_index = 2911675128}, 
          m_quality = (ClangParsingEnvironment::Source |
ClangParsingEnvironment::BuildSystem | unknown: 32764), m_parserSettings =
{parserOptions = {static null = {<No data fields>}, d = 0x7fffad8ca320}}}
        update = false
        urlLock = {m_url = {m_index = 98109649}}
        context = {m_topContext = 0x5d908d1}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1e}, d = 0x1e}}
#25 0x00007fff9e4525f1 in ClangHelpers::buildDUChain (file=0x7fff80163eb0,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7fffad5e6830: {file = 0x7fff80657170, location = {line =
14, column = 0}}
        _container_ = {c = {<QListSpecialMethods<Import>> = {<No data fields>},
{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin
= 0, end = 0, array = {0x0}}, d = 0x7fffad7d7eb0}, d = 0x7fffad7d7eb0}}, i = {i
= 0x7fffad7d7ec0}, e = {i = 0x7fffad7d7ee8}, control = 1}
        path = {m_index = 3075647200}
        environment = @0x7fffb752a720: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x7fffad7d7eb0}, m_projectPaths = {d =
0x7ffff37fa4ba <QMutexLocker::~QMutexLocker()+24>}, m_includes = {d =
0x7fffaed56658}, m_defines = {d = 0x7fffb752a760}, m_pchInclude = {m_data = {d
= 0x7fffad7d7eb0}}, m_tuUrl = {
            m_index = 2910682816}, m_quality = (ClangParsingEnvironment::Source
| ClangParsingEnvironment::BuildSystem | unknown: 32764), m_parserSettings =
{parserOptions = {static null = {<No data fields>}, d = 0x7fffad7d7ee8}}}
        update = false
        urlLock = {m_url = {m_index = 3075647232}}
        context = {m_topContext = 0x7fffb752a750}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fffb752a750}, d =
0x7fffb752a750}}
#26 0x00007fff9e4525f1 in ClangHelpers::buildDUChain (file=0x7fff80046e10,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7fffae4c71d0: {file = 0x7fff80163eb0, location = {line =
11, column = 0}}
        _container_ = {c = {<QListSpecialMethods<Import>> = {<No data fields>},
{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin
= 0, end = 0, array = {0x0}}, d = 0x7fffadb78cf0}, d = 0x7fffadb78cf0}}, i = {i
= 0x7fffadb78d08}, e = {i = 0x7fffadb78d18}, control = 1}
        path = {m_index = 16}
        environment = @0x7fffb752a880: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x7fffc81225a0}, m_projectPaths = {d =
0x7fffaf0834e0}, m_includes = {d = 0x7fffb752a8d0}, m_defines = {d =
0x1007fffaf0834e0}, m_pchInclude = {m_data = {d = 0x7fffadb78cf0}}, m_tuUrl =
{m_index = 2914487560}, 
          m_quality = (ClangParsingEnvironment::Source |
ClangParsingEnvironment::BuildSystem | unknown: 32764), m_parserSettings =
{parserOptions = {static null = {<No data fields>}, d = 0x7fffadb78d18}}}
        update = false
        urlLock = {m_url = {m_index = 98109649}}
        context = {m_topContext = 0x5d908d1}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1e}, d = 0x1e}}
#27 0x00007fff9e4525f1 in ClangHelpers::buildDUChain (file=0x7fff80486990,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7ffface19b60: {file = 0x7fff80046e10, location = {line =
11, column = 0}}
        _container_ = {c = {<QListSpecialMethods<Import>> = {<No data fields>},
{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin
= 0, end = 0, array = {0x0}}, d = 0x7fffaf0834e0}, d = 0x7fffaf0834e0}}, i = {i
= 0x7fffaf0834f0}, e = {i = 0x7fffaf083500}, control = 1}
        path = {m_index = 3075647904}
        environment = @0x7fffb752a9e0: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x7fffaf0834e0}, m_projectPaths = {d =
0x7ffff37fa4ba <QMutexLocker::~QMutexLocker()+24>}, m_includes = {d =
0x7fffc8918df8}, m_defines = {d = 0x7fffb752aa20}, m_pchInclude = {m_data = {d
= 0x7fffaf0834e0}}, m_tuUrl = {
            m_index = 2936550640}, m_quality = (ClangParsingEnvironment::Source
| ClangParsingEnvironment::BuildSystem | unknown: 32764), m_parserSettings =
{parserOptions = {static null = {<No data fields>}, d = 0x7fffaf083500}}}
        update = false
        urlLock = {m_url = {m_index = 3075647936}}
        context = {m_topContext = 0x7fffb752aa10}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fffb752aa10}, d =
0x7fffb752aa10}}
#28 0x00007fff9e4525f1 in ClangHelpers::buildDUChain (file=0x7fff8065a9e0,
imports=..., session=...,
features=KDevelop::TopDUContext::AllDeclarationsContextsAndUses,
includedFiles=..., index=0x1c43840) at
../languages/clang/duchain/clanghelpers.cpp:121
        import = @0x7fffad768b50: {file = 0x7fff80486990, location = {line =
20, column = 0}}
        _container_ = {c = {<QListSpecialMethods<Import>> = {<No data fields>},
{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin
= 0, end = 0, array = {0x0}}, d = 0x7fffad052600}, d = 0x7fffad052600}}, i = {i
= 0x7fffad052618}, e = {i = 0x7fffad052680}, control = 1}
        path = {m_index = 3075648224}
        environment = @0x7fffb752aba0: {<KDevelop::ParsingEnvironment> =
{_vptr.ParsingEnvironment = 0x7fffb752abd0}, m_projectPaths = {d = 0x1e},
m_includes = {d = 0x1c43840}, m_defines = {d = 0x5d908d1}, m_pchInclude =
{m_data = {d = 0x7fffb752ad10}}, m_tuUrl = {m_index = 2655176130}, 
          m_quality = (ClangParsingEnvironment::Source |
ClangParsingEnvironment::BuildSystem | unknown: 32764), m_parserSettings =
{parserOptions = {static null = {<No data fields>}, d = 0x1c43840}}}
        update = false
        urlLock = {m_url = {m_index = 3075648256}}
        context = {m_topContext = 0x7fffb752ab20}
        problems =
{<QListSpecialMethods<QExplicitlySharedDataPointer<KDevelop::Problem> >> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fffb752abd0}, d =
0x7fffb752abd0}}
#29 0x00007fff9e42c5c2 in ClangParseJob::run (this=0x63ecce0) at
../languages/clang/clangparsejob.cpp:307
        parseLock = {q_val = 32523425}
        __PRETTY_FUNCTION__ = "virtual void
ClangParseJob::run(ThreadWeaver::JobPointer, ThreadWeaver::Thread*)"
        session = {d = {d = 0x7fffc8093780}}
        imports = {<QHash<void*, Import>> = {{d = 0x7fffad025d40, e =
0x7fffad025d40}}, <No data fields>}
        includedFiles = {{d = 0x7fffae59bd50, e = 0x7fffae59bd50}}
        context = {m_topContext = 0x7fffb752adc0}
#30 0x00007fffebd50630 in
ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>,
ThreadWeaver::Thread*) () from
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
No symbol table info available.
#31 0x00007fffebd50c70 in
ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () from
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
No symbol table info available.
#32 0x00007fffebd4f8b0 in
ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&,
ThreadWeaver::Thread*) () from
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
No symbol table info available.
#33 0x00007fffebd4f35a in ThreadWeaver::Thread::run() () from
/usr/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
No symbol table info available.
#34 0x00007ffff57f82be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#35 0x00007fffee8fc6aa in start_thread (arg=0x7fffb752b700) at
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7fffb752b700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736269039360,
36464568472717868, 0, 140737488337503, 8388608, 23343936, -36342219330532820,
-36502362286831060}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#36 0x00007ffff5110eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

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

Reply via email to