I remember having the same issue with my pi setting up my second's 2pacs. It was very frustrating. The slub debug fix in the command line fixed the issue, The thing was the file would delete itself if I ever changed the input from hdmi/LCD. Hopefully, this info will help.
Had the same issue with my 2pacs and a Pi and the slub debug fix solved the problem. Running 24/7 no issues since then. That could be part of the solution but with computers, who knows...