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

Smartphone Camera not working after latest 21.2 Update #3264

Closed Letgamer closed 8 months ago

Letgamer commented 8 months ago

The Gcam App in the Main Profile without Google Services on my Pixel 7 crashes like every 3 Minutes or when I open the App:

type: crash
osVersion: google/panther/panther:14/UQ1A.240205.002/2024022300: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:2268_1

backtrace:
    /apex/com.android.runtime/lib64/bionic/libc.so (abort+164, pc 62ea4)
    /system/lib64/liblog.so (__android_log_default_aborter+12, pc 63ec)
    /apex/com.android.vndk.v34/lib64/libbinder.so (android::base::LogMessage::~LogMessage()+352, pc b1cc0)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 3c790c)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 3c28b8)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 3c24a4)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 3bebd0)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 33fbf8)
    /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 348c0)
    /apex/com.google.pixel.camera.hal/bin/hw/android.hardware.camera.provider@2.7-service-google (pc 1504c)
    /apex/com.google.pixel.camera.hal/lib64/android.hardware.camera.device-V2-ndk.so (aidl::android::hardware::camera::device::_aidl_android_hardware_camera_device_ICameraDevice_onTransact(AIBinder*, unsigned int, AParcel const*, AParcel*)+408, pc 186f8)
    /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 cfa2c)
    /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64, pc 64770)
Letgamer commented 8 months ago

I realized it is not only the Gcam, but also the native Camera App and in Snapchat, the Camera was not working at all, only a restart fixed the error, but this should not happen using the stable channel

thestinger commented 8 months ago

Appears to be a hardware issue. You should check if it impacts both cameras or only one.

thestinger commented 8 months ago

Likely caused by hardware damage.