wordpress-mobile / MediaPicker-iOS

WPMediaPicker is an iOS controller that allows capture and picking of media assets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sometimes capture cell crashes on init.

SergioEstevao opened this issue · comments

Here is the exception stack trace reported by Fabric:

Thread : Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x00000001853fc2d8 __exceptionPreprocess + 132
1  libobjc.A.dylib                0x0000000196c200e4 objc_exception_throw + 60
2  AVFoundation                   0x0000000183c5baa0 -[AVCaptureSession _addInputWithNoConnections:] + 836
3  AVFoundation                   0x0000000183c5b3d4 -[AVCaptureSession addInput:] + 124
4  WordPress                      0x000000010046a0c8 __48-[WPMediaCaptureCollectionViewCell startCapture]_block_invoke (WPMediaCaptureCollectionViewCell.m:80)
5  libdispatch.dylib              0x0000000197271994 _dispatch_call_block_and_release + 24
6  libdispatch.dylib              0x0000000197271954 _dispatch_client_callout + 16
7  libdispatch.dylib              0x000000019727c0a4 _dispatch_queue_drain + 1448
8  libdispatch.dylib              0x0000000197274a5c _dispatch_queue_invoke + 132
9  libdispatch.dylib              0x000000019727e318 _dispatch_root_queue_drain + 720
10 libdispatch.dylib              0x000000019727fc4c _dispatch_worker_thread3 + 108
11 libsystem_pthread.dylib        0x000000019745122c _pthread_wqthread + 816
12 libsystem_pthread.dylib        0x0000000197450ef0 start_wqthread + 4