App crash on swift_getAssociatedTypeWitnessSlowImpl

using Xcode 14.0.1 iOS 16, app crash on swift_getAssociatedTypeWitnessSlowImpl once.

Exception Subtype:  KERN_INVALID_ADDRESS at 0x0000000000000000 
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY(?)

VM Region Info: 0 is not in any region.  Bytes before following region: 4343709696
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   102e7c000-10ba98000 [140.1M] r-x/r-x SM=COW  ...e.rc.app/Glip

Termination Reason: SIGNAL;[11] Segmentation fault: 11
Terminating Process: exc handler [1698] 

Triggered by Thread:  0

Kernel Triage:
None

Thread 0 name:  com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib                      0x1885741fc swift_getAssociatedTypeWitnessSlowImpl(swift::MetadataRequest, swift::TargetWitnessTable<swift::InProcess>*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolRequirement<swift::InProcess> const*, swift::TargetProtocolRequirement<swift::InProcess> const*) + 220
1   libswiftCore.dylib                      0x1885741f4 swift_getAssociatedTypeWitnessSlowImpl(swift::MetadataRequest, swift::TargetWitnessTable<swift::InProcess>*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolRequirement<swift::InProcess> const*, swift::TargetProtocolRequirement<swift::InProcess> const*) + 212
2   libswiftCore.dylib                      0x188572634 swift_getAssociatedTypeWitness + 180
3   libswiftCore.dylib                      0x1883c0370 OptionSet<>.init() + 76
4   App                                    0x102e886d8 protocol witness for SetAlgebra.init() in conformance UIRectCorner + 51 (<compiler-generated>:0)
5   App                                    0x10460aa10 protocol witness for SetAlgebra.init() in conformance UIControlEvents + 11
6   libswiftCore.dylib                      0x1883d6fb8 SetAlgebra.init<A>(_:) + 368
7   App                                    0x104a82910 protocol witness for SetAlgebra.init<A>(_:) in conformance UIControlEvents + 43 (<compiler-generated>:0)
8   libswiftCore.dylib                      0x1883d72cc SetAlgebra<>.init(arrayLiteral:) + 132
9   App                                    0x104af5c48 ActionButton.touchUpInsideHandler.didset + 143 (AlertPresentationController.swift:132)
10  App                                    0x104af5d80 ActionButton.touchUpInsideHandler.setter + 131 (AlertPresentationController.swift:0)
11  App                                    0x104af51c4 BBBBBB.addActionButton(configuration:handler:) + 155 (AlertPresentationController.swift:94)
12  App                                    0x104c838f8 AAAAAA.showCreateOrConvertTeam(okActionHandler:cancelActionHandler:) + 3091 (AAAAAA.swift:49)
13  App                                    0x104dc4440 XXXXXX.doDoneAction() + 451 (XXXXXX.swift:165)
14  App                                    0x104dc76f4 @objc XXXXXX.doDoneAction() + 35 (<compiler-generated>:0)
15  UIKitCore                               0x186347c98 -[UIApplication sendAction:to:from:forEvent:] + 96
16  App                                    0x1045fb6dc -[UIApplication(MemoryLeak) mlf_sendAction:to:from:forEvent:] + 171 (UIApplication+MemoryLeak.m:29)
17  UIKitCore                               0x186606840 -[UIBarButtonItem _triggerActionForEvent:] + 176
18  UIKitCore                               0x1865f16a4 __45-[_UIButtonBarTargetAction _invoke:forEvent:]_block_invoke + 36
19  UIKitCore                               0x1865f1558 -[_UIButtonBarTargetAction _invoke:forEvent:] + 168
20  UIKitCore                               0x186347c98 -[UIApplication sendAction:to:from:forEvent:] + 96
21  App                                    0x1045fb6dc -[UIApplication(MemoryLeak) mlf_sendAction:to:from:forEvent:] + 171 (UIApplication+MemoryLeak.m:29)
22  UIKitCore                               0x1864691e4 -[UIControl sendAction:to:forEvent:] + 124
23  UIKitCore                               0x1861fc198 -[UIControl _sendActionsForEvents:withEvent:] + 348
24  UIKitCore                               0x1861fc1e8 -[UIControl _sendActionsForEvents:withEvent:] + 428
25  UIKitCore                               0x18650dd1c -[UIControl touchesEnded:withEvent:] + 532
26  UIKitCore                               0x18600d610 -[UIWindow _sendTouchesForEvent:] + 1228
27  UIKitCore                               0x18603d5f0 -[UIWindow sendEvent:] + 4392
28  UIKitCore                               0x1861e10d8 -[UIApplication sendEvent:] + 896
29  UIKit                                   0x1de3dd550 -[UIApplicationAccessibility sendEvent:] + 96
30  UIKitCore                               0x186012124 __dispatchPreprocessedEventFromEventQueue + 8124
31  UIKitCore                               0x186007070 __processEventQueue + 6748
32  UIKitCore                               0x18600c400 __eventFetcherSourceCallback + 168
33  CoreFoundation                          0x183bf72b0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
34  CoreFoundation                          0x183c072d8 __CFRunLoopDoSource0 + 204
35  CoreFoundation                          0x183b4a678 __CFRunLoopDoSources0 + 256
36  CoreFoundation                          0x183b4faa8 __CFRunLoopRun + 768
37  CoreFoundation                          0x183b62e1c CFRunLoopRunSpecific + 572
38  GraphicsServices                        0x1a3ee59a0 GSEventRunModal + 160
39  UIKitCore                               0x186396600 -[UIApplication _run] + 1080
40  UIKitCore                               0x18612bb08 UIApplicationMain + 2028
41  App                                    0x102e80df8 main + 375 (main.swift:13)
42  dyld                                    0x120358250 start + 444

App crash on swift_getAssociatedTypeWitnessSlowImpl

Please post a full crash report, using the process described in Posting a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

App crash on swift_getAssociatedTypeWitnessSlowImpl
 
 
Q