iOS 13 Crash EXC_BAD_ACCESS (code=EXC_I386_GPFLT)

Since updated to iOS 13 we have had this crash in several Apps.



(lldb) bt

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)

frame #0: 0x00007fff2b13578d QuartzCore`CA::Layer::retain_parent(CA::Transaction*) const + 35

frame #1: 0x00007fff2b1455b9 QuartzCore`CALayerGetSuperlayer + 47

frame #2: 0x00007fff485813a8 UIKitCore`-[UIView(UIKitManual) superview] + 37

frame #3: 0x00007fff484a3848 UIKitCore`-[UILayoutGuide _snipReferencingConstraints] + 567

frame #4: 0x00007fff484a2a45 UIKitCore`-[UILayoutGuide _owningViewIsDeallocating] + 32

frame #5: 0x00007fff48546db2 UIKitCore`-[UIView _layoutConstraintCleanup] + 248

frame #6: 0x00007fff48546fe2 UIKitCore`-[UIView dealloc] + 155

frame #7: 0x00007fff482342f7 UIKitCore`-[UITableViewCellContentView dealloc] + 68

frame #8: 0x00007fff5140d4c0 libobjc.A.dylib`_object_remove_assocations + 239

frame #9: 0x00007fff5140a4c2 libobjc.A.dylib`objc_destructInstance + 79

frame #10: 0x00007fff23c925be CoreFoundation`-[NSObject(NSObject) __dealloc_zombie] + 158

frame #11: 0x00007fff2b12a39b QuartzCore`-[CALayer dealloc] + 163

frame #12: 0x00007fff2b0bf6a7 QuartzCore`CA::release_objects(X::List<void const*>*) + 26

frame #13: 0x00007fff2b0bf777 QuartzCore`CA::release_root_if_unused(CA::Layer*, CA::Layer*, void*) + 35

frame #14: 0x00007fff2b038492 QuartzCore`x_hash_table_remove_if + 97

frame #15: 0x00007fff2b0bfa66 QuartzCore`CA::Transaction::commit() + 408

frame #16: 0x00007fff2b0c04ba QuartzCore`CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 76

frame #17: 0x00007fff23bd3867 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23

frame #18: 0x00007fff23bce2fe CoreFoundation`__CFRunLoopDoObservers + 430

frame #19: 0x00007fff23bce97a CoreFoundation`__CFRunLoopRun + 1514

frame #20: 0x00007fff23bce066 CoreFoundation`CFRunLoopRunSpecific + 438

frame #21: 0x00007fff384c0bb0 GraphicsServices`GSEventRunModal + 65

frame #22: 0x00007fff48092d4d UIKitCore`UIApplicationMain + 1621

* frame #23: 0x000000010090948b BBQSheriff`main at BBQAppDelegate.swift:22:13

frame #24: 0x00007fff5227ec25 libdyld.dylib`start + 1

frame #25: 0x00007fff5227ec25 libdyld.dylib`start + 1



Running with Address Sanitizer and Zombie Objects as shown above does not show any Additional information in sumulator logs.


Most important question is: How do I determine which object is causing the problem and/or what that problem might be?


Xcode Version 11.3.1 (11C504)

I tried to post a device crash report which has more information but the forum software tells me it has an invalid character, but not which character or were it is located?

Partial crash report see if this is allowed.


Incident Identifier: BC2877C2-F7E8-4F0C-B349-F775ABBF5CD1

CrashReporter Key: 67c13e1b499de3655d9d0b1ba12296189838d52a

Hardware Model: iPhone10,6

Process: BBQSheriff [297]

Path: /private/var/containers/Bundle/Application/D01A1271-499D-4613-BF3A-D072999D1EB6/BBQSheriff.app/BBQSheriff

Identifier: com.fairwindsoft.bbqsheriff

Version: 272 (1.3.1)

Code Type: ARM-64 (Native)

Role: Foreground

Parent Process: launchd [1]

Coalition: com.fairwindsoft.bbqsheriff [488]





Date/Time: 2020-03-04 06:48:35.3642 -0600

Launch Time: 2020-03-04 06:48:29.0308 -0600

OS Version: iPhone OS 13.3.1 (17D50)

Release Type: User

