Skip to content

Issue: SocketCam crashes #24

@doubleo2

Description

@doubleo2

Your Socket Mobile Developer ID

BB57D8E1-F911-47BA-B510-693BE162686A

Environment

OS Version: 18.0.0, 18.3.0, 18.3.1
CaptureSDK Version: 1.9.118
Device: iPhone 11, 12, 16

Using SocketCam custom view

Description

After updating CaptureSDK, launching SocketCam causes intermittent crashes

Steps to Reproduce

  1. Launch SocketCam
  2. If it starts normally, close it and return to step 1
  3. Observe crash

Expected Behavior

The app doesn't crash

Actual Behavior

The app crashes

Additional Context

Fatal Exception: NSGenericException
*** -[AVCaptureSession startRunning] startRunning may not be called between calls to beginConfiguration and commitConfiguration
          Fatal Exception: NSGenericException
0  CoreFoundation                 0x8408c (Missing UUID 47427277ee153c17ad686886b0380b5e)
1  libobjc.A.dylib                0x172e4 objc_exception_throw
2  AVFCapture                     0x5b8f0 -[AVCaptureSession startRunning]
3  CaptureSDK                     0x44fb8 (Missing UUID e1e6c4e71ff5382887cded88fee68bdb)
4  libdispatch.dylib              0x2370 _dispatch_call_block_and_release
5  libdispatch.dylib              0x40d0 _dispatch_client_callout
6  libdispatch.dylib              0xb6d8 _dispatch_lane_serial_drain
7  libdispatch.dylib              0xc1e0 _dispatch_lane_invoke
8  libdispatch.dylib              0x17258 _dispatch_root_queue_drain_deferred_wlh
9  libdispatch.dylib              0x16aa4 _dispatch_workloop_worker_thread
10 libsystem_pthread.dylib        0x4c7c _pthread_wqthread
11 libsystem_pthread.dylib        0x1488 start_wqthread

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions