<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Infinite recursion in C++ STL? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/infinite-recursion-in-c-stl/m-p/4874197#M20342</link>
    <description>Travis,&lt;BR /&gt;  What is the source code at the deepest point in your program?&lt;BR /&gt;</description>
    <pubDate>Tue, 07 Dec 2004 16:25:29 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2004-12-07T16:25:29Z</dc:date>
    <item>
      <title>Infinite recursion in C++ STL?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/infinite-recursion-in-c-stl/m-p/4874196#M20341</link>
      <description>We are seeing what might be an infinite recursion in the C++ Standard Template Library, or at least a deep recursion.  It also might be in a Rogue Wave library.  I can try to narrow that down further and add what I find later.&lt;BR /&gt;&lt;BR /&gt;I wonder whether anybody has seen a recursion like this and/or knows of a patch.  Here is a piece of the traceback (bear with me; I haven't used this forum system and wonder how the traceback will look).  The top line was repeated until the stack overflowed.&lt;BR /&gt;&lt;BR /&gt;. . .&lt;BR /&gt;CXXL$RWRSQ18RWRWSTD204RW11H6MJE  _RWerase &lt;BR /&gt;                                       133784 &lt;BR /&gt;CXXL$RWRSQ18RWRWSTD204RW11H6MJE  _RWerase &lt;BR /&gt;                                       133784 &lt;BR /&gt;CXXL$RWRSQ18RWRWSTD204RW11H6MJE  _RWerase &lt;BR /&gt;                                       133784 &lt;BR /&gt;CXXL$ERSQ18RWRWSTD204RWR3QDF976  erase &lt;BR /&gt;                                       133799 0000000000000368 000000000061CF18 &lt;BR /&gt;             INDEX1  Load              41018 0000000000037344 0000000000595264 &lt;BR /&gt;  REFRESHTHREAD  ReloadIndex           131584 &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Dec 2004 01:24:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/infinite-recursion-in-c-stl/m-p/4874196#M20341</guid>
      <dc:creator>Travis Craig</dc:creator>
      <dc:date>2004-12-07T01:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Infinite recursion in C++ STL?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/infinite-recursion-in-c-stl/m-p/4874197#M20342</link>
      <description>Travis,&lt;BR /&gt;  What is the source code at the deepest point in your program?&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Dec 2004 16:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/infinite-recursion-in-c-stl/m-p/4874197#M20342</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-12-07T16:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Infinite recursion in C++ STL?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/infinite-recursion-in-c-stl/m-p/4874198#M20343</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Our function load() invokes the clear function on a multimap:&lt;BR /&gt;&lt;BR /&gt;    m_subscripts.clear();&lt;BR /&gt;&lt;BR /&gt;where m_subscripts is of type Subscripts:&lt;BR /&gt;&lt;BR /&gt;    typedef std::multimap&lt;SUBSCRIPTMAPKEY&gt;&lt;/SUBSCRIPTMAPKEY&gt;&lt;BR /&gt;    struct CSubscript&lt;BR /&gt;    {&lt;BR /&gt;        int m_area;&lt;BR /&gt;        int m_category;&lt;BR /&gt;        int m_location;&lt;BR /&gt;        Exceptions::iterator m_iter1;&lt;BR /&gt;        Exceptions::iterator m_iter3;&lt;BR /&gt;    }; &lt;BR /&gt;&lt;BR /&gt;I compiled INDEX1.CPP with a show-all listing to see line 41018 and it was this line from the multimap class declaration in header file map.:&lt;BR /&gt;&lt;BR /&gt;     void  erase (iterator first, iterator last) { _RWt.erase(first, last); }&lt;BR /&gt;&lt;BR /&gt;Oh, and this information indicates that we were using STL, not Rogue Wave.&lt;BR /&gt;&lt;BR /&gt;--Travis&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Dec 2004 19:45:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/infinite-recursion-in-c-stl/m-p/4874198#M20343</guid>
      <dc:creator>Travis Craig</dc:creator>
      <dc:date>2004-12-09T19:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Infinite recursion in C++ STL?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/infinite-recursion-in-c-stl/m-p/4874199#M20344</link>
      <description>Time to close this one, I guess.  So far, it appears that either limiting processes to a single kernel thread (with SYSGEN parameter MULTITHREAD) or adding more thread safety to the code itself causes the problem to stop occurring.  It either shrinks or closes a window that had been opened wider by going from uniprocessors to multiprocessors.&lt;BR /&gt;&lt;BR /&gt;--Travis</description>
      <pubDate>Mon, 07 Mar 2005 10:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/infinite-recursion-in-c-stl/m-p/4874199#M20344</guid>
      <dc:creator>Travis Craig</dc:creator>
      <dc:date>2005-03-07T10:54:36Z</dc:date>
    </item>
  </channel>
</rss>

