Jenkins Java编译导致Java崩溃

时间:2014-01-17 03:39:42

标签: java compilation jenkins gradle libzip

当我尝试在Jenkins服务器中使用Gradle编译一些Java代码时,我一直在用Java崩溃。谁知道任何可能的解决方案似乎libzip有某种问题...

我正在使用Ubuntu服务器。完整错误报告:http://pastebin.com/dnmFTbLg

:reobf#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00007f54df18218d, pid=17194, tid=140002619074304
#
# JRE version: 7.0_25-b30
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libzip.so+0x518d]  Java_java_util_zip_ZipFile_getZipMessage+0x114d
#
# 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:
# /var/lib/jenkins/workspace/ICBM/hs_err_pid17194.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

有没有人知道为什么Java在尝试执行编译时会崩溃?

1 个答案:

答案 0 :(得分:0)

我看到你正在使用OpenJDK。尝试使用Oracle JDK:https://help.ubuntu.com/community/Java