software-mansion / react-native-svg

SVG library for React Native, React Native Web, and plain React web projects.
MIT License
7.42k stars 1.12k forks source link

iOS: Crash on setCenter #1655

Closed elliottkember closed 2 months ago

elliottkember commented 2 years ago

Bug

Hello friends! I have a random crash when bringing the application to the foreground. It seems to be related to [UIView setCenter].

I can't replicate this in development with a debugger attached, and I can't figure out what SVGs I am trying to render that are causing this problem. I'm relying on TestFlight crashes from beta users, and I'm seeing this crash come through often.

The line that seems to be crashing is here: https://github.com/react-native-svg/react-native-svg/blob/develop/apple/Elements/RNSVGImage.m#L168

Incident Identifier: 79F31DD8-C63E-44B1-93A1-4FE347F64E75
Hardware Model:      iPhone13,3
Process:             myapp [5501]
Path:                /private/var/containers/Bundle/Application/28E1ACEA-E38A-41CA-B108-4AEE71E54B0D/myapp.app/myapp
Identifier:          ai.myapp.Capture
Version:             4.32.17 (43217)
AppStoreTools:       13A227
AppVariant:          1:iPhone13,3:15
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           ai.myapp.Capture [2780]

Date/Time:           2021-10-12 08:29:26.9317 -0700
Launch Time:         2021-10-12 08:28:34.3271 -0700
OS Version:          iPhone OS 15.0.1 (19A348)
Release Type:        User
Baseband Version:    2.09.10
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage

