error of java runtime environment - java

I was running a JAR file, and got this error.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fe8e611a009, pid=15661, tid=15690
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libjava.so+0x1d009] JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %P" (or dumping to /home/yjiang/GATE_Developer_8.2/bin/core.15661)
#
# An error report file with more information is saved as:
# /home/yjiang/GATE_Developer_8.2/bin/hs_err_pid15661.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
Could any one know how to fix it?

The issue is duplicate of https://bugs.openjdk.java.net/browse/JDK-8166474 unfortunatly we could not fix this as we are unable to reproduce it our end due to non availability of test case. If you have reporducer test case kindly share with us we will reopen the issue.

Related

MIP SDK Java Wrapper Sample Crashed With Core Dump

I'm trying out this sample application in a Ubuntu 20.04 VM to decrypt an AIP protected office file using MIP SDK. For the application's dependency, I'm using MIP SDK Java Wrapper version 1.12.101 as that seems to be the only version available on Microsoft website.
I was able to get it to decrypt some protected files successfully. However, the application can randomly crash with core dump. The crash does not seem to occur with a predictable frequency. Sometimes it happens right after I start the application, sometimes it crashes after having been able to decrypt a hundred protected files or so.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fefe2b6fd46, pid=2721553, tid=2721672
#
# JRE version: OpenJDK Runtime Environment (15.0.2+7) (build 15.0.2+7-27)
# Java VM: OpenJDK 64-Bit Server VM (15.0.2+7-27, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libpthread.so.0+0xdd46] pthread_rwlock_wrlock+0x16
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/user/RMS_WORK/MIP/mip-sdk-nl-latest/mip-nl-sdk-test/core.2721553)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
I am not sure what the error seems to be referring to. Any advice on how to proceed would be appreciated.
On a side note, I have tried to created a small test application from the sample application above and run it in a RHEL 8 docker image. The crash also randomly occurs, but the error message is slightly different.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f1cd5b74c00, pid=59, tid=33672
#
# JRE version: OpenJDK Runtime Environment (Red_Hat-17.0.6.0.10-3.el8_7) (17.0.6+10) (build 17.0.6+10-LTS)
# Java VM: OpenJDK 64-Bit Server VM (Red_Hat-17.0.6.0.10-3.el8_7) (17.0.6+10-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libmip_file_sdk.so+0x7f1c00] CPDF_Object::GetType() const+0xc
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/jboss/core.59)
#
# If you would like to submit a bug report, please visit:
# https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%208&component=java-17-openjdk
#
I recognize this libmip_file_sdk.so as part of the .so library files in the mip_sdk_file_rhel8_1.12.101.tar.gz I downloaded from MIP SDK Microsoft website. Does that mean the crash is caused by the MIP SDK itself?

“A fatal error has been detected by the Java Runtime Environment: ” when running Java Project on JDK eclipse

I am getting the following error when I run my Java project on Eclipse with JDK 8
This is the error:
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180003990, pid=11244, tid=8800
#
# JRE version: OpenJDK Runtime Environment (15.0.2+7) (build 15.0.2+7-27)
# Java VM: OpenJDK 64-Bit Server VM (15.0.2+7-27, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C [rxtxSerial.dll+0x3990]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\iratx\eclipse-workspace\Mikros_b1\hs_err_pid11244.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
´´´

Java Minidumps are not enabled by default on client versions of Windows

I'm trying to compile and run my java code but when i start it, I get the error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffad5344013, pid=9444, tid=16196
#
# JRE version: OpenJDK Runtime Environment (11.0.5+10) (build 11.0.5+10-b520.30)
# Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-b520.30, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C [nvoglv64.dll+0x6c4013]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\java\game\hs_err_pid9444.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Process finished with exit code 1
I'm using IntelliJ Idea and it's my first encounter to this error.

I get java core dumped error while updating android studio

I want to update Android-Studio, and I've downloaded the .jar file using firefox but have a problem.
I used this link and this to update it, but this error occures:
$ java -classpath Downloads/AI-181.5540.7.32.5056338-183.6156.11.34.5522156-patch-unix.jar com.intellij.updater.Runner install /home/user/Andriod/android-studio
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f0368d74009, pid=13991, tid=13992
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libjava.so+0x1d009] JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/user/core.13991)
#
# An error report file with more information is saved as:
# /home/user/hs_err_pid13991.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[1] 13991 abort (core dumped) java -classpath com.intellij.updater.Runner install
/home/user/Andriod/android-studio is my android-studio installation path.
What should I do?

core dump while executing java Gui

I'm new to java GUI.I just executed a code from a book .My core gets dumped.I'm able to run normal java programs.
My code :
import javax.swing.JOptionPane;
public class Gui{
public static void main(String[] args){
JOptionPane.showMessageDialog(null,"Hey there");
}
}
The core dump message :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f17b82ee009, pid=4640, tid=4641
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libjava.so+0x1d009] JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %P" (or dumping to /home/gayathri/core.4640)
#
# An error report file with more information is saved as:
# /home/gayathri/hs_err_pid4640.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

Categories