I'm really surprised nobody has suggested clearing the data for the stock camera app. When any app is constantly crashing and won't work, clearing the data for that app is always the first thing to try and will fix the issue most of the time. If that doesn't work and a factory reset doesn't fix it either then yes you should exchange the phone for a new one.