无法通过SSH使用XForwarding运行安全性(可能是Java问题)

时间:2018-12-13 08:34:40

标签: java ssh vps x11-forwarding

我有一个运行Ubuntu 16.04的Godaddy(我知道他们很烂)无头VPS。我可以运行我尝试过使用X转发的其他任何程序,而不会出现任何问题。当我尝试运行军械库时,出现以下错误消息:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f52612e8009, pid=15978, tid=15979
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libjava.so+0x1d009]  JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" (or dumping to /opt/armitage/core.15978)
#
# An error report file with more information is saved as:
# /opt/armitage/hs_err_pid15978.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./run.sh: line 1: 15978 Aborted                 java -classpath bin:lib/\*:. armitage.ArmitageMain $*

错误消息中引用的日志文件可以在这里找到: https://pastebin.com/XxAXVkwg

在此先感谢所有可能帮助我的人。

1 个答案:

答案 0 :(得分:0)

这看起来像OpenJDK bug JDK-8173626。在错误报告中引用close comment

  

根据提交的报告,该问题来自OpenJDK 9ea。我们强烈建议您尝试使用Oracle的JDK 9ea最新版本运行。请发送给我们一个小型测试程序   如果您仍然遇到相同的问题,请执行可重复的步骤。

     

最新的JDK 9ea:https://jdk9.java.net/download/