Yesterday I noticed a weird bug. When I open the .xsession-errors.old file it causes high CPU usage and then the pcmanfm process is hanged. I use IceWM. As I understand, pcmanfm is the default app for it. Opening this file with "Open With" context menu in a text editor works fine.
$ xdg-mime query filetype .xsession-errors.old
application/x-trash
$ xdg-mime query default application/x-trash
pcmanfm.desktop
Thanks!
Anonymous