<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yiv5534119644" class="" style=""><div class="" style=""><div style="background-color: rgb(255, 255, 255);" class=""><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;">Hey folks,</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"><br style=""></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;">I am trying looking to use CoinMP
 as a callable library from C++ on a Mac OS X machine (ver 10.9.5) ...</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"><span style="background-color: transparent;" class="">More specifically, I'm trying to form a bridge from Java through JNI hitting CoinMP (which I will likely give back to CoinMP if it's desired and when I get it stable ).</span><br class="" style=""></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"><br id="yiv5534119644yui_3_16_0_6_1412461463502_45" class="" style=""></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
 Arial, 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; background-color: transparent;">I'm able to build and test the CoinMP project successfully on it's own...so it appears as if things may be ok and it's just me.... to build CoinMP I run:</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; background-color: transparent;">./configure&nbsp;</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; background-color: transparent;">make all</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial,
 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; background-color: transparent;">make install</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"><br id="yiv5534119644yui_3_16_0_1_1412461463502_11972" class="" style=""></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;">It seemed to run fine to completion with only warnings.</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"><br class="" style=""></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class=""
 style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;">I looked at the "current issues" page here:&nbsp;<a href="https://projects.coin-or.org/BuildTools/wiki/current-issues#CurrentIssues" class="" style="">https://projects.coin-or.org/BuildTools/wiki/current-issues#CurrentIssues</a></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="">... It doesn't appear to be one of the config issues and I'm not having linker issues so I don't think the stdLib is missing/wrong.</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="">It isn't a configure or build problem in the sense that they seem to "complete".</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style=""><br class="" style=""></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="background-color: transparent;">However.... when
 I build my own library and unit test driver&nbsp;<span id="yiv5534119644yui_3_16_0_6_1412461463502_50" class="" style="background-color: transparent;">I get a random error at exit. &nbsp;About 25% of the time it runs fine. &nbsp;about 75% of the time it dies with this error (or one very like it):</span></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="background-color: transparent;"><br id="yiv5534119644yui_3_16_0_1_1412461463502_12023" class="" style=""></div><div class="" id="yiv5534119644yui_3_16_0_6_1412461463502_29" style="">Clp0032I Optimal objective 1428729.286 - 4 iterations time 0.002, Presolve 0.00</div><div class="" id="yiv5534119644yui_3_16_0_6_1412461463502_27" style="">unitTest(81584,0x7fff7dc05310) malloc: *** error for object 0x7fb7d0d010c8: incorrect checksum for freed object - object was probably modified after being freed.</div><div class="" id="yiv5534119644yui_3_16_0_6_1412461463502_25" style="">*** set a
 breakpoint in malloc_error_break to debug</div><div class="" id="yiv5534119644yui_3_16_0_6_1412461463502_23" style="">Abort trap: 6</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="background-color: transparent;"></div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style=""><br class="" style=""></div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style=""><span style="background-color: transparent;" class="">I also googled up a reference to my specific error message (in a post titled "Unit tests fail on OS X 10.9 (Mavericks) with CBC 2.8.8")</span><br class="" style=""></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">... and this looks like a plausible "same cause"... but I'm not
 entirely sure how to may this "fix" work for me.</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" style="color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">"...</div><div style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;" class="">[Problem solved] Just a follow-up comment for folks who may be googling for the solution to this problem.<br class="" style=""></div><div style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;" class="">I
 believe the problem may have something to do with the way the latest gcc (4.4.1) handles symbols in the latest ASL. I created a virtual machine with Ubuntu 8.10 LTS, and used gcc 4.2.4 to compile the IPOPT source with the latest ASL, and it worked like a charm. I copied the compiled binary back to my Ubuntu 9.04 machine (gcc 4.4.1) and IPOPT did not segfault anymore.&nbsp;<br class="" style=""></div><div class="" style=""><br class="" style=""></div><div class="" style="">..."</div><div class="" style=""><br class="" style=""></div><div class="" style=""><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="background-color: transparent;">Here is info on my compiler version:</div><div class="" style="">g++ --version</div><div class="" style="">Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1</div><div class="" style="">Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM
 3.5svn)</div><div class="" style="">Target: x86_64-apple-darwin13.4.0</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="background-color: transparent;"></div><div class="" style="">Thread model: posix</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="background-color: transparent;"><br class="" style=""></div></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; background-color: transparent;" class=""><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="background-color: transparent;"><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style=""><span class="" style="background-color: transparent;">My driver program and library (and makefile) are fairly simple. &nbsp;I got the compile/link flags out of the
 coin build script when it was running so I don't think I'm mis-matching compile flags...</span></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" class="" style="background-color: transparent;"><br class="" style=""></div></div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style=""><span class="" style="background-color: transparent;">With this evidence I believe the issue is really a platform issue, and not really a Coin-MP error per se. &nbsp;</span></div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style=""><span class="" style="background-color: transparent;"><br class="" style=""></span></div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style=""><span class="" style="background-color: transparent;">Any suggestion on where to post the information I have to try to get someone to take a look? &nbsp;I can run tests/build/configure/whatever to try to make it work if someone has some
 advice. &nbsp;I won't be able to back-version the compiler as that version is driven by our IT guys... so I can't use the fix above.</span></div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style=""><span class="" style="background-color: transparent;"><br></span></div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style=""><br class="" style=""></div></div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"><span style="background-color: transparent;" class="">Side note:</span></div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style="">When here...</div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style=""><span style="background-color: transparent;" class=""><a href="http://www.coin-or.org/projects/BuildTools.xml" class=""
 style="">http://www.coin-or.org/projects/BuildTools.xml</a><br class="" style=""></span></div><div class="" id="yiv5534119644yui_3_16_0_1_1412461463502_12028" style="">Clicking on the project page link.. it adds a %20 to the URL using chrome (https://projects.coin-or.org/BuildTools%20)..which then fails to navigate. &nbsp;</div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; background-color: transparent;" class=""><br></div><div id="yiv5534119644yui_3_16_0_1_1412461463502_11946" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; background-color: transparent;" class="">Philip</div></div></div></div></div></body></html>