Bug 1956936 - Bonmin crashes with glibc assertions
Summary: Bonmin crashes with glibc assertions
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: coin-or-Bonmin
Version: 34
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Paulo Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-04 17:19 UTC by Michel Zou
Modified: 2021-05-05 10:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.