Hello community,
here is the log from the commit of package mvapich2 for openSUSE:Factory checked in at 2019-05-02 19:21:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mvapich2 (Old)
and /work/SRC/openSUSE:Factory/.mvapich2.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mvapich2"
Thu May 2 19:21:30 2019 rev:15 rq:700040 version:2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/mvapich2/mvapich2.changes 2019-03-22 15:09:29.781384012 +0100
+++ /work/SRC/openSUSE:Factory/.mvapich2.new.5148/mvapich2.changes 2019-05-02 19:21:43.145832258 +0200
@@ -1,0 +2,6 @@
+Thu May 2 08:00:51 UTC 2019 - Nicolas Morey-Chaisemartin
+
+- Add mvapich2-fix-double-free.patch to fix a segfault
+ when running on a machine with no RDMA hardware (bsc#1133797)
+
+-------------------------------------------------------------------
New:
----
mvapich2-fix-double-free.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mvapich2.spec ++++++
--- /var/tmp/diff_new_pack.vMHjzy/_old 2019-05-02 19:21:43.965833990 +0200
+++ /var/tmp/diff_new_pack.vMHjzy/_new 2019-05-02 19:21:43.965833990 +0200
@@ -167,6 +167,7 @@
# PATCH-FIX-UPSTREAM 0001-Drop-GCC-check.patch (bnc#1129421)
# It's been merged upstream, should be removed with the next release
Patch3: 0001-Drop-GCC-check.patch
+Patch4: mvapich2-fix-double-free.patch
Url: http://mvapich.cse.ohio-state.edu/overview/mvapich2/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -297,6 +298,7 @@
%patch0
%patch2
%patch3
+%patch4
cp /usr/share/automake*/config.* .
%build
++++++ mvapich2-fix-double-free.patch ++++++
commit 02b05116e1586422a933c4a8f6d4e4d29d4e9531
Author: Nicolas Morey-Chaisemartin
Date: Thu May 2 09:56:40 2019 +0200
mvapich2 fix double free
Fix double free that causes a SEGV when mvapich2 fails to open
a rdma device
Signed-off-by: Nicolas Morey-Chaisemartin
diff --git src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_priv.c src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_priv.c
index 4366eb521fce..95d09efa75e3 100644
--- src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_priv.c
+++ src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_priv.c
@@ -707,8 +707,6 @@ int rdma_open_hca(struct mv2_MPIDI_CH3I_RDMA_Process_t *proc)
return mpi_errno;
fn_fail:
- /* Clean up before exit */
- ibv_free_device_list(dev_list);
goto fn_exit;
}