2023-03-19 09:47 AM
I have installed the STM32CubeIDE 1.12.0 from the STM32 official website onto my Arch Linux laptop but when i try to launch it, it closes and reports an error after the splash screen.
I have searched on pacman (the arch package manager) for stm32cubeide too, but they are having the same error too. See the comments section on https://aur.archlinux.org/packages/stm32cubeide
Here is the error:
[ri@r Desktop]$ /opt/st/stm32cubeide_1.12.0/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:9473): GLib-GIO-CRITICAL **: 16:40:15.499: 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=0x00007fd88683ed16, pid=9473, tid=9474
#
# 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/richard/Desktop/core.9473)
#
# An error report file with more information is saved as:
# /home/r/Desktop/hs_err_pid9473.log
Compiled method (nm) 9481 5616 n 0 org.eclipse.swt.internal.C::strlen (native)
total in heap [0x00007fd917d3c190,0x00007fd917d3c530] = 928
relocation [0x00007fd917d3c308,0x00007fd917d3c338] = 48
main code [0x00007fd917d3c340,0x00007fd917d3c528] = 488
oops [0x00007fd917d3c528,0x00007fd917d3c530] = 8
Compiled method (nm) 9486 5616 n 0 org.eclipse.swt.internal.C::strlen (native)
total in heap [0x00007fd917d3c190,0x00007fd917d3c530] = 928
relocation [0x00007fd917d3c308,0x00007fd917d3c338] = 48
main code [0x00007fd917d3c340,0x00007fd917d3c528] = 488
oops [0x00007fd917d3c528,0x00007fd917d3c530] = 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.
#
And the error report file is attached below.
2023-07-04 09:45 AM
@ASN.1thanks, I missed that as well:
plasmashell[17873]: SWT WebKitGDBus: error creating DBus server Error binding to address (GUnixSocketAddress): No such file or directory
I'm not sure we can attribute the Error to the IDE directly, but to the package maintainer ... .