Aptana crashes on ubuntu linux - java

Every time i open Aptana it crashes.
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007f14294b2c91, pid=5722, tid=139727004391168
JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)
Problematic frame:
C [libsoup-2.4.so.1+0x6ac91] soup_session_feature_detach+0x11
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
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.

It happend to me after upgrade to ubuntu 14.04 using Oracle Java 7. In the Aptana folder there are hs_err_pid...log. Opening the last one of them I saw:
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
so, I did open a terminal and I worte directly:
ulimit -c unlimited
and it worked for me. No problems until now.

It looks like you have a broken installation of Aptana, either caused by a bug in the Eclipse / Aptana codebase, or some incompatibility with your Ubuntu installation.
If this was working before, try and find out what has changed recently. (Did you install new plugins? Did you apply some Ubuntu patches? Did you update versions of your OS or Aptana?)
If it never worked, check to see if your combination of Aptana and the OS are supported.
Either way, the most likely solution is going to be to reinstall, upgrade or downgrade something to get rid of the apparent incompatibility.
For the record, I suspect that this is related to the following Eclipse bug:
crash: fatal error in soup_session_feature_detach with WebKitGTK+ >= 1.11.91
libsoup2.4-1: Problem with Eclipse and java

Quoting from http://www.webupd8.org/2014/05/fix-aptana-studio-3-crashing-in-ubuntu.html :
In the folder where you've extracted / install Aptana Studio 3, you should have a file called "AptanaStudio3.ini" - open this file with a text editor and at the end of the file, add this line:
-Dorg.eclipse.swt.browser.DefaultType=mozilla

From what i gathered around the internet, it seems to be a problem with webkit, what did the trick for me was removing the library:
apt-get purge libwebkitgtk-1.0-common
The problem is, other programs like the gimp use that library...
Or you may turn off the contextual help like guyfromfl suggested here

Related

A fatal error has been detected by the Java Runtime Environment in SafeFetchN with JavaFX on M1 Mac [duplicate]

Whenever I try to run my JavaFX problem I encounter a MacOS error, My code runs fine on other devices so I am not sure what is wrong.
Im using an M1 mac, with Java 17 and JavaFX up to the latest version. When running the JavaFX App, it opens up the gui for either 1 second or 30 seconds before crashing and spitting out the error provided. Any help would be greatly appreciated, and if you have other questions or need more info lmk.
I believe it's a problem with a /private/TMP folder or something with what I've seen online, but I can be completely wrong since that folder is basically empty right now so I don't see it being full or whatever.
If anyone can help or has any idea, I would really appreciate some feedback.
A fatal error has been detected by the Java Runtime Environment:
SIGBUS (0xa) at pc=0x000000010c0314f0, pid=1056, tid=28943
JRE version: Java(TM) SE Runtime Environment (17.0.1+12) (build 17.0.1+12-LTS-39)
Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.1+12-LTS-39, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
Problematic frame:
v ~StubRoutines::SafeFetchN
No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
An error report file with more information is saved as:
/Users/peter/Desktop/BookStore/hs_err_pid1056.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
Update your JavaFX version to the most recent available.
JavaFX bug reports mentioning:
stubroutines::SafeFetchN
are closed as duplicates of JDK-8275723, even though the crash error message there is slightly different.
Bug reports related to this are logged when trying to run early versions (less than 17.0.2) of JavaFX 17 on some M1 macs using the Monterey OS.
The linked case report recommends using JavaFX version 17.0.2 when it is released and notes a fix is also in the most recent JavaFX 18 early access releases, which are available for download.
Asker notes in comments:
I updated the JavaFx to 18 and it's all good
Another asker noted in comments on a duplicate:
I just tried to run the project with a JDK version 17.0.2 and it seems to work perfectly fine
I have a 17.0.2 one (newest version from Bellsoft Liberica).
Yes the issue is with JDK 17 Oracle. I have tried Azul Zulu JDK 17.34.19 and its working great! I am linking it below
Azul Zulu JDK 17 Download Page

Eclipse RCP - Open wordfile using JACOB - error "Failed to write core dump.Minidumps are not enabled by default on client versions of Windows"

