STM32CubeProgrammer 2.20.0 crash in libCubeProgrammer_API.so
- July 24, 2025
- 1 reply
- 366 views
Hello,
I'm experiencing some hard unstabilities navigating in stm32cubeprogrammer 2.20.0 UI on an up to date debian trixie system. Even without being connected to programmer, attempting to start tool in production programming mode frequently leads to crash, making tool unreliable. Once programming starts and no UI interaction is done, tool keeps running, but attempt to start/stop usually lead to crash.
Command line programming tool without any issue on that system.
We're using stlink v3mods module with up to date firmware - that project is based on stm32f412re but issue occurs even without mcu connected.
$ /home/xyz/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32CubeProgrammer
Loading PRG Library: /home/xyz/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/../lib/libCubeProgrammer_API.so
[Analytics] No requests are done with CLI
100 external Loader list
Server certificate verification succeed
Server certificate verification succeed
Server certificate verification succeed
Server certificate verification succeed
Server certificate verification succeed
Server certificate verification succeed
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f9152257635, pid=2108007, tid=0x00007f91683816c0
#
# JRE version: OpenJDK Runtime Environment (8.0_432-b07) (build 1.8.0_432-b07)
# Java VM: OpenJDK 64-Bit Server VM (25.432-b07 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libCubeProgrammer_API.so+0x257635] FlashLoaderMng::initElfLoaderParameters(bool, char*)+0x205
#
# 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/xyz/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/hs_err_pid2108007.log
#
# If you would like to submit a bug report, please visit:
# https://bell-sw.com/support
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/home/xyz/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32CubeProgrammer: line 5: 2108007 Aborted GDK_BACKEND=x11 "$DIR"/jre/bin/java -Djdk.gtk.version=2 -jar "$DIR/STM32CubeProgrammerLauncher" 2> /dev/null
