[jvm-packages] running tests causes core dump

I’m trying to build the jvm packages, but getting a jvm core dump while running tests. Any ideas?

Ubuntu 18.04
cmake: 3.13.1
maven: 3.5.2
jdk: 1.8.0_191

These are the steps I took:

git clone --recurse-submodules https://github.com/dmlc/xgboost.git
cd xgboost/jvm-packages/
mvn package

then the last bit of the output:

AssertError:ReConnectLink failure 4
AssertError:ReConnectLink failure 4
AssertError:ReConnectLink failure 4
AssertError:ReConnectLink failure 4
free(): corrupted unsorted chunks
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f22b85afff6, pid=2709, tid=0x00007f22650ec700
#
# JRE version: OpenJDK Runtime Environment (8.0_191-b12) (build 1.8.0_191-8u191-b12-0ubuntu0.18.04.1-b12)
# Java VM: OpenJDK 64-Bit Server VM (25.191-b12 mixed mode linux-amd64 compressed oops)
# Problematic frame:
AssertError:ReConnectLink failure 4
AssertError:ReConnectLink failure 4
AssertError:ReConnectLink failure 4
AssertError:ReConnectLink failure 4
AssertError:ReConnectLink failure 4
Aborted (core dumped)
#
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] XGBoost JVM Package … SUCCESS [ 2.534 s]
[INFO] xgboost4j … SUCCESS [ 47.287 s]
[INFO] xgboost4j-spark … FAILURE [01:47 min]
[INFO] xgboost4j-flink … SKIPPED
[INFO] xgboost4j-example … SKIPPED

Can you post this in GitHub repo? It may be a bug. Make sure to use [jvm-packages] heading.

Done: https://github.com/dmlc/xgboost/issues/3955