Thread 0 name:
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x00000001b958f204 __ulock_wait + 8
1   libsystem_platform.dylib        0x00000001f2f789a4 _os_unfair_lock_lock_slow + 196 (lock.c:578)
2   QuartzCore                      0x000000018683c57c CALayerGetSuperlayer + 72 (x-atomic.h:208)
3   UIKitCore                       0x00000001850dd060 -[UIView(UIKitManual) superview] + 56 (UIView_NonARC.m:124)
4   UIKitCore                       0x00000001850e8b0c -[UIView setCenter:] + 164 (UIView.m:8542)
5   myapp                       0x0000000100b7ef00 -[RNSVGImage renderLayerTo:rect:] + 964 (RNSVGImage.m:168)
6   myapp                       0x0000000100b8ee90 -[RNSVGRenderable renderTo:rect:] + 1252 (RNSVGRenderable.m:282)
7   myapp                       0x0000000100b9b908 -[RNSVGUse renderLayerTo:rect:] + 508 (RNSVGUse.m:81)
8   myapp                       0x0000000100b8ee90 -[RNSVGRenderable renderTo:rect:] + 1252 (RNSVGRenderable.m:282)
9   myapp                       0x0000000100b7d174 __33-[RNSVGGroup renderGroupTo:rect:]_block_invoke + 784 (RNSVGGroup.m:57)
10  myapp                       0x0000000100b84978 -[RNSVGNode traverseSubviews:] + 196 (RNSVGNode.m:569)
11  myapp                       0x0000000100b7cb44 -[RNSVGGroup renderGroupTo:rect:] + 196 (RNSVGGroup.m:41)
12  myapp                       0x0000000100b8ee90 -[RNSVGRenderable renderTo:rect:] + 1252 (RNSVGRenderable.m:282)
13  myapp                       0x0000000100b88524 0x100a00000 + 1606948
14  CoreGraphics                    0x0000000184a7271c CGPatternDrawInContextDelegate + 68 (CGPattern.c:334)
15  CoreGraphics                    0x0000000184a47f2c build_tile + 2484 (RIPColor.c:186)
16  CoreGraphics                    0x00000001849effc8 ripc_GetColor + 2648 (RIPColor.c:838)
17  CoreGraphics                    0x00000001849b5250 ripc_Render + 164 (RIPContext.c:289)
18  CoreGraphics                    0x00000001849ed928 ripc_DrawRects + 444 (RIPContext.c:1877)
19  CoreGraphics                    0x00000001849d8d88 CG::DisplayList::executeEntries(std::__1::__wrap_iter<std::__1::unique_ptr<CG::DisplayListEntry const, std::__1::default_delete<CG::DisplayListEntry const> >*>, std::__1::__wrap_iter<std::__1::uniq... + 4576 (CGContextDelegate.c:411)
20  CoreGraphics                    0x00000001849cdc04 CGDisplayListDrawInContextDelegate + 476 (DisplayList.cpp:2132)
21  QuartzCore                      0x000000018684a3d0 CABackingStoreUpdate_ + 460 (CABackingStore.cpp:1357)
22  QuartzCore                      0x000000018688ce60 invocation function for block in CA::Layer::display_() + 64 (CALayer.mm:9561)
23  QuartzCore                      0x000000018688eae0 -[CALayer _display] + 1732 (CALayer.mm:9559)
24  QuartzCore                      0x000000018682ebc4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 428 (CALayer.mm:2445)
25  QuartzCore                      0x00000001868430b0 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 500 (CAContextInternal.mm:2584)
26  QuartzCore                      0x000000018684c174 CA::Transaction::commit() + 680 (CATransactionInternal.mm:449)
27  UIKitCore                       0x00000001852ad0e8 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 44 (UIApplication.m:11437)
28  CoreFoundation                  0x0000000182b1d934 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28 (CFRunLoop.c:1820)
29  CoreFoundation                  0x0000000182b1e830 __CFRunLoopDoBlocks + 412 (CFRunLoop.c:1862)
30  CoreFoundation                  0x0000000182ab6818 __CFRunLoopRun + 840 (CFRunLoop.c:2953)
31  CoreFoundation                  0x0000000182aca3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
32  GraphicsServices                0x000000019e2db38c GSEventRunModal + 164 (GSEvent.c:2200)
33  UIKitCore                       0x00000001854700bc -[UIApplication _run] + 1100 (UIApplication.m:3457)
34  UIKitCore                       0x00000001851edbe8 UIApplicationMain + 2124 (UIApplication.m:5013)
35  myapp                       0x0000000100a07f28 main + 88 (main.m:16)
36  dyld                            0x0000000101be5a24 start + 520 (dyldMain.cpp:876)

Thread 1 name:
Thread 1:
0   libsystem_kernel.dylib          0x00000001b958f230 select$DARWIN_EXTSN + 8
1   myapp                       0x0000000100af9db8 Insta360Socket.doConnect() + 516 (Insta360Socket.swift:132)
2   myapp                       0x0000000100afd324 closure #1 in closure #1 in Insta360Socket.start(onConnect:) + 44 (Insta360Socket.swift:53)
3   myapp                       0x0000000100afd324 partial apply for closure #1 in closure #1 in Insta360Socket.start(onConnect:) + 60 (<compiler-generated>:0)
4   myapp                       0x0000000100a1fd7c thunk for @escaping @callee_guaranteed () -> () + 20 (<compiler-generated>:0)
5   libdispatch.dylib               0x00000001827b4c04 _dispatch_call_block_and_release + 32 (init.c:1516)
6   libdispatch.dylib               0x00000001827b6950 _dispatch_client_callout + 20 (object.m:560)
7   libdispatch.dylib               0x00000001827be0ac _dispatch_lane_serial_drain + 664 (inline_internal.h:2597)
8   libdispatch.dylib               0x00000001827bec10 _dispatch_lane_invoke + 392 (queue.c:3937)
9   libdispatch.dylib               0x00000001827c9318 _dispatch_workloop_worker_thread + 656 (queue.c:6732)
10  libsystem_pthread.dylib         0x00000001f2f811b0 _pthread_wqthread + 288 (pthread.c:2495)
11  libsystem_pthread.dylib         0x00000001f2f80f50 start_wqthread + 8

Thread 2:
0   libsystem_pthread.dylib         0x00000001f2f80f48 start_wqthread + 0

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib          0x00000001b958f204 __ulock_wait + 8
1   libsystem_platform.dylib        0x00000001f2f789a4 _os_unfair_lock_lock_slow + 196 (lock.c:578)
2   QuartzCore                      0x0000000186871350 CA::Layer::ancestor_context_id(CA::Transaction*) const + 56 (x-atomic.h:208)
3   QuartzCore                      0x000000018686d4a0 CA::Layer::retain_context() + 56 (CALayer.mm:829)
4   QuartzCore                      0x000000018690af88 -[CALayer(CALayerPrivate) context] + 24 (CALayer.mm:10793)
5   AVFCore                         0x000000018be6fc5c -[AVPlayerLayer _displaySize] + 96 (AVPlayerLayer.m:1798)
6   AVFCore                         0x000000018be6fa34 -[AVPlayer _maximumAVPlayerLayerDisplaySize] + 228 (AVPlayer.m:6912)
7   AVFCore                         0x000000018be6f878 __51-[AVPlayer _evaluateDisplaySizeOfAllAttachedLayers]_block_invoke + 60 (AVPlayer.m:6928)
8   libdispatch.dylib               0x00000001827b4c04 _dispatch_call_block_and_release + 32 (init.c:1516)
9   libdispatch.dylib               0x00000001827b6950 _dispatch_client_callout + 20 (object.m:560)
10  libdispatch.dylib               0x00000001827be0ac _dispatch_lane_serial_drain + 664 (inline_internal.h:2597)
11  libdispatch.dylib               0x00000001827bec10 _dispatch_lane_invoke + 392 (queue.c:3937)
12  libdispatch.dylib               0x00000001827c9318 _dispatch_workloop_worker_thread + 656 (queue.c:6732)
13  libsystem_pthread.dylib         0x00000001f2f811b0 _pthread_wqthread + 288 (pthread.c:2495)
14  libsystem_pthread.dylib         0x00000001f2f80f50 start_wqthread + 8

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cefe48 0x101c6c000 + 540232
4   FullStory                       0x0000000101c87134 0x101c6c000 + 110900
5   FullStory                       0x0000000101c8a274 0x101c6c000 + 123508
6   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib          0x00000001b958f6cc __psynch_mutexwait + 8
1   libsystem_pthread.dylib         0x00000001f2f82488 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib         0x00000001f2f8952c _pthread_mutex_firstfit_lock_slow + 240 (pthread_mutex.c:1490)
3   FullStory                       0x0000000101c8693c 0x101c6c000 + 108860
4   FullStory                       0x0000000101c8a274 0x101c6c000 + 123508
5   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
6   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
7   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 6 name:
Thread 6:
0   libsystem_kernel.dylib          0x00000001b958f6cc __psynch_mutexwait + 8
1   libsystem_pthread.dylib         0x00000001f2f82488 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib         0x00000001f2f8952c _pthread_mutex_firstfit_lock_slow + 240 (pthread_mutex.c:1490)
3   FullStory                       0x0000000101c8693c 0x101c6c000 + 108860
4   FullStory                       0x0000000101c8a274 0x101c6c000 + 123508
5   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
6   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
7   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 7 name:
Thread 7:
0   libsystem_kernel.dylib          0x00000001b958f6cc __psynch_mutexwait + 8
1   libsystem_pthread.dylib         0x00000001f2f82488 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib         0x00000001f2f8952c _pthread_mutex_firstfit_lock_slow + 240 (pthread_mutex.c:1490)
3   FullStory                       0x0000000101c8693c 0x101c6c000 + 108860
4   FullStory                       0x0000000101c8a274 0x101c6c000 + 123508
5   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
6   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
7   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib          0x00000001b958f6cc __psynch_mutexwait + 8
1   libsystem_pthread.dylib         0x00000001f2f82488 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib         0x00000001f2f8952c _pthread_mutex_firstfit_lock_slow + 240 (pthread_mutex.c:1490)
3   FullStory                       0x0000000101c8693c 0x101c6c000 + 108860
4   FullStory                       0x0000000101c8a274 0x101c6c000 + 123508
5   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
6   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
7   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 9 name:
Thread 9:
0   libsystem_kernel.dylib          0x00000001b958f6cc __psynch_mutexwait + 8
1   libsystem_pthread.dylib         0x00000001f2f82488 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib         0x00000001f2f8952c _pthread_mutex_firstfit_lock_slow + 240 (pthread_mutex.c:1490)
3   FullStory                       0x0000000101c8693c 0x101c6c000 + 108860
4   FullStory                       0x0000000101c8a274 0x101c6c000 + 123508
5   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
6   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
7   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 10:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101cab824 0x101c6c000 + 260132
7   FullStory                       0x0000000101caaa70 0x101c6c000 + 256624
8   FullStory                       0x0000000101cb75bc 0x101c6c000 + 308668
9   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
10  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
11  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 11:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101ccce64 0x101c6c000 + 396900
7   FullStory                       0x0000000101ccc570 0x101c6c000 + 394608
8   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
9   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
10  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 12:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101c9f7d8 0x101c6c000 + 210904
7   FullStory                       0x0000000101c9efbc 0x101c6c000 + 208828
8   FullStory                       0x0000000101ccc37c 0x101c6c000 + 394108
9   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
10  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
11  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 13:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101cc10d0 0x101c6c000 + 348368
7   FullStory                       0x0000000101cc070c 0x101c6c000 + 345868
8   FullStory                       0x0000000101cc03ac 0x101c6c000 + 345004
9   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
10  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
11  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 14 name:
Thread 14:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cdd1a8 0x101c6c000 + 463272
3   FullStory                       0x0000000101cd94bc 0x101c6c000 + 447676
4   FullStory                       0x0000000101c8aa1c 0x101c6c000 + 125468
5   FullStory                       0x0000000101c8bf08 0x101c6c000 + 130824
6   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 15 name:
Thread 15:
0   libsystem_kernel.dylib          0x00000001b958e564 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001b958ebfc mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                  0x0000000182ab2698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                  0x0000000182ab698c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4   CoreFoundation                  0x0000000182aca3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   Foundation                      0x00000001842edd54 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6   Foundation                      0x000000018432f6a8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:420)
7   UIKitCore                       0x00000001853e907c -[UIEventFetcher threadMain] + 524 (UIEventFetcher.m:1167)
8   Foundation                      0x000000018433d95c __NSThread__start__ + 792 (NSThread.m:915)
9   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
10  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 16 name:
Thread 16:
0   libsystem_kernel.dylib          0x00000001b958e564 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001b958ebfc mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                  0x0000000182ab2698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                  0x0000000182ab698c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4   CoreFoundation                  0x0000000182aca3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   myapp                       0x0000000100bc337c +[RCTCxxBridge runRunLoop] + 264 (RCTCxxBridge.mm:308)
6   Foundation                      0x000000018433d95c __NSThread__start__ + 792 (NSThread.m:915)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 17 name:
Thread 17:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   libc++.1.dylib                  0x000000019b0f8ddc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (__threading_support:437)
3   JavaScriptCore                  0x000000018eb957c8 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 108 (condition_variable:203)
4   JavaScriptCore                  0x000000018eb99f98 bmalloc::Scavenger::threadRunLoop() + 340 (condition_variable:212)
5   JavaScriptCore                  0x000000018eb99b38 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 16 (Scavenger.cpp:295)
6   JavaScriptCore                  0x000000018eb9aff4 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scaveng... + 48 (type_traits:3694)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 18:
0   libsystem_pthread.dylib         0x00000001f2f80f48 start_wqthread + 0

