react-native-camera-kit icon indicating copy to clipboard operation
react-native-camera-kit copied to clipboard

iOS : Crashed session queue in CKCamera setupCaptureSession

Open deepindive opened this issue 2 years ago • 10 comments

Hi everyone~

I got a crash from firebase crashlytics.

It only occured on iOS.

Does anyone know of this crash?

Crashed: session queue 0 libobjc.A.dylib 0x5140 object_getClass + 48 1 Foundation 0xadc8 _NSKeyValueObservationInfoGetObservances + 248 2 Foundation 0x119f4 NSKeyValueWillChange + 176 3 Foundation 0x3fa70 NSKeyValueWillChangeWithPerThreadPendingNotifications + 416 4 AVFCapture 0xdfa0 -[AVCaptureFigVideoDevice _setVideoHDREnabled:forceResetVideoHDRSuspended:] + 48 5 AVFCapture 0xd758 -[AVCaptureSession _updateVideoHDREnabledForDevice:forceResetVideoHDRSuspended:] + 116 6 AVFCapture 0xc708 -[AVCaptureSession _updateDeviceActiveFormatsAndActiveConnections] + 4224 7 AVFCapture 0xa0d70 -[AVCaptureSession _buildAndRunGraph:] + 84 8 AVFCapture 0x6710 -[AVCaptureSession _commitConfiguration] + 144 9 AVFCapture 0x18b1c -[AVCaptureSession addOutput:] + 284 10 qed 0x531cec __31-[CKCamera setupCaptureSession]_block_invoke + 366 (CKCamera.m:366) 11 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release + 32 12 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 13 libdispatch.dylib 0xb694 _dispatch_lane_serial_drain + 672 14 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 384 15 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread + 652 16 libsystem_pthread.dylib 0xdf8 _pthread_wqthread + 288 17 libsystem_pthread.dylib 0xb98 start_wqthread + 8


Crashed: session queue 0 libobjc.A.dylib 0x5140 object_getClass + 48 1 Foundation 0xadc8 _NSKeyValueObservationInfoGetObservances + 248 2 Foundation 0x119f4 NSKeyValueWillChange + 176 3 Foundation 0x3fa70 NSKeyValueWillChangeWithPerThreadPendingNotifications + 416 4 AVFCapture 0xf8a4 -[AVCaptureFigVideoDevice setVideoZoomFactor:] + 484 5 AVFCapture 0xbf70 -[AVCaptureSession _updateDeviceActiveFormatsAndActiveConnections] + 2280 6 AVFCapture 0xa0d70 -[AVCaptureSession _buildAndRunGraph:] + 84 7 AVFCapture 0x6710 -[AVCaptureSession _commitConfiguration] + 144 8 AVFCapture 0x18694 -[AVCaptureSession addInput:] + 528 9 qed 0x531c18 __31-[CKCamera setupCaptureSession]_block_invoke + 356 (CKCamera.m:356) 10 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release + 32 11 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 12 libdispatch.dylib 0xb694 _dispatch_lane_serial_drain + 672 13 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 384 14 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread + 652 15 libsystem_pthread.dylib 0xdf8 _pthread_wqthread + 288 16 libsystem_pthread.dylib 0xb98 start_wqthread + 8

Environment

  • react-camera-kit : 12.1.0
  • react-navigation/native": 6.1.0
  • react-navigation/native-stack": 6.9.5
  • react-navigation/stack": 6.3.9
  • React Native version: 0.70.3
  • Platform(s) (iOS, Android, or both?): only iOS 스크린샷 2023-05-10 오전 9 27 24

deepindive avatar May 09 '23 23:05 deepindive

i have the same issue.

xwartz avatar May 12 '23 01:05 xwartz

i have the same issue.

HowardTangOvO avatar Aug 03 '23 06:08 HowardTangOvO

Can confirm this is still an issue

Wahsner avatar Sep 26 '23 18:09 Wahsner

i've the same issue. anyone found a solution for this error?

"react-native": "0.72.3", "react-native-camera-kit": "^13.0.0"

olcaneristi avatar Nov 07 '23 08:11 olcaneristi

"react-native": "0.72.4",
"react-native-camera-kit": "^13.0.0" 

facing the same issue.

Chimaa123 avatar Nov 08 '23 03:11 Chimaa123

One incident of this in a crash log on one of our beta tester's devices

SmartArray avatar Nov 13 '23 14:11 SmartArray

same issue

trucuit avatar Mar 28 '24 10:03 trucuit

For me, this issue occurs as soon as user declines camera permissions.

Chimaa123 avatar Apr 15 '24 03:04 Chimaa123

Found any solution for this issue?

rishabhHubilo avatar Jun 05 '24 04:06 rishabhHubilo

We are also experiencing this native exception

Screenshot 2024-12-20 at 16 48 38

pranshuchittora avatar Dec 20 '24 11:12 pranshuchittora