SwiftUI 和 CoreText EXC_BAD_ACCESS 崩溃

问题描述 投票:0回答:0

有一些相同原因的崩溃报告,但找不到原因。

频率非常低,所有这些崩溃都发生在 iOS16 上。

下面一行是崩溃日志之一。

似乎问题发生在带有 SwifUI 的 CoreText 上。

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000160
Exception Codes: 0x0000000000000001, 0x0000000000000160
VM Region Info: 0x160 is not in any region.  Bytes before following region: 68719476384
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      commpage (reserved)     1000000000-7000000000 [384.0G] ---/--- SM=NUL  ...(unallocated)
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [12094]

Triggered by Thread:  0


Thread 0 name:
Thread 0 Crashed:
0   CoreText                        0x00000001c6eeb710 TFont::NeedsShapingForGlyphs(unsigned short const*, long, __CFString const*) const + 80 (TUtilities.h:202)
1   CoreText                        0x00000001c6efe500 CTFontTransformGlyphsWithLanguage + 240 (CTFont.cpp:2571)
2   UIFoundation                    0x00000001cf8348dc -[NSCoreTypesetter _NSFastDrawString:length:attributes:paragraphStyle:typesetterBehavior:lineBreakMode:rect:padding:graphicsContext:baselineRendering:usesFontLeading:usesScreenFont:scrollable:syncA... + 4940 (NSCoreTypesetter.m:1149)
3   UIFoundation                    0x00000001cf830bec -[NSCoreTypesetter _stringDrawingCoreTextEngineWithOriginalString:rect:padding:graphicsContext:forceClipping:attributes:stringDrawingOptions:drawingContext:stringDrawingInterface:] + 996 (NSCoreTypesetter.m:1951)
4   UIFoundation                    0x00000001cf82d5a4 __NSStringDrawingEngine + 1284 (NSStringDrawing.m:1608)
5   UIFoundation                    0x00000001cf8415b0 -[NSAttributedString(NSExtendedStringDrawing) boundingRectWithSize:options:context:] + 1636 (NSStringDrawing.m:1360)
6   SwiftUI                         0x00000001ca0039ac closure #1 in NSAttributedString.measured(requestedSize:lineLimit:lowerLineLimit:minScaleFactor:bodyHeadOutdent:widthIsFlexible:kitCache:isCollapsible:stringDrawingContext:) + 348 (Text+View.swift:1575)
7   SwiftUI                         0x00000001ca0037f0 NSAttributedString.measured(requestedSize:lineLimit:lowerLineLimit:minScaleFactor:bodyHeadOutdent:widthIsFlexible:kitCache:isCollapsible:stringDrawingContext:) + 396 (Text+View.swift:1399)
8   SwiftUI                         0x00000001c8e0d104 NSAttributedString.MetricsCache.metrics(requestedSize:stringDrawingContext:) + 288 (Text+View.swift:1747)
9   SwiftUI                         0x00000001c9fffcd4 StyledTextLayoutEngine.sizeThatFits(_:) + 172 (Text+View.swift:340)
10  SwiftUI                         0x00000001c9fffc10 StyledTextLayoutEngine.lengthThatFits(_:in:) + 92 (Text+View.swift:333)
11  SwiftUI                         0x00000001c9eb9d6c LayoutEngineBox.lengthThatFits(_:in:) + 148 (LayoutComputer.swift:228)
12  SwiftUI                         0x00000001c9dc843c StackLayout.UnmanagedImplementation.prioritize(_:proposedSize:) + 1428 (LayoutComputer.swift:61)
13  SwiftUI                         0x00000001c9dc77b4 specialized StackLayout.UnmanagedImplementation.sizeChildrenGenerallyWithConcreteMajorProposal(in:minorProposalForChild:) + 144 (StackLayout.swift:408)
14  SwiftUI                         0x00000001c9dc6ba8 specialized StackLayout.UnmanagedImplementation.sizeChildren(in:minorProposalForChild:) + 92 (StackLayout.swift:367)
15  SwiftUI                         0x00000001c9dc90d4 specialized StackLayout.UnmanagedImplementation.placeChildren1(in:minorProposalForChild:) + 92 (StackLayout.swift:583)
16  SwiftUI                         0x00000001c9dc6920 StackLayout.UnmanagedImplementation.placeChildren(in:) + 160 (StackLayout.swift:617)
17  SwiftUI                         0x00000001ca264d90 $s7SwiftUI7HVStackPAAE12sizeThatFits8proposal8subviews5cacheSo6CGSizeVAA16ProposedViewSizeV_AA14LayoutSubviewsVAA06_StackN5CacheVztFAA011_FormVStackN0V_TB5 + 108 (StackLayout.swift:164)
18  SwiftUI                         0x00000001ca2652f0 protocol witness for Layout.sizeThatFits(proposal:subviews:cache:) in conformance _HStackLayout + 20 (:0)
19  SwiftUI                         0x00000001c9943b40 ViewLayoutEngine.sizeThatFits(_:) + 548 (Layout.swift:1812)
20  SwiftUI                         0x00000001c9eb8678 LayoutEngine.lengthThatFits(_:in:) + 88 (LayoutComputer.swift:163)
21  SwiftUI                         0x00000001c9eb9d6c LayoutEngineBox.lengthThatFits(_:in:) + 148 (LayoutComputer.swift:228)
22  SwiftUI                         0x00000001c9dc8284 StackLayout.UnmanagedImplementation.prioritize(_:proposedSize:) + 988 (LayoutComputer.swift:61)
23  SwiftUI                         0x00000001c9dc77b4 specialized StackLayout.UnmanagedImplementation.sizeChildrenGenerallyWithConcreteMajorProposal(in:minorProposalForChild:) + 144 (StackLayout.swift:408)
24  SwiftUI                         0x00000001c9dc6ba8 specialized StackLayout.UnmanagedImplementation.sizeChildren(in:minorProposalForChild:) + 92 (StackLayout.swift:367)
25  SwiftUI                         0x00000001c9dc90d4 specialized StackLayout.UnmanagedImplementation.placeChildren1(in:minorProposalForChild:) + 92 (StackLayout.swift:583)
26  SwiftUI                         0x00000001c9dc6920 StackLayout.UnmanagedImplementation.placeChildren(in:) + 160 (StackLayout.swift:617)
27  SwiftUI                         0x00000001ca264d90 $s7SwiftUI7HVStackPAAE12sizeThatFits8proposal8subviews5cacheSo6CGSizeVAA16ProposedViewSizeV_AA14LayoutSubviewsVAA06_StackN5CacheVztFAA011_FormVStackN0V_TB5 + 108 (StackLayout.swift:164)
28  SwiftUI                         0x00000001ca2652f0 protocol witness for Layout.sizeThatFits(proposal:subviews:cache:) in conformance _HStackLayout + 20 (:0)
29  SwiftUI                         0x00000001c9943b40 ViewLayoutEngine.sizeThatFits(_:) + 548 (Layout.swift:1812)
30  SwiftUI                         0x00000001c9eb8678 LayoutEngine.lengthThatFits(_:in:) + 88 (LayoutComputer.swift:163)
31  SwiftUI                         0x00000001c9eb9d6c LayoutEngineBox.lengthThatFits(_:in:) + 148 (LayoutComputer.swift:228)
32  SwiftUI                         0x00000001c9dc8284 StackLayout.UnmanagedImplementation.prioritize(_:proposedSize:) + 988 (LayoutComputer.swift:61)
33  SwiftUI                         0x00000001c9dc77b4 specialized StackLayout.UnmanagedImplementation.sizeChildrenGenerallyWithConcreteMajorProposal(in:minorProposalForChild:) + 144 (StackLayout.swift:408)
34  SwiftUI                         0x00000001c9dc6ba8 specialized StackLayout.UnmanagedImplementation.sizeChildren(in:minorProposalForChild:) + 92 (StackLayout.swift:367)
35  SwiftUI                         0x00000001c9dc90d4 specialized StackLayout.UnmanagedImplementation.placeChildren1(in:minorProposalForChild:) + 92 (StackLayout.swift:583)
36  SwiftUI                         0x00000001c9dc6920 StackLayout.UnmanagedImplementation.placeChildren(in:) + 160 (StackLayout.swift:617)
37  SwiftUI                         0x00000001ca264d90 $s7SwiftUI7HVStackPAAE12sizeThatFits8proposal8subviews5cacheSo6CGSizeVAA16ProposedViewSizeV_AA14LayoutSubviewsVAA06_StackN5CacheVztFAA011_FormVStackN0V_TB5 + 108 (StackLayout.swift:164)
38  SwiftUI                         0x00000001ca2652f0 protocol witness for Layout.sizeThatFits(proposal:subviews:cache:) in conformance _HStackLayout + 20 (:0)
39  SwiftUI                         0x00000001c9943b40 ViewLayoutEngine.sizeThatFits(_:) + 548 (Layout.swift:1812)
40  SwiftUI                         0x00000001c9eb8678 LayoutEngine.lengthThatFits(_:in:) + 88 (LayoutComputer.swift:163)
41  SwiftUI                         0x00000001c9eb9d6c LayoutEngineBox.lengthThatFits(_:in:) + 148 (LayoutComputer.swift:228)
42  SwiftUI                         0x00000001c9dc8284 StackLayout.UnmanagedImplementation.prioritize(_:proposedSize:) + 988 (LayoutComputer.swift:61)
43  SwiftUI                         0x00000001c9dc77b4 specialized StackLayout.UnmanagedImplementation.sizeChildrenGenerallyWithConcreteMajorProposal(in:minorProposalForChild:) + 144 (StackLayout.swift:408)
44  SwiftUI                         0x00000001c9dc6ba8 specialized StackLayout.UnmanagedImplementation.sizeChildren(in:minorProposalForChild:) + 92 (StackLayout.swift:367)
45  SwiftUI                         0x00000001c9dc90d4 specialized StackLayout.UnmanagedImplementation.placeChildren1(in:minorProposalForChild:) + 92 (StackLayout.swift:583)
46  SwiftUI                         0x00000001c9dc6920 StackLayout.UnmanagedImplementation.placeChildren(in:) + 160 (StackLayout.swift:617)
47  SwiftUI                         0x00000001ca264d90 $s7SwiftUI7HVStackPAAE12sizeThatFits8proposal8subviews5cacheSo6CGSizeVAA16ProposedViewSizeV_AA14LayoutSubviewsVAA06_StackN5CacheVztFAA011_FormVStackN0V_TB5 + 108 (StackLayout.swift:164)
48  SwiftUI                         0x00000001ca2652f0 protocol witness for Layout.sizeThatFits(proposal:subviews:cache:) in conformance _HStackLayout + 20 (:0)
49  SwiftUI                         0x00000001c9943b40 ViewLayoutEngine.sizeThatFits(_:) + 548 (Layout.swift:1812)
50  SwiftUI                         0x00000001c9eb9cc8 LayoutEngineBox.sizeThatFits(_:) + 148 (LayoutComputer.swift:223)
51  SwiftUI                         0x00000001c9794f90 _PaddingLayout.sizeThatFits(in:context:child:) + 272 (LayoutComputer.swift:70)
52  SwiftUI                         0x00000001c9795110 protocol witness for UnaryLayout.sizeThatFits(in:context:child:) in conformance _PaddingLayout + 44 (:0)
53  SwiftUI                         0x00000001c97a1af4 closure #1 in UnaryLayoutEngine.sizeThatFits(_:) + 100 (UnaryLayoutView.swift:266)
54  SwiftUI                         0x00000001c97a19cc UnaryLayoutEngine.sizeThatFits(_:) + 556 (StandardLibraryAdditions.swift:560)
55  SwiftUI                         0x00000001c9eb9cc8 LayoutEngineBox.sizeThatFits(_:) + 148 (LayoutComputer.swift:223)
56  SwiftUI                         0x00000001c8ed1ed4 LayoutProxy.dimensions(in:) + 188 (LayoutComputer.swift:70)
57  SwiftUI                         0x00000001c8eace34 $s7SwiftUI17FrameLayoutCommon33_5A9E1D445DB6EE952DA56D0FDE665D4ELLPAAE15commonPlacement2of2in13childProposalAA01_P0VAA0D5ProxyV_AA0P7ContextVAA13_ProposedSizeVtFAA05_FlexcD0V_TB5 + 180 (FrameLayout.swift:505)
58  SwiftUI                         0x00000001c8fb619c protocol witness for UnaryLayout.placement(of:in:) in conformance _FlexFrameLayout + 80 (:0)
59  SwiftUI                         0x00000001c8e43cf4 closure #1 in UnaryLayoutEngine.childPlacement(at:) + 88 (UnaryLayoutView.swift:284)
60  SwiftUI                         0x00000001c8e471ec UnaryLayoutEngine.childPlacement(at:) + 856 (StandardLibraryAdditions.swift:560)
61  SwiftUI                         0x00000001c8e3bed8 UnaryLayoutEngine.explicitAlignment(_:at:) + 72 (UnaryLayoutView.swift:274)
62  SwiftUI                         0x00000001c97a1b28 protocol witness for LayoutEngine.explicitAlignment(_:at:) in conformance UnaryLayoutEngine<a> + 16 (:0)
63  SwiftUI                         0x00000001c9eb9e60 LayoutEngineBox.explicitAlignment(_:at:) + 108 (LayoutComputer.swift:238)
64  SwiftUI                         0x00000001c8e93b74 ViewDimensions.subscript.getter + 136 (LayoutComputer.swift:94)
65  SwiftUI                         0x00000001c9dc6a90 StackLayout.UnmanagedImplementation.resize(_:proposal:proxy:) + 132 (StackLayout.swift:344)
66  SwiftUI                         0x00000001c9dc6e64 specialized StackLayout.UnmanagedImplementation.sizeChildrenIdeally(in:minorProposalForChild:) + 220 (StackLayout.swift:389)
67  SwiftUI                         0x00000001c9dc6b8c specialized StackLayout.UnmanagedImplementation.sizeChildren(in:minorProposalForChild:) + 64 (StackLayout.swift:360)
68  SwiftUI                         0x00000001c9dc90d4 specialized StackLayout.UnmanagedImplementation.placeChildren1(in:minorProposalForChild:) + 92 (StackLayout.swift:583)
69  SwiftUI                         0x00000001c9dc6920 StackLayout.UnmanagedImplementation.placeChildren(in:) + 160 (StackLayout.swift:617)
70  SwiftUI                         0x00000001ca264d90 $s7SwiftUI7HVStackPAAE12sizeThatFits8proposal8subviews5cacheSo6CGSizeVAA16ProposedViewSizeV_AA14LayoutSubviewsVAA06_StackN5CacheVztFAA011_FormVStackN0V_TB5 + 108 (StackLayout.swift:164)
71  SwiftUI                         0x00000001ca2652f0 protocol witness for Layout.sizeThatFits(proposal:subviews:cache:) in conformance _HStackLayout + 20 (:0)
72  SwiftUI                         0x00000001c9943b40 ViewLayoutEngine.sizeThatFits(_:) + 548 (Layout.swift:1812)
73  SwiftUI                         0x00000001c9eb9cc8 LayoutEngineBox.sizeThatFits(_:) + 148 (LayoutComputer.swift:223)
74  SwiftUI                         0x00000001c9794f90 _PaddingLayout.sizeThatFits(in:context:child:) + 272 (LayoutComputer.swift:70)
75  SwiftUI                         0x00000001c9795110 protocol witness for UnaryLayout.sizeThatFits(in:context:child:) in conformance _PaddingLayout + 44 (:0)
76  SwiftUI                         0x00000001c97a1af4 closure #1 in UnaryLayoutEngine.sizeThatFits(_:) + 100 (UnaryLayoutView.swift:266)
77  SwiftUI                         0x00000001c97a19cc UnaryLayoutEngine.sizeThatFits(_:) + 556 (StandardLibraryAdditions.swift:560)
78  SwiftUI                         0x00000001c9eb9cc8 LayoutEngineBox.sizeThatFits(_:) + 148 (LayoutComputer.swift:223)
79  SwiftUI                         0x00000001c8eefa30 static ScrollViewUtilities.sizeThatFits(in:contentComputer:axes:) + 308 (LayoutComputer.swift:70)
80  SwiftUI                         0x00000001c9dd7bdc closure #1 in SystemScrollViewLayoutComputer.Engine.sizeThatFits(_:) + 156 (SystemScrollView.swift:622)
81  SwiftUI                         0x00000001c9dd7a68 SystemScrollViewLayoutComputer.Engine.sizeThatFits(_:) + 348 (StandardLibraryAdditions.swift:560)
82  SwiftUI                         0x00000001c9eb8244 $s7SwiftUI12LayoutEnginePAAE14lengthThatFits_2in12CoreGraphics7CGFloatVAA13_ProposedSizeV_AA4AxisOtFAA016SystemScrollViewC8Computer33_2827C9FDBC03BB2C61476E3A694FFF5DLLV0D0V_TB5 + 56 (:0)
83  SwiftUI                         0x00000001c9eb9d6c LayoutEngineBox.lengthThatFits(_:in:) + 148 (LayoutComputer.swift:228)
84  SwiftUI                         0x00000001c9dc85f8 StackLayout.UnmanagedImplementation.prioritize(_:proposedSize:) + 1872 (LayoutComputer.swift:61)
85  SwiftUI                         0x00000001c9dc77b4 specialized StackLayout.UnmanagedImplementation.sizeChildrenGenerallyWithConcreteMajorProposal(in:minorProposalForChild:) + 144 (StackLayout.swift:408)
86  SwiftUI                         0x00000001c9dc6ba8 specialized StackLayout.UnmanagedImplementation.sizeChildren(in:minorProposalForChild:) + 92 (StackLayout.swift:367)
87  SwiftUI                         0x00000001c9dc90d4 specialized StackLayout.UnmanagedImplementation.placeChildren1(in:minorProposalForChild:) + 92 (StackLayout.swift:583)
88  SwiftUI                         0x00000001c9dc6920 StackLayout.UnmanagedImplementation.placeChildren(in:) + 160 (StackLayout.swift:617)
89  SwiftUI                         0x00000001ca264d90 $s7SwiftUI7HVStackPAAE12sizeThatFits8proposal8subviews5cacheSo6CGSizeVAA16ProposedViewSizeV_AA14LayoutSubviewsVAA06_StackN5CacheVztFAA011_FormVStackN0V_TB5 + 108 (StackLayout.swift:164)
90  SwiftUI                         0x00000001ca2652f0 protocol witness for Layout.sizeThatFits(proposal:subviews:cache:) in conformance _HStackLayout + 20 (:0)
91  SwiftUI                         0x00000001c9943b40 ViewLayoutEngine.sizeThatFits(_:) + 548 (Layout.swift:1812)
92  SwiftUI                         0x00000001c9eb8678 LayoutEngine.lengthThatFits(_:in:) + 88 (LayoutComputer.swift:163)
93  SwiftUI                         0x00000001c9eb9d6c LayoutEngineBox.lengthThatFits(_:in:) + 148 (LayoutComputer.swift:228)
94  SwiftUI                         0x00000001c9dc8284 StackLayout.UnmanagedImplementation.prioritize(_:proposedSize:) + 988 (LayoutComputer.swift:61)
95  SwiftUI                         0x00000001c9dc77b4 specialized StackLayout.UnmanagedImplementation.sizeChildrenGenerallyWithConcreteMajorProposal(in:minorProposalForChild:) + 144 (StackLayout.swift:408)
96  SwiftUI                         0x00000001c9dc6ba8 specialized StackLayout.UnmanagedImplementation.sizeChildren(in:minorProposalForChild:) + 92 (StackLayout.swift:367)
97  SwiftUI                         0x00000001c9dc90d4 specialized StackLayout.UnmanagedImplementation.placeChildren1(in:minorProposalForChild:) + 92 (StackLayout.swift:583)
98  SwiftUI                         0x00000001c9dc6920 StackLayout.UnmanagedImplementation.placeChildren(in:) + 160 (StackLayout.swift:617)
99  SwiftUI                         0x00000001ca264d90 $s7SwiftUI7HVStackPAAE12sizeThatFits8proposal8subviews5cacheSo6CGSizeVAA16ProposedViewSizeV_AA14LayoutSubviewsVAA06_StackN5CacheVztFAA011_FormVStackN0V_TB5 + 108 (StackLayout.swift:164)
100 SwiftUI                         0x00000001ca2652f0 protocol witness for Layout.sizeThatFits(proposal:subviews:cache:) in conformance _HStackLayout + 20 (:0)
101 SwiftUI                         0x00000001c9943b40 ViewLayoutEngine.sizeThatFits(_:) + 548 (Layout.swift:1812)
102 SwiftUI                         0x00000001c9eb9cc8 LayoutEngineBox.sizeThatFits(_:) + 148 (LayoutComputer.swift:223)
103 SwiftUI                         0x00000001c9c3e224 GeometryReaderLayout.placeSubviews(in:proposal:subviews:cache:) + 516 (LayoutComputer.swift:70)
104 SwiftUI                         0x00000001c994409c closure #1 in ViewLayoutEngine.childGeometries(at:origin:) + 620 (Layout.swift:1839)
105 SwiftUI                         0x00000001c9943de4 ViewLayoutEngine.childGeometries(at:origin:) + 436 (:0)
106 SwiftUI                         0x00000001c9eb9de8 LayoutEngineBox.childGeometries(at:origin:) + 108 (LayoutComputer.swift:233)
107 SwiftUI                         0x00000001c8e81714 specialized implicit closure #2 in implicit closure #1 in closure #1 in closure #1 in Attribute.init</a><a>(_:) + 316 (LayoutComputer.swift:85)
108 AttributeGraph                  0x00000001e822f6f4 AG::Graph::UpdateStack::update() + 520 (ag-closure.h:109)
109 AttributeGraph                  0x00000001e822ef44 AG::Graph::update_attribute(AG::data::ptr, unsigned int) + 424 (ag-graph-update.cc:714)
110 AttributeGraph                  0x00000001e822dc00 AG::Subgraph::update(unsigned int) + 844 (ag-subgraph.cc:734)
111 SwiftUI                         0x00000001c8e10f28 GraphHost.flushTransactions() + 572 (GraphHost.swift:640)
112 SwiftUI                         0x00000001ca1d4350 closure #1 in closure #1 in closure #1 in closure #1 in GraphHost.asyncTransaction</a><a>(_:id:mutation:style:mayDeferUpdate:) + 24 (GraphHost.swift:525)
113 SwiftUI                         0x00000001c97cb2ac closure #1 in ViewGraphDelegate.updateGraph</a><a>(body:) + 52 (ViewGraph.swift:38)
114 SwiftUI                         0x00000001c8e0e58c closure #1 in ViewRendererHost.updateViewGraph</a><a>(body:) + 108 (ViewRendererHost.swift:118)
115 SwiftUI                         0x00000001c8e0804c ViewRendererHost.updateViewGraph</a><a>(body:) + 96 (:0)
116 SwiftUI                         0x00000001c8e01a68 ViewGraphDelegate.updateGraph</a><a>(body:) + 84 (ViewGraph.swift:38)
117 SwiftUI                         0x00000001ca1d4318 closure #1 in closure #1 in closure #1 in GraphHost.asyncTransaction</a><a>(_:id:mutation:style:mayDeferUpdate:) + 200 (GraphHost.swift:524)
118 SwiftUI                         0x00000001ca1d4204 closure #1 in closure #1 in GraphHost.asyncTransaction</a><a>(_:id:mutation:style:mayDeferUpdate:) + 72 (Update.swift:118)
119 SwiftUI                         0x00000001c8edbe30 thunk for @escaping @callee_guaranteed () -> () + 28 (:0)
120 SwiftUI                         0x00000001c94ef1b4 closure #1 in static GraphHost.UIKitUpdateCycle.addPreCommitObserver(_:) + 148 (:0)
121 SwiftUI                         0x00000001c94ef264 thunk for @escaping @callee_guaranteed (@unowned UnsafeMutableRawPointer?, @unowned Double, @unowned UnsafePointer<_UIUpdateTiming>) -> () + 72 (:0)
122 UIKitCore                       0x00000001c7c67740 _UIUpdateSequenceRun + 84 (_UIUpdateSequence.mm:112)
123 UIKitCore                       0x00000001c82aefd0 schedulerStepScheduledMainSection + 172 (_UIUpdateScheduler.m:987)
124 UIKitCore                       0x00000001c82ae19c runloopSourceCallback + 92 (_UIUpdateScheduler.m:1079)
125 CoreFoundation                  0x00000001c552df54 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1957)
126 CoreFoundation                  0x00000001c553a32c __CFRunLoopDoSource0 + 176 (CFRunLoop.c:2001)
127 CoreFoundation                  0x00000001c54be210 __CFRunLoopDoSources0 + 244 (CFRunLoop.c:2038)
128 CoreFoundation                  0x00000001c54d3ba8 __CFRunLoopRun + 836 (CFRunLoop.c:2953)
129 CoreFoundation                  0x00000001c54d8ed4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
130 GraphicsServices                0x00000001fe7da368 GSEventRunModal + 164 (GSEvent.c:2196)
131 UIKitCore                       0x00000001c79b73d0 -[UIApplication _run] + 888 (UIApplication.m:3745)
132 UIKitCore                       0x00000001c79b7034 UIApplicationMain + 340 (UIApplication.m:5335)
133 libswiftUIKit.dylib             0x00000001cdfa7308 UIApplicationMain(_:_:_:_:) + 104 (UIKit.swift:538)
134 MaskedApp                       0x00000001041ee570 specialized static UIApplicationDelegate.main() + 80 (:22)
135 MaskedApp                       0x00000001041ee570 static AppDelegate.$main() + 92 (Step52BankEnterViewModel.swift:0)
136 MaskedApp                       0x00000001041ee570 main + 108
137 dyld                            0x00000001e3b44960 start + 2528 (dyldMain.cpp:1170)