Thread 19 name:
Thread 19:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000018eb22c9c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2756 (ThreadingPOSIX.cpp:605)
3   JavaScriptCore                  0x000000018e27528c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 196 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000018eaedda8 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                  0x000000018eb4723c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 276 (Function.h:82)
6   JavaScriptCore                  0x000000018eb49b98 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:241)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 20 name:
Thread 20:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000018eb22c9c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2756 (ThreadingPOSIX.cpp:605)
3   JavaScriptCore                  0x000000018e27528c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 196 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000018eaedda8 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                  0x000000018eb4723c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 276 (Function.h:82)
6   JavaScriptCore                  0x000000018eb49b98 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:241)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 21 name:
Thread 21:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000018eb22c9c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2756 (ThreadingPOSIX.cpp:605)
3   JavaScriptCore                  0x000000018e27528c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 196 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000018eaedda8 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                  0x000000018eb4723c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 276 (Function.h:82)
6   JavaScriptCore                  0x000000018eb49b98 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:241)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 22 name:
Thread 22:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000018eb22c9c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2756 (ThreadingPOSIX.cpp:605)
3   JavaScriptCore                  0x000000018e27528c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 196 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000018eaedda8 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                  0x000000018eb4723c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 276 (Function.h:82)
6   JavaScriptCore                  0x000000018eb49b98 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:241)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 23 name:
Thread 23:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000018eb22c9c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2756 (ThreadingPOSIX.cpp:605)
3   JavaScriptCore                  0x000000018e27528c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 196 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000018eaedda8 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                  0x000000018eb4723c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 276 (Function.h:82)
6   JavaScriptCore                  0x000000018eb49b98 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:241)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 24 name:
Thread 24:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000018eb22c9c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2756 (ThreadingPOSIX.cpp:605)
3   JavaScriptCore                  0x000000018e27528c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 196 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000018eaedda8 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                  0x000000018eb4723c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 276 (Function.h:82)
6   JavaScriptCore                  0x000000018eb49b98 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:241)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 25 name:
Thread 25:
0   libsystem_kernel.dylib          0x00000001b958fedc kevent + 8
1   myapp                       0x0000000100fa0ea8 0x100a00000 + 5901992
2   myapp                       0x0000000100fa0ff8 0x100a00000 + 5902328
3   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
4   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 26 name:
Thread 26:
0   libsystem_kernel.dylib          0x00000001b958fedc kevent + 8
1   myapp                       0x0000000100fa0ea8 0x100a00000 + 5901992
2   myapp                       0x0000000100fa0ff8 0x100a00000 + 5902328
3   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
4   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 27 name:
Thread 27:
0   libsystem_kernel.dylib          0x00000001b958e564 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001b958ebfc mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                  0x0000000182ab2698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                  0x0000000182ab698c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4   CoreFoundation                  0x0000000182aca3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   CoreFoundation                  0x0000000182b4aa88 CFRunLoopRun + 64 (CFRunLoop.c:3293)
6   CoreMotion                      0x000000018fa463ec CLMotionCore::runMotionThread(void*) + 1204 (CLMotionCore.mm:370)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 28:
0   libsystem_kernel.dylib          0x00000001b958eb44 __semwait_signal + 8
1   libsystem_c.dylib               0x000000018d924efc nanosleep + 216 (nanosleep.c:104)
2   libsystem_c.dylib               0x000000018d938f50 sleep + 48 (sleep.c:62)
3   myapp                       0x0000000100cbffc0 monitorCachedData + 628 (SentryCrashCachedData.c:139)
4   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
5   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 29 name:
Thread 29:
0   libsystem_kernel.dylib          0x00000001b958e564 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001b958ebfc mach_msg + 76 (mach_msg.c:119)
2   libsystem_kernel.dylib          0x00000001b959a290 thread_suspend + 84 (thread_actUser.c:1016)
3   myapp                       0x0000000100ccc7b8 handleExceptions + 124 (SentryCrashMonitor_MachException.c:258)
4   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
5   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 30 name:
Thread 30:
0   libsystem_kernel.dylib          0x00000001b958e564 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001b958ebfc mach_msg + 76 (mach_msg.c:119)
2   myapp                       0x0000000100ccc7e4 handleExceptions + 168 (SentryCrashMonitor_MachException.c:266)
3   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
4   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 31 name:
Thread 31:
0   libsystem_kernel.dylib          0x00000001b958e564 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001b958ebfc mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                  0x0000000182ab2698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                  0x0000000182ab698c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4   CoreFoundation                  0x0000000182aca3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   CFNetwork                       0x000000018353b8d0 +[__CFN_CoreSchedulingSetRunnable _run:] + 464 (CoreSchedulingSet.mm:1372)
6   Foundation                      0x000000018433d95c __NSThread__start__ + 792 (NSThread.m:915)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 32 name:
Thread 32:
0   libsystem_kernel.dylib          0x00000001b958e564 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001b958ebfc mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                  0x0000000182ab2698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                  0x0000000182ab698c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4   CoreFoundation                  0x0000000182aca3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   AudioSession                    0x000000018be31308 CADeprecated::GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:95)
6   AudioSession                    0x000000018be3ad64 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92 (CAPThread.cpp:324)
7   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
8   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 33:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101caec6c 0x101c6c000 + 273516
7   FullStory                       0x0000000101cae6f8 0x101c6c000 + 272120
8   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
9   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
10  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 34:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101cab824 0x101c6c000 + 260132
7   FullStory                       0x0000000101caaa70 0x101c6c000 + 256624
8   FullStory                       0x0000000101cb75bc 0x101c6c000 + 308668
9   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
10  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
11  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 35:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101ccce64 0x101c6c000 + 396900
7   FullStory                       0x0000000101ccc570 0x101c6c000 + 394608
8   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
9   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
10  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 36:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101c9f7d8 0x101c6c000 + 210904
7   FullStory                       0x0000000101c9efbc 0x101c6c000 + 208828
8   FullStory                       0x0000000101ccc37c 0x101c6c000 + 394108
9   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
10  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
11  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 37:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101cc10d0 0x101c6c000 + 348368
7   FullStory                       0x0000000101cc070c 0x101c6c000 + 345868
8   FullStory                       0x0000000101cc03ac 0x101c6c000 + 345004
9   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
10  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
11  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 38:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101caec6c 0x101c6c000 + 273516
7   FullStory                       0x0000000101cae6f8 0x101c6c000 + 272120
8   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
9   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
10  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 39:
0   libsystem_pthread.dylib         0x00000001f2f80f48 start_wqthread + 0

