See for example : [[:c:File:Flag of Germany.svg]] (file history in Commons looks OK: we can see the images from the history up to end of 2015, but any image from 2016 onwards won't show, even if there was nothing changed since 2007 in the image itself, except the description page in May, but there was no issue since May for this image; so this looks like a problem in the description page incorrectly linked to the image thumbnail)
: [V5JYMApAMFIAALoducMAAAAA] 2016-07-22 17:30:24: Erreur fatale de type « MWException »
Thumnail generator failure? Detected on another wiki where country flags are showing red links (going to upload a new image on the other local wiki) instead of the existing image from Commons. I suspect a storage issue (internal network filesystem, possibly the same stale cache problem that occured a few days ago).
Forcing a server-side page refresh (action=purge) does not solve the problem, we get the same fatal exception.
Other wikis see this file as non-existing (that's what Commons reports to them), but it has not been moved or deleted (look at the page description history on Commons, we can see the last version of the file data from 2007 in all versions of description pages until end of 2015). So the bug is post probably on the MediaWiki database itself somewhere in its history, and the thumbnail generator cannot access the last description page, even if it does not need it to generate thumbnails (it just need access to the "Media:" content, possibly it fails in determining the last version because of broken history data.