久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何知道 JVM 因 Segfault 而崩潰的原因?

How to know the reason for JVM crashing with Segfault?(如何知道 JVM 因 Segfault 而崩潰的原因?)
本文介紹了如何知道 JVM 因 Segfault 而崩潰的原因?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

我們看到 JVM 有時會因段錯誤而崩潰.我們在日志中看到的唯一錯誤如下.

We are seeing the JVM getting crashed at times with segfault. The only error we see in logs is as below.

任何人都可以通過查看以下錯誤跟蹤來提出建議.

Anyone can suggest something by looking at the below error trace.

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fef7f1d3eb0, pid=42623, tid=0x00007feea62c8700
#
# JRE version: OpenJDK Runtime Environment (8.0_222-b10) (build 1.8.0_222-b10)
# Java VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# J 62683 C2 org.apache.ignite.internal.marshaller.optimized.OptimizedObjectOutputStream.writeObject0(Ljava/lang/Object;)V (331 bytes) @ 0x00007fef7f1d3eb0 [0x00007fef7f1d3e00+0xb0]
#
# 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:
# /tmp/hsperfdata_pvappuser/hs_err_pid42623.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp

<小時>

在嘗試了解此崩潰的原因時 Oracle JVM 文檔 https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/crashes001.html ,這看起來是 5.1.2 Crash in Compiled Code 的問題框架是java框架(有一個J")


While trying to understand the reason for this crash Oracle JVM docs https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/crashes001.html ,this looks to be the case of 5.1.2 Crash in Compiled Code as the problematic frame is java frame(has a "J")

雖然無法進一步了解它,但我們也不確定它什么時候出現,唯一可能的模式是它在 JVM 運行 5-6 天時出現,通常是在星期五.我們使用的是在 RHEL 6.10 上運行的 RedHat 提供的 openjdk-8 ("1.8.0_232") 發行版.

Though could not get much further from it, we also not sure when it comes, the only probale pattern is it comes when JVM is running for 5-6 days so usually on Friday. We are using openjdk-8 ("1.8.0_232") distribution provided by RedHat running on RHEL 6.10.

期待在跟蹤此錯誤時獲得任何領先點.

Looking forward to get any leading point in tracing this error.

推薦答案

當前棧幀有 writeObject0 作為最后調用的方法.native 方法的名稱以 0 結尾有一個命名約定.因此檢查該方法是否確實是原生的.

The current stack frame has writeObject0 as the last called method. There is a naming convention that native method's names end with 0. Therefore check whether that method is indeed native.

如果是這樣,它可能是用 C 編寫的,這是一種古老的不安全語言,其程序往往會以不受控制的方式崩潰.這通常會導致 SIGSEGV.

If it is, it is probably written in C, an ancient unsafe language whose programs tend to crash in an uncontrolled way. This often leads to SIGSEGV.

在這種情況下,該方法是用 Java 編寫的.

In this case, that method is written in Java though.

正如您在錯誤消息中所說的,請閱讀 hs_err_pid42623.log 了解更多詳細信息.在該文件中,您將找到有關崩潰代碼的寄存器和一些機器指令.

As you were told in the error message, read hs_err_pid42623.log for further details. In that file you will find the registers and a few machine instructions around the code that crashed.

這篇關于如何知道 JVM 因 Segfault 而崩潰的原因?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Parsing an ISO 8601 string local date-time as if in UTC(解析 ISO 8601 字符串本地日期時間,就像在 UTC 中一樣)
How to convert Gregorian string to Gregorian Calendar?(如何將公歷字符串轉換為公歷?)
Java: What/where are the maximum and minimum values of a GregorianCalendar?(Java:GregorianCalendar 的最大值和最小值是什么/在哪里?)
Calendar to Date conversion for dates before 15 Oct 1582. Gregorian to Julian calendar switch(1582 年 10 月 15 日之前日期的日歷到日期轉換.公歷到儒略歷切換)
java Calendar setFirstDayOfWeek not working(java日歷setFirstDayOfWeek不起作用)
Java: getting current Day of the Week value(Java:獲取當前星期幾的值)
主站蜘蛛池模板: 亚洲一区二区在线播放 | 成人在线视频一区 | 日韩中文在线 | 日本三级在线视频 | 香蕉视频在线播放 | 亚洲国产一区二区三区 | 天堂亚洲网| 日本xx视频免费观看 | 久久爱黑人激情av摘花 | 精品久久久久久红码专区 | 犬夜叉在线观看 | 欧美高清成人 | 99久久国产综合精品麻豆 | 亚洲成人综合社区 | 99久久久久 | 国产日韩精品在线 | 视频在线一区二区 | 欧美中文视频 | 国产视频一区在线 | 成人高潮片免费视频欧美 | 欧美国产日韩在线观看 | 成人中文网 | 中文字幕第100页 | 亚洲精品视频久久 | 夜夜摸天天操 | 日韩午夜精品 | 91观看| 亚洲天天| 精品成人在线观看 | 国产精品伦一区二区三级视频 | 免费看av大片 | 蜜桃一区二区三区 | 狠狠的干狠狠的操 | 欧美精品1区2区 | 国产在线激情视频 | 日韩欧美一级 | 久久久久久中文字幕 | 不卡一区 | 91资源在线观看 | 91成人小视频 | 91综合网 |