<html><body>
<p>But how can I reproduce bug?<br>
<br>
<img width="16" height="16" src="cid:1__=0ABBFCBEDFCFF8A68f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Matthew Galati ---09/10/2009 12:45:05 PM---https://projects.coin-or.org/Clp/ticket/33 [E] ABR: Array "><font color="#424282">Matthew Galati ---09/10/2009 12:45:05 PM---https://projects.coin-or.org/Clp/ticket/33 [E] ABR: Array bounds read in ClpSimplex::deleteRim(int)</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__=0ABBFCBEDFCFF8A68f9e8a93df938@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__=0ABBFCBEDFCFF8A68f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">Matthew Galati &lt;Matthew.Galati@sas.com&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFCBEDFCFF8A68f9e8a93df938@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__=0ABBFCBEDFCFF8A68f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">&quot;clp@list.coin-or.org&quot; &lt;clp@list.coin-or.org&gt;, &quot;osi@list.coin-or.org&quot; &lt;osi@list.coin-or.org&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFCBEDFCFF8A68f9e8a93df938@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__=0ABBFCBEDFCFF8A68f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">09/10/2009 12:45 PM</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFCBEDFCFF8A68f9e8a93df938@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__=0ABBFCBEDFCFF8A68f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">[Clp] ABR in ClpSimplex:deleteRim using simplexInterface</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFCBEDFCFF8A68f9e8a93df938@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__=0ABBFCBEDFCFF8A68f9e8a93df938@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>
<a href="https://projects.coin-or.org/Clp/ticket/33">https://projects.coin-or.org/Clp/ticket/33</a><br>
 <br>