Thread 40:
0   libsystem_pthread.dylib         0x00000001f2f80f48 start_wqthread + 0

Thread 41:
0   libsystem_kernel.dylib          0x00000001b958f204 __ulock_wait + 8
1   libdispatch.dylib               0x00000001827b7344 _dlock_wait + 56 (lock.c:326)
2   libdispatch.dylib               0x00000001827b70e8 _dispatch_thread_event_wait_slow + 56 (lock.c:366)
3   libdispatch.dylib               0x00000001827c5d58 __DISPATCH_WAIT_FOR_QUEUE__ + 364 (lock.h:330)
4   libdispatch.dylib               0x00000001827c5900 _dispatch_sync_f_slow + 144 (queue.c:1762)
5   FullStory                       0x0000000101d35638 0x101c6c000 + 824888
6   FullStory                       0x0000000101c77b1c 0x101c6c000 + 47900
7   FullStory                       0x0000000101cac11c 0x101c6c000 + 262428
8   FullStory                       0x0000000101caaa70 0x101c6c000 + 256624
9   FullStory                       0x0000000101cb75bc 0x101c6c000 + 308668
10  FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
11  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
12  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 42 name:
Thread 42 name:
Thread 42:
0   libsystem_kernel.dylib          0x00000001b958f204 __ulock_wait + 8
1   libsystem_platform.dylib        0x00000001f2f789a4 _os_unfair_lock_lock_slow + 196 (lock.c:578)
2   QuartzCore                      0x00000001868aec14 -[CALayer setContentsScale:] + 88 (x-atomic.h:208)
3   MediaToolbox                    0x000000018cf268e8 -[FigBaseCALayer init] + 92 (FigBaseCALayer.m:100)
4   MediaToolbox                    0x000000018d0a675c -[FigVideoLayer init] + 52 (FigVideoLayer.m:165)
5   MediaToolbox                    0x000000018cdc3a5c remoteXPCPlayer_setClientVideoLayerArray + 1128 (FigPlayer_RemoteXPC.m:4871)
6   MediaToolbox                    0x000000018cdc2de8 remoteXPCPlayer_handleSetProperty + 316 (FigPlayer_RemoteXPC.m:5667)
7   MediaToolbox                    0x000000018cd7ee70 fpSupport_handlePlayerOrItemSetPropertyAndCopyModification + 120 (FigPlayerSupport.m:8679)
8   MediaToolbox                    0x000000018cd7edb4 FPSupport_HandlePlayerSetPropertyAndCopyModification + 176 (FigPlayerSupport.m:8726)
9   MediaToolbox                    0x000000018cdc27b4 remoteXPCPlayer_SetProperty + 120 (FigPlayer_RemoteXPC.m:5812)
10  MediaToolbox                    0x000000018ccaebf8 playerasync_runOneCommand + 5316 (FigPlayer_Async.c:0)
11  MediaToolbox                    0x000000018ccb1fac playerasync_runAsynchronousCommandOnQueue + 184 (FigPlayer_Async.c:1539)
12  libdispatch.dylib               0x00000001827b6950 _dispatch_client_callout + 20 (object.m:560)
13  libdispatch.dylib               0x00000001827be0ac _dispatch_lane_serial_drain + 664 (inline_internal.h:2597)
14  libdispatch.dylib               0x00000001827bec44 _dispatch_lane_invoke + 444 (queue.c:3937)
15  libdispatch.dylib               0x00000001827c7f48 _dispatch_root_queue_drain + 388 (inline_internal.h:0)
16  libdispatch.dylib               0x00000001827c7ce0 _dispatch_worker_thread + 244 (queue.c:7042)
17  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
18  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 43 name:
Thread 43:
0   libsystem_kernel.dylib          0x00000001b958e5b8 semaphore_timedwait_trap + 8
1   libdispatch.dylib               0x00000001827b6f5c _dispatch_sema4_timedwait + 64 (lock.c:154)
2   libdispatch.dylib               0x00000001827b7560 _dispatch_semaphore_wait_slow + 76 (semaphore.c:116)
3   libdispatch.dylib               0x00000001827c7d24 _dispatch_worker_thread + 312 (queue.c:7045)
4   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
5   libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 44 name:
Thread 44 name:
Thread 44:
0   libsystem_kernel.dylib          0x00000001b958f6cc __psynch_mutexwait + 8
1   libsystem_pthread.dylib         0x00000001f2f82488 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib         0x00000001f2f8952c _pthread_mutex_firstfit_lock_slow + 240 (pthread_mutex.c:1490)
3   QuartzCore                      0x000000018690c628 CABackingStoreRetainFrontTexture + 40 (x-thread.h:165)
4   QuartzCore                      0x00000001868da288 -[CALayer(CALayerPrivate) _copyRenderLayer:layerFlags:commitFlags:] + 812 (CALayer.mm:11191)
5   QuartzCore                      0x00000001868461b8 invocation function for block in CA::Context::commit_transaction(CA::Transaction*, double, double*) + 252 (CALayer.mm:11633)
6   QuartzCore                      0x0000000186832c28 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 368 (CALayer.mm:2662)
7   QuartzCore                      0x0000000186832bb4 CA::Layer::commit_if_needed(CA::Transaction*, void (CA::Layer*, unsigned int, unsigned int) block_pointer) + 252 (CALayer.mm:2648)
8   QuartzCore                      0x0000000186844758 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 6300 (CAContextInternal.mm:3179)
9   QuartzCore                      0x000000018684c174 CA::Transaction::commit() + 680 (CATransactionInternal.mm:449)
10  MediaToolbox                    0x000000018cc12388 FigLayerSynchronizerSynchronizeToMoment + 2200 (LayerSynchronizer.m:1084)
11  MediaToolbox                    0x000000018cdc1c28 remoteXPCItem_TimebaseSynchronizationUpdate + 416 (FigPlayer_RemoteXPC.m:1343)
12  MediaToolbox                    0x000000018cdc1840 remoteXPCItem_HandleTimebaseSynchronizationUpdate + 132 (FigPlayer_RemoteXPC.m:1399)
13  MediaToolbox                    0x000000018cdbe920 remoteXPCPlayerClient_MessageHandler + 448 (FigPlayer_RemoteXPC.m:7103)
14  CoreMedia                       0x000000018d4529cc __figXPC_CallClientMessageHandlers_block_invoke + 44 (FigXPCClientServer.c:778)
15  libdispatch.dylib               0x00000001827b4c04 _dispatch_call_block_and_release + 32 (init.c:1516)
16  libdispatch.dylib               0x00000001827b6950 _dispatch_client_callout + 20 (object.m:560)
17  libdispatch.dylib               0x00000001827be0ac _dispatch_lane_serial_drain + 664 (inline_internal.h:2597)
18  libdispatch.dylib               0x00000001827bec44 _dispatch_lane_invoke + 444 (queue.c:3937)
19  libdispatch.dylib               0x00000001827c7f48 _dispatch_root_queue_drain + 388 (inline_internal.h:0)
20  libdispatch.dylib               0x00000001827c7ce0 _dispatch_worker_thread + 244 (queue.c:7042)
21  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
22  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 45:
0   libsystem_pthread.dylib         0x00000001f2f80f48 start_wqthread + 0

