GDBus.Error:org.freedesktop.portal.Error.NotAllowed: This call is not available inside the sandbox
Adding
plugs:
- network-status
resolves that but causes the application to crash instead:
MESA-LOADER: failed to open dri: /snap/openchrom/x2/gpu-2404/usr/lib/i386-linux-gnu/gbm/dri_gbm.so: cannot open shared object file: No such file or directory (search paths /snap/openchrom/x2/gpu-2404/usr/lib/x86_64-linux-gnu/gbm:/snap/openchrom/x2/gpu-2404/usr/lib/i386-linux-gnu/gbm, suffix _gbm)
Failed to create GBM device for DRM node: /dev/dri/renderD128: No such file or directory
MESA-LOADER: failed to open dri: /snap/openchrom/x2/gpu-2404/usr/lib/i386-linux-gnu/gbm/dri_gbm.so: cannot open shared object file: No such file or directory (search paths /snap/openchrom/x2/gpu-2404/usr/lib/x86_64-linux-gnu/gbm:/snap/openchrom/x2/gpu-2404/usr/lib/i386-linux-gnu/gbm, suffix _gbm)
Failed to create GBM device for DRM node: /dev/dri/renderD128: No such file or directory
crashes with a different stack trace at the same occassion:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000004000000020, pid=24096, tid=24097
#
# JRE version: OpenJDK Runtime Environment Temurin-21.0.8+9 (21.0.8+9) (build 21.0.8+9-LTS)
# Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.8+9 (21.0.8+9-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libEGL_mesa.so.0+0x2658b]
#
# Core dump will be written. Default location: core.24096 (may not exist)
#
# An error report file with more information is saved as:
# /home/matthias/Entwicklung/Lablicate/openchrom-snap/hs_err_pid24096.log
[4.558s][warning][os] Loading hsdis library failed
#
# 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.
#