[Google Pixel Questions & Answers] plittlefield:
Hello Folks,

My camera app has started crashing and will not start.

force quit and try again

clear app cache and try again

clear cache, restart phone and try again

clear cache, restart phone in safe mode and try again

TWRP Recovery, clear all cache, restart and try again

Here are a few lines from an adb logcat...

--------- beginning of crash
03-13 22:19:53.877 7993 7993 E AndroidRuntime: FATAL EXCEPTION: main
03-13 22:19:53.877 7993 7993 E AndroidRuntime: Process: com.google.android.GoogleCamera, PID: 7993
03-13 22:19:53.877 7993 7993 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String kvs.a' on a null object reference
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at kvq.a(PG:34)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at fur.a(PG:10)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at fur.b(PG:14)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at czu.run(PG:9)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at iai.run(Unknown Source:2)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at kdg.run(PG:3)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
03-13 22:19:53.877 7993 7993 E AndroidRuntime: at kcd.run(PG:6)
...
03-14 10:19:56.706 3176 3478 I CameraManagerGlobal: Connecting to camera service
03-14 10:19:56.708 3176 3478 E CameraManagerGlobal: Camera service is unavailable
...
03-14 10:20:01.801 2300 24651 W ServiceManager: Service media.camera didn't start. Returning NULL
...
03-14 03:08:32.799 17827 17827 F DEBUG : pid: 17768, tid: 17768, name: android.hardwar >>> /vendor/bin/hw/android.hardware.camera.provider@2.4-service <<<
03-14 03:08:32.799 17827 17827 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xf4db7184
03-14 03:08:32.800 17827 17827 F DEBUG : r0 000000ff r1 f4db717c r2 00000003 r3 ed262000
03-14 03:08:32.800 17827 17827 F DEBUG : r4 0007ffff r5 f490de80 r6 ed262000 r7 00000058
03-14 03:08:32.800 17827 17827 F DEBUG : r8 ed200000 r9 ed201f1c r10 ed201f1c r11 00000230
03-14 03:08:32.800 17827 17827 F DEBUG : ip 499d81e0 sp ffad8898 lr 000006f9 pc f4d6e114
03-14 03:08:32.818 17827 17827 F DEBUG :
03-14 03:08:32.818 17827 17827 F DEBUG : backtrace:
03-14 03:08:32.818 17827 17827 F DEBUG : #00 pc 00069114 /system/lib/libc.so (arena_dalloc_bin_locked_impl+132)
03-14 03:08:32.818 17827 17827 F DEBUG : #01 pc 00069089 /system/lib/libc.so (je_arena_dalloc_bin_junked_locked+12)
03-14 03:08:32.818 17827 17827 F DEBUG : #02 pc 00087b99 /system/lib/libc.so (je_tcache_bin_flush_small+248)
03-14 03:08:32.818 17827 17827 F DEBUG : #03 pc 0007cfd1 /system/lib/libc.so (ifree+536)
03-14 03:08:32.819 17827 17827 F DEBUG : #04 pc 0007d247 /system/lib/libc.so (je_free+70)
03-14 03:08:32.819 17827 17827 F DEBUG : #05 pc 00009c65 /system/lib/vndk-sp-28/libutils.so (android::SharedBuffer::release(unsigned int) const+24)
03-14 03:08:32.819 17827 17827 F DEBUG : #06 pc 0000a36d /system/lib/vndk-sp-28/libutils.so (android::String8::~String8()+14)
03-14 03:08:32.819 17827 17827 F DEBUG : #07 pc 00065701 /system/lib/libc.so (__cxa_finalize+132)
03-14 03:08:32.819 17827 17827 F DEBUG : #08 pc 0001827b /system/lib/libc.so (exit+10)
03-14 03:08:32.819 17827 17827 F DEBUG : #09 pc 0008aebf /system/lib/libc.so (__libc_init+50)
03-14 03:08:32.819 17827 17827 F DEBUG : #10 pc 00000b2b /vendor/bin/hw/android.hardware.camera.provider@2.4-service (_start_main+38)
03-14 03:08:32.819 17827 17827 F DEBUG : #11 pc 00000306 <anonymous:f54f5000>

I have submitted a few feedbacks to Google on the app crash pop-up.

Hope someone can help.

Paully

Google Pixel (sailfish)

Android 9 BUILD PQ2A.190205.003

Camera app version 6.1.021.220943556