Slightly aging thread but thought I'd share my experiences. I am on my third Pixel 2 with a fourth one coming under warranty replacement. All three phones I've had experienced either fatal camera errors or general camera crashes. It starts with the built-in camera app and then the camera won't function for any app including third party apps. Each round of troubleshooting with Verizon included verifying the camera would not work (cannot even switch between front and rear cameras) and full factory resets without re-loading backup data just to be sure. The troubleshooting on phone
#3 last night included a 3-way call with Verizon and Google's Level 3 Support who verified that the phone must be replaced once the factory reset did not bring the camera back online. I'm hoping that the fourth phone will be a charm. Too bad there were some still in stock or I may have gotten a free upgrade to a Pixel 3 (and then would need to buy a new case etc.). The bad news is that Verizon's warranty ends in 2 months and we have much longer to go (a year?) before the phone is paid off. The factory warranty only seems to be 3 months, so I either roll the dice or spend $9/mo in insurance. Hmmmm.
What causes the issue? No one seems to know. I don't think any apps I load are causing the problem as a factory reset doesn't fix the problem. I tried safe mode on one of the past failed units without success. I don't drop the phone, submerge it in water, or even take a lot of pics or shoot video. The only thing I can think of is that I use RAM Mount X-Grips to hold the phone in the car and on a motorcycle. I have active edge off and the X-Grips have rubber mounts which would dampen vibrations I'd think. Strange one--will likely never know what is going on.