My Samsung Galaxy S5 freezes from time to time and only battery removal could bring it back to working condition. When I open the Gallery it crashes and the phone reboots by itself. When it booted up again it worked extremely slow!
I opened the gallery and saw the damaged video file with a black thumbnail. I tried to delete it but the deletion failed: the gallery app crashed and the phone rebooted again.