Fedora - Maven FATAL JRE错误

时间:2017-01-27 06:03:50

标签: java maven openjdk fedora-25

我试图在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是/usr/java/jdk1.8.0_121 /

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

1 个答案:

答案 0 :(得分:2)

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

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

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