Fedora - Maven 致命的 JRE 错误



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

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 is/usr/java/jdk1.8.0_121/

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

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

无论如何,这可能是 https://bugzilla.redhat.com/show_bug.cgi?id=1415137,目前正在推动解决此问题。见 https://bodhi.fedoraproject.org/updates/FEDORA-2017-4076cf8494

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

相关内容

  • 没有找到相关文章

最新更新