簡體   English   中英

Java運行時環境檢測到致命錯誤:SIGSEGV(0xb)

[英]A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb)

我使用的是RHEL 6和64位操作系統。 對於我的一個應用程序,我安裝了“jre-6u23-linux-x64.bin”。 當我執行我的應用程序時,我收到以下錯誤:

 # A fatal error has been detected by the Java Runtime Environment:
 #  SIGSEGV (0xb) at pc=0x0000003222414d70, pid=4977, tid=140076581496592
 # JRE version: 6.0_23-b05
 # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops)
 # Problematic frame:**
 # C  [ld-linux-x86-64.so.2+0x14d70]
 # An error report file with more information is saved as
 # /root/Desktop/Madhu/SELVIEW10.0-B4/Linux/hs_err_pid4977.log
 # If you would like to submit a bug report, please visit:
 #   http://java.sun.com/webapps/bugreport/crash.jsp
 # The crash happened outside the Java Virtual Machine in native code.
 # See problematic frame for where to report the bug.

任何人都可以為此解決問題嗎?

之間

崩潰發生在Java虛擬機外部的本機代碼中。

包含更多信息的錯誤報告文件保存為/root/Desktop/Madhu/SELVIEW10.0-B4/Linux/hs_err_pid4977.log

看起來你正在處理一個有缺陷的本地庫。 看看那個hs_err轉儲(它是純文本),應該指出問題所在。

要嘗試的另一件事:壓縮OOPS優化最近才被添加到JVM中,嘗試禁用它(在命令行上傳遞-XX:-UseCompressedOops )並查看問題是否仍然存在。

這里還討論了這個問題: community.oracle.com線程

建議的解決方案是設置LD_BIND_NOW = 1:

export LD_BIND_NOW=1
$JAVA_HOME/bin/java -jar yourapp.jar

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM