Package Details: stm32cubeide 1.18.0-1

Git Clone URL: https://aur.archlinux.org/stm32cubeide.git (read-only, click to copy)
Package Base: stm32cubeide
Description: Integrated Development Environment for STM32
Upstream URL: https://www.st.com/en/development-tools/stm32cubeide.html
Keywords: arm cortex cortex-m cubeide embedded ide st stm32
Licenses: custom:SLA0048
Submitter: kumen
Maintainer: kumen
Last Packager: kumen
Votes: 37
Popularity: 0.007282
First Submitted: 2019-05-02 15:05 (UTC)
Last Updated: 2025-03-11 15:32 (UTC)

Pinned Comments

kumen commented on 2023-03-19 13:14 (UTC) (edited on 2023-03-19 13:17 (UTC) by kumen)

STM32CubeIDE is now run by executing stm32cubeide_wayland official script. If you have issues related to run environment, try to edit /usr/share/applications/stm32cubeide.desktop file and uncomment one of commented out Exec=... lines and comment out currently used one. After making changes to stm32cubeide.desktop run update-desktop-database as root to apply changes.

Discussion about this Eclipse issues is here: https://github.com/eclipse-platform/eclipse.platform.swt/issues/158

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 16 Next › Last »

Maziar commented on 2023-03-24 14:27 (UTC) (edited on 2023-03-24 14:28 (UTC) by Maziar)

Have any way use one patch for stm32cubeide use local glibc version ... ?

kumen commented on 2023-03-24 13:25 (UTC) (edited on 2023-04-12 14:22 (UTC) by kumen)

In fact, there are two common problems.
- The first is long lasting good X11 vs poor Wayland support. This is fixed by running STM32CubeIDE on Wayland with exporting GDK_BACKEND=x11 -> stm32cubeide_wayland. This issue mainly causes problems with integrated STM32CubeMX stuff.
- The second problem is with current version of webkit2gtk package.

Maziar commented on 2023-03-24 12:27 (UTC) (edited on 2023-03-24 12:29 (UTC) by Maziar)

Seems problem Not fix with run stm32cubeide_wayland

I use X11

SWT WebKitGDBus: error creating DBus server Error binding to address (GUnixSocketAddress): No such file or directory
SWT WebKit: error initializing DBus server, dBusServer == 0

(STM32CubeIDE:221155): GLib-GIO-CRITICAL **: 15:53:54.589: g_dbus_server_get_client_address: assertion 'G_IS_DBUS_SERVER (server)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f6c52a3ed16, pid=221155, tid=221156
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.17+8 (11.0.17+8) (build 11.0.17+8)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.17+8 (11.0.17+8, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libswt-gtk-4950r5.so+0x3ed16]  Java_org_eclipse_swt_internal_C_strlen+0xf
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /opt/stm32cubeide/core.221155)
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid221155.log
Compiled method (nm)   13579 3046     n 0       org.eclipse.swt.internal.C::strlen (native)
 total in heap  [0x00007f6d0bce2c10,0x00007f6d0bce2fb0] = 928
 relocation     [0x00007f6d0bce2d88,0x00007f6d0bce2db8] = 48
 main code      [0x00007f6d0bce2dc0,0x00007f6d0bce2fa8] = 488
 oops           [0x00007f6d0bce2fa8,0x00007f6d0bce2fb0] = 8
Compiled method (nm)   13579 3046     n 0       org.eclipse.swt.internal.C::strlen (native)
 total in heap  [0x00007f6d0bce2c10,0x00007f6d0bce2fb0] = 928
 relocation     [0x00007f6d0bce2d88,0x00007f6d0bce2db8] = 48
 main code      [0x00007f6d0bce2dc0,0x00007f6d0bce2fa8] = 488
 oops           [0x00007f6d0bce2fa8,0x00007f6d0bce2fb0] = 8
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

kumen commented on 2023-03-24 09:32 (UTC)

That's correct, it probably should install both variants. Thanks for hint.

toma678 commented on 2023-03-21 21:04 (UTC)

Unless I'm missing something, it appears the PKGBUILD doesn't install the "stm32cubeide_wayland" script, only the stm32cubeide binary?

kro007 commented on 2023-03-19 21:26 (UTC)

The stm32cubeide_wayland only export GDK_BACKEND=x11, this solve issue with "board selector" not displayed but this particular crash.

Bambo commented on 2023-03-19 19:30 (UTC)

Posted the error on the stm32 forums: https://community.st.com/s/question/0D53W00002ByOp1SAF/error-trying-to-launch-stm32cubeide-on-linux

kumen commented on 2023-03-19 13:14 (UTC) (edited on 2023-03-19 13:17 (UTC) by kumen)

STM32CubeIDE is now run by executing stm32cubeide_wayland official script. If you have issues related to run environment, try to edit /usr/share/applications/stm32cubeide.desktop file and uncomment one of commented out Exec=... lines and comment out currently used one. After making changes to stm32cubeide.desktop run update-desktop-database as root to apply changes.

Discussion about this Eclipse issues is here: https://github.com/eclipse-platform/eclipse.platform.swt/issues/158

kro007 commented on 2023-03-18 12:06 (UTC)

I have the exact same issue, as a workarround, i have installed/update the flatpack version wich works fine.

nihil21 commented on 2023-03-16 23:11 (UTC)

@auguzanellato I'm experiencing the same issue. Downgrading glib2 to version 2.74.6 fixes the issue with STM32CubeIDE, but seems to cause other issues with other packages, at least in my setup.