0

我正在尝试mvn package在 Fedora 25 上运行,但我不断收到此错误:

Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.12.4/surefire-junit4-2.12.4.pom
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fb46a290711, pid=20263, tid=0x00007fb46af4e700
#
# JRE version: OpenJDK Runtime Environment (8.0_111-b16) (build 1.8.0_111-b16)
# Java VM: OpenJDK 64-Bit Server VM (25.111-b16 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0x14f711]  __memmove_avx_unaligned_erms+0x211
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /run/media/pichardo/Data/hacking/projects/personal/MetalesBC-Billing-System/hs_err_pid20263.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
/usr/bin/mvn: line 20: 20263 Aborted                 (core dumped) $M2_HOME/bin/mvn "$@"

echo $JAVA_HOME 是 /usr/java/jdk1.8.0_121/

有人知道为什么会这样吗?

4

1 回答 1

3

请使用发行版的错误跟踪器报告错误。StackOverflow 是错误的地方。打包者将观看发行版的错误跟踪器,而不是互联网上的其他地方。

无论如何,这可能是https://bugzilla.redhat.com/show_bug.cgi?id=1415137并且正在推动对此的修复。见https://bodhi.fedoraproject.org/updates/FEDORA-2017-4076cf8494

此外,您的 JAVA_HOME 似乎被 Maven 忽略了。它没有被使用,您可以在崩溃报告中看到 Maven 正在使用 OpenJDK。

于 2017-01-27T20:25:13.750 回答