Am quite new to Eclipse RCP Java and JACOB(java/COM bridge). I was trying to open a word file(already created "test.docx") from my RCP program. I have used jacob.jar(CLASSPATH) and jacob.ddl(PATH) for opening the file- I have followed the instructions in this tutorial. But when I run the program, word file pops up but suddenly gets crashed by the following error.
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7762e005, pid=8552, tid=8136
JRE version: Java(TM) SE Runtime Environment (8.0_66-b18) (build 1.8.0_66-b18)
Java VM: Java HotSpot(TM) Client VM (25.66-b18 mixed mode windows-x86 )
# Problematic frame:
# C [ntdll.dll+0x2e005]
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
An error report file with more information is saved as:
D:\...\Eclipse\eclipse-j2Development-4.5-win32\eclipse\hs_err_pid8552.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.
I tried several options like changing workspace, deleting .metadata folder but I couldn't find a solution. Help will be highly appreciated.
regards
Adrin
Sorry guys. I found the problem. There was a version miss match. The .dll file I used was older version and some of the functionalities were deprecated.And that made the crash. if anyone using Jacob please refer to this for latest versions.
Thank you

Eclipse crashes on auto suggession

I am using eclipse 3.7 (indigo) and it crashes every time i try to get the auto suggestion by pressing Ctrl+Space. I have even tried to change my eclipse and jdk version, but still getting the same error.
I am running on Ubuntu 13.04 and when i tried to run eclipse from terminal i got the following error -
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f4d744f2009, pid=21632, tid=139972060423936
#
# JRE version: 7.0_21-b02
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libsoup-2.4.so.1+0x6e009] soup_session_feature_detach+0x19
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/swapnilg/hs_err_pid21632.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Here is the log file that i got. Please help me.
it seems like there is bug 404776 in eclipse causing this. I had this effect on Fedora 19 with Eclipse Juno and Kepler. Problem is caused by newer version of libsoup.
There is a workaround which worked pretty well for me, just add
-Dorg.eclipse.swt.browser.DefaultType=mozilla
at the end of your eclipse.ini
BR,
Alex
What Java versions have you tried? OpenJDK and? Did you consider using the Oracle's one?
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo update-java-alternatives -s java-7-oracle
java -version
Do you really need Indigo (3.7)? We have Juno (4.2) now... ooops Kepler (4.3) is just out.

SIGSEGV 0xb on Java 1.6 and 1.7 on Ubuntu

I have really annoying problems with Java 1.6 and Java 1.7 on Ubuntu 13.10 (and Xubuntu 12.10), both x64. My problem doesn't occur on Debian 6.0 x64.
I run some test code for a nodejs application running Java code per JNI (if I understand it correctly, I'm not the developer of the code). The developers said, that it worked with no problems on their systems.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f0aef63e2fb, pid=3442, tid=139685052057408
#
# JRE version: 7.0_21-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x5842fb] JNI_ArgumentPusherVaArg::JNI_ArgumentPusherVaArg(_jmethodID*, __va_list_tag*)+0x1b
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
Full log is on pastebin: http://pastebin.com/bexYiHHJ
I am using VMWare Workstation 9.0.2 to virtualize Ubuntu 13.10 x64, Xubuntu 12.10 x64 and Debian 6.0. I get the same error with Java 1.6. I also tried the OPENJDK Java. It works completly fine under Debian 6.0 with kernel 2.8 but doesn't work on Ubuntu 13.10 and Xubuntu (here are kernels 3.5 and 3.8, but should this really matter?).
What can I do now? I searched a lot in the internet and this board here. Sometimes it was defected hardware but I virtualize here and it works on Debian. Some others said to add some parameters but I don't really know where to add these parameters because I don't run Java from the command line, it will automatically started in the Node.JS Application.
Please Help!
I have the similar problem and it was solved with this java parameter: -XX:-UseCompressedOops
I don't know what the problem was, but I switched to a Debian 7 Version with Kernel 3.2 as work system. First, I had the same problem but then I installed a basic installation and download the precompiled node.js application. Maybe in my GCC was something wrong, I don't know.
If someone had the same problem and got a solution, it would be nice to know what the cause was.

Eclipse juno giving error in Suse 64bit

I have downloaded the new eclipse juno and jdk 7. But It is giving error while starting. Here is the ERROR.
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00002b6312df9c6a, pid=1648, tid=1074792768
JRE version: 7.0_05-b06
Java VM: Java HotSpot(TM) 64-Bit Server VM (23.1-b03 mixed mode linux-amd64 compressed oops)
Problematic frame:
C [libc.so.6+0x75c6a] _wordcopy_fwd_aligned+0x3a
Failed to write core dump. en disabCore dumps have beled. To enable core dumping, try "ulimit -c unlimited" before starting Java again.
An error report file with more information is saved as:
/home/jeshwanth/tools/eclipse/hs_err_pid1648.log.
Please help.
Thanks.
Seems to be related to:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=335086
Try not to use the "Browse" button when choosing a workspace but type in the path to the workspace directly.
Had the same problem solved by avoiding the "Browse" button.
You should also need to install Java SE Runtime Environment 7 (JRE 7 (64 bit)) form oracle.com. And also check your eclipse juno is 64 bit version for linux.

Categories

Resources