In my Pixel 6a, with latest stable GOS installed and specially since the last system update (2023.08.05), I have been getting nearly every day a camera crash. Besides preventing me from using the camera for any app, I also cannot use the pixel's flashlight.
This bug appears with literally no intervention on my side: I can put it on the table when I'm about to sleep in a perfectly functional state only to find next morning that when I need to take a photo, I can't.
Here is a logcat of the crash:
08-25 07:26:04.915 9535 9535 E DEBUG : failed to read process info: failed to open /proc/9408
08-25 07:26:04.988 1308 2239 D CoreBackPreview: Window{7c9be62 u0 Splash Screen app.grapheneos.camera EXITING}: Setting back callback null
08-25 07:26:04.989 1308 5280 W InputManager-JNI: Input channel object '7c9be62 Splash Screen app.grapheneos.camera (client)' was disposed without first being removed with the input manager!
08-25 07:26:05.012 9535 9535 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-25 07:26:05.012 9535 9535 F DEBUG : Build fingerprint: 'google/bluejay/bluejay:13/TQ3A.230805.001/2023080800:user/release-keys'
08-25 07:26:05.012 9535 9535 F DEBUG : Revision: 'MP1.0'
08-25 07:26:05.012 9535 9535 F DEBUG : ABI: 'arm64'
08-25 07:26:05.012 9535 9535 F DEBUG : Timestamp: 2023-08-25 07:26:04.915137285+0100
08-25 07:26:05.012 9535 9535 F DEBUG : Process uptime: 0s
08-25 07:26:05.012 9535 9535 F DEBUG : Cmdline: /apex/com.google.pixel.camera.hal/bin/hw/android.hardware.camera.provider@2.7-service-google
08-25 07:26:05.012 9535 9535 F DEBUG : pid: 9408, tid: 9530, name: SensorEnable >>> /apex/com.google.pixel.camera.hal/bin/hw/android.hardware.camera.provider@2.7-service-google <<<
08-25 07:26:05.012 9535 9535 F DEBUG : uid: 1000
08-25 07:26:05.012 9535 9535 F DEBUG : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
08-25 07:26:05.012 9535 9535 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
08-25 07:26:05.012 9535 9535 F DEBUG : Abort message: 'Check failed: this->io->DeviceEnable() == OkStatus() '
08-25 07:26:05.012 9535 9535 F DEBUG : x0 0000000000000000 x1 000000000000253a x2 0000000000000006 x3 0000dcd2360b4d30
08-25 07:26:05.012 9535 9535 F DEBUG : x4 64721f5c36343039 x5 64721f5c36343039 x6 64721f5c36343039 x7 7f7f7f7f7f7f7f7f
08-25 07:26:05.012 9535 9535 F DEBUG : x8 00000000000000f0 x9 0000dcd511dbdd78 x10 0000000000000001 x11 0000dcd511e067f0
08-25 07:26:05.012 9535 9535 F DEBUG : x12 00000000000006a1 x13 0000000000000073 x14 0000dcd2360b3a60 x15 000001b72b46e532
08-25 07:26:05.012 9535 9535 F DEBUG : x16 0000dcd511e72f60 x17 0000dcd511e4df40 x18 0000dcd235148000 x19 00000000000024c0
08-25 07:26:05.012 9535 9535 F DEBUG : x20 000000000000253a x21 00000000ffffffff x22 0000dcd236200040 x23 00000000000024c0
08-25 07:26:05.012 9535 9535 F DEBUG : x24 0000dcd2361ff000 x25 0000dcd2360b4f80 x26 0000dcd236200038 x27 0000dcd2358bd000
08-25 07:26:05.012 9535 9535 F DEBUG : x28 0000000000947000 x29 0000dcd2360b4db0
08-25 07:26:05.012 9535 9535 F DEBUG : lr 0000dcd511df6118 sp 0000dcd2360b4d10 pc 0000dcd511df6144 pst 0000000000001000
08-25 07:26:05.012 9535 9535 F DEBUG : backtrace:
08-25 07:26:05.012 9535 9535 F DEBUG : #00 pc 000000000005b144 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 3b77b45f6e378c48d7f987a9b8e80c90)
08-25 07:26:05.012 9535 9535 F DEBUG : #1 pc 00000000000063fc /system/lib64/liblog.so (android_log_default_aborter+12) (BuildId: 0328eeb77695c1dca0d094dc1fcf533f)
08-25 07:26:05.012 9535 9535 F DEBUG : #2 pc 00000000000a0b30 /apex/com.android.vndk.v33/lib64/libbinder.so (android::base::LogMessage::LogMessage()+352) (BuildId: fe695030f49771e3c78bf2035227404d)
08-25 07:26:05.012 9535 9535 F DEBUG : #3 pc 00000000004467cc /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (void* std::1::thread_proxy<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_deletestd::1::thread_struct >, lyric::SensorGeneric::PowerUp(bool)::$1> >(void)+524) (BuildId: 09f29fbacd07f03ca37e9a278ac9d20c)
08-25 07:26:05.012 9535 9535 F DEBUG : #4 pc 00000000000c924c /apex/com.android.runtime/lib64/bionic/libc.so (pthread_start(void)+204) (BuildId: 3b77b45f6e378c48d7f987a9b8e80c90)
08-25 07:26:05.012 9535 9535 F DEBUG : #5 pc 000000000005c8f0 /apex/com.android.runtime/lib64/bionic/libc.so (start_thread+64) (BuildId: 3b77b45f6e378c48d7f987a9b8e80c90)
Thank you for any help, I'm new to GOS!