Thread 46:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101ccce64 0x101c6c000 + 396900
7   FullStory                       0x0000000101ccc570 0x101c6c000 + 394608
8   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
9   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
10  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 47:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101c9f7d8 0x101c6c000 + 210904
7   FullStory                       0x0000000101c9efbc 0x101c6c000 + 208828
8   FullStory                       0x0000000101ccc37c 0x101c6c000 + 394108
9   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
10  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
11  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 48:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101cc10d0 0x101c6c000 + 348368
7   FullStory                       0x0000000101cc070c 0x101c6c000 + 345868
8   FullStory                       0x0000000101cc03ac 0x101c6c000 + 345004
9   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
10  libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
11  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 49:
0   libsystem_kernel.dylib          0x00000001b958eff0 __psynch_cvwait + 8
1   libsystem_pthread.dylib         0x00000001f2f88274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
2   FullStory                       0x0000000101cd82dc 0x101c6c000 + 443100
3   FullStory                       0x0000000101cd9328 0x101c6c000 + 447272
4   FullStory                       0x0000000101c8582c 0x101c6c000 + 104492
5   FullStory                       0x0000000101ca1dc0 0x101c6c000 + 220608
6   FullStory                       0x0000000101caec6c 0x101c6c000 + 273516
7   FullStory                       0x0000000101cae6f8 0x101c6c000 + 272120
8   FullStory                       0x0000000101cdf1c8 0x101c6c000 + 471496
9   libsystem_pthread.dylib         0x00000001f2f81a60 _pthread_start + 148 (pthread.c:890)
10  libsystem_pthread.dylib         0x00000001f2f80f5c thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0xfffffffffffffffc   x1: 0x0000000000000000   x2: 0x0000000000015d72   x3: 0x0000000000000000
    x4: 0x000000000000000d   x5: 0x0000000102905200   x6: 0x0000000000001a00   x7: 0x0000000000000000
    x8: 0x0000000000015d72   x9: 0x0000000000000001  x10: 0x0000000000000001  x11: 0x00ff000119838e00
   x12: 0x000000000000008e  x13: 0x00000001198396d0  x14: 0x00000000f5206000  x15: 0x00000002827bf9f0
   x16: 0x0000000000000203  x17: 0xf7179301850dd028  x18: 0x000000011a266e10  x19: 0x0000000000000103
   x20: 0x0000000000000000  x21: 0x00000001dc8049c8  x22: 0x0000000001000002  x23: 0x0000000000015d72
   x24: 0x0000000000000000  x25: 0x0000000000000103  x26: 0x0000000000000028  x27: 0x0000000000000001
   x28: 0x000000010171b000   fp: 0x000000016f3fb6e0   lr: 0x00000001f2f789a4
    sp: 0x000000016f3fb6a0   pc: 0x00000001b958f204 cpsr: 0x40000000
   esr: 0x56000080  Address size fault

