[SRU] uses uninitialized memory with MUMPS >= 5.1.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coinor-ipopt (Debian) |
Fix Released
|
Unknown
|
|||
coinor-ipopt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
IPOPT uses uninitialized memory due to a change in the MUMPS API.
First reported in idyntree upstream:
https:/
Running ipopt_example in valgrind gives the following output:
==8203== Conditional jump or move depends on uninitialised value(s)
==8203== at 0x5C41E26: dmumps_ (in /usr/lib/
==8203== by 0x5C4744D: dmumps_f77_ (in /usr/lib/
==8203== by 0x5C3FF52: dmumps_c (in /usr/lib/
==8203== by 0x4C34336:
Ipopt::
==8203== by 0x4B64B7A:
Ipopt::
==8203== by 0x4B26CB5:
Ipopt::
==8203== by 0x4B1E4D8:
Ipopt::
==8203== by 0x4B1E6A9:
Ipopt::
==8203== by 0x10B58F: main (in /home/graham/
...
==8203== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
[Test Case]
sudo apt install cmake valgrind build-essential coinor-libipopt-dev
git clone https:/
cd ipopt-cmake-demo
mkdir build
cd build
cmake ..
make
valgrind ./ipopt_example
valgrind should report 0 errors:
==8300== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
[Regression Potential]
Upstream committed the fix on 2018-06-27
https:/
and it was included in 3.12.11 released on 2018-09-16.
Reverse build dependencies are freefem++ and kido
Changed in coinor-ipopt (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
Changed in coinor-ipopt (Debian): | |
status: | Unknown → Fix Released |
Changed in coinor-ipopt (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in coinor-ipopt (Ubuntu Cosmic): | |
status: | New → In Progress |
Changed in coinor-ipopt (Ubuntu Disco): | |
status: | New → In Progress |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
Hello Graham, or anyone else affected,
Accepted coinor-ipopt into disco-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ coinor- ipopt/3. 11.9-2. 1ubuntu0. 19.04.1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- disco to verification- done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- disco. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.