<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Folks,<br>
    <br>
    Forwarding instructions from David on how to get the new tag. See
    below. It is the same message as was quoted in Richard's previous
    message.<br>
    <br>
    For the data challenge, we are asking that each site decide for
    themselves whether they want to upgrade their version of JANA to
    this new version, jana_0.7.1p2
    (patch 2). Of course, upgrading means re-building sim-recon against
    this version. Output data files and histograms made using patch 1
    are OK and need not be re-done. Upgrade to patch 2 if you would like
    to eliminate even the possibility of the errors that Richard
    reported. If you are not experiencing problems, then continuing with
    patch 1 should be fine. If you do upgrade, for the sake of clean
    living, record the point you started up with patch 2.<br>
    <br>
    Thanks to David for the extremely rapid turn-around on this.<br>
    <br>
      -- Mark<br>
    <div class="moz-forward-container"><br>
      -------- Original Message --------
      <table class="moz-email-headers-table" cellspacing="0" border="0"
        cellpadding="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
            </th>
            <td>Re: segfaults in hd_root</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
            <td>Tue, 25 Mar 2014 09:45:07 -0400</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
            <td>David Lawrence <a class="moz-txt-link-rfc2396E" href="mailto:davidl@jlab.org"><davidl@jlab.org></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
            <td>Richard Jones <a class="moz-txt-link-rfc2396E" href="mailto:richard.t.jones@uconn.edu"><richard.t.jones@uconn.edu></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">CC: </th>
            <td>Mark M. Ito <a class="moz-txt-link-rfc2396E" href="mailto:marki@jlab.org"><marki@jlab.org></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>Hi Richard and Mark,

  I believe I now have a fix for this. I was able to reproduce the problem and after making a “minor” modification, it seems to have gone away. The only change was to add the RTLD_NODELETE flag to the call to dlopen when attaching a plugin. This basically prevents the shared object from actually being detached, therefore, preventing the multiple destructor calls. I’ve made a new JANA release, 0.7.1p2 that has this one change in it. You can download the tar ball from here:

<a class="moz-txt-link-freetext" href="http://www.jlab.org/JANA/releases/jana_0.7.1p2.tgz">http://www.jlab.org/JANA/releases/jana_0.7.1p2.tgz</a>

or check out the source from subversion here:

svn co <a class="moz-txt-link-freetext" href="https://phys12svn.jlab.org/repos/tags/jana_0.7.1p2">https://phys12svn.jlab.org/repos/tags/jana_0.7.1p2</a>


The minimal set of unit tests I have seemed to work OK with this so hopefully it will not give you any problems.

Regards,
-David


</pre>
    </div>
    <br>
  </body>
</html>