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

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

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

問題描述

限時送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")

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

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.

期待在跟蹤此錯誤時獲得任何領(lǐng)先點(diǎn).

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

推薦答案

當(dāng)前棧幀有 writeObject0 作為最后調(diào)用的方法.native 方法的名稱以 0 結(jié)尾有一個命名約定.因此檢查該方法是否確實(shí)是原生的.

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 編寫的,這是一種古老的不安全語言,其程序往往會以不受控制的方式崩潰.這通常會導(dǎo)致 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 了解更多詳細(xì)信息.在該文件中,您將找到有關(guān)崩潰代碼的寄存器和一些機(jī)器指令.

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.

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

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

相關(guān)文檔推薦

Parsing an ISO 8601 string local date-time as if in UTC(解析 ISO 8601 字符串本地日期時間,就像在 UTC 中一樣)
How to convert Gregorian string to Gregorian Calendar?(如何將公歷字符串轉(zhuǎn)換為公歷?)
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 日之前日期的日歷到日期轉(zhuǎn)換.公歷到儒略歷切換)
java Calendar setFirstDayOfWeek not working(java日歷setFirstDayOfWeek不起作用)
Java: getting current Day of the Week value(Java:獲取當(dāng)前星期幾的值)
主站蜘蛛池模板: 亚洲综合大片69999 | 欧美亚州综合 | 亚洲欧美视频 | 国产精品99久久久久久动医院 | 一区二区三区四区五区在线视频 | 欧美人人 | 亚洲美女一区二区三区 | 色婷婷精品国产一区二区三区 | 久久亚洲欧美日韩精品专区 | 中文字幕97 | av电影手机版 | 黄网址在线观看 | 粉嫩粉嫩芽的虎白女18在线视频 | 91高清视频在线观看 | 久久爱一区 | 精品久久久久久久 | 精品视频在线观看 | 亚洲欧美日韩久久久 | 欧美成人一区二区三区 | 国产精品免费一区二区三区四区 | 国产精品久久久久久婷婷天堂 | 亚洲精品久久久久久久久久吃药 | 成人伊人网 | 久久精品国产久精国产 | 国产一区精品在线 | 伊大人久久 | 国产精品一区二区av | 天天爽天天操 | 91n成人 | 日韩在线视频网址 | 亚洲国产专区 | 国产一区 在线视频 | av一区二区三区四区 | 日韩欧美视频 | 欧美成人精品在线 | 欧美一区二区三区在线免费观看 | 精品国产黄a∨片高清在线 成人区精品一区二区婷婷 日本一区二区视频 | 国产成人一区二区三区久久久 | a黄视频| 无码一区二区三区视频 | 欧美精品一区三区 |