well I think I've narrowed it down to faceunlock, it seems after disabling this feature and rebooting the problem goes away. maybe what causes it is that it spazzes out after storing so many different photos of your face in different situations and lighting conditions. interestingly after clearing the faceunlock data then switching to a different unlock method then going back to setup faceunlock again it wouldn't allow me to do so, just stays on "Starting up" and no photos are recorded, in fact the camera doesn't even run but you can still use the camera normally after unlocking the phone.