So it looks like this was an issue in the Debian package 3.68, which was later corrected in 3.69:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982060 The 3.68 package did make it's way to Ubuntu 21.04. Ubuntu 21.04 is no longer supported since January 20th 2022: https://lists.ubuntu.com/archives/ubuntu-security- announce/2022-January/006363.html I suggest updating to a currently supported Ubuntu release to fix your issue. Thanks! ** Bug watch added: Debian Bug tracker #982060 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982060 ** Changed in: mailcap (Ubuntu) Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961600 Title: "open" command crashes when filename as space in it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mailcap/+bug/1961600/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs