<br><font size=2 face="sans-serif">Esben,</font>
<br>
<br><font size=2 face="sans-serif">I could not get it to crash with branches/devel,
but it did immediately with trunk &nbsp;and I think the bug applies to
branches/devel version.</font>
<br>
<br><font size=2 face="sans-serif">Is it OK now? (trunk and branches/devel)</font>
<br>
<br><font size=2 face="sans-serif">John Forrest</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Esben Mose Hansen &lt;esben@ange.dk&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: coin-discuss-bounces@list.coin-or.org</font>
<p><font size=1 face="sans-serif">01/09/2007 11:14 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Discussions about open source software for Operations Research &nbsp; &nbsp;
&nbsp; &nbsp;&lt;coin-discuss@list.coin-or.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">coin-discuss@list.coin-or.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[Coin-discuss] crash in CbcModel::branchAndBound</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi,<br>
<br>
the problem in this mps file<br>
<br>
http://ange.dk/public/crash-job1245.mps.bz2<br>
<br>
crashes cbc on both trunk and devel. <br>
<br>
&gt;From my analysis, a new CbcNode is created (named newNode), and then
later its <br>
newNode-&gt;objectiveValue()-&gt;nullParent() is called ... (a member &quot;parent_&quot;
is <br>
set to 0, or NULL ) but this info is never set, so we get a segmentation
<br>
fault.<br>
<br>
I'm not quite sure what is suppose to happen in this case... but I think
that <br>
the code should just check if the info is null, and avoid setting that
member <br>
if so. In fact, I can't quite see how that newNode-&gt;objectiveValue()
can be <br>
other than NULL, but it is so easy to miss a codepath in unfamiliar code.<br>
<br>
-- <br>
kind regards, Esben<br>
<br>
_______________________________________________<br>
Coin-discuss mailing list<br>
Coin-discuss@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-discuss<br>
</font></tt>
<br>