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/
351 stars 19 forks source link

Pixel camera crash, affect GOS camera app too #3343

Closed AntsyBoi closed 6 months ago

AntsyBoi commented 6 months ago
type: crash
osVersion: google/panther/panther:14/AP1A.240305.019.A1/2024031100: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

abortMessage: Timed out on NotifyCaptureSessionOpen

signal: 6 (SIGABRT), code -1 (SI_QUEUE)
threadName: binder:16759_5

backtrace:
    /apex/com.android.runtime/lib64/bionic/libc.so (abort+164, pc 64e84)
    /system/lib64/liblog.so (__android_log_default_aborter+12, pc 625c)
    /apex/com.android.vndk.v35/lib64/libbase.so (android::base::LogMessage::~LogMessage()+352, pc 18fd0)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 43e078)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 438660)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 438240)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 435020)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 374f98)
    /apex/com.google.pixel.camera.hal/lib64/libgooglecamerahal.so (android::google_camera_hal::CameraDevice::CreateCameraDeviceSession(std::__1::unique_ptr<android::google_camera_hal::CameraDeviceSession, std::__1::default_delete<android::google_camera_hal::CameraDeviceSession> >*)+80, pc 2aa30)
    /apex/com.google.pixel.camera.hal/bin/hw/android.hardware.camera.provider@2.7-service-google (pc 18cfc)
    /apex/com.google.pixel.camera.hal/lib64/android.hardware.camera.device-V3-ndk.so (aidl::android::hardware::camera::device::_aidl_android_hardware_camera_device_ICameraDevice_onTransact(AIBinder*, unsigned int, AParcel const*, AParcel*)+764, pc 1767c)
    /system/lib64/libbinder_ndk.so (ABBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+136, pc 102b8)
    /system/lib64/libbinder.so (android::IPCThreadState::executeCommand(int)+1364, pc 52cf4)
    /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+704, pc 51c10)
    /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24, pc 51938)
    /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+368, pc 14280)
    /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204, pc cf93c)
    /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64, pc 66730)

I had camera access disabled when starting the app but it didn't even prompt for it to be turned back on. This has never happened before with the same situation. Multiple crash reports are flooding my notifications with the same crash.

thestinger commented 6 months ago

This isn't an OS bug but rather a hardware/firmware bug at a lower level than the OS. Reboot the device. It could also be damaged hardware, but doesn't imply that.