Update on fix approach (2025-12-24): Further testing revealed that the try/catch approach in Comment #2 is insufficient. Disposed GObjects crash at the C/GObject level before JavaScript exception handling can intervene—you cannot safely "probe" a disposed object to check if it's valid.
The upstream PR has been updated with a different approach: instead of holding a direct reference to the GProxyVolume object, we now cache the volume's identifiers (UUID, device path) at construction and look up the volume fresh from VolumeMonitor each time access is needed. If the volume is no longer present in VolumeMonitor, it's been removed and we return null. Same PR is updated: https://github.com/micheleg/dash-to-dock/pull/2477 Testing on Ubuntu 25.10 with GNOME Shell 49.0 confirms this approach handles CD eject/insert cycles without crashes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2137078 Title: GNOME Shell crashes after CD eject - ubuntu-dock accesses disposed GProxyVolume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/2137078/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