Binary Images:
0x100a00000 - 0x101583fff myapp arm64  <d77527affaa9366b80a59db7b24205a8> /private/var/containers/Bundle/Application/28E1ACEA-E38A-41CA-B108-4AEE71E54B0D/myapp.app/myapp
0x101bcc000 - 0x101c23fff dyld arm64e  <d48c31ee061f370ba6f78391a1b53ed8> /usr/lib/dyld
0x101c6c000 - 0x101dcffff FullStory arm64  <1911a7c5722b32419a97c619ed8c3996> /private/var/containers/Bundle/Application/28E1ACEA-E38A-41CA-B108-4AEE71E54B0D/myapp.app/Frameworks/FullStory.framework/FullStory
0x1827b3000 - 0x1827f8fff libdispatch.dylib arm64e  <959cd6e40ce73022b73c8b36f79f4745> /usr/lib/system/libdispatch.dylib
0x182aab000 - 0x182efefff CoreFoundation arm64e  <6174789ae88c3f5cba39de2e9edc0750> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1832c1000 - 0x183785fff CFNetwork arm64e  <570aad29ce5c3cd9ab01ad21e1440ddb> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x1842d5000 - 0x1845d9fff Foundation arm64e  <efbca2ff8b8c3227abbc154ba851d23c> /System/Library/Frameworks/Foundation.framework/Foundation
0x18499a000 - 0x184f54fff CoreGraphics arm64e  <5ebbf4c74b0030aaaec178a64456cf00> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x184f55000 - 0x1867d7fff UIKitCore arm64e  <0e2d8679d5f13c0390107f6ce3662789> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1867fd000 - 0x186ae0fff QuartzCore arm64e  <8ab30eebfb1536cb9c27918ed68500ee> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x18be2b000 - 0x18be54fff AudioSession arm64e  <abd54d35666937df90b922ddf1183098> /System/Library/PrivateFrameworks/AudioSession.framework/AudioSession
0x18be55000 - 0x18c064fff AVFCore arm64e  <e192b54bca1335bdb56786002bdeb34a> /System/Library/PrivateFrameworks/AVFCore.framework/AVFCore
0x18cb73000 - 0x18d361fff MediaToolbox arm64e  <908c4536ac77371c9cb06960b63509c0> /System/Library/Frameworks/MediaToolbox.framework/MediaToolbox
0x18d362000 - 0x18d47bfff CoreMedia arm64e  <c7c6dbb682b436e687601a98b5594d8b> /System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x18d920000 - 0x18d99efff libsystem_c.dylib arm64e  <059fc305234a3025a1555473cf3a0e9b> /usr/lib/system/libsystem_c.dylib
0x18d9f6000 - 0x18eca2fff JavaScriptCore arm64e  <3993ffc446eb3e7fa3dc814e1863b585> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0x18fa33000 - 0x18fd3efff CoreMotion arm64e  <9d82cede6b9d36b3a8f8ba0c9782d328> /System/Library/Frameworks/CoreMotion.framework/CoreMotion
0x19b0ef000 - 0x19b152fff libc++.1.dylib arm64e  <ad83bb4ecfd63d39a9e2b8e115bef247> /usr/lib/libc++.1.dylib
0x19e2da000 - 0x19e2e2fff GraphicsServices arm64e  <0f7424f6bde5311aa3fac0e0c4c28d72> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1b958d000 - 0x1b95c0fff libsystem_kernel.dylib arm64e  <d2476f74d204348d8d386165d0485c7c> /usr/lib/system/libsystem_kernel.dylib
0x1f2f78000 - 0x1f2f7efff libsystem_platform.dylib arm64e  <9b829bd8a5ba3cd78e9313538dcd12b2> /usr/lib/system/libsystem_platform.dylib
0x1f2f80000 - 0x1f2f8bfff libsystem_pthread.dylib arm64e  <bc1ce0c6a9f2396b9afb623d3acd5881> /usr/lib/system/libsystem_pthread.dylib

