cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error detected by the JRE: SIGSEGV

peterho
Champ in-the-making
Champ in-the-making
Using Eclipse Luna 4.4.2, SDK 2.1, JDK 1.8.0_60-b27, Maven 3.3.3 on Mac OS 10.10.4 I created a test share project as described in <a href="http://docs.alfresco.com/sdk2.0/tasks/alfresco-sdk-rad-eclipse-share-project.html">Creating a Share project with Eclipse</a>.

Immediately after starting to run / debug the project in Eclipse I am getting this fatal error:


objc[1032]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
[INFO] Scanning for projects…
[INFO]                                                                        
[INFO] ————————————————————————
[INFO] Building test-share AMP project 1.0-SNAPSHOT
[INFO] ————————————————————————
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000001054e41cf, pid=1032, tid=20227
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.dylib+0xe41cf]
#
# 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:
# /Users/peter/alfresco-dev/test-share/hs_err_pid1032.log
[thread 4867 also had an error]
#
# Compiler replay data is saved as:
# /Users/peter/alfresco-dev/test-share/replay_pid1032.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#


Any ideas are welcome.

Thanks,
Peter
4 REPLIES 4

schipmolder
Champ on-the-rise
Champ on-the-rise
Hi Peter,

I have just installed a new Mac with El Capitan, Eclipse 4.5.0, jdk 8u60 and Maven 3.3.3 and I get the same SIGSEGV with a newly created all-in-one project.

Have you found anything that may be causing this?

Arjen

schipmolder
Champ on-the-rise
Champ on-the-rise
Hi Peter,

After quite a few hours of troubleshooting I managed to get it to work in Eclipse.
It tuns out that all I had to do is change the "Maven Runtime" in the run configuration (see screenshot). This was set to "EMBEDDED 3.3.3", but changing that to my own downloaded version of 3.3.3.3 seems to have done the trick.

I hope that helps.

peterho
Champ in-the-making
Champ in-the-making
Hi Arjen.

thank you very much. That's working for me too and solved my problem. 🙂

Kind regards

Peter

peterho
Champ in-the-making
Champ in-the-making
Hi Arjen.

thank you very much. That's working for me too and solved my problem. 🙂

Kind regards

Peter