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 Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1960898/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs