Bug 1956936

Summary: Bonmin crashes with glibc assertions
Product: [Fedora] Fedora Reporter: Michel Zou <xantares09>
Component: coin-or-BonminAssignee: Paulo Andrade <paulo.cesar.pereira.de.andrade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 34CC: paulo.cesar.pereira.de.andrade, trpost
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: coin-or-Bonmin-1.8.8-4.fc34 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-29 01:07:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michel Zou 2021-05-04 17:19:18 UTC
coin-or-Bonmin crashes when compiled with _GLIBCXX_ASSERTIONS (standard fedora rpm flags)

#0  0x00007ffff7ad9292 in raise () from /lib64/libc.so.6
#1  0x00007ffff7ac28a4 in abort () from /lib64/libc.so.6
#2  0x00007ffff526f3f8 in std::__replacement_assert(char const*, int, char const*, char const*) () from /lib64/libbonmin.so.4
#3  0x00007ffff5296679 in std::vector<double, std::allocator<double> >::front() [clone .part.0] [clone .lto_priv.9] [clone .lto_priv.0] () from /lib64/libbonmin.so.4
#4  0x00007ffff52c5ee5 in Bonmin::TMINLP::hasGeneralInteger() () from /lib64/libbonmin.so.4
#5  0x00007ffff5286521 in Bonmin::BonminSetup::initializeBBB() () from /lib64/libbonmin.so.4

it needs this commit to go through:

https://github.com/coin-or/Bonmin/commit/bce858f7874e1d2d9e57cc96ab8b8185e85a9651

this example should help reproduce:

https://cpp.hotexamples.com/examples/-/BonminSetup/-/cpp-bonminsetup-class-examples.html

Comment 1 Fedora Update System 2021-07-20 18:48:41 UTC
FEDORA-2021-d0933b7672 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d0933b7672

Comment 2 Fedora Update System 2021-07-21 01:55:17 UTC
FEDORA-2021-d0933b7672 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d0933b7672`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d0933b7672

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2021-07-29 01:07:20 UTC
FEDORA-2021-d0933b7672 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.