EOF

Environment info

Run react-native info in your terminal and copy the results here. Also, include the precise version number of this library that you are using in the project

React native info output:

System:
    OS: macOS 11.6
    CPU: (8) arm64 Apple M1
    Memory: 422.22 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.9.1 - /opt/homebrew/bin/node
    Yarn: 1.22.11 - /opt/homebrew/bin/yarn
    npm: 7.21.1 - /opt/homebrew/bin/npm
    Watchman: 2021.09.13.00 - /opt/homebrew/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0
    Android SDK:
      API Levels: 23, 28, 29, 30, 31
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 31.0.0
      System Images: android-30 | Google APIs Intel x86 Atom, android-31 | Google APIs ARM 64 v8a
  IDEs:
    Android Studio: 4.2 AI-202.7660.26.42.7486908
    Xcode: 13.0/13A233 - /usr/bin/xcodebuild
  npmPackages:
    react: 17.0.1 => 17.0.1 
    react-native: 0.64.2 => 0.64.2

Library version: 12.1.0

Steps To Reproduce

Sadly I cannot reproduce this reliably, or in a dev build - I'm relying on TestFlight crash reports. The error seems to happen when the app is in the background, and is brought to the foreground.

ishangupta01 commented 2 years ago

@elliottkember did you find a solution? I'm facing a similar issue.

elliottkember commented 2 years ago

@ishangupta01 I think it ended up being an SVG with a huge embedded PNG inside it that caused the problem. Check your SVGs for image elements! Sometimes they sneak into the designs as embedded screenshots and not vectors, and "export as vector" will not warn you. I think my SVG was about 4,000px square and caused havoc.

WoLewicki commented 2 years ago

So it was caused by memory shortage? Can we close this issue then? Or do you think there is something to be done on the library side about this?