久久久久久久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:獲取當前星期幾的值)
主站蜘蛛池模板: 欧美国产在线一区 | 久久久精品在线 | 亚洲一卡二卡 | 久久999 | 久久精品一区二区三区四区 | 久久午夜影院 | 日韩在线观看视频一区 | 综合精品久久久 | 黄片毛片免费观看 | 国产精品久久久久9999鸭 | 国产一区二区精品在线观看 | 免费精品久久久久久中文字幕 | 国产真实乱全部视频 | 99久久久无码国产精品 | 国产精品一区二区在线免费观看 | 一本色道精品久久一区二区三区 | 一级片在线观看视频 | 精品伊人| 日本在线免费观看 | 久久91| 一级二级三级黄色 | 欧美综合久久 | 国产精品久久久久久久久久尿 | 一级特黄视频 | 精品欧美一区二区三区久久久 | 成人精品鲁一区一区二区 | 91精品国产91久久久久游泳池 | 龙珠z国语版在线观看 | 国产91 在线播放 | 在线一区二区三区 | 国产91色在线 | 亚洲 | 国产精品久久视频 | 久草免费在线视频 | 色综合久久久 | www.男人天堂.com | 国内自拍偷拍 | 国产精品爱久久久久久久 | 婷婷久 | 91精品国产自产在线老师啪 | 亚洲三区在线观看 | 一级做a爰片久久毛片免费看 |