<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - Stack overflow upon measuring perimeter of a rounded rectangle ROI"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1052">bug 1052</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>CONFIRMED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>ctrueden@wisc.edu
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - Stack overflow upon measuring perimeter of a rounded rectangle ROI"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1052#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - Stack overflow upon measuring perimeter of a rounded rectangle ROI"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1052">bug 1052</a>
              from <span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span></b>
        <pre>Thanks for the excellent bug report!

I confirm that the macro in question produces the given StackOverflowError on
OS X 10.10.2 with a fully up-to-date (Fiji is Just) ImageJ 2.0.0-rc-28/1.49q.

The issue is triggered because of Fiji's "Make rectangle selection rounded"
plugin, which can be found here:

 
<a href="https://github.com/fiji/Fiji_Plugins/blob/Fiji_Plugins-3.0.0/src/main/java/fiji/selection/Rounded_Rectangle.java">https://github.com/fiji/Fiji_Plugins/blob/Fiji_Plugins-3.0.0/src/main/java/fiji/selection/Rounded_Rectangle.java</a>

Without digging further, my guess is that that plugin produces a ROI with
degenerate segments, or something similar.

Wayne: if you think the fix should happen on the Fiji_Plugins side, feel free
to reassign the issue to me.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>