jvm-crash

How to know the reason for JVM crashing with Segfault?

谁说胖子不能爱 提交于 2021-02-16 15:41:16
问题 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) #

How to know the reason for JVM crashing with Segfault?

自作多情 提交于 2021-02-16 15:41:06
问题 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) #

Guess method line number from JVM fatal error log

允我心安 提交于 2021-02-16 06:59:35
问题 I have a fatal error log without a core-dump and need to identify the cause. This is the stack found in the .log file: # Problematic frame: # C [libc.so.6+0x7b4bb] memcpy+0x15b {...} Stack: [0x00002ac8c4d2c000,0x00002ac8c4e2d000], sp=0x00002ac8c4e28ef8, free space=1011k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libc.so.6+0x7b4bb] memcpy+0x15b C [libzip.so+0x50b0] ZIP_GetEntry+0xd0 C [libzip.so+0x3eed] Java_java_util_zip_ZipFile_getEntry+0xad J 28 java

Guess method line number from JVM fatal error log

北城以北 提交于 2021-02-16 06:59:08
问题 I have a fatal error log without a core-dump and need to identify the cause. This is the stack found in the .log file: # Problematic frame: # C [libc.so.6+0x7b4bb] memcpy+0x15b {...} Stack: [0x00002ac8c4d2c000,0x00002ac8c4e2d000], sp=0x00002ac8c4e28ef8, free space=1011k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libc.so.6+0x7b4bb] memcpy+0x15b C [libzip.so+0x50b0] ZIP_GetEntry+0xd0 C [libzip.so+0x3eed] Java_java_util_zip_ZipFile_getEntry+0xad J 28 java

Jvm crash :fatal error has been detected by the Java Runtime Environment

前提是你 提交于 2021-02-10 04:34:15
问题 I had a tomcat crash on live server , which generated hs_err_pid file .In this there is a Problematic frame -> _wordcopy_fwd_dest_aligned+0x54. I searched in all similar cases of jvm crash but couldn't find whats the meaning of this problematic frame.Any suggestions ? # # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=0x00007f61087e3cb4, pid=18886, tid=140051814115072 # # JRE version: 6.0_37-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.12-b01

Jvm crash :fatal error has been detected by the Java Runtime Environment

风格不统一 提交于 2021-02-10 04:33:59
问题 I had a tomcat crash on live server , which generated hs_err_pid file .In this there is a Problematic frame -> _wordcopy_fwd_dest_aligned+0x54. I searched in all similar cases of jvm crash but couldn't find whats the meaning of this problematic frame.Any suggestions ? # # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=0x00007f61087e3cb4, pid=18886, tid=140051814115072 # # JRE version: 6.0_37-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.12-b01

Jvm crash :fatal error has been detected by the Java Runtime Environment

隐身守侯 提交于 2021-02-10 04:32:11
问题 I had a tomcat crash on live server , which generated hs_err_pid file .In this there is a Problematic frame -> _wordcopy_fwd_dest_aligned+0x54. I searched in all similar cases of jvm crash but couldn't find whats the meaning of this problematic frame.Any suggestions ? # # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=0x00007f61087e3cb4, pid=18886, tid=140051814115072 # # JRE version: 6.0_37-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.12-b01

Is it possible that a file lock never gets released?

流过昼夜 提交于 2021-01-28 12:11:14
问题 Given the following file lock request: FileLock lock = null; try { lock = randomAccessFile.getChannel().lock(0, Long.MAX_VALUE, mode.shared); // work with file } finally { if (lock != null) { lock.release(); } } The targetted OS being MS Windows, is there any chance the finally block won't be ever executed, and thus the lock never released? For example, what if the JVM crashes? How to handle such a no-owner-lock? 回答1: When the process exits, any OS automatically releases all resources

JVM randomly crashes EXCEPTION_ACCESS_VIOLATION during Leadtools OCR process

a 夏天 提交于 2020-02-07 01:28:46
问题 We are developing multi-threaded java application using licensed Leadtools SDK 20 for converting large pdf documents to searchable pdf documents. During OCR process Java Virtual Machine randomly crashes - EXCEPTION_ACCESS_VIOLATION(Problematic frame: C [Ltocrx.dll+0x2af3a]). I've noticed that it may happens if user try to cancel OCR process. public class OcrProgressCallback implements OcrProgressListener { @Override public void onProgress(OcrProgressData ocrProgressData) { if (ocrProgressData

Anyone tried submitting hs_err files to Sun?

只愿长相守 提交于 2020-01-24 10:49:46
问题 I run a lot of java code on my servers, and occasionally I get a JVM crash, accompanied by a crash dump hs_err_pid file. Lately I've decided to try to be a better netizen, so I examined the latest crash log, made sure it was indeed the latest JVM, and that the crash was not caused by an external library, and then I tried submitting the file to Sun's bug database. However, it seems that the entire submitting process is geared towards preventing you from submitting bug reports, making sure you