That's truly weird! (Oddly, I think I remember this coming up a couple of years ago, but I'm not sure.) Of course, you could just type sdrawkcab.
Do you use iCloud Photos? Do you have "Optimize Storage" turned on for Photos? How much used and free storage do you have on your Mac? What Language and Region do you have set?
To narrow things down, try these steps:
- Restart the computer (of course)
- Re-start in Safe Mode. This bypasses certain potentially disruptive processes, and it often helps. Safe Mode is different for different computers, so see this:
Start up your Mac in safe mode - Apple Support
Those are the easiest things to try first. Then try these:
- Use another library if you have one, or make a small test Library with a few pictures in it and see if the same thing happens. You can create a new Library by closing Photos and then option-clicking on the Photos icon.
- Make a new user and see if the same problem recurs with it
- Rebuild your Photos Library--close Photos and re-launch by option-command-clicking the app icon.
The idea is to find out if the problem is with the Library, with your account, or with caches and login items, and stuff like that. One of these steps may fix the problem, but their failure to work also helps figure out what's happening.
Let us know what happens…