JACOB throws EXCEPTION_ACCESS_VIOLATION - java

We are getting EXCEPTION_ACCESS_VIOLATION error on our windows server, but we are not able replicate/reproduce this error.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180012df1, pid=1604, tid=4232
#
# JRE version: 7.0_07-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.3-b01 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [jacob-1.14.3-x64.dll+0x12df1] Java_com_jacob_com_Variant_getVariantType+0x51
#
# Core dump written. Default location: c:\xxx\xxxx\xxxx\hs_err_pid1604.mdmp
#
# 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.
#
We are using Java version 1.7, Windows server 2008 R2 Enterprise and Jacob-1.14.3. I am assuming that the error is because of Jacob-1.14.4.dll but not sure why its causing the issue. If I upgrade to latest Jacob-18M.jar will solve the issue? Can someone confirm?
Thanks.

I had the same problem in my project and it was solved after some months investigating all of our environment, If anyone still needs it here is the link.
EXCEPTION_ACCESS_VIOLATION in Jacob dll using VM in Jenkins pipeline
There we have the description of all the things we have tried.

Related

What causes this Java error in OpenSplice?

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)

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?

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.

JRE crashes in Eclipse since upgrading to Ubuntu 14.04

I've been developing Android apps on Eclipse 4.2.2 and Java 1.6.0_21 on Ubuntu 12.04 LTS without any problems. Recently I got an upgrade notification for 14.04 and so I upgraded. Now I keep getting the following error in Eclipse
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f90b685a2a1, pid=7131, tid=140264058119936
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode linux-amd64 )
# Problematic frame:
# C [libsoup-2.4.so.1+0x6c2a1] soup_session_feature_detach+0x11
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid7131.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
Any idea what's wrong?
OK, I found a solution, which is to add the following line to eclipse.ini
-Dorg.eclipse.swt.browser.DefaultType=mozilla

xuggler issue with some processors type

I've developed an application that uses xuggler libraries on my laptop with an Intel DualCore processor, anything seems to works fine.
However now I need to setup my application on a server that has an Intel Xeon E3-1230v2 processor and everytimes I run the application I get an error on native libraries:
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000013e96520, pid=1724, tid=3804
#
# JRE version: 7.0_21-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [xuggle5326780242083232878.dll+0x736520] Java_com_xuggle_ferry_FerryJNI_SWIGRefCountedTesterUpcast+0x66f005
#
# Core dump written. Default location: D:\tomcat\hs_err_pid1724.mdmp
#
# 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.
#
I've invested so much time on this project and I really need this to work on the server, I found online xuggler 5.5 that should resolve the issue, but I still get the error.
For what I've seen online this is an issue with some processors type like Ivy Bridge, is there anything I can do to make xuggler work on my machine?

Categories