[E] ABR: Array bounds read in ClpSimplex::deleteRim(int) {6 occurrences}<br>
        Reading 8 bytes from 0x03fb0cd0 (8 bytes at 0x03fb0cd0 illegal)<br>
        Address 0x03fb0cd0 is 1 byte past the end of a 520 byte block at 0x03fb0ac8<br>
        Address 0x03fb0cd0 points to a C++ new block in heap 0x03f70000<br>
        Thread ID: 0x1ae0<br>
        Error location<br>
            ClpSimplex::deleteRim(int) [c:\cygwin\home\magala\coin\coin-decomp\clp\src\clpsimplex.cpp:4322]<br>
                    reducedCost_[i] = reducedCostWork_[i];<br>
                      }<br>
                      for (i=0;i&lt;numberRows;i++) {<br>
             =&gt;     double value = rowActivityWork_[i];<br>
                    double lower = rowLowerWork_[i];<br>
                    double upper = rowUpperWork_[i];<br>
                    if (lower&gt;-1.0e20||upper&lt;1.0e20) {<br>
            ClpSimplex::finish(int) [c:\cygwin\home\magala\coin\coin-decomp\clp\src\clpsimplex.cpp:8125]<br>
                  } else {<br>
                    whatsChanged_ &amp;= ~0xffff;<br>
                  }<br>
             =&gt;   deleteRim(getRidOfData);<br>
                  // Skip message if changing algorithms<br>
                  if (problemStatus_!=10) {<br>
                    if (problemStatus_==-1)<br>
            OsiClpSolverInterface::disableSimplexInterface(void) [c:\cygwin\home\magala\coin\coin-decomp\osi\src\osiclp\osiclpsolverinterface.cpp:5331]<br>
                  // message will not appear anyway<br>
                  int saveMessageLevel=modelPtr_-&gt;messageHandler()-&gt;logLevel();<br>
                  modelPtr_-&gt;messageHandler()-&gt;setLogLevel(0);<br>
             =&gt;   modelPtr_-&gt;finish();<br>
                  modelPtr_-&gt;messageHandler()-&gt;setLogLevel(saveMessageLevel);<br>
                  modelPtr_-&gt;restoreData(saveData_);<br>
                  modelPtr_-&gt;scaling(saveData_.scalingFlag_);<br>
            OsiClpSolverInterface::resolve(void) [c:\cygwin\home\magala\coin\coin-decomp\osi\src\osiclp\osiclpsolverinterface.cpp:851]<br>
                  int saveSolveType=modelPtr_-&gt;solveType();<br>
                  bool doingPrimal = modelPtr_-&gt;algorithm()&gt;0;<br>
                  if (saveSolveType==2) {<br>
             =&gt;     disableSimplexInterface();<br>
                  }<br>
                  int saveOptions = modelPtr_-&gt;specialOptions();<br>
                  int startFinishOptions=0;<br>
            DecompAlgo::solutionUpdate(DecompPhase,int,int) [c:\cygwin\home\magala\coin\coin-decomp\decomp\src\decompalgo.cpp:1846]<br>
            DecompAlgo::processNode(int,double,double) [c:\cygwin\home\magala\coin\coin-decomp\decomp\src\decompalgo.cpp:1452]<br>
            AlpsDecompTreeNode::process(bool,bool) [c:\cygwin\home\magala\coin\coin-decomp\decomp\src\alpsdecomptreenode.cpp:220]<br>
            AlpsSubTree::exploreUnitWork(bool,int,double,AlpsExitStatus&amp;,int&amp;,int&amp;,int&amp;,int&amp;,bool&amp;) [c:\cygwin\home\magala\coin\coin-decomp\alps\src\alpssubtree.cpp:1288]<br>
            AlpsSubTree::exploreSubTree(AlpsTreeNode *,int,double,int&amp;,int&amp;,int&amp;,int&amp;) [c:\cygwin\home\magala\coin\coin-decomp\alps\src\alpssubtree.cpp:495]<br>
            AlpsKnowledgeBrokerSerial::rootSearch(AlpsTreeNode *) [c:\cygwin\home\magala\coin\coin-decomp\alps\src\alpsknowledgebrokerserial.cpp:226]<br>
        Allocation location<br>
            new(UINT)      [f:\dd\vctools\crt_bld\self_x86\crt\src\new.cpp:57]<br>
            &lt;&gt;=(UINT)      [f:\dd\vctools\crt_bld\self_x86\crt\src\newaop.cpp:7]<br>
            ClpSimplex::createRim(int,bool,int) [c:\cygwin\home\magala\coin\coin-decomp\clp\src\clpsimplex.cpp:3257]<br>
                      delete [] dj_;<br>
                      dj_ = new double[numberTotal];<br>
                      delete [] solution_;<br>
             =&gt;       solution_ = new double[numberTotal];<br>
                    }<br>
                    reducedCostWork_ = dj_;<br>
                    rowReducedCost_ = dj_+numberColumns_;<br>
            ClpSimplex::startup(int,int) [c:\cygwin\home\magala\coin\coin-decomp\clp\src\clpsimplex.cpp:7962]<br>
                <br>
                  // put in standard form (and make row copy)<br>
                  // create modifiable copies of model rim and do optional scaling<br>
             =&gt;   bool goodMatrix=createRim(7+8+16+32,true,startFinishOptions);<br>
                <br>
                  if (goodMatrix) {<br>
                    // switch off factorization if bad<br>
            OsiClpSolverInterface::enableSimplexInterface(bool) [c:\cygwin\home\magala\coin\coin-decomp\osi\src\osiclp\osiclpsolverinterface.cpp:5312]<br>
                #ifdef NDEBUG<br>
                  modelPtr_-&gt;startup(0);<br>
                #else<br>
             =&gt;   int returnCode=modelPtr_-&gt;startup(0);<br>
                  assert (!returnCode||returnCode==2);<br>
                #endif<br>
                  modelPtr_-&gt;specialOptions_=saveOptions;<br>
            OsiClpSolverInterface::resolve(void) [c:\cygwin\home\magala\coin\coin-decomp\osi\src\osiclp\osiclpsolverinterface.cpp:1219]<br>
            DecompAlgo::solutionUpdate(DecompPhase,int,int) [c:\cygwin\home\magala\coin\coin-decomp\decomp\src\decompalgo.cpp:1846]<br>
            DecompAlgo::processNode(int,double,double) [c:\cygwin\home\magala\coin\coin-decomp\decomp\src\decompalgo.cpp:1191]<br>
            AlpsDecompTreeNode::process(bool,bool) [c:\cygwin\home\magala\coin\coin-decomp\decomp\src\alpsdecomptreenode.cpp:220]<br>
            AlpsSubTree::exploreUnitWork(bool,int,double,AlpsExitStatus&amp;,int&amp;,int&amp;,int&amp;,int&amp;,bool&amp;) [c:\cygwin\home\magala\coin\coin-decomp\alps\src\alpssubtree.cpp:1288]<tt>_______________________________________________<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>