Deleting or saving after deleting from trash causes crash

When I have moved a file to the trash on the tutorial project, and then try to delete it from the trash, sometimes the app crashes.

If it doesn’t crash when trying to delete from trash, when I go to File-Save, it will crash there sometimes as well.