Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in DKCamera.captureImage #69

Open
Korshilovskiy opened this issue Apr 22, 2020 · 3 comments
Open

Crash in DKCamera.captureImage #69

Korshilovskiy opened this issue Apr 22, 2020 · 3 comments

Comments

@Korshilovskiy
Copy link

Recently I received this crash from app on production:

Device

  • Model: iPhone 6
  • Orientation: Unknown
  • RAM free: 112.38 MB
  • Disk free: 41.39 MB
    Operating System
  • Version: 12.1.4 (16D57)
  • Orientation: Portrait
  • Jailbroken: No

Stack trace
Crashed: DKCamera_CaptureSession_Queue
0 DKCamera 0x1022c7bf4 DKCamera.captureImage(_:) + 768 (DKCamera.swift:768)
1 DKCamera 0x1022cee90 partial apply for closure #1 in DKCamera.takePicture() + 721 (DKCamera.swift:721)
2 DKCamera 0x1022bf428 thunk for @escaping @callee_guaranteed () -> () + 4326470696 (:4326470696)
3 libdispatch.dylib 0x190ac56c8 _dispatch_call_block_and_release + 24
4 libdispatch.dylib 0x190ac6484 _dispatch_client_callout + 16
5 libdispatch.dylib 0x190a6dbd0 _dispatch_lane_serial_drain$VARIANT$mp + 592
6 libdispatch.dylib 0x190a6e718 _dispatch_lane_invoke$VARIANT$mp + 432
7 libdispatch.dylib 0x190a76eb8 _dispatch_workloop_worker_thread + 600
8 libsystem_pthread.dylib 0x190ca90dc _pthread_wqthread + 312
9 libsystem_pthread.dylib 0x190cabcec start_wqthread + 4

Any idea what can cause it or how can it be fixed?
Thanks

@GesanTung
Copy link

GesanTung commented Sep 10, 2020

****-Appstore captureImage (DKCamera.swift:768)
1 ****-Appstore captureImage (:0)
2 ****-Appstore _$s8DKCameraAAC11takePictureyyFyycfU_TA (:0)
3 ****-Appstore _$sIeg_IeyB_TR (:0)
4 libdispatch.dylib __dispatch_call_block_and_release + 24
5 libdispatch.dylib __dispatch_client_callout + 16
6 libdispatch.dylib __dispatch_lane_serial_drain$VARIANT$armv81 + 564
7 libdispatch.dylib __dispatch_lane_invoke$VARIANT$armv81 + 396
8 libdispatch.dylib __dispatch_workloop_worker_thread + 580
9 libsystem_pthread.dylib _pthread_wqthread + 272

currentOrientation 可能为空,open var currentOrientation: UIDeviceOrientation!,强转了

@vinayak-nickelfox
Copy link

I have also experienced the same crash:

Crashed: DKCamera_CaptureSession_Queue
0 DKCamera 0xe644 DKCamera.captureImage(_:) + 816 (DKCamera.swift:816)
1 DKCamera 0x12f38 partial apply for closure #1 in DKCamera.takePicture() + 721 (DKCamera.swift:721)
2 DKCamera 0x8830 thunk for @escaping @callee_guaranteed () -> () + 4338927664 (:4338927664)
3 libdispatch.dylib 0x2914 _dispatch_call_block_and_release + 32
4 libdispatch.dylib 0x4660 _dispatch_client_callout + 20
5 libdispatch.dylib 0xbde4 _dispatch_lane_serial_drain + 672
6 libdispatch.dylib 0xc958 _dispatch_lane_invoke + 392
7 libdispatch.dylib 0x171a8 _dispatch_workloop_worker_thread + 656
8 libsystem_pthread.dylib 0x10f4 _pthread_wqthread + 288
9 libsystem_pthread.dylib 0xe94 start_wqthread + 8

@hemant-avaal
Copy link

@vinayak-nickelfox did you find the solution for that crash. I have same crash (DKCamera_CaptureSession_Queue) on line 816

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants