What causes this Java error in OpenSplice? - java

I'm using OpenSplice version 6.4 to develop an application with two sites in different networks. When I try to collect data from an external node, I got this error:
[thread 140436299368192 also had an error]#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fb9df606479, pid=32216, tid=0x00007fb9dfb88700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libdcpssaj.so+0x2f479] saj_dataReaderListenerOnDataAvailable+0x39
#
# Core dump written. Default location: /home/server/core or core.32216
#
# An error report file with more information is saved as:
# /home/server/hs_err_pid32216.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
I'm using Java version 1.8.0_181 and Ubuntu server 16.04. Any idea what might be causing this error?

#Alex8752, there might be different things here like JVM defect, lack of resources (OOM-like issues). In order to answer this question, it would be good if you post the
application startup arguments with JVM keys
thread dump (few per seconds from launch till before application fails)

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?

apache ignite jvm crash

Apache Iginte Docker container has same crash on different jdk vendors.
Here A fatal error has been detected by the Java Runtime Environment when ignite native persistence is on
is the same case.
Probably it happens when i work with the data object received from another node.
It has org.json.JSONObject property. It was succesfully logged to stdout before, but have crash using stream on it.
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x00007f1a9691c09a, pid=1, tid=0x00007f1a7ef30b38
# JRE version: OpenJDK Runtime Environment (8.0_352-b08) (build 1.8.0_352-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.352-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x46909a]
# Core dump written. Default location: /opt/ignite/core or core.1
# An error report file with more information is saved as:
# /opt/ignite/hs_err_pid1.log
# If you would like to submit a bug report, please visit:
# https://github.com/corretto/corretto-8/issues/

Java fatal error in native code, problematic frame: C [msvcrt.dll+0x8867a]

I'm developing a small game with LibGdx (based on LWJGL). Tested the jar i built on two different PC's and everything worked fine. On a third one, however, the game crashes after a few seconds. Following error log is produced:
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x73f9867a, pid=2016, tid=0x00000bc0
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) Client VM (25.121-b13 mixed mode windows-x86 )
# Problematic frame:
# C [msvcrt.dll+0x8867a]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# 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.
Looks like something is wrong with msvcrt.dll, which is Microsoft Visual C++ Package, right?
Do you have any suggestions to fix it?

Android Studio Core Dump

I have working with Android Studio for quite a long time. Today, I have upgraded my android studio's some of the build tools as well as upgraded to a latest version (1.5 or so), I can't create any more new project. I am getting a core dump error. I am from Ubuntu 14.04, I am running it from my terminal.
Here is the Error terminal is giving me
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f1520266ca8, pid=4094, tid=139728681764608
#
# JRE version: Java(TM) SE Runtime Environment (7.0_80-b15) (build 1.7.0_80-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.80-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x436ca8] FreeListSpace_DCTOC::walk_mem_region_with_cl_par(MemRegion, HeapWord*, HeapWord*, FilteringClosure*)+0x268
#
# Core dump written. Default location: /home/monkey/Code/core or core.4094
#
# An error report file with more information is saved as:
# /home/monkey/java_error_in_STUDIO_4094.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)
I did a little googling and found out that it might happen if my Java runs out of memory. So, I went up and gave Java unlimited memory (it has basic 382MB or something memory). I have been in this error for whole day long.
Thank you for your input.
Just try to downgrade libglib2.0-0 from synaptic. and don't forget to lock the downgrade version, so it will not update again in the future.
downgrade:
package -> force version
lock:
package -> lock version

JavaFX Application crashs when on many WebView Open

In my app, I'm using webviews inside tab. When i open some more tab then JVM crashes. What can be the reason?
error log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000101e50260, pid=6404, tid=5704
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b132) (build 1.8.0-b132)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b70 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C 0x0000000101e50260
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Error details in pastebin http://paste.ubuntu.com/9650264/
I noticed that jdk version was b13. Thats older. I changed to new one. It works like a charm now.

Categories