GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
360 stars 21 forks source link

Pixel camera crash #2989

Closed Bubsbilby closed 10 months ago

Bubsbilby commented 10 months ago

On a cold open, the pixel camera sometimes crashes. Trying a second time seems to fix it, and then everything works as expected.

type: crash
osVersion: google/shiba/shiba:14/UQ1A.231205.015/2023123100:user/release-keys
uid: 1000 (u:r:hal_camera_default:s0)
cmdline: /apex/com.google.pixel.camera.hal/bin/hw/android.hardware.camera.provider@2.7-service-google
processUptime: 0s

signal: 11 (SIGSEGV), code 1 (SEGV_MAPERR), faultAddr 0
cause: null pointer dereference
threadName: binder:907_8
MTE: not enabled

backtrace:
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc a2aa64)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc a2768c)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc a15d88)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 91a8f0)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc e6e034)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc e5c504)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 405d3c)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 3810d0)
    /apex/com.google.pixel.camera.hal/lib64/libgooglecamerahalutils.so (android::google_camera_hal::RealtimeProcessBlock::Flush()+56, pc 35658)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 3705c4)
    /apex/com.google.pixel.camera.hal/lib64/libgooglecamerahal.so (android::google_camera_hal::CameraDeviceSession::Flush()+68, pc 3d9e4)
    /apex/com.google.pixel.camera.hal/bin/hw/android.hardware.camera.provider@2.7-service-google (pc 19004)
    /apex/com.google.pixel.camera.hal/lib64/android.hardware.camera.device-V2-ndk.so (aidl::android::hardware::camera::device::_aidl_android_hardware_camera_device_ICameraDeviceSession_onTransact(AIBinder*, unsigned int, AParcel const*, AParcel*)+776, pc 1f298)
    /system/lib64/libbinder_ndk.so (ABBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+140, pc d0bc)
    /system/lib64/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+304, pc 74b00)
    /system/lib64/libbinder.so (android::IPCThreadState::executeCommand(int)+1016, pc 5ed78)
    /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+160, pc 5e8c0)
    /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+112, pc 5f210)
    /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24, pc 69078)
    /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+284, pc 1430c)
    /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204, pc d006c)
    /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64, pc 64db0)
thestinger commented 10 months ago

Doesn't look like a GrapheneOS specific issue, GrapheneOS just reports the crashes.