stm32cubeide fails to start
phpbbireland opened this issue · 2 comments
phpbbireland commented
Please provide a brief summary of the bug
I'm no expert when it comes to java, this is the best I can do
Trying to launch stm32cubeide results in:
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f59a20a7cdb, pid=45726, tid=45727
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.11+9 (17.0.11+9) (build 17.0.11+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (17.0.11+9, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libwebkit2gtk-4.0.so.37+0x2aa7cdb]
#
# Core dump will be written. Default location: Core dumps may be processed with "/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h" (or dumping to /opt/st/stm32cubeide_1.16.1/core.45726)
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid45726.log
#
# 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.
#```
### Did you test with the latest update version?
- [ ] Yes
### Please provide steps to reproduce where possible
_No response_
### Expected Results
Normal application launch
### Actual Results
Application starts then exits
### What Java Version are you using?
openjdk 21.0.4 2024-07-16 LTS
### What is your operating system and platform?
System: Kernel: 6.2.14-1-liquorix-amd64 [6.2-23~mx23+1] x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: audit=0 intel_pstate=disable hpet=disable rcupdate.rcu_expedited=1
BOOT_IMAGE=/boot/vmlinuz-6.2.14-1-liquorix-amd64 root=UUID=<filter> ro splash
Desktop: Xfce 4.18.1 tk: Gtk 3.24.36 info: xfce4-panel wm: xfwm 4.18.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-23.4_x64 Libretto September 18 2022
base: Debian GNU/Linux 12 (bookworm)
### How did you install Java?
sudo apt install temurin-21-jdk
### Did it work before?
```Shell
Yes some months ago
Did you test with other Java versions?
yes
Relevant log output
The error log is too long to post?
phpbbireland commented
I created a .desktop with the following...
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Categories=Development;IDE; Exec=env WEBKIT_DISABLE_DMABUF_RENDERER=1 /opt/st/stm32cubeide_1.16.1/stm32cubeide_wayland %F Comment[en_US]=stm32cubeide Name=Eclipse Comment=Eclipse Icon=/opt/st/stm32cubeide_1.16.1/icon.xpm
It worked...