Has anyone else ever had

Has anyone else ever had the following occur.

Working on a sketch, take a break come back and start a compile then it hangs. Its hung for a while so you restart the Arduino editor and when it comes back, all of the code from your sketch has been replaced with 8k (or some other amount) of NULL bytes? it wiped out everything. There is no way to get it back. yes I have backups but I lost 5 hours of works.

Just curious if the same has happened to anyone else.

There's one here:

and here: