teslamotors / react-native-camera-kit

A high performance, easy to use, rock solid camera library for React Native apps.
MIT License
2.49k stars 590 forks source link

iOS : Crashed session queue in CKCamera setupCaptureSession #539

Open deepindive opened 1 year ago

deepindive commented 1 year ago

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

xwartz commented 1 year ago

i have the same issue.

HowardTangHw commented 1 year ago

i have the same issue.

Wahsner commented 1 year ago

Can confirm this is still an issue

olcaneristi commented 1 year ago

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

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

Chimaa123 commented 1 year ago
"react-native": "0.72.4",
"react-native-camera-kit": "^13.0.0" 

facing the same issue.

SmartArray commented 1 year ago

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

trucuit commented 7 months ago

same issue

Chimaa123 commented 7 months ago

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

rishabhHubilo commented 5 months ago

Found any solution for this issue?