I have a Google Nexus 5 with Kernel 3.4.0-g2aa165e and build number MRA58N. (Android 6 Marshmallow)
Its not rooted or modified.
Just recently the camera keeps crashing. I click the camera button and get "can't connect to camera" message. The only way to start up the camera is to switch it off and on again. I'm travelling and take a lot of photos - Its incredibly frustrating when I just want to take a quick snap. By the time the camera comes back on, the moment has passed.