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

[BUG] Crash in ImageScanningConcurrencyManager.__deallocating_deinit #2670

Open
nalexn opened this issue Jun 19, 2023 · 0 comments
Open

[BUG] Crash in ImageScanningConcurrencyManager.__deallocating_deinit #2670

nalexn opened this issue Jun 19, 2023 · 0 comments

Comments

@nalexn
Copy link

nalexn commented Jun 19, 2023

Summary

Stripe identity verification is crashing for some of our users.

EXC_BREAKPOINT ImageScanningConcurrencyManager.__deallocating_deinit
BUG IN CLIENT OF LIBDISPATCH: Semaphore object deallocated while in use

Stack trace:

Crashed background thread:
0
libdispatch.dylib
__dispatch_semaphore_dispose$VARIANT$mp.cold.1
1
libdispatch.dylib
__dispatch_semaphore_dispose$VARIANT$mp
2
libdispatch.dylib
__dispatch_dispose$VARIANT$mp
3
myapp
<compiler-generated>
ImageScanningConcurrencyManager.__deallocating_deinit
4
libswiftCore.dylib
__swift_release_dealloc
5
libswiftCore.dylib
bool swift::HeapObjectSideTableEntry::decrementStrong
6
myapp
<compiler-generated>
closure #3 in ImageScanningConcurrencyManager.scanImage
7
myapp
<compiler-generated>
thunk for () -> ()
8
libdispatch.dylib
__dispatch_call_block_and_release
9
libdispatch.dylib
__dispatch_client_callout
10
libdispatch.dylib
__dispatch_continuation_pop$VARIANT$mp
11
libdispatch.dylib
__dispatch_async_redirect_invoke
12
libdispatch.dylib
__dispatch_root_queue_drain
13
libdispatch.dylib
__dispatch_worker_thread2
14
libsystem_pthread.dylib
__pthread_wqthread

---

Main thread:

0
libobjc.A.dylib
weak_entry_for_referent
1
libobjc.A.dylib
_weak_register_no_lock
2
libobjc.A.dylib
_objc_storeWeak
3
Foundation
-[NSConcreteMapTable assign:key:value:isNew:]
4
Foundation
-[NSConcreteMapTable setObject:forKey:]
5
AVFCapture
+[AVCaptureSession _startConfiguringProperty:forDevice:]
6
AVFCapture
-[AVCaptureSession _updateVideoHDREnabledForDevice:forceResetVideoHDRSuspended:]
7
AVFCapture
-[AVCaptureSession _updateDeviceActiveFormatsAndActiveConnections]
8
AVFCapture
-[AVCaptureSession _buildAndRunGraph:]
9
AVFCapture
-[AVCaptureSession _commitConfiguration]
10
AVFCapture
-[AVCaptureVideoPreviewLayer dealloc]
11
Foundation
_NSKVODeallocate
12
QuartzCore
CA::Layer::free_transaction
13
QuartzCore
CA::Transaction::commit()
14
QuartzCore
CA::Transaction::flush_as_runloop_observer
15
CoreFoundation
___CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
16
CoreFoundation
___CFRunLoopDoObservers
17
CoreFoundation
___CFRunLoopRun
18
CoreFoundation
_CFRunLoopRunSpecific
19
GraphicsServices
_GSEventRunModal
20
UIKitCore
-[UIApplication _run]
21
UIKitCore
_UIApplicationMain
22
myapp
AppDelegate.swift:17:13
main
23
dyld
start

iOS version

A wide range of users from iOS 15 through iOS 16

Installation method

SPM

SDK version

23.9.1

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

No branches or pull requests

2 participants