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

Camera crash 7Pro #3823

Closed Mconnloc closed 1 month ago

Mconnloc commented 1 month ago

When starting default camera app i get black screen followed by crash moments later and:

type: crash
osVersion: google/cheetah/cheetah:14/AP2A.240705.004/2024072800: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:27382_5

backtrace:
    /apex/com.android.runtime/lib64/bionic/libc.so (abort+164, pc 64a24)
    /system/lib64/liblog.so (__android_log_default_aborter+12, pc 627c)
    /apex/com.google.pixel.camera.hal/lib64/libbase.so (android::base::LogMessage::~LogMessage()+352, pc 171a0)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 5db188)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 5f1548)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 5d5088)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 5d4c5c)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 5d1bcc)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 510ff4)
    /apex/com.google.pixel.camera.hal/lib64/liblyric_hwl.so (pc 511580)
    /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 2ae00)
    /apex/com.google.pixel.camera.hal/bin/hw/android.hardware.camera.provider@2.7-service-google (pc 1903c)
    /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*)+712, pc 175a8)
    /system/lib64/libbinder_ndk.so (ABBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+136, pc 10488)
    /system/lib64/libbinder.so (android::IPCThreadState::executeCommand(int)+1324, pc 51a4c)
    /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+684, pc 509cc)
    /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24, pc 50708)
    /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+244, pc 115d4)
    /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204, pc 767ac)
    /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64, pc 67d50)
thestinger commented 1 month ago

Try powering the device off and powering it back on rather than rebooting it. If that doesn't solve it, the hardware is almost certainly broken. This indicates a hardware failure, but it can just be a glitch fixed by powering it off and then back on. Wait a little bit before powering it on again to make sure it fully cuts power.