Package Details: stm32cubeide 1.15.1-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 cube cubeide stm32
Licenses: custom:SLA0048
Submitter: kumen
Maintainer: kumen
Last Packager: kumen
Votes: 35
Popularity: 0.84
First Submitted: 2019-05-02 15:05 (UTC)
Last Updated: 2024-04-27 13:10 (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 .. 14 Next › Last »

kumen commented on 2023-07-11 09:27 (UTC)

@Alex, looks like you found the solution! At least for me.

Alex commented on 2023-07-06 14:53 (UTC)

@bertulli I also had the same problem and found a solution for it here: https://github.com/adoptium/adoptium-support/issues/785#issuecomment-1585740194

The error is apparently caused by a missing directory /tmp/SWT-GDBusServer and creating it fixed the issue. It also fixed the issue for me.

@kumen if this is a general issue with cubeide and not only some isolated cases, it may make sense to add mkdir -p /tmp/SWT-GDBusServer to the scripts calling the cubeide binary as a fix in the package

bertulli commented on 2023-07-01 11:44 (UTC)

It seems there is an error with some library, possibly with DBus:

[alessandro@commodoroII ~]$ GDK_BACKEND=x11 stm32cubeide_wayland 
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:31440): GLib-GIO-CRITICAL **: 13:42:09.145: 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=0x00007f8bdd03ed16, pid=31440, tid=31441
#
# 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 /home/alessandro/core.31440)
#
# An error report file with more information is saved as:
# /home/alessandro/hs_err_pid31440.log
Compiled method (nm)   58646 4220     n 0       org.eclipse.swt.internal.C::strlen (native)
 total in heap  [0x00007f8c43cb2110,0x00007f8c43cb24a8] = 920
 relocation     [0x00007f8c43cb2288,0x00007f8c43cb22b8] = 48
 main code      [0x00007f8c43cb22c0,0x00007f8c43cb24a0] = 480
 oops           [0x00007f8c43cb24a0,0x00007f8c43cb24a8] = 8
Compiled method (nm)   58646 4220     n 0       org.eclipse.swt.internal.C::strlen (native)
 total in heap  [0x00007f8c43cb2110,0x00007f8c43cb24a8] = 920
 relocation     [0x00007f8c43cb2288,0x00007f8c43cb22b8] = 48
 main code      [0x00007f8c43cb22c0,0x00007f8c43cb24a0] = 480
 oops           [0x00007f8c43cb24a0,0x00007f8c43cb24a8] = 8
Compiled method (nm)   58654 4220     n 0       org.eclipse.swt.internal.C::strlen (native)
 total in heap  [0x00007f8c43cb2110,0x00007f8c43cb24a8] = 920
 relocation     [0x00007f8c43cb2288,0x00007f8c43cb22b8] = 48
 main code      [0x00007f8c43cb22c0,0x00007f8c43cb24a0] = 480
 oops           [0x00007f8c43cb24a0,0x00007f8c43cb24a8] = 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.
#

Am I doing something wrong? Can I do something to launch the program?

kumen commented on 2023-06-16 10:01 (UTC)

@piernov, thanks. Fortunately, the current ncurses5-compat-libs version is compatible.

piernov commented on 2023-06-16 08:51 (UTC)

Depends on ncurses5-compat-libs after 1.12.1-2, bundled arm-none-eabi-gdb is linked to libncurses.so.5.

sots commented on 2023-06-16 07:53 (UTC)

After the 1.21.1-3 update my language pack disappeared again :(

kumen commented on 2023-06-14 12:59 (UTC)

New PKGBUILD for STM32CubeMonUCPD is up: https://aur.archlinux.org/packages/stm32cubemonucpd
Can somebody test it, please?

CaptainJack42 commented on 2023-06-14 12:53 (UTC) (edited on 2023-06-14 12:55 (UTC) by CaptainJack42)

@kumen

@CaptainJack42 try to delete ~/.eclipse/com.st.stm32cube.*.1.12.1.* directory for bringing back marketplace. But all configuration and plugins will be gone. A restore of the configuration and plugins from the previous version of stm32cubeide may be triggered if it exists in ~/.eclipse/.

That worked, thanks a lot for the quick help!

kumen commented on 2023-06-14 12:47 (UTC)

@Sven @sots, my mistake. I'll fix it soon.

@CaptainJack42 try to delete ~/.eclipse/com.st.stm32cube.*.1.12.1.* directory for bringing back marketplace. But all configuration and plugins will be gone. A restore of the configuration and plugins from the previous version of stm32cubeide may be triggered if it exists in ~/.eclipse/.

CaptainJack42 commented on 2023-06-14 07:38 (UTC) (edited on 2023-06-14 08:23 (UTC) by CaptainJack42)

Since the latest update (published 13 hours ago, 13-06-2023) the eclipse marketplace is gone for me and my previously installed plugins are gone as well? Is this something ST just did or is this some other issue?

Update: Installing cube IDE from the ST website works and leaves me with the usual marketplace (opening it crashes cubeide with the webkit error if webkit2gtk is installed, if it is removed (with # pacman -Rdd webkit2gtk) it works) and at least my previously installed plugins are still there. For now i'll stick with that version although i don't like it and since the versions can co-exist i might try again if another update drops. I honestly have no idea what is happening.