Some clues are:
- These sudden shutdowns occur in the vast majority of cases when the battery percentage is below 50%.
- I've noticed that if I use third-party apps (like "Camera FV-5") is much less likely to present the problem while taking pictures. In any case, I flashed the camera...