Baseband Version: 3.03.03

Report Version: 104



Exception Type: EXC_BAD_ACCESS (SIGABRT)

Exception Subtype: KERN_INVALID_ADDRESS at 0x656565656565656d

VM Region Info: 0x656565656565656d is not in any region. Bytes after previous region: 7306357447660561774

REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL

unused shlib __TEXT 0000000210000000-00000002178f0000 [120.9M] r--/r-- SM=COW ... this process

--->

UNUSED SPACE AT END



Triggered by Thread: 0



Thread 0 name: Dispatch queue: com.apple.main-thread

Thread 0 Crashed:

0 libsystem_kernel.dylib 0x00000001c3a01ec4 __pthread_kill + 8

1 libsystem_pthread.dylib 0x00000001c3921724 pthread_kill$VARIANT$armv81 + 216

2 libsystem_c.dylib 0x00000001c3871844 abort + 100

3 ...g_rt.asan_ios_dynamic.dylib 0x000000010691c258 0x106898000 + 541272

4 ...g_rt.asan_ios_dynamic.dylib 0x000000010690b5ec 0x106898000 + 472556

5 ...g_rt.asan_ios_dynamic.dylib 0x00000001068f51ac 0x106898000 + 381356

6 ...g_rt.asan_ios_dynamic.dylib 0x00000001068f3310 0x106898000 + 373520

7 ...g_rt.asan_ios_dynamic.dylib 0x00000001068f2c8c 0x106898000 + 371852

8 libsystem_platform.dylib 0x00000001c3918894 _sigtramp + 56

9 QuartzCore 0x00000001ca691c94 CA::Layer::retain_parent+ 1395860 (CA::Transaction*) const + 44

10 QuartzCore 0x00000001ca6a0988 CALayerGetSuperlayer + 52

11 UIKitCore 0x00000001c812fd3c -[UIView+ 15347004 (UIKitManual) superview] + 48

12 UIKitCore 0x00000001c8062f40 -[UILayoutGuide _snipReferencingConstraints] + 424

13 UIKitCore 0x00000001c8062254 -[UILayoutGuide _owningViewIsDeallocating] + 40

14 UIKitCore 0x00000001c80f7cc4 -[UIView _layoutConstraintCleanup] + 212

15 UIKitCore 0x00000001c80f7eb4 -[UIView dealloc] + 148

16 UIKitCore 0x00000001c7e1a298 -[UITableViewCellContentView dealloc] + 76

17 libobjc.A.dylib 0x00000001c394740c _object_remove_assocations + 352

18 libobjc.A.dylib 0x00000001c3943d88 objc_destructInstance + 100

19 libobjc.A.dylib 0x00000001c394adb0 _objc_rootDealloc + 48

20 QuartzCore 0x00000001ca6877b4 -[CALayer dealloc] + 188

21 QuartzCore 0x00000001ca611028 CA::release_objects+ 868392 (X::List<void const*>*) + 32

22 QuartzCore 0x00000001ca611138 CA::release_root_if_unused+ 868664 (CA::Layer*, CA::Layer*, void*) + 52

23 QuartzCore 0x00000001ca5976ac x_hash_table_remove_if + 84

24 QuartzCore 0x00000001ca6114a0 CA::Transaction::commit+ 869536 () + 464

25 QuartzCore 0x00000001ca611f68 CA::Transaction::observer_callback+ 872296 (__CFRunLoopObserver*, unsigned long, void*) + 92

26 CoreFoundation 0x00000001c3b87e68 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32

27 CoreFoundation 0x00000001c3b82d54 __CFRunLoopDoObservers + 416

28 CoreFoundation 0x00000001c3b83320 __CFRunLoopRun + 1308

29 CoreFoundation 0x00000001c3b82adc CFRunLoopRunSpecific + 464

30 GraphicsServices 0x00000001cdb23328 GSEventRunModal + 104

31 UIKitCore 0x00000001c7c9063c UIApplicationMain + 1936

32 BBQSheriff 0x0000000104723dbc main + 1621436 (BBQAppDelegate.swift:22)

33 libdyld.dylib 0x00000001c3a0c360 start + 4

iOS 13 Crash EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
 
 
Q