We found sometime it will crash at [AVCaptureSession addInput] since iOS 10.1.1, never reported for previous OS version, here is the detailed callstacks:
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
0 libxpc.dylib 0x189346e08 xpc_get_type + 474
1 libxpc.dylib 0x18934d4c0 xpc_dictionary_set_mach_send + 32
2 ********* 0x19175d768 __captureSourceRemote_copyClock_block_invoke + 96
3 CoreMedia 0x18cc1fa90 __FigAudioDeviceClockRemoteCreateForServerObject_block_invoke + 24
4 CoreMedia 0x18cc000c4 FigRPCCreateServerConnectionForObject + 564
5 CoreMedia 0x18cc1fa14 FigAudioDeviceClockRemoteCreateForServerObject + 216
6 ********* 0x19175d340 captureSourceRemote_CopyProperty + 520
7 libdispatch.dylib 0x1891011c0 _dispatch_client_callout + 16
8 libdispatch.dylib 0x18910e860 _dispatch_barrier_sync_f_invoke + 84
9 AVFoundation 0x1919fe010 -[AVCaptureFigVideoDevice _copyFigCaptureSourceProperty:] + 144
10 AVFoundation 0x1919fd8bc -[AVCaptureFigVideoDevice deviceClock] + 32
11 AVFoundation 0x191a05a1c -[AVCaptureInputPort initWithInput:mediaType:formatDescription:enabled:] + 344
12 AVFoundation 0x191a05820 +[AVCaptureInputPort portWithInput:mediaType:formatDescription:enabled:] + 84
13 AVFoundation 0x1919eae58 -[AVCaptureDeviceInput ports] + 416
14 AVFoundation 0x191a10448 -[AVCaptureSession _addInputWithNoConnections:exceptionReason:] + 188
15 AVFoundation 0x191a0ff88 -[AVCaptureSession addInput:] + 124
# OS Version: 10.1.1 (14B150)
# Device: iPhone 7 Plus