An XFCE forum post[0] tangentially mentions a change[1] to /usr/share/mime/packages/freedesktop.org.xml which causes -- I suppose, I didn't fully comprehend -- a recursive lookup inside of some kind of MIME database or configuration file. That there are other, related bugfixes in some Gtk or GIO-adjacent library should not be surprising, but the proximate *cause* of the crash appears to be a recent change to the MIME configuration database, not Nautilius, glib, gtk, or anything like that.
Note that this also affects elementary OS Jólnir (6.1)[2], being based on Ubuntu 20.04, as well as third-party apps like Firefox which use a Gtk file chooser. Repeated Firefox crashes were what set me looking for a solution. If you are, like me, waiting for a backported fix to end up in 20.04, you can temporarily work around the problem by following the steps in the elementary OS GitHub issue[3] to replace /usr/share/mime/packages/freedesktop.org.xml with the one from shared- mime-info version 2.4[4]. Take into account that this file may be replaced by a future package update, but hopefully that update (or some glib update) will actually fix the problem. [0]: https://forum.xfce.org/viewtopic.php?id=17257 [1]: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/275 [2]: https://github.com/elementary/files/issues/2525 [3]: https://github.com/elementary/files/issues/2525#issuecomment-2595994855 [4]: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/2.3/shared-mime-info-2.4.tar.gz ** Bug watch added: github.com/elementary/files/issues #2525 https://github.com/elementary/files/issues/2525 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/2047737 Title: Nautilus crashes when opening folders that contain files with js or json extensions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2047737/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs