Skip to main content
Associate
Nov 4, 2024 8:46 AM UTC
Solved

STM32CubeProgrammer does not run on Fedora 41

Hello,

I have installed a fresh STM32CubeProgrammer on my Fedora 41 Linux system, but I am unable to run it.

After installation, I have tried running it both using the desktop menu entry and from terminal, however it never starts and crashes with the message "assertion 'GDK_IS_X11_DISPLAY (display)' failed"

~ $ cd .local/STM32CubeProgrammer/bin/
~/.local/STM32CubeProgrammer/bin $ ./STM32CubeProgrammer &
[1] 15440
~/.local/STM32CubeProgrammer/bin $
(java:15447): Gdk-CRITICAL **: 09:43:23.450: gdk_x11_display_set_window_scale: assertion 'GDK_IS_X11_DISPLAY (display)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000000004, pid=15447, tid=0x00007f80980ff6c0
#
# JRE version: OpenJDK Runtime Environment (8.0_382-b06) (build 1.8.0_382-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.382-b06 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000000004
#
# Core dump written. Default location: /home/remes/.local/STM32CubeProgrammer/bin/core or core.15447
#
# An error report file with more information is saved as:
# /home/remes/.local/STM32CubeProgrammer/bin/hs_err_pid15447.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.
#
./STM32CubeProgrammer: line 5: 15447 Aborted (core dumped) "$DIR"/jre/bin/java -Djdk.gtk.version=2 -jar "$DIR/STM32CubeProgrammerLauncher"

Can you help me resolve the issue?

This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
Nov 4, 2024 8:57 AM UTC

Hello @remes-mymi and welcome to the ST Community.

As mentionned on the release note of the last version of the STM32CubeProgrammer, the version supported of Fedora is the Fedora 37:

STTwo32_0-1730710628632.png

Best Regards.

STTwo-32

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.

5 replies

STTwo-32
STTwo-32Best answer
ST Technical Moderator
Nov 4, 2024 8:57 AM UTC

Hello @remes-mymi and welcome to the ST Community.

As mentionned on the release note of the last version of the STM32CubeProgrammer, the version supported of Fedora is the Fedora 37:

STTwo32_0-1730710628632.png

Best Regards.

STTwo-32

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.
Associate
Nov 4, 2024 9:00 AM UTC

Hello @STTwo-32, thank you for your answer.

Are there any plans regarding support for Fedora 41? Can I provide any assistance?

In the meantime, I will be using alternative solutions, since I cannot downgrade to Fedora 37.

STTwo-32
ST Technical Moderator
Nov 4, 2024 9:39 AM UTC

Fedora 41 is really new. It may come on one of the releases of 2025 (I can't give you an exact release or date).

Best Regards.

STTwo-32

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.