I'm attaching a minimal tagfile, produced by doxygen 1.8.8, that triggers the segfault when it tries to read it back in.

Generate a stock doxyfile with doxygen -g, and stick it into a TAGFILE.

gdb points the finger to a null pointer dereference.

#1  0x00000000005a8ff8 in NamespaceDef::addInnerCompound (this=0x1423230,
   d=0x0) at namespacedef.cpp:136
136       m_innerCompounds->append(d->localName(),d);
(gdb) p d
$3 = (Definition *) 0x0


#0  Definition::localName (this=this@entry=0x0) at definition.cpp:1386
#1  0x00000000005a8ff8 in NamespaceDef::addInnerCompound (this=0x1423230,
   d=0x0) at namespacedef.cpp:136
#2  0x0000000000414104 in buildScopeFromQualifiedName (name=…, level=2,
   lang=SrcLangExt_Unknown, tagInfo=0x1422620) at doxygen.cpp:1041
#3  0x0000000000428acb in addClassToContext (rootNav=rootNav@entry=0x14673b0)
   at doxygen.cpp:1315
#4  0x0000000000429826 in buildClassList (rootNav=0x14673b0)
   at doxygen.cpp:1392
#5  0x00000000004297dd in buildClassList (rootNav=0x14226a0)
   at doxygen.cpp:1394
#6  0x00000000004297dd in buildClassList (rootNav=0x141c6d0)
   at doxygen.cpp:1394
#7  0x00000000004454d5 in parseInput () at doxygen.cpp:10981
#8  0x0000000000409ad9 in main (argc=1, argv=0x7fffffffe558) at main.cpp:37

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<tagfile>
  <compound kind="class">
    <name>x::container_traits_common&lt; std::basic_string&lt; char_type, 
traits_type, allocator_type &gt; &gt;</name>
    
<filename>classx_1_1container__traits__common_3_01std_1_1basic__string_3_01char__type_00_01traits__type_00_01allocator__type_01_4_01_4.html</filename>
    <templarg></templarg>
    <templarg></templarg>
    <templarg></templarg>
    <member kind="function" static="yes">
      <type>static bool</type>
      <name>insert_chk</name>
      
<anchorfile>classx_1_1container__traits__common_3_01std_1_1basic__string_3_01char__type_00_01traits__type_00_01allocator__type_01_4_01_4.html</anchorfile>
      <anchor>abdacfa767a7ad7369a33fe6a447ce26d</anchor>
      <arglist>(std::basic_string&lt; char_type, traits_type, allocator_type 
&gt; &amp;c, char_type ch) noexcept</arglist>
    </member>
    <member kind="function" static="yes">
      <type>static void</type>
      <name>reserve</name>
      
<anchorfile>classx_1_1container__traits__common_3_01std_1_1basic__string_3_01char__type_00_01traits__type_00_01allocator__type_01_4_01_4.html</anchorfile>
      <anchor>a4390f58c02c441ac3628e7f21ecfcd34</anchor>
      <arglist>(std::basic_string&lt; char_type, traits_type, allocator_type 
&gt; &amp;c, typename std::basic_string&lt; char_type, traits_type, 
allocator_type &gt;::size_type s) noexcept</arglist>
    </member>
    <member kind="variable" static="yes">
      <type>static const container_id</type>
      <name>type</name>
      
<anchorfile>classx_1_1container__traits__common_3_01std_1_1basic__string_3_01char__type_00_01traits__type_00_01allocator__type_01_4_01_4.html</anchorfile>
      <anchor>ac37368adbdf5c1ecdfda59591f7c6090</anchor>
      <arglist></arglist>
    </member>
  </compound>
</tagfile>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to