久久久久久久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:獲取當前星期幾的值)
主站蜘蛛池模板: 欧美日韩一 | 操操操av | 国内久久| 亚洲免费网| 久草热播 | 欧美一级免费看 | 久久精品综合 | 乱码av午夜噜噜噜噜动漫 | 在线视频亚洲 | 精品久久久久久国产 | 中文字幕免费观看 | 午夜视频网站 | 亚洲精品免费看 | 成人影院免费视频 | 欧美一级高潮片免费的 | 欧美aaaaa| 免费一级片 | 成人欧美一区二区三区黑人孕妇 | 国产精品综合色区在线观看 | 91久久久久久久久久久 | 亚洲视频精品 | 伊人免费视频二 | 国产精品毛片久久久久久 | 婷婷91 | 日韩蜜桃视频 | 国产精品久久久久国产a级 欧美日韩国产免费 | 国产精品黄 | www.jizzjizz| 黄色网址免费在线观看 | www.久| 亚洲在线视频 | 成人在线中文字幕 | 免费一区二区 | 国产伦精品一区二区三区在线 | 成人欧美一区二区三区在线观看 | 国产精品1区2区3区 男女啪啪高潮无遮挡免费动态 | 国产色网站 | 91精品导航 | 亚洲 欧美 另类 综合 偷拍 | 欧美午夜精品久久久久免费视 | 欧美成人在线免费 |