-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.10.9 update crashes in CbcBaseModel::waitForThreadsInTree #591
Comments
Could you say more about exactly how you built the projects? What were your configure options? For example, it looks like you built Cbc with
|
I tried running coinbrew but it failed to build mumps:
|
I will try to rebuild without |
For the Mumps issue, I guess adding |
I now built the full stack with |
It also happens with default compilation flags, so this is not caused by archlinux compilation flags |
it seems to come from 1e6e301 what does this do @jjhforrest ?
|
the error disappears if I disable nauty |
@tkralphs what distro / compiler do you use ? do you enable nauty ? |
I am unable to reproduce this error - with or without nauty. The symmetry breaking code is only entered if user has set option - and that is not set in example. |
what distro / compiler are you using ? |
Bonmin 1.8.9 and gcc 11.3 |
Is that the version from ubuntu ? |
Ubuntu |
COIN_HAS_NTY is only defined during compilation of Cbc but is used in public header CbcModel.hpp Hiding attributes to 3rd party code can lead to crashes from alignment issues Closes coin-or#591
I think I figured it out: COIN_HAS_NTY private macro is used in public header CbcModel.hpp |
COIN_HAS_NTY is only defined during compilation of Cbc but is used in public header CbcModel.hpp We also have to unconditionnaly include CbcSymmetry.hpp in case nauty is disabled Hiding attributes to 3rd party code can lead to crashes from alignment issues Fixes 1e6e301 Closes coin-or#591
Yes, that could be it. The use of |
I proposed to drop it but maybe its best to define it in the config header as you mentionned |
Problem with the name |
lets drop it then as in #593 ? |
I missed that there were more than just bug fixes being introduced in this release. #593 looks to be the right fix. I will merge and make a new release unless @jjhforrest objects. |
go ahead - I will try and remember not to put anything interesting into stable - just fixes. |
yes, boring stuff only please :] |
COIN_HAS_NTY is only defined during compilation of Cbc but is used in public header CbcModel.hpp * Fixes bug introduced in 1e6e301 * Closes #591 * Also, fixes the Github workflow so that we're building with nuaty on Linux, as was intended. * Eliminate zapRootSymmetry(), since it is not defined or used. --------- Co-authored-by: Ted Ralphs <[email protected]>
since the cbc update 2.10.9, cbc crashes via bonmin on its simple c++ example (https://github.com/coin-or/Bonmin/tree/master/examples/CppExample)
Careful: dependent packages vol+bcp+bonmin have to be recompiled when cbc gets updated to see the exact same error, else it might crash elsewhere.
I used all latest cgl 0.60.7, clp 1.17.8, osi 0.108.8, coinutils 2.11.8, bonmin 1.8.9, vol 1.5.4, bcp 1.4.4, ipopt 3.14.12
It is fine if I revert to 2.10.8 (and rebuild vol/bcp/bonmin)
this is with gcc 12.2.1 / archlinux
The text was updated successfully, but these errors were encountered: