Have you tried to delete cache and data of the camera app?
Does it crash just randomly or does it crash when changing cameras (0.6, 1x, front facing) or modes (photo / video).
It could possibly a hardware fault, but without further infos it is hard to tell.