(gdb) bt 20 #0 0x00007fffe8ce34ae in CPlusPlus::Name::Compare::operator() (this=this@entry=0x7fff70dc2358, name=0x7fff94c681c8, other=0x7fff700577b8) at ../3rdparty/cplusplus/Name.cpp:89 #1 0x00007fffe8d4d825 in std::_Rb_tree, std::_Select1st >, CPlusPlus::Name::Compare, std::allocator > >::_M_lower_bound (this=this@entry=0x7fff70dc2358, __x=0x7fff70de4130, __y=__y@entry=0x7fff70dc2360, __k=@0x7fff98629068: 0x7fff700577b8) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/stl_tree.h:1261 #2 0x00007fffe8d48a4a in std::_Rb_tree, std::_Select1st >, CPlusPlus::Name::Compare, std::allocator > >::find ( __k=@0x7fff98629068: 0x7fff700577b8, this=0x7fff70dc2358) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/stl_tree.h:1913 #3 std::map > >::find (__x=@0x7fff98629068: 0x7fff700577b8, this=0x7fff70dc2358) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/stl_map.h:860 #4 CPlusPlus::Internal::LookupScopePrivate::findNestedType (this=this@entry=0x7fff70dc2330, name=name@entry=0x7fff700577b8, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1170 #5 0x00007fffe8d4494f in CPlusPlus::Internal::LookupScopePrivate::nestedType (this=this@entry=0x7fff70dc2330, name=name@entry=0x7fff700577b8, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1187 #6 0x00007fffe8d46940 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70dc2330, name=name@entry=0x7fff700577b8, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1031 #7 0x00007fffe8d46fa6 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70218f20, name=name@entry=0x7fff700577b8, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=false, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1043 #8 0x00007fffe8d46f5d in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70216ef0, name=name@entry=0x7fff700577b8, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1036 #9 0x00007fffe8d46fa6 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70218310, name=name@entry=0x7fff700577b8, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1043 #10 0x00007fffe8d46fa6 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70219af0, name=name@entry=0x7fff700577b8, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1043 #11 0x00007fffe8d46fa6 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=this@entry=0x7fff70219160, name=0x7fff700577b8, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1043 #12 0x00007fffe8d466c3 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=this@entry=0x7fff70219160, name=0x7fff70067ea0, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1009 #13 0x00007fffe8d466c3 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70219160, name=0x7fff70068810, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=0x7fff70219160) at LookupContext.cpp:1009 #14 0x00007fffe8d47023 in CPlusPlus::LookupScope::lookupType (this=, name=) at LookupContext.cpp:903 #15 0x00007fffe8d48201 in CPlusPlus::Internal::LookupScopePrivate::lookup_helper (this=0x7fff70219160, name=name@entry=0x7fff70069630, searchInEnclosingScope=searchInEnclosingScope@entry=true) at LookupContext.cpp:728 #16 0x00007fffe8d48511 in CPlusPlus::LookupScope::lookup (this=this@entry=0x7fff70c77fc0, name=name@entry=0x7fff70069630) at LookupContext.cpp:700 #17 0x00007fffe8d3742b in CPlusPlus::TypeResolver::getNamedTypeItems (this=this@entry=0x7fff98629f60, name=0x7fff70069630, scope=scope@entry=0x7fff95a51550, binding=binding@entry=0x7fff70c77fc0) at TypeResolver.cpp:124 #18 0x00007fffe8d387eb in CPlusPlus::TypeResolver::resolve (this=this@entry=0x7fff98629f60, type=type@entry=0x7fff9862a000, scope=scope@entry=0x7fff98629f38, binding=binding@entry=0x7fff70c77fc0) at TypeResolver.cpp:96 #19 0x00007fffe8d41db4 in CPlusPlus::CreateBindings::resolveTemplateArgument (this=0x7fff70d1ebf0, cloner=..., subst=..., origin=0x7fff70c77fc0, specialization=0x7fff95a258d0, instantiation=0x7fff70c73240, index=0) at LookupContext.cpp:1960 #20 0x00007fffe8d42035 in CPlusPlus::CreateBindings::initializeSubst (this=0x7fff70d1ebf0, cloner=..., subst=..., origin=0x7fff98629068, specialization=0x7fff95a258d0, instantiation=0x7fff70c73240) at LookupContext.cpp:1982 #21 0x00007fffe8d454f7 in CPlusPlus::Internal::LookupScopePrivate::nestedType (this=this@entry=0x7fff70d6d560, name=name@entry=0x7fff70c73240, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1295 #22 0x00007fffe8d45d44 in CPlusPlus::Internal::LookupScopePrivate::nestedType (this=this@entry=0x7fff70d6d560, name=name@entry=0x7fff702150d0, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1352 #23 0x00007fffe8d46940 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70d6d560, name=name@entry=0x7fff702150d0, processed=processed@entry=0x7fff9862ae30, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1031 #24 0x00007fffe8d46cf3 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70dc2330, name=name@entry=0x7fff702150d0, processed=processed@entry=0x7fff9862ae30, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1050 #25 0x00007fffe8d46fa6 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70218f20, name=name@entry=0x7fff702150d0, processed=processed@entry=0x7fff9862ae30, searchInEnclosingScope=searchInEnclosingScope@entry=false, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1043 #26 0x00007fffe8d46f5d in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70216ef0, name=name@entry=0x7fff702150d0, processed=processed@entry=0x7fff9862ae30, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1036 #27 0x00007fffe8d46fa6 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70218310, name=name@entry=0x7fff702150d0, processed=processed@entry=0x7fff9862ae30, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1043 #28 0x00007fffe8d46fa6 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70219af0, name=name@entry=0x7fff702150d0, processed=processed@entry=0x7fff9862ae30, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1043 #29 0x00007fffe8d46fa6 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70219160, name=0x7fff702150d0, processed=processed@entry=0x7fff9862ae30, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=0x7fff70219160) at LookupContext.cpp:1043 #30 0x00007fffe8d47023 in CPlusPlus::LookupScope::lookupType (this=, name=) at LookupContext.cpp:903 #31 0x00007fffe8d48bc0 in CPlusPlus::Internal::LookupScopePrivate::findNestedType (this=this@entry=0x7fff70219160, name=name@entry=0x7fff70039a58, origin=origin@entry=0x7fff730cce40) at LookupContext.cpp:1158 #32 0x00007fffe8d4494f in CPlusPlus::Internal::LookupScopePrivate::nestedType (this=this@entry=0x7fff70219160, name=name@entry=0x7fff70039a58, origin=origin@entry=0x7fff730cce40) at LookupContext.cpp:1187 #33 0x00007fffe8d46940 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70219160, name=0x7fff70039a58, processed=processed@entry=0x7fff9862b3e0, searchInEnclosingScope=searchInEnclosingScope@entry=false, origin=origin@entry=0x7fff730cce40) at LookupContext.cpp:1031 #34 0x00007fffe8d466fb in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=, name=0x7fff70d277a0, processed=processed@entry=0x7fff9862b460, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=0x7fff730cce40) at LookupContext.cpp:1010 #35 0x00007fffe8d47023 in CPlusPlus::LookupScope::lookupType (this=, name=) at LookupContext.cpp:903 #36 0x00007fffe8d48a9a in CPlusPlus::Internal::LookupScopePrivate::findNestedType (this=this@entry=0x7fff702242b0, name=name@entry=0x7fff70039a58, origin=origin@entry=0x7fff730cce40) at LookupContext.cpp:1161 #37 0x00007fffe8d4494f in CPlusPlus::Internal::LookupScopePrivate::nestedType (this=this@entry=0x7fff702242b0, name=name@entry=0x7fff70039a58, origin=origin@entry=0x7fff730cce40) at LookupContext.cpp:1187 #38 0x00007fffe8d46940 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff702242b0, name=0x7fff70039a58, processed=processed@entry=0x7fff9862ba10, searchInEnclosingScope=searchInEnclosingScope@entry=false, origin=origin@entry=0x7fff730cce40) at LookupContext.cpp:1031 #39 0x00007fffe8d466fb in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=, name=0x7fff70069e00, processed=processed@entry=0x7fff9862ba90, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=0x7fff730cce40) at LookupContext.cpp:1010 (More stack frames follow...) (gdb) frame 0 #0 0x00007fffe8ce34ae in CPlusPlus::Name::Compare::operator() (this=this@entry=0x7fff70dc2358, name=0x7fff94c681c8, other=0x7fff700577b8) at ../3rdparty/cplusplus/Name.cpp:89 89 const Identifier *id = name->identifier(); (gdb) frame 1 #1 0x00007fffe8d4d825 in std::_Rb_tree, std::_Select1st >, CPlusPlus::Name::Compare, std::allocator > >::_M_lower_bound (this=this@entry=0x7fff70dc2358, __x=0x7fff70de4130, __y=__y@entry=0x7fff70dc2360, __k=@0x7fff98629068: 0x7fff700577b8) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/stl_tree.h:1261 1261 if (!_M_impl._M_key_compare(_S_key(__x), __k)) (gdb) frame 2 #2 0x00007fffe8d48a4a in std::_Rb_tree, std::_Select1st >, CPlusPlus::Name::Compare, std::allocator > >::find ( __k=@0x7fff98629068: 0x7fff700577b8, this=0x7fff70dc2358) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/stl_tree.h:1913 1913 iterator __j = _M_lower_bound(_M_begin(), _M_end(), __k); (gdb) frame 3 #3 std::map > >::find (__x=@0x7fff98629068: 0x7fff700577b8, this=0x7fff70dc2358) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/stl_map.h:860 860 { return _M_t.find(__x); } (gdb) frame 4 #4 CPlusPlus::Internal::LookupScopePrivate::findNestedType (this=this@entry=0x7fff70dc2330, name=name@entry=0x7fff700577b8, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1170 1170 auto it = _nestedScopes.find(name); (gdb) frame 5 #5 0x00007fffe8d4494f in CPlusPlus::Internal::LookupScopePrivate::nestedType (this=this@entry=0x7fff70dc2330, name=name@entry=0x7fff700577b8, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1187 1187 LookupScopePrivate *reference = findNestedType(name, origin); (gdb) frame 6 #6 0x00007fffe8d46940 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70dc2330, name=name@entry=0x7fff700577b8, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1031 1031 if (LookupScopePrivate *e = nestedType(name, origin)) (gdb) frame 7 #7 0x00007fffe8d46fa6 in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70218f20, name=name@entry=0x7fff700577b8, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=false, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1043 1043 name, processed, /*searchInEnclosingScope =*/ true, origin)) { (gdb) frame 8 #8 0x00007fffe8d46f5d in CPlusPlus::Internal::LookupScopePrivate::lookupType_helper (this=0x7fff70216ef0, name=name@entry=0x7fff700577b8, processed=processed@entry=0x7fff98629c50, searchInEnclosingScope=searchInEnclosingScope@entry=true, origin=origin@entry=0x7fff70219160) at LookupContext.cpp:1036 1036 name, processed, /*searchInEnclosingScope =*/ false, origin)) {