crdroidandroid / issue_tracker

all crDroid related issues should go here
12 stars 1 forks source link

Several applications trying to access the camera crash after last update #188

Closed yennor closed 1 year ago

yennor commented 1 year ago

Issue type

Other

Device

Poco X3 NFC (surya)

crDroid version

crDroid 9

Exact version / Build date

9.5/2023-05-19

Bug description

Several application which try to access the camera crash. This wasn't the case in the previous version 9.5/2023-05-08. The in this release newly added miui camera works, also some other application which access the camera. I've added the crashlog of 3 different programs.

Steps to reproduce

  1. Open eg. Linphone
  2. see it crashing

Relevant log (logcat/build log)

05-24 11:35:43.092   873   873 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7de5337860 in tid 873 (provider@2.4-se), pid 873 (provider@2.4-se)
05-24 11:35:43.423  7303  7303 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-24 11:35:43.423  7303  7303 F DEBUG   : crDroid Version: '9.5'
05-24 11:35:43.423  7303  7303 F DEBUG   : Build fingerprint: 'POCO/surya_eea/surya:12/RKQ1.211019.001/V14.0.4.0.SJGEUXM:user/release-keys'
05-24 11:35:43.423  7303  7303 F DEBUG   : Revision: '0'
05-24 11:35:43.423  7303  7303 F DEBUG   : ABI: 'arm64'
05-24 11:35:43.423  7303  7303 F DEBUG   : Timestamp: 2023-05-24 11:35:43.157878457-0500
05-24 11:35:43.423  7303  7303 F DEBUG   : Process uptime: 0s
05-24 11:35:43.423  7303  7303 F DEBUG   : Cmdline: /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64
05-24 11:35:43.423  7303  7303 F DEBUG   : pid: 873, tid: 873, name: provider@2.4-se  >>> /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64 <<<
05-24 11:35:43.423  7303  7303 F DEBUG   : uid: 1047
05-24 11:35:43.423  7303  7303 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000007de5337860
05-24 11:35:43.423  7303  7303 F DEBUG   :     x0  0000000000000000  x1  000000000000002f  x2  0000000000000000  x3  0000000000000000
05-24 11:35:43.423  7303  7303 F DEBUG   :     x4  0000000000000000  x5  0000000000000000  x6  0000000000000000  x7  0000000000000000
05-24 11:35:43.423  7303  7303 F DEBUG   :     x8  0000007de5335aa8  x9  0000000000000000  x10 0000000000009300  x11 00000075e5337a8c
05-24 11:35:43.423  7303  7303 F DEBUG   :     x12 0000000000000000  x13 0000000000000000  x14 0000000000000000  x15 0000000000000000
05-24 11:35:43.423  7303  7303 F DEBUG   :     x16 000000000000000f  x17 0000000000000000  x18 00000000000003fd  x19 0000000000001fdc
05-24 11:35:43.423  7303  7303 F DEBUG   :     x20 00000075e5335ab0  x21 00000000ffffffff  x22 00000075e5331178  x23 00000075e533b3f8
05-24 11:35:43.423  7303  7303 F DEBUG   :     x24 00000076627dc360  x25 00000076f890c000  x26 0000000000000000  x27 00000076f890c000
05-24 11:35:43.423  7303  7303 F DEBUG   :     x28 0000000000000000  x29 0000007fef6e6260
05-24 11:35:43.423  7303  7303 F DEBUG   :     lr  00000075e51349b4  sp  0000007fef6e6260  pc  00000075e5134c24  pst 0000000080000000
05-24 11:35:43.423  7303  7303 F DEBUG   : backtrace:
05-24 11:35:43.423  7303  7303 F DEBUG   :       #00 pc 0000000000073c24  /vendor/lib64/hw/com.qti.chi.override.so (chi_override_flush(camera3_device const*)+652) (BuildId: 65b2f80e798c0c4ecd0d3a0bbe6e8a45)
05-24 11:35:43.423  7303  7303 F DEBUG   :       #01 pc 000000000024ea6c  /vendor/lib64/hw/camera.qcom.so (CamX::flush(camera3_device const*)+412) (BuildId: 08d2b6f917e756f38601b716df201696)
05-24 11:35:43.423  7303  7303 F DEBUG   :       #02 pc 0000000000026bd0  /vendor/lib64/camera.device@3.2-impl.so (android::hardware::camera::device::V3_2::implementation::CameraDeviceSession::flush()+140) (BuildId: 9a1611a33c27306c53c172e1ae1f49e5)
05-24 11:35:43.423  7303  7303 F DEBUG   :       #03 pc 000000000002b9f0  /vendor/lib64/android.hardware.camera.device@3.2.so (android::hardware::camera::device::V3_2::BnHwCameraDeviceSession::_hidl_flush(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+144) (BuildId: 9655f60726730591033f71794a57e4da)
05-24 11:35:43.423  7303  7303 F DEBUG   :       #04 pc 000000000003393c  /vendor/lib64/android.hardware.camera.device@3.5.so (android::hardware::camera::device::V3_5::BnHwCameraDeviceSession::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+1596) (BuildId: 0e54d1f450c9ca0afec679bbfc8c8edc)
05-24 11:35:43.423  7303  7303 F DEBUG   :       #05 pc 0000000000091d6c  /apex/com.android.vndk.v33/lib64/libhidlbase.so (android::hardware::BHwBinder::transact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+156) (BuildId: d5ab0ac6f41f3041362d4f4be2a4324f)
05-24 11:35:43.423  7303  7303 F DEBUG   :       #06 pc 00000000000975c0  /apex/com.android.vndk.v33/lib64/libhidlbase.so (android::hardware::IPCThreadState::executeCommand(int)+2784) (BuildId: d5ab0ac6f41f3041362d4f4be2a4324f)
05-24 11:35:43.423  7303  7303 F DEBUG   :       #07 pc 0000000000096980  /apex/com.android.vndk.v33/lib64/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+224) (BuildId: d5ab0ac6f41f3041362d4f4be2a4324f)
05-24 11:35:43.423  7303  7303 F DEBUG   :       #08 pc 0000000000097b60  /apex/com.android.vndk.v33/lib64/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+176) (BuildId: d5ab0ac6f41f3041362d4f4be2a4324f)
05-24 11:35:43.423  7303  7303 F DEBUG   :       #09 pc 0000000000001120  /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64 (main+216) (BuildId: ef2021469868938ab45e08cf011e9f09)
05-24 11:35:43.423  7303  7303 F DEBUG   :       #10 pc 0000000000091d80  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: 0d2cf60973bce2665d820fa1afe80493)
05-24 11:35:57.593  6803  6803 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1 in tid 6803 (org.linphone), pid 6803 (org.linphone)
05-24 11:35:57.995  7487  7487 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-24 11:35:57.995  7487  7487 F DEBUG   : crDroid Version: '9.5'
05-24 11:35:57.995  7487  7487 F DEBUG   : Build fingerprint: 'POCO/surya_eea/surya:12/RKQ1.211019.001/V14.0.4.0.SJGEUXM:user/release-keys'
05-24 11:35:57.995  7487  7487 F DEBUG   : Revision: '0'
05-24 11:35:57.995  7487  7487 F DEBUG   : ABI: 'arm64'
05-24 11:35:57.995  7487  7487 F DEBUG   : Timestamp: 2023-05-24 11:35:57.660792401-0500
05-24 11:35:57.995  7487  7487 F DEBUG   : Process uptime: 61s
05-24 11:35:57.995  7487  7487 F DEBUG   : Cmdline: org.linphone
05-24 11:35:57.995  7487  7487 F DEBUG   : pid: 6803, tid: 6803, name: org.linphone  >>> org.linphone <<<
05-24 11:35:57.995  7487  7487 F DEBUG   : uid: 10436
05-24 11:35:57.995  7487  7487 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000001
05-24 11:35:57.995  7487  7487 F DEBUG   : Cause: null pointer dereference
05-24 11:35:57.995  7487  7487 F DEBUG   :     x0  0000007795545ec8  x1  00000077aa2c8000  x2  00000077aa2c8000  x3  0000000000000000
05-24 11:35:57.995  7487  7487 F DEBUG   :     x4  0000007ff836eae0  x5  00000078597a9630  x6  0000007866d0d000  x7  0000000000012e2a
05-24 11:35:57.995  7487  7487 F DEBUG   :     x8  0000000000000001  x9  962d9f17499401ec  x10 0000000000000000  x11 0000000000000000
05-24 11:35:57.995  7487  7487 F DEBUG   :     x12 ffffffffffffffff  x13 0000000000000032  x14 0000007ff836fee8  x15 00002ef10279adb2
05-24 11:35:57.995  7487  7487 F DEBUG   :     x16 00000077aa2fd088  x17 000000785132a590  x18 000000786683c000  x19 0000000000000000
05-24 11:35:57.995  7487  7487 F DEBUG   :     x20 0000007865a46000  x21 0000007795551438  x22 0000007795545e00  x23 0000007795545ec0
05-24 11:35:57.995  7487  7487 F DEBUG   :     x24 0000007795551430  x25 00000077955515c0  x26 0000007865a46000  x27 0000000000000000
05-24 11:35:57.995  7487  7487 F DEBUG   :     x28 00000077aa2fc008  x29 0000007ff8370390
05-24 11:35:57.995  7487  7487 F DEBUG   :     lr  00000077aa2dd6b4  sp  0000007ff8370350  pc  00000077aa2dd790  pst 0000000060000000
05-24 11:35:57.995  7487  7487 F DEBUG   : backtrace:
05-24 11:35:57.995  7487  7487 F DEBUG   :       #00 pc 000000000001d790  /system/lib64/libcamera2ndk.so (android::acam::CameraManagerGlobal::onStatusChangedLocked(int, android::String8 const&, android::String8 const&)+320) (BuildId: b7fe9d55e1cb2d3d36d56a0a7674e8ec)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #01 pc 000000000001c174  /system/lib64/libcamera2ndk.so (android::acam::CameraManagerGlobal::getCameraServiceLocked()+1548) (BuildId: b7fe9d55e1cb2d3d36d56a0a7674e8ec)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #02 pc 00000000000220a0  /system/lib64/libcamera2ndk.so (android::acam::CameraManagerGlobal::getCameraIdList(std::__1::vector<android::String8, std::__1::allocator<android::String8> >*)+92) (BuildId: b7fe9d55e1cb2d3d36d56a0a7674e8ec)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #03 pc 00000000000223b4  /system/lib64/libcamera2ndk.so (ACameraManager::getCameraIdList(ACameraIdList**)+104) (BuildId: b7fe9d55e1cb2d3d36d56a0a7674e8ec)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #04 pc 000000000000f1c8  /system/lib64/libcamera2ndk.so (ACameraManager_getCameraIdList.cfi+48) (BuildId: b7fe9d55e1cb2d3d36d56a0a7674e8ec)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #05 pc 0000000000003870  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/base.apk (BuildId: 10eab7461cde4f165a3397f3507577935a45341e)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #06 pc 00000000000b6a80  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/base.apk!libmediastreamer.so (BuildId: 8c746b9e5ced61c90be650083bfc7451acee6d4f)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #07 pc 00000000000b694c  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/base.apk!libmediastreamer.so (ms_factory_load_plugins_from_list+84) (BuildId: 8c746b9e5ced61c90be650083bfc7451acee6d4f)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #08 pc 00000000000b6e00  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/base.apk!libmediastreamer.so (ms_factory_init_plugins+192) (BuildId: 8c746b9e5ced61c90be650083bfc7451acee6d4f)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #09 pc 00000000000e6a94  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/base.apk!libmediastreamer.so (ms_factory_new_with_voip_and_directories+64) (BuildId: 8c746b9e5ced61c90be650083bfc7451acee6d4f)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #10 pc 00000000009b7804  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/base.apk!liblinphone.so (BuildId: de7c96f3506768f91b8e459a78717aa3dd720b28)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #11 pc 00000000009b834c  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/base.apk!liblinphone.so (_linphone_core_new_with_config(_LinphoneCoreCbs*, _LpConfig*, void*, void*, unsigned char, unsigned char)+168) (BuildId: de7c96f3506768f91b8e459a78717aa3dd720b28)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #12 pc 0000000000a57a38  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/base.apk!liblinphone.so (Java_org_linphone_core_FactoryImpl_createCoreWithConfig3+172) (BuildId: de7c96f3506768f91b8e459a78717aa3dd720b28)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #13 pc 000000000021a184  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #14 pc 000000000020a910  /apex/com.android.art/lib64/libart.so (nterp_helper+5648) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.995  7487  7487 F DEBUG   :       #15 pc 0000000000386d9a  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/oat/arm64/base.vdex (org.linphone.core.FactoryImpl.createCoreWithConfig+6)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #16 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #17 pc 000000000036732e  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/oat/arm64/base.vdex (org.linphone.core.c.<init>+526)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #18 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #19 pc 000000000030acf0  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/oat/arm64/base.vdex (org.linphone.LinphoneApplication$a.d+184)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #20 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #21 pc 000000000030ac1c  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/oat/arm64/base.vdex (org.linphone.LinphoneApplication$a.e+32)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #22 pc 0000000000209ae4  /apex/com.android.art/lib64/libart.so (nterp_helper+2020) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #23 pc 000000000030b42c  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/oat/arm64/base.vdex (org.linphone.activities.a.onCreate+68)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #24 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #25 pc 0000000000316f24  /data/app/~~V_F_i3j-ncX4wrRKjt6dsQ==/org.linphone-pRdBW8X5PifhtvRHUgdFJw==/oat/arm64/base.vdex (org.linphone.activities.main.MainActivity.onCreate+0)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #26 pc 00000000004781bc  /system/framework/arm64/boot-framework.oat (android.app.Activity.performCreate+876) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #27 pc 00000000001f24d8  /system/framework/arm64/boot-framework.oat (android.app.Instrumentation.callActivityOnCreate+88) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #28 pc 00000000002cd620  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.performLaunchActivity+2672) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #29 pc 00000000002d45d4  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.handleLaunchActivity+516) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #30 pc 00000000004859ac  /system/framework/arm64/boot-framework.oat (android.app.servertransaction.LaunchActivityItem.execute+492) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #31 pc 0000000000221eb4  /system/framework/arm64/boot-framework.oat (android.app.servertransaction.TransactionExecutor.executeCallbacks+596) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #32 pc 0000000000221bd8  /system/framework/arm64/boot-framework.oat (android.app.servertransaction.TransactionExecutor.execute+776) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #33 pc 00000000002b6084  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread$H.handleMessage+1204) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #34 pc 00000000004e2610  /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+192) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #35 pc 00000000004e5870  /system/framework/arm64/boot-framework.oat (android.os.Looper.loopOnce+1168) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #36 pc 00000000004e5340  /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+560) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #37 pc 00000000002cbd24  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.main+1236) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #38 pc 0000000000210a80  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #39 pc 0000000000280b98  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+248) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #40 pc 00000000006e4948  /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1800) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #41 pc 000000000063cbb0  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+48) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #42 pc 0000000000098148  /system/framework/arm64/boot.oat (art_jni_trampoline+120) (BuildId: d4e3fc63325d6fc45f90f7035748c0e2501efaa6)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #43 pc 00000000007b2d20  /system/framework/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+144) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #44 pc 00000000007bc790  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+3760) (BuildId: 207332cae451374094f4792a52735d303d2e98fa)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #45 pc 0000000000210a80  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #46 pc 0000000000280b98  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+248) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #47 pc 00000000006e5504  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+1156) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #48 pc 00000000006e582c  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #49 pc 0000000000595138  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+664) (BuildId: 5264c4f24acb08c77348855ba149f481)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #50 pc 00000000000ac548  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120) (BuildId: 917acd994b67b6ce9b7720ab16cc8b2a)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #51 pc 00000000000bade0  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+1136) (BuildId: 917acd994b67b6ce9b7720ab16cc8b2a)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #52 pc 0000000000002438  /system/bin/app_process64 (main+984) (BuildId: 6eda52da28b1a6a7b8eed7e1f57808d9)
05-24 11:35:57.996  7487  7487 F DEBUG   :       #53 pc 0000000000091d80  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: 0d2cf60973bce2665d820fa1afe80493)
05-24 11:36:06.026  7531  7531 E AndroidRuntime: FATAL EXCEPTION: main
05-24 11:36:06.026  7531  7531 E AndroidRuntime: Process: com.particlesdevs.photoncamera, PID: 7531
05-24 11:36:06.026  7531  7531 E AndroidRuntime: java.lang.IllegalArgumentException: getCameraCharacteristics:783: Unable to retrieve camera characteristics for unknown device 2: No such file or directory (-2)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:1448)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:634)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at com.particlesdevs.photoncamera.capture.CaptureController.fillInCameraCharateristics(CaptureController.java:569)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at com.particlesdevs.photoncamera.capture.CaptureController.<init>(CaptureController.java:558)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at com.particlesdevs.photoncamera.ui.camera.CameraFragment.onViewCreated(CameraFragment.java:247)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:3019)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:551)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1840)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1758)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1701)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2849)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java:2784)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:262)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:478)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:246)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1549)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.app.Activity.performStart(Activity.java:8384)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3676)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:224)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:204)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2304)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:201)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:288)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7896)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:854)
05-24 11:36:06.026  7531  7531 E AndroidRuntime: Caused by: android.os.ServiceSpecificException: getCameraCharacteristics:783: Unable to retrieve camera characteristics for unknown device 2: No such file or directory (-2) (code 3)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.os.Parcel.createExceptionOrNull(Parcel.java:3042)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.os.Parcel.createException(Parcel.java:3012)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:2995)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:2937)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:766)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:613)
05-24 11:36:06.026  7531  7531 E AndroidRuntime:        ... 29 more

Screenshots or videos

No response

Solution

No response

Additional context

I'm using magisk and microg

Acknowledgements

GtrCraft commented 1 year ago

Try the latest release, all my in app camera apps work (telegram, whatsapp, instagram and settings)