【问题标题】:A fatal error has been detected by the Java Runtime Environment: SIGBUS while installing ZAP proxy in parrot home OSJava Runtime Environment 检测到致命错误:SIGBUS while install ZAP proxy in parrot home OS
【发布时间】:2020-01-05 13:43:41
【问题描述】:

我试图在我的鹦鹉家庭操作系统中安装 ZAP 代理,但我无法安装它,并且我在终端中收到的错误如下:

(A fatal error has been detected by the Java Runtime Environment:
 SIGBUS (0x7) at pc=0x00007f904544b12f, pid=6446, tid=6447JRE version: OpenJDK Runtime 
 Environment (11.0.5+10) (build 11.0.5+10-post-Debian-2)
 Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-post-Debian-2, mixed mode, sharing, tiered, 
 compressed oops, g1 gc, linux-amd64)
 Problematic frame:
 V  [libjvm.so+0xcce12f]
 No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
 If you would like to submit a bug report, please visit:
 (https://bugs.debian.org/openjdk-11)

Aborted

【问题讨论】:

  • 我很困惑你句子的前半部分说你安装了它,然后你说你无法安装它。它是哪一个?当您收到该错误时,您正在运行什么?这似乎更像是一个鹦鹉问题而不是一个快速问题。
  • 同意金索林。另外,您尝试使用什么安装?跨平台包可能是最好的 - 那只是一个发布的 zip 文件。
  • 对不起西蒙,实际上我的意思是我在我的鹦鹉 linux 系统中下载了它,它是一个 .sh 文件,但是当我使用终端“chmod 777 或 chmod +x”命令安装它时,它抛出我已经提到的错误。
  • 感谢 Kingthorin,Simon Bennets 我将尝试使用 zap 跨平台包。

标签: jvm owasp zap openjdk-11 parrot


【解决方案1】:

此错误消息...

(A fatal error has been detected by the Java Runtime Environment:
 SIGBUS (0x7) at pc=0x00007f904544b12f, pid=6446, tid=6447JRE version: OpenJDK Runtime 
 Environment (11.0.5+10) (build 11.0.5+10-post-Debian-2)
 Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-post-Debian-2, mixed mode, sharing, tiered, 
 compressed oops, g1 gc, linux-amd64)
 Problematic frame:
 V  [libjvm.so+0xcce12f]

...暗示V 框架是有问题的框架,它崩溃导致libjvm.so 文件。

您观察到的崩溃可能不是 问题,而是 问题。


深入研究

但是,根据What versions of Java are supported? 页面中的文档,ZAP 应该能够运行所有/更新的 Java 版本,但对于某些 ZAP 版本可能需要最低要求:

  • ZAP 2.7.0 及更高版本至少需要 Java 1.8
  • ZAP 2.0.0 及更高版本至少需要 Java 1.7
  • 以前的 ZAP 版本也支持 Java 1.6,最后一个版本是 1.4.1

另外,根据Download ZAP页面中的文档:

  • Windows 和 Linux 版本需要 Java 8 或更高版本才能运行。
  • macOS 版本包括 Java 8 - 如果您不想下载,可以使用 Linux 或跨平台版本。

最后,根据Release 2.9.0页面中的文档:

这是一个错误修复和增强版本,至少需要 Java 8。请注意,建议至少使用 Java 11,尤其是对于高 DPI 显示器。


参考文献

您可以在以下位置找到一些相关讨论:

【讨论】:

    猜你喜欢
    • 2018-05-16
    • 2020-07-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-01-28
    • 1970-01-01
    相关资源
    最近更新 更多