Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C IDE (2024-12 to 2024-06) GUI won't launch on aarch64 Linux (Ubuntu 24.04) #998

Open
jsmif opened this issue Jan 12, 2025 · 2 comments
Open

Comments

@jsmif
Copy link

jsmif commented Jan 12, 2025

Describe the bug

C IDE (2024-06 to 2024-12) GUI won't launch on aarch64 Linux (Ubuntu 24.04).

A fatal error has been detected by the Java Runtime Environment:
SIGILL (0x4) at pc=0x0000ee79b093fc5c, pid=91151, tid=91152
<snip>

To Reproduce
Download 2024-12 https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2024-12/R/eclipse-jee-2024-12-R-linux-gtk-aarch64.tar.gz&mirror_id=1135
(or 2024-09 or 2024-06)

untar & gz. cd to folder. Run ./eclipse. Get the below error.

Expected behavior
Launch GUI

Screenshots

user@BT:~/Downloads/eclipse$ ./eclipse 
CompileCommand: exclude org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.getExtendedRange bool exclude = true
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x0000ee79b093fc5c, pid=91151, tid=91152
#
# JRE version:  (21.0.5+11) (build )
# Java VM: OpenJDK 64-Bit Server VM (21.0.5+11-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# j  java.lang.System.registerNatives()V+0 java.base
#
# 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/Downloads/eclipse/core.91151)
#
# An error report file with more information is saved as:
# /home/user/Downloads/eclipse/hs_err_pid91151.log
[0.013s][warning][os] Loading hsdis library failed
#
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)

Ubuntu 24.04 Linux for aarch64.

  1. JRE/JDK version

JRE version: (21.0.5+11) (build )

Version since
2024-06

Workaround (or) Additional context

2024-03 and earlier are working.

@jsmif
Copy link
Author

jsmif commented Jan 12, 2025

I think I perhaps filed this incorrectly under eclipse-platform/eclipse.platform.swt#1703 when it should be here? If so I'll go close that ticket.

@jonahgraham
Copy link
Member

Thanks @jsmif for the report. The main change from 2024-03 -> 2024-06 is the use of Java 21 instead of Java 17.

This may very well be https://bugs.openjdk.org/browse/JDK-8345296 - a bug in Java itself. I think you can test this by trying to run the JVM itself:

eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_21.*/jre/bin/java -version

If the workaround in the bug report works, adding -XX:UseSVE=0 to the command line should work. If that works, add -XX:UseSVE=0 to the eclipse.ini after the -vmargs.

I think I perhaps filed this incorrectly under eclipse-platform/eclipse.platform.swt#1703 when it should be here? If so I'll go close that ticket.

I am not 100% sure where this should go, it isn't really a problem with anything specific in Eclipse. So lets discuss here until we get more sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants