<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>That won't be easy. I was hoping you could tell the logic flaw
from the traceback. If not, I will try to put together some way to repeat
independent - if I can even repeat it myself - but it's using windows and
purify.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> John J Forrest
[mailto:jjforre@us.ibm.com] <br>
<b>Sent:</b> Thursday, September 10, 2009 12:50 PM<br>
<b>To:</b> Matthew Galati<br>
<b>Cc:</b> clp@list.coin-or.org; clp-bounces@list.coin-or.org;
osi@list.coin-or.org<br>
<b>Subject:</b> Re: [Clp] ABR in ClpSimplex:deleteRim using simplexInterface<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p style='margin-bottom:12.0pt'>But how can I reproduce bug?<br>
<br>
<img width=16 height=16 id="_x0000_i1025"
src="cid:image001.gif@01CA3216.13F87600"
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 "><span
style='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)</span><o:p></o:p></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=96 height=1 id="_x0000_i1026"
  src="cid:image002.png@01CA3216.13F87600"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>From:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=1 height=1 id="_x0000_i1027"
  src="cid:image003.png@01CA3216.13F87600"><br>
  <span style='font-size:10.0pt'>Matthew Galati &lt;Matthew.Galati@sas.com&gt;</span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=96 height=1 id="_x0000_i1028"
  src="cid:image002.png@01CA3216.13F87600"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>To:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=1 height=1 id="_x0000_i1029"
  src="cid:image003.png@01CA3216.13F87600"><br>
  <span style='font-size:10.0pt'>&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;</span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=96 height=1 id="_x0000_i1030"
  src="cid:image002.png@01CA3216.13F87600"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>Date:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=1 height=1 id="_x0000_i1031"
  src="cid:image003.png@01CA3216.13F87600"><br>
  <span style='font-size:10.0pt'>09/10/2009 12:45 PM</span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=96 height=1 id="_x0000_i1032"
  src="cid:image002.png@01CA3216.13F87600"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>Subject:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=1 height=1 id="_x0000_i1033"
  src="cid:image003.png@01CA3216.13F87600"><br>
  <span style='font-size:10.0pt'>[Clp] ABR in ClpSimplex:deleteRim using
  simplexInterface</span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=96 height=1 id="_x0000_i1034"
  src="cid:image002.png@01CA3216.13F87600"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>Sent by:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><img width=1 height=1 id="_x0000_i1035"
  src="cid:image003.png@01CA3216.13F87600"><br>
  <span style='font-size:10.0pt'>clp-bounces@list.coin-or.org</span><o:p></o:p></p>
  </td>
 </tr>
</table>

<div class=MsoNormal>

<hr size=2 width="100%" noshade style='color:#8091A5' align=left>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><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><span
style='font-size:10.0pt'>_______________________________________________</span></tt><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt>Clp mailing list</tt><br>
<tt>Clp@list.coin-or.org</tt><br>
<tt><a href="http://list.coin-or.org/mailman/listinfo/clp">http://list.coin-or.org/mailman/listinfo/clp</a></tt><br>
<br>
</span><o:p></o:p></p>

</div>

</body>

</html>