<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi Yorick,<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 3/11/2020 4:58 AM, Yorick wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPbzRUa-XyZX1+wtpMPAqWr17Q6sJyfLxHoUuQkzBpNz6Gv0qQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <pre style="color:rgb(0,0,0);white-space:pre-wrap">I have encountered an issue with upgrading from ACE 5.5.4 (TAO 1.5.4) to ACE 6.5.7 (TAO 2.5.7).</pre>
        [...]
        <pre style="color:rgb(0,0,0);white-space:pre-wrap">
    SYNOPSIS:
Upon binding CosNaming::Name I get a SIGABRT from libc, originating from the _this () method generated by TAO_IDL.

    DESCRIPTION:
>From GDB I get this stacktrace:</pre>
        <pre style="color:rgb(0,0,0);white-space:pre-wrap">*** Error in `<APPLICATION>.exe': free(): invalid next size (fast): 0x000000000aa12810 ***</pre>
        <pre style="color:rgb(0,0,0);white-space:pre-wrap">And crashes on the return of the new one.</pre>
        <pre style="white-space:pre-wrap"><font color="#000000">The application I'm trying to upgrade is very old, and I'm not that familiar with ACE/TAO.
I confirmed that the code is following the example described here:
</font><a href="http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/TAO/docs/tutorials/Quoter/Naming_Service/index.html" style="color:rgb(0,0,0)" moz-do-not-send="true">http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/TAO/docs/tutorials/Quoter/Naming_Service/index.html</a>

</pre>
        <pre style="color:rgb(0,0,0);white-space:pre-wrap">    REPEAT BY:
I test everything locally, no extra servers, and the old version of ACE TAO works without problems.</pre>
      </div>
    </blockquote>
    <p>The error message from free() seems like it's saying that the
      heap is already corrupt.  If that's true, then this particular
      location isn't all that relevant to finding the root cause.  A
      tool like valgrind or asan could be more helpful.</p>
    <p>Thanks,<br>
      Adam Mitz<br>
      Principal Software Engineer<br>
      Object Computing, Inc.<br>
    </p>
  </body>
</html>