AlderHorst, thanks for the feedback. So gjs in this case should definitely not crash, and I've fixed it there [1] (will prepare a package soon).
I'm quite curious to understand how is possible that Gio would emit a null device in such case, but that's another issue I'll have to handle. I'll try to simulate your setup but maybe can you provide the output of this script? https://www.pastery.net/menmxf/ Just save it in disk and run it with `gjs gio-mounts-debug.js`. IIRC I noticed during development that it could happen that we may get a case where a Mount is added but its relative GVolume isn't set (yet). [1] https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/726 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in Ubuntu. https://bugs.launchpad.net/bugs/1960898 Title: Wayland sessions crash with Gjs:ERROR:../gi/interface.cpp:101:bool InterfacePrototype::has_instance_impl(JSContext*, const JS::CallArgs&): assertion failed: (args[0].isObject()) from ubuntu- d...@ubuntu.com/locations.js:1108 Status in gnome-shell-extension-ubuntu-dock package in Ubuntu: New Bug description: Hardware: https://linux-hardware.org/?probe=1055dc7082 Worked without Problem in 21.04 Had some flicker and problem with the left dock in 21.10 not working since updating to 22.04 now I'm running xorg. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: gnome-shell 41.3-1ubuntu1 ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12 Uname: Linux 5.15.0-18-generic x86_64 ApportVersion: 2.20.11-0ubuntu76 Architecture: amd64 CasperMD5CheckMismatches: ./pool/restricted/n/nvidia-graphics-drivers-450/libnvidia-gl-450_450.102.04-0ubuntu2_amd64.deb CasperMD5CheckResult: fail CurrentDesktop: ubuntu:GNOME Date: Tue Feb 15 08:07:04 2022 DisplayManager: gdm3 InstallationDate: Installed on 2021-08-15 (183 days ago) InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420) RelatedPackageVersions: mutter-common 41.3-1ubuntu1 SourcePackage: gnome-shell UpgradeStatus: Upgraded to jammy on 2022-02-14 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1960898/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp