cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 CubeIDE 1.17.0 crashing

CaueEvangelista
Associate II

Hello everyone,

I'm using STM32CubeIDE 1.17.0 on Ubuntu 24.04.4 LTS.

Sometimes when I build or open a project, the IDE crashes and I get the following error message:

JVM terminated. Exit code=143
/opt/st/stm32cubeide_1.17.0//plugins/com.st.stm32cube.ide.jre.linux64_3.4.0.202409160955/jre/bin/java
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/STM32CubeIDE/workspace_1.17.0
-Declipse.buildId=Version 1.17.0
-DproductMaturityGrade=mm
-Djdk.http.auth.tunneling.disabledSchemes=
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Xms256m
-Xmx1024m
-jar /opt/st/stm32cubeide_1.17.0//plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /opt/st/stm32cubeide_1.17.0/stm32cubeide
-name Stm32cubeide
--launcher.library /opt/st/stm32cubeide_1.17.0//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.800.v20231003-1442/eclipse_11802.so
-startup /opt/st/stm32cubeide_1.17.0//plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar
--launcher.overrideVmargs
-exitdata 40031
-vm /opt/st/stm32cubeide_1.17.0//plugins/com.st.stm32cube.ide.jre.linux64_3.4.0.202409160955/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/STM32CubeIDE/workspace_1.17.0
-Declipse.buildId=Version 1.17.0
-DproductMaturityGrade=mm
-Djdk.http.auth.tunneling.disabledSchemes=
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Xms256m
-Xmx1024m
-jar /opt/st/stm32cubeide_1.17.0//plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar 

 

I found another post here with an almost identical message, but unfortunately it was closed with no answers.

Has anyone else experienced this on Ubuntu 24.04? Any suggestions on how to fix it?

Things I've tried so far:

  • Increasing Xmx to 2048m in stm32cubeide.ini

  • Cleaning the workspace

  • Starting with a fresh workspace

None of these solved the problem.

Thanks in advance for any help

1 ACCEPTED SOLUTION

Accepted Solutions
nico23
Senior III

Exit code=143 is a SIGTERM signal, so the JVM did not crash internally with a Java exception; it received a termination signal from the OS or another process and shut down.

Do you have enough processing power/RAM on your PC while building?

Version 1.17 is quite old tho, I would upgrade to 1.19 at least

 

View solution in original post

4 REPLIES 4
mƎALLEm
ST Employee

Hello,

Please use the latest version of CubeIDE 2.1.1

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Ghofrane GSOURI
ST Employee

Hello @CaueEvangelista 

STM32CubeIDE 1.17.0 is not officially supported on Ubuntu 24.04.4 LTS. The validated Linux distributions for this version are Ubuntu 22.04 LTS, Ubuntu® LTS 20.04,Fedora® 37

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

nico23
Senior III

Exit code=143 is a SIGTERM signal, so the JVM did not crash internally with a Java exception; it received a termination signal from the OS or another process and shut down.

Do you have enough processing power/RAM on your PC while building?

Version 1.17 is quite old tho, I would upgrade to 1.19 at least

 

CaueEvangelista
Associate II

Hello guys,

I wasn’t aware of how outdated the version I’m using is—it came preinstalled on my work machine. I’ll update to a newer one.

@nico23 : I had the same suspicion, so I monitored the RAM usage with htop while opening a project. The 8 GB of RAM were completely exhausted just before the crash. I’ll upgrade the memory and report back with the results.