<html><body>
<p>Will fix at weekend.<br>
<br>
<img width="16" height="16" src="cid:1__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for &quot;Sebastian Theophil&quot; ---08/19/2009 08:52:37 AM---Hi, I have a reproducible crash using the latest Clp"><font color="#424282">&quot;Sebastian Theophil&quot; ---08/19/2009 08:52:37 AM---Hi, I have a reproducible crash using the latest Clp trunk. I have not found</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">From:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">&quot;Sebastian Theophil&quot; &lt;stheophil@think-cell.com&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">To:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">&lt;clp@list.coin-or.org&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Date:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">08/19/2009 08:52 AM</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Subject:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">[Clp] Memory corruption writing ClpSimplex::savedSolution_ /        ClpSimplex::saveStatus_</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Sent by:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFC8BDFA9C6DA8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">clp-bounces@list.coin-or.org</font></td></tr>
</table>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt>Hi,<br>
<br>
<br>
I have a reproducible crash using the latest Clp trunk. I have not found<br>
a simple reproduction so far but I think I have figured out how the<br>
error occurs:<br>
<br>
OsiClpSolverInterface solver;<br>
solver.setupForRepeatedUse(2);<br>
<br>
// Setup problem with M rows / N columns<br>
<br>
solver.initialSolve(); // &lt;- may internally call modelPtr_-&gt;dual(0, 7)<br>
<br>
// now solver.modelPtr_-&gt;saveStatus_ and savedSolution still exist<br>
having M+N entries<br>
// Change problem size to M' &gt; M and N' &gt; N<br>
// ClpModel::resize resizes many arrays but of course not saveStatus_<br>
and savedSolution_<br>
<br>
// if this goes down to statusOfProblemInPrimal / statusOfProblemInDual,<br>
saveStatus_ and savedSolution_ are overwritten with M'+N' entries<br>
solver.initialSolve(); <br>
<br>
<br>
It seems to me, the error is not resizing or deleting saveStatus_ and<br>
savedSolution_ when the problem size changes. Is there a simple fix to<br>
this problem?<br>
<br>
Regards<br>
Sebastian<br>
<br>
--<br>
Sebastian Theophil . stheophil@think-cell.com<br>
Software Engineer<br>
 <br>
think-cell Software GmbH . Invalidenstr. 34 . 10115 Berlin, Germany <br>
</tt><tt><a href="http://www.think-cell.com">http://www.think-cell.com</a></tt><tt>&nbsp;. phone +49-30-666473-10 . toll-free (US) +1-800-891-8091<br>
Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl . Amtsgericht Berlin-Charlottenburg, HRB 85229<br>
<br>
<br>
_______________________________________________<br>
Clp mailing list<br>
Clp@list.coin-or.org<br>
</tt><tt><a href="http://list.coin-or.org/mailman/listinfo/clp">http://list.coin-or.org/mailman/listinfo/clp</a></tt><tt><br>
</tt><br>
<br>
</body></html>