Cbc
Cbc copied to clipboard
10teams crashes Cbc with Visual Studio 2013
The unit test is currently failing with Visual Studio 2013 in debug mode with Cbc master (see here). I was able to replicate this issue locally, but I am building with the autotools and I haven't found an easy way yet to debug. The Visual Studio solutions are all broken in different ways. Anyway, to replicate, build with Visual Studio 2013 and just simply do cbc 10teams
with default everything. Let me know if anyone is able to replicate and/or debug this and can help track it down.
I'm not able to run the tests inside visual studio, but we had some issues with older version of Cbc compiled with Visual Studio 2013 (using the *.vcxproj) as well - some kind of memory corruption inside the feasibility pump. Visual Studio marks uninitialised and free'd memory with certain values, see https://stackoverflow.com/a/127404 The invalid read/writes where marked with such values, but I don't remember the details. Even with exactly the same codebase we never managed to reproduce the issue using linux + gcc + valgrind or asan... But we obtained a free test version of icc and it crashed at the same location. We theorized that might some of the undocumented #define was set by configure but missing in the vcxproj and resorted to use "-feas off" which fixed our issues (although it does not make Cbc faster).
That is one of the reasons why we were currently in the process to switch to mingw.