Hi, all!
If you are using Ubuntu 26.04 LTS, and experiencing random Files app crashes (window disappears while you are trying to go into a subdirectory), and you are using double-click to open directories.
You are:
-
using double-click to open folders in the Files app
-
on 26.04
Check out the fix for gtk4, which eliminates memory corruption. I (not alone)* triaged a heisenbug and drove it to a fix in Ubuntu 26.04; it is now available in resolute-updates.
sudo apt update && sudo apt install libgtk-4-1
The fixed version is 4.22.4+ds-0ubuntu0.1
You may have the Files app already opened, but poisoned by memory corruption. To ensure you are free from crashes, you can reboot, or as an alternative, while not copying/moving files, run killall nautilus after the update of libgtk to exit all running instances.
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2150297
*: Not alone, but with a great part of the work of both GNOME and Ubuntu folks.
Thanks go to Khalid for tinkering with this problem for one full day, and to Alessandro, who was kind to us all and backported the one-liner patch into the current gtk4 package.
- Yes, the fix works.
- No, it didn’t help.