Thread 1 name:
Thread 1:
0   libsystem_kernel.dylib          0x000000020205d724 __channel_sync + 8
1   Network                         0x00000001c636dd64 nw_channel_add_input_frames(nw_channel*, nw_protocol*) + 10444 (channel.cpp:1384)
2   Network                         0x00000001c636b3a8 nw_channel_update_input_source(nw_channel*, nw_protocol*, bool) + 328 (channel.cpp:1464)
3   Network                         0x00000001c636a5b4 ___ZL17nw_channel_createP10nw_contextPhjPvjbbPb_block_invoke.22 + 72 (channel.cpp:2405)
4   libdispatch.dylib               0x00000001cca31fdc _dispatch_client_callout + 20 (object.m:560)
5   libdispatch.dylib               0x00000001cca3546c _dispatch_continuation_pop + 504 (inline_internal.h:2632)
6   libdispatch.dylib               0x00000001cca48a58 _dispatch_source_invoke + 1588 (source.c:596)
7   libdispatch.dylib               0x00000001cca3b4f8 _dispatch_workloop_invoke + 1780 (inline_internal.h:0)
8   libdispatch.dylib               0x00000001cca44e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
9   libsystem_pthread.dylib         0x00000002124bbdf8 _pthread_wqthread + 288 (pthread.c:2618)
10  libsystem_pthread.dylib         0x00000002124bbb98 start_wqthread + 8

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

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib          0x0000000202059b48 mach_msg2_trap + 8
1   libsystem_kernel.dylib          0x000000020206c008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x000000020206c248 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x000000020205a08c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x00000001c54d2af0 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x00000001c54d3d34 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x00000001c54d8ed4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   Foundation                      0x00000001bf882334 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   Foundation                      0x00000001bf88221c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9   UIKitCore                       0x00000001c7aec33c -[UIEventFetcher threadMain] + 436 (UIEventFetcher.m:1377)
10  Foundation                      0x00000001bf89b808 __NSThread__start__ + 716 (NSThread.m:963)
11  libsystem_pthread.dylib         0x00000002124bc6cc _pthread_start + 148 (pthread.c:893)
12  libsystem_pthread.dylib         0x00000002124bbba4 thread_start + 8

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib          0x0000000202059b48 mach_msg2_trap + 8
1   libsystem_kernel.dylib          0x000000020206c008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x000000020206c248 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x000000020205a08c mach_msg + 24 (mach_msg.c:323)
4   MaskedApp                       0x0000000104cc7804 FIRCLSMachExceptionReply + 100 (FIRCLSMachException.c:258)
5   MaskedApp                       0x0000000104cc7804 FIRCLSMachExceptionServer + 940 (FIRCLSMachException.c:176)
6   libsystem_pthread.dylib         0x00000002124bc6cc _pthread_start + 148 (pthread.c:893)
7   libsystem_pthread.dylib         0x00000002124bbba4 thread_start + 8

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib          0x0000000202059b48 mach_msg2_trap + 8
1   libsystem_kernel.dylib          0x000000020206c008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x000000020206c248 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x000000020205a08c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x00000001c54d2af0 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x00000001c54d3d34 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x00000001c54d8ed4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   CFNetwork                       0x00000001c68305a8 +[__CFN_CoreSchedulingSetRunnable _run:] + 392 (CoreSchedulingSet.mm:1372)
8   Foundation                      0x00000001bf89b808 __NSThread__start__ + 716 (NSThread.m:963)
9   libsystem_pthread.dylib         0x00000002124bc6cc _pthread_start + 148 (pthread.c:893)
10  libsystem_pthread.dylib         0x00000002124bbba4 thread_start + 8

... 

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x00000001298ed9b0   x1: 0x000000016bc10a30   x2: 0x0000000000000005   x3: 0x86cb7eddc65c0ac8
    x4: 0x0000000000000005   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000001
    x8: 0x0000000000000000   x9: 0x0000000000000b07  x10: 0x0000000000000160  x11: 0x0000000000000000
   x12: 0x000000016bc10a3a  x13: 0x0000000108689770  x14: 0x000000016bc0ea80  x15: 0x000000021bb78498
   x16: 0x000000021de71170  x17: 0x13a300021de71170  x18: 0x0000000000000000  x19: 0x0000000000000005
   x20: 0x000000016bc10a30  x21: 0x00000001298ed9b0  x22: 0x0000000000000005  x23: 0x000000016bc10a30
   x24: 0x00000001298ed9b0  x25: 0x0000000000000003  x26: 0x0000000000000005  x27: 0x00000001298ed980
   x28: 0x0000000282eb7ae0   fp: 0x000000016bc0e080   lr: 0xc11b4401c6efe500
    sp: 0x000000016bc0e060   pc: 0x00000001c6eeb710 cpsr: 0x20001000
   esr: 0x92000006 (Data Abort) byte read Translation fault


Binary Images:
0x1041e8000 - 0x105adffff MaskedApp arm64   /private/var/containers/Bundle/Application/DE85D33C-3FD0-400F-AE6C-01979943C362/MaskedApp.app/MaskedApp
0x1bf840000 - 0x1c0189fff Foundation arm64e   /System/Library/Frameworks/Foundation.framework/Foundation
0x1c5458000 - 0x1c583dfff CoreFoundation arm64e  <5cdc5d9ae5063740b64ebb30867b4f1b> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1c583e000 - 0x1c65d9fff Network arm64e  <3bf445f9d58f3280b9c92feaf4daca6d> /System/Library/Frameworks/Network.framework/Network
0x1c65da000 - 0x1c69a1fff CFNetwork arm64e   /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x1c6e43000 - 0x1c7006fff CoreText arm64e  <433544a5975a399eb8fbf35b6ba83e24> /System/Library/Frameworks/CoreText.framework/CoreText
0x1c7615000 - 0x1c8df2fff UIKitCore arm64e  <179501b60fc2344ab969b4e3961ebe10> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1c8df3000 - 0x1ca736fff SwiftUI arm64e  <494a7d5790af3e9096237038275b8d87> /System/Library/Frameworks/SwiftUI.framework/SwiftUI
0x1cca2e000 - 0x1cca74fff libdispatch.dylib arm64e   /usr/lib/system/libdispatch.dylib
0x1cdf72000 - 0x1cdfe6fff libswiftUIKit.dylib arm64e  <6383e8e8672633918d95bb5ee497e9aa> /usr/lib/swift/libswiftUIKit.dylib
0x1cf82b000 - 0x1cf961fff UIFoundation arm64e   /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation
0x1e3b2f000 - 0x1e3bb200f dyld arm64e   /usr/lib/dyld
0x1e822b000 - 0x1e826dfff AttributeGraph arm64e   /System/Library/PrivateFrameworks/AttributeGraph.framework/AttributeGraph
0x1fe7d9000 - 0x1fe7e1fff GraphicsServices arm64e   /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x202059000 - 0x20208fffb libsystem_kernel.dylib arm64e   /usr/lib/system/libsystem_kernel.dylib
0x2124bb000 - 0x2124c6fff libsystem_pthread.dylib arm64e  <1aa3a4b6f9e730568c8b4e4dd81312a4> /usr/lib/system/libsystem_pthread.dylib

EOF
</a>

我不能尝试任何东西,因为它不是我自己复制的..

ios swiftui crash
© www.soinside.com 2019 - 2024. All rights reserved.