Open MisterScott opened 2 years ago
Hi, thank you for your report. It seems to be more like Eclipse dependency error than something that could be fixed on the plugin side :-/
Could you provide additional information?
Also does it mean that it works after restart?
Certainly.
After a restart the same issue recurs, and interferes enough with launching Eclipse that I uninstalled the plugin.
Eclipse version and variant Eclipse IDE for Embedded C/C++ Developers (includes Incubating components)
Version: 2022-03 (4.23.0) Build id: 20220310-1457
Java version (may have been bundled):
java.class.path=/home/swillis/bin/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
java.class.version=60.0
java.home=/home/swillis/bin/eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_16.0.2.v20210721-1149/jre
java.io.tmpdir=/tmp
java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name=OpenJDK Runtime Environment
java.runtime.version=16.0.2+7-67
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=16
java.vendor=Oracle Corporation
java.vendor.url=https://java.oracle.com/
java.vendor.url.bug=https://bugreport.java.com/bugreport/
java.version=16.0.2
java.version.date=2021-07-20
java.vm.compressedOopsMode=32-bit
java.vm.info=mixed mode
java.vm.name=OpenJDK 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=16
java.vm.vendor=Oracle Corporation
java.vm.version=16.0.2+7-67
jdk.debug=release
"All installed software" from "Eclipse IDE Installation Details":
BEX Code Compare 0.6.0.202204051713 info.codesaway.bex.feature.group CodesAway
C/C++ Autotools support 10.6.2.202205081303 org.eclipse.cdt.autotools.feature.group Eclipse CDT
C/C++ CMake Build Support - Preview 10.6.2.202205081303 org.eclipse.cdt.cmake.feature.group Eclipse CDT
C/C++ Development Tools 10.6.2.202205170638 org.eclipse.cdt.feature.group Eclipse CDT
C/C++ Docker Container Launch Support 10.6.2.202205081303 org.eclipse.cdt.docker.launcher.feature.group Eclipse CDT
C/C++ GCC Cross Compiler Support 10.6.2.202205081303 org.eclipse.cdt.build.crossgcc.feature.group Eclipse CDT
C/C++ GDB Hardware Debugging 10.6.2.202205081303 org.eclipse.cdt.debug.gdbjtag.feature.group Eclipse CDT
C/C++ Launch over Serial 10.6.2.202205081303 org.eclipse.cdt.launch.serial.feature.feature.group Eclipse CDT
C/C++ Library API Documentation Hover Help 8.6.0.202203082138 org.eclipse.linuxtools.cdt.libhover.feature.feature.group Eclipse Linux Tools
C/C++ Memory View Enhancements 10.6.2.202205081303 org.eclipse.cdt.debug.ui.memory.feature.group Eclipse CDT
C/C++ Meson Build Support - Preview 10.6.2.202205081303 org.eclipse.cdt.meson.feature.group Eclipse CDT
C/C++ Remote Launch 10.6.2.202205081303 org.eclipse.cdt.launch.remote.feature.group Eclipse CDT
C/C++ Standalone Debugger 10.6.2.202205081303 org.eclipse.cdt.debug.standalone.feature.group Eclipse CDT
C/C++ Unit Testing Support 10.6.2.202205081303 org.eclipse.cdt.testsrunner.feature.feature.group Eclipse CDT
ChangeLog Management Tools for C/C++ 8.6.0.202203082138 org.eclipse.linuxtools.changelog.c.feature.group Eclipse Linux Tools
Eclipse IDE for Embedded C/C++ Developers 4.23.0.20220310-1200 epp.package.embedcpp Eclipse Packaging Project
Embedded C/C++ ADuCM360 Project Template 6.1.2.202102181132 org.eclipse.embedcdt.templates.ad.feature.group Eclipse Embedded CDT
Embedded C/C++ Arm Cross Compiler 6.1.2.202102181132 org.eclipse.embedcdt.managedbuild.cross.arm.feature.group Eclipse Embedded CDT
Embedded C/C++ CMSIS Packs (Experimental) 6.1.2.202102181132 org.eclipse.embedcdt.packs.feature.group Eclipse Embedded CDT
Embedded C/C++ Core 6.1.2.202102181132 org.eclipse.embedcdt.feature.group Eclipse Embedded CDT
Embedded C/C++ Documentation (Placeholder) 6.1.2.202102181132 org.eclipse.embedcdt.doc.user.feature.group Eclipse Embedded CDT
Embedded C/C++ Freescale Project Templates 6.1.2.202102181132 org.eclipse.embedcdt.templates.freescale.feature.group Eclipse Embedded CDT
Embedded C/C++ Generic Cortex-M Project Template 6.1.2.202102181132 org.eclipse.embedcdt.templates.cortexm.feature.group Eclipse Embedded CDT
Embedded C/C++ J-Link Debugging 6.1.2.202102181132 org.eclipse.embedcdt.debug.gdbjtag.jlink.feature.group Eclipse Embedded CDT
Embedded C/C++ OpenOCD Debugging 6.1.2.202102181132 org.eclipse.embedcdt.debug.gdbjtag.openocd.feature.group Eclipse Embedded CDT
Embedded C/C++ PyOCD Debugging 6.1.2.202102181132 org.eclipse.embedcdt.debug.gdbjtag.pyocd.feature.group Eclipse Embedded CDT
Embedded C/C++ QEMU Debugging 6.1.2.202102181132 org.eclipse.embedcdt.debug.gdbjtag.qemu.feature.group Eclipse Embedded CDT
Embedded C/C++ RISC-V Cross Compiler 6.1.2.202102181132 org.eclipse.embedcdt.managedbuild.cross.riscv.feature.group Eclipse Embedded CDT
Embedded C/C++ SiFive RISC-V Project Template 6.1.2.202102181132 org.eclipse.embedcdt.templates.sifive.feature.group Eclipse Embedded CDT
Embedded C/C++ STM32Fx Project Templates 6.1.2.202102181132 org.eclipse.embedcdt.templates.stm.feature.group Eclipse Embedded CDT
GCov Integration 8.6.0.202203082138 org.eclipse.linuxtools.gcov.feature.group Eclipse Linux Tools
GDB Tracepoint Analysis 7.3.0.202203092212 org.eclipse.tracecompass.gdbtrace.feature.group Eclipse Trace Compass
Git integration for Eclipse 6.2.0.202206071550-r org.eclipse.egit.feature.group Eclipse EGit
GProf Integration 8.6.0.202203082138 org.eclipse.linuxtools.gprof.feature.feature.group Eclipse Linux Tools
Java implementation of Git 6.2.0.202206071550-r org.eclipse.jgit.feature.group Eclipse JGit
Java implementation of Git - GPG support using BouncyCastle 6.2.0.202206071550-r org.eclipse.jgit.gpg.bc.feature.group Eclipse JGit
Java implementation of Git - ssh support using Apache MINA sshd 6.2.0.202206071550-r org.eclipse.jgit.ssh.apache.feature.group Eclipse JGit
JustJ OpenJDK Hotspot JRE Complete 16.0.2.v20210721-1149 org.eclipse.justj.openjdk.hotspot.jre.full.feature.group Eclipse JustJ
LaunchBar 10.6.2.202205081303 org.eclipse.launchbar.feature.group Eclipse CDT
Library Hover help for devhelp documentation 8.6.0.202203082138 org.eclipse.linuxtools.cdt.libhover.devhelp.feature.feature.group Eclipse Linux Tools
LTTng Kernel Analysis 7.3.0.202203092212 org.eclipse.tracecompass.lttng2.kernel.feature.group Eclipse Trace Compass
LTTng Tracer Control 7.3.0.202203092212 org.eclipse.tracecompass.lttng2.control.feature.group Eclipse Trace Compass
LTTng Userspace Analysis 7.3.0.202203092212 org.eclipse.tracecompass.lttng2.ust.feature.group Eclipse Trace Compass
Lua Development Tools 1.4.2.201804031433 org.eclipse.ldt.feature.group Eclipse LDT
Markdown Editor 1.2.0.201501260515 markdown.editor.feature.feature.group Winterwell
Marketplace Client 1.10.0.v20220502-0731 org.eclipse.epp.mpc.feature.group Eclipse Marketplace Client
Mylyn WikiText 3.0.42.202201072301 org.eclipse.mylyn.wikitext_feature.feature.group Eclipse Mylyn
Mylyn WikiText Editors 3.0.42.202201072301 org.eclipse.mylyn.wikitext.editors_feature.feature.group Eclipse Mylyn
Oomph Setup 1.24.0.v20220301-0958 org.eclipse.oomph.setup.feature.group Eclipse Oomph Project
PyDev for Eclipse 9.3.0.202203051235 org.python.pydev.feature.feature.group Fabio Zadrozny
Pydev Mylyn Integration 0.6.0 org.python.pydev.mylyn.feature.feature.group Fabio Zadrozny
Remote Launch Targets 10.6.2.202205081303 org.eclipse.launchbar.remote.feature.group Eclipse CDT
RPM Tools 8.6.0.202203082138 org.eclipse.linuxtools.rpm.feature.group Eclipse Linux Tools
TM Terminal 10.6.2.202205081303 org.eclipse.tm.terminal.feature.feature.group Eclipse CDT
TM Terminal Serial Connector Extensions 10.6.2.202205081303 org.eclipse.tm.terminal.connector.cdtserial.feature.feature.group Eclipse CDT
Valgrind Tools Integration 8.6.0.202203082138 org.eclipse.linuxtools.valgrind.feature.group Eclipse Linux Tools
Hi again, I can confirm the same issue when using Oracle JDK 16.0.2 or Oracle JDK 17.0.3 to run Eclipse IDE. It works for me with Oracle JDK 11.0.15 and OpenJDK 17.0.3.0.7-2, but there are other issues when using OpenJDK 17.
Found some reports of this issue on the internet and some possible fixes to JDKs. I don't think I could do much from the plugin side to mitigate this issue... Best option probably would be to use some version of JDK 11 for IDE - set as -vm option in eclipse.ini or to try other JDK versions to see if any have this issue fixed, but I guess that might not be acceptable with other requirements / plugins...
Best regards
On first attempt to launch, crashed, wanted to restart the workbench. Anonymized stack trace: