question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GIS visualization crashes on snap store CE version 22.0.2

See original GitHub issue

System information:

  • Operating system (distribution) and version: Ubuntu 20.04
  • DBeaver version: 22.0.2, CE, snap-store
  • Additional extensions: I’m on emacs and EXWM

Connection specification:

  • Driver name: Postgresql + PostGIS
  • Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you’re observing:

The app instantly crashes when clicking on a geo value in a table in ordre to visualize it

Steps to reproduce, if exist:

Load geo datas on a postgis database and click on one of them

Include any warning/errors/backtraces from the logs

# Problematic frame:
# C  [libswt-gtk-4950r5.so+0x3ed16]  Java_org_eclipse_swt_internal_C_strlen+0xf

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
serge-ridercommented, Apr 5, 2022

Thanks you for the bug report.

It is a known issue with embedded browsers in snap packages.

0reactions
Brakistadcommented, Nov 4, 2022

Same issue here. Seems like the snap is not allowed to access DBus by apparmor. ubuntu:

Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Codename:	jammy

dbeaver snap:

Name               Version                     Rev    Tracking       Publisher     Notes
dbeaver-ce         22.2.3.202210231354         212    latest/stable  dbeaver-corp  -

running dbeaver-ce command. Which provides debug log.

This happens at startup: Gtk-Message: 10:34:17.165: Failed to load module "canberra-gtk-module"

Then i query a table containing Geography(Point, srid=4326)

Select point and expect to view a OpenStreetMap map. I have selected the correct projection EPSG: 4326.

The log shows these messages:

(process:15554): GLib-GIO-WARNING **: 10:35:28.113: GDBus.Error:org.freedesktop.portal.Error.NotAllowed: This call is not available inside the sandbox
Gtk-Message: 10:35:28.317: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:35:28.322: Failed to load module "canberra-gtk-module"

** (WebKitWebProcess:15569): WARNING **: 10:35:30.534: Failed to get atspi registered event listeners: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.37" (uid=1000 pid=15569 comm="/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWeb" label="snap.dbeaver-ce.dbeaver-ce (enforce)") interface="org.a11y.atspi.Registry" member="GetRegisteredEvents" error name="(unset)" requested_reply="0" destination=":1.1" (uid=1000 pid=1536 comm="/usr/libexec/at-spi2-registryd --use-gnome-session" label="unconfined")


** (WebKitWebProcess:15569): WARNING **: 10:35:30.542: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied

** (WebKitWebProcess:15569): WARNING **: 10:35:30.542: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied
Read more comments on GitHub >

github_iconTop Results From Across the Web

Snap freezes after update to Ubuntu 22.04 - snapd - snapcraft.io
After I did an upgrade from Ubuntu 20.04 to Ubuntu 22.04 I've noticed that my chromium-browser doesn't start anymore.
Read more >
Troubleshooting | Snapcraft documentation
When a snap is installed, it's downloaded and authenticated against one or more servers attached to the Snap Store (or a local proxy)....
Read more >
Wayland crash with Electron 2 - Snapcraft forum
Hi, having some trouble getting a snap to run on platforms that use the Wayland window manager since upgrading our codebase to Electron ......
Read more >
Getting started | Snapcraft documentation
Snaps are discoverable and installable from the Snap Store, an app store with an ... snap find "media player" Name Version Developer Notes...
Read more >
Install Snap Store on Ubuntu - Snapcraft
Get the latest version of Snap Store for on Ubuntu - Snap Store is a graphical desktop application for discovering, installing and managing ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found