JRE crashes in Eclipse since upgrading to Ubuntu 14.04 - java

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

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)

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

JACOB throws EXCEPTION_ACCESS_VIOLATION

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.

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.

eclipse crash after opening on ubuntu

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb5855ae7, pid=1431, tid=3028896624
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Client VM (19.0-b09 mixed mode, sharing linux-x86 )
# Derivative: IcedTea6 1.9.2
# Distribution: Ubuntu 10.04.1 LTS, package 6b20-1.9.2-0ubuntu1~10.04.1
# Problematic frame:
# J org.eclipse.equinox.internal.p2.metadata.VersionFormatParser$Qualifier.parse([Lorg/eclipse/equinox/internal/p2/metadata/VersionFormatParser$Fragment;ILjava/util/List;Ljava/lang/String;ILorg/eclipse/equinox/internal/p2/metadata/VersionFormat$TreeInfo;)Z
#
# An error report file with more information is saved as:
# /home/skowron-line/Pobrane/eclipse/hs_err_pid1431.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
Aborted
Above screen shows error after I have tryied to lunch eclipse as root, as simple user it works just fine. In error log file there is some things but I dont understand them.
Does someone had such problem ? And know the anwser
That's a JVM crash, maybe initiated by some eclipse related class. Update to the latest and greatest Java an verify if it is reproduceable.
You have installed Sun/Oracle's JDK but it looks like you are still running OpenJDK. Try calling java -version to make sure, and then call:
update-java-alternatives
to set Oracle's Java as the default.

Categories