2023-04-30 01:01 PM
Hi. Since the last update I can no longer create a new workspace.
Any help is appreciated.
OpenSUSE Linux Thumbleweed here.
Best regards,
Marcelo.
.metadata/.ide.log:
2023-04-30 16:42:26,518 [INFO] Activator:176 -
2023-04-30 16:42:26,520 [INFO] Activator:177 - !SESSION log4j initialized
2023-04-30 16:42:26,643 [ERROR] LogOutputStream:75 - [STDERR_REDIRECT] SWT WebKitGDBus: error creating DBus server Error binding to address (GUnixSocketAddress): No such file or directory
2023-04-30 16:42:26,644 [ERROR] LogOutputStream:75 - [STDERR_REDIRECT] SWT WebKit: error initializing DBus server, dBusServer == 0
Solved! Go to Solution.
2023-06-10 09:21 PM
Hi @flxzt ,
A better hack has been found.
Just do:
$ mkdir /tmp/SWT-GDBusServer
And then start the IDE.
https://github.com/adoptium/adoptium-support/issues/785#issuecomment-1585893229
Regards,
Marcelo.
2023-04-30 01:23 PM
2023-04-30 08:53 PM
$ /home/mroberto/st/stm32cubeide_1.12.1/stm32cubeide
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:22039): GLib-GIO-CRITICAL **: 00:48:18.989: 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=0x00007f4973c3ed16, pid=22039, tid=22040
#
# 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/mroberto/mrj/xyz/tmp/core.22039)
#
# An error report file with more information is saved as:
# /home/mroberto/mrj/xyz/tmp/hs_err_pid22039.log
Compiled method (nm) 10246 4010 n 0 org.eclipse.swt.internal.C::strlen (native)
total in heap [0x00007f4a5fcb1590,0x00007f4a5fcb1930] = 928
relocation [0x00007f4a5fcb1708,0x00007f4a5fcb1738] = 48
main code [0x00007f4a5fcb1740,0x00007f4a5fcb1928] = 488
oops [0x00007f4a5fcb1928,0x00007f4a5fcb1930] = 8
Compiled method (nm) 10248 4010 n 0 org.eclipse.swt.internal.C::strlen (native)
total in heap [0x00007f4a5fcb1590,0x00007f4a5fcb1930] = 928
relocation [0x00007f4a5fcb1708,0x00007f4a5fcb1738] = 48
main code [0x00007f4a5fcb1740,0x00007f4a5fcb1928] = 488
oops [0x00007f4a5fcb1928,0x00007f4a5fcb1930] = 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.
#
Command line info
2023-05-01 06:46 AM
Looks like run-away strlen call in WebKitGDBus. Change to strnlen.
2023-05-01 08:07 AM
Hi Pavel, thanks for your reply.
I don't think I have access to the STM32CUBEIDE code, what I have posted is the result of a command line call.
Where are you suggesting me to do this change?
Regards,
Marcelo.
2023-05-05 03:16 AM
Hello @Marcelo Jimenez
First let me thank you for posting.
I am not able to reproduce the described behavior. Maybe our setups are not the same.
Could you provide the Linux version you are working with?
Also I will also need the entire log file and the exact steps which get you to such situation.
KR,
Semer.
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.
2023-05-05 06:35 AM
Hi @Semer CHERNI ,
Thank you for your answer. I have posted the log file before. Are you refering to a different log file? If so, please specify and I will provide it.
I have also posted the results of running the program from the command line.
All the information about the linux system I am using is in the bottom of the log file I provided before, but I can reproduce any detail you need here if you need. It is an openSUSE Tumbleweed 20230430.
The exact steps are these:
Regards,
Marcelo.
2023-05-06 12:51 PM
I only want to add that I am experiencing the exact same error on Fedora 38 with fresh install of STM32CubeiDE 1.12.1 RPM.
2023-05-09 10:42 AM
Hello @Marcelo Jimenez
I am sorry to inform you that both openSUSE Tumbleweed and Fedora 38 are not fully support at the moment.
This is due to the fact that Linux came in multiple flavors which could not be all covered.
Maybe in the future those Linux version would be added to the list of supported OS which are mentioned in the Release note of the tool.
Kind regards,
Semer.
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.
2023-05-09 02:20 PM
Hi @Semer CHERNI ,
Thank you for your answer.
But I must disagree. _I_ am sorry. From my point of view, ST did not even try to address the problem. You see, you have a bug report with logs and backtraces. You have a clear error message with function names (strlen). A simple look at the source code and a programmer could easily fix the problem. You see, you use Java, but ST's answer is that the distribution is not supported. Not only that, you (ST) use _your_ version of Java, not the distribution version. So, if there is someone sorry here, it is me. I am sorry to hear such a bad excuse for not dealing with the problem. And I am sorry to hear that I should not post the problems I find here, because some time ago I happened to choose the wrong Linux distribution to use.
I will try to find a workaround and if I find it, I'll post it here.
In the meantime, while we hope that at some point in the future, ST will fix the problem, even if by chance.
Best regards,
Marcelo.