swiftui аварийно завершает работу каждые несколько минут из-за ошибки предварительного условия AttributeGraph исключения

Получение этого отчета о сбое, но не может установить точку останова для исключения, чтобы проверить, что на самом деле происходит.



Application Specific Information:
abort() called
AttributeGraph precondition failure: invalid value type for attribute: 1019168 (saw PreferenceKeys, expected ViewList).
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff202e3462 __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fff20311610 pthread_kill + 263
2   libsystem_c.dylib               0x00007fff20264720 abort + 120
3   com.apple.AttributeGraph        0x00007fff42f8537e AG::precondition_failure(char const*, ...) + 294
4   com.apple.AttributeGraph        0x00007fff42f7372d AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, bool*, long) + 893
5   com.apple.AttributeGraph        0x00007fff42f84923 AGGraphGetInputValue + 234
6   com.apple.SwiftUI               0x00007fff428748e3 closure #1 in ForEachState.applyNodes(from:style:list:transform:to:) + 339
7   com.apple.SwiftUI               0x00007fff42879591 partial apply for closure #1 in ForEachState.applyNodes(from:style:list:transform:to:) + 33
8   com.apple.SwiftUI               0x00007fff42873341 ForEachState.forEachItem(from:style:do:) + 1361
9   com.apple.SwiftUI               0x00007fff4287477b ForEachState.applyNodes(from:style:list:transform:to:) + 43
10  com.apple.SwiftUI               0x00007fff428777a0 ForEachList.applyNodes(from:style:list:transform:to:) + 32
11  com.apple.SwiftUI               0x00007fff42877c53 protocol witness for ViewList.applyNodes(from:style:list:transform:to:) in conformance ForEachList<A, B, C> + 67
12  com.apple.SwiftUI               0x00007fff4287e40e ViewList.visitChildNodes(from:transform:applying:) + 62
13  com.apple.SwiftUI               0x00007fff4287e663 closure #1 in ViewList.visitChildNodes(from:transform:applying:) + 579
14  com.apple.SwiftUI               0x00007fff424d1678 _ViewList_Group.applyNodes(from:style:list:transform:to:) + 72
15  com.apple.SwiftUI               0x00007fff424d1ad5 protocol witness for ViewList.applyNodes(from:style:list:transform:to:) in conformance _ViewList_Group + 37
16  com.apple.SwiftUI               0x00007fff4287e40e ViewList.visitChildNodes(from:transform:applying:) + 62
17  com.apple.SwiftUI               0x00007fff4287e663 closure #1 in ViewList.visitChildNodes(from:transform:applying:) + 579
18  com.apple.SwiftUI               0x00007fff424d1678 _ViewList_Group.applyNodes(from:style:list:transform:to:) + 72
19  com.apple.SwiftUI               0x00007fff424d1ad5 protocol witness for ViewList.applyNodes(from:style:list:transform:to:) in conformance _ViewList_Group + 37
20  com.apple.SwiftUI               0x00007fff4287e40e ViewList.visitChildNodes(from:transform:applying:) + 62
21  com.apple.SwiftUI               0x00007fff4261bb1b ListRowArray.init(withFlatViewList:) + 347
22  com.apple.SwiftUI               0x00007fff4261b99d FlatListRootViewTree.init(_:) + 221
23  com.apple.SwiftUI               0x00007fff42d2e89e ListStyleDataSource.init(_:minRowHeight:minHeaderHeight:isOutline:tableStyle:) + 254
24  com.apple.SwiftUI               0x00007fff4261e23a PlainList.BodyContent.body.getter + 506
25  com.apple.SwiftUI               0x00007fff4261e2f9 protocol witness for View.body.getter in conformance PlainList<A>.BodyContent<A1> + 9
26  com.apple.SwiftUI               0x00007fff42624096 partial apply for closure #1 in ViewBodyAccessor.updateBody(of:changed:) + 22
27  com.apple.SwiftUI               0x00007fff4284de12 closure #1 in BodyAccessor.setBody(_:) + 34
28  com.apple.SwiftUI               0x00007fff426221bb ViewBodyAccessor.updateBody(of:changed:) + 1307
29  com.apple.SwiftUI               0x00007fff4284e23b DynamicBody.updateValue() + 347
30  com.apple.SwiftUI               0x00007fff424bfb2a partial apply for implicit closure #2 in implicit closure #1 in closure #1 in closure #1 in Attribute.init<A>(_:) + 26
31  com.apple.AttributeGraph        0x00007fff42f6e17f AG::Graph::UpdateStack::update() + 505
32  com.apple.AttributeGraph        0x00007fff42f6e608 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, bool) + 322
33  com.apple.AttributeGraph        0x00007fff42f768f3 AG::Subgraph::update(unsigned int) + 781
34  com.apple.SwiftUI               0x00007fff42d5e67a GraphHost.runTransaction() + 186
35  com.apple.SwiftUI               0x00007fff42d5fbcf GraphHost.runTransaction(_:) + 79
36  com.apple.SwiftUI               0x00007fff42d5eec9 GraphHost.flushTransactions() + 217
37  com.apple.SwiftUI               0x00007fff42d5fb6f closure #1 in closure #1 in GraphHost.asyncTransaction<A>(_:mutation:style:) + 15
38  com.apple.SwiftUI               0x00007fff42d5f739 specialized thunk for @callee_guaranteed (@guaranteed GraphHost) -> () + 9
39  com.apple.SwiftUI               0x00007fff426122a1 partial apply for closure #1 in ViewGraphDelegate.updateGraph<A>(body:) + 17
40  com.apple.SwiftUI               0x00007fff42c1b1aa closure #1 in ViewRendererHost.updateViewGraph<A>(body:) + 74
41  com.apple.SwiftUI               0x00007fff42c19299 ViewRendererHost.updateViewGraph<A>(body:) + 73
42  com.apple.SwiftUI               0x00007fff42c24e89 protocol witness for ViewGraphDelegate.updateViewGraph<A>(body:) in conformance NSHostingView<A1> + 25
43  com.apple.SwiftUI               0x00007fff4260def7 ViewGraphDelegate.updateGraph<A>(body:) + 55
44  com.apple.SwiftUI               0x00007fff42612249 protocol witness for GraphDelegate.updateGraph<A>(body:) in conformance NSHostingView<A1> + 25
45  com.apple.SwiftUI               0x00007fff42d5fb4a closure #1 in GraphHost.init(data:) + 122
46  com.apple.SwiftUI               0x00007fff42613c8c thunk for @escaping @callee_guaranteed () -> () + 12
47  com.apple.SwiftUI               0x00007fff42c75251 partial apply for thunk for @escaping @callee_guaranteed () -> () + 17
48  com.apple.SwiftUI               0x00007fff42c72ee6 static NSRunLoop.flushObservers() + 118
49  com.apple.SwiftUI               0x00007fff42c75199 closure #1 in closure #1 in static NSRunLoop.addObserver(_:) + 9
50  com.apple.SwiftUI               0x00007fff42c705fe specialized thunk for @callee_guaranteed () -> (@error @owned Error) + 14
51  libswiftObjectiveC.dylib        0x00007fff335bed9e autoreleasepool<A>(invoking:) + 46
52  com.apple.SwiftUI               0x00007fff42c75183 closure #1 in static NSRunLoop.addObserver(_:) + 35
53  com.apple.SwiftUI               0x00007fff42c751cb @objc closure #1 in static NSRunLoop.addObserver(_:) + 43
54  com.apple.CoreFoundation        0x00007fff20408dad __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
55  com.apple.CoreFoundation        0x00007fff20408c3d __CFRunLoopDoObservers + 549
56  com.apple.CoreFoundation        0x00007fff20407746 CFRunLoopRunSpecific + 683
57  com.apple.HIToolbox             0x00007fff2868c6d0 RunCurrentEventLoopInMode + 292
58  com.apple.HIToolbox             0x00007fff2868c4cc ReceiveNextEventCommon + 709
59  com.apple.HIToolbox             0x00007fff2868c1ef _BlockUntilNextEventMatchingListInModeWithFilter + 64
60  com.apple.AppKit                0x00007fff22c24de9 _DPSNextEvent + 883
61  com.apple.AppKit                0x00007fff22c235af -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
62  com.apple.AppKit                0x00007fff22c15b0a -[NSApplication run] + 586
63  com.apple.AppKit                0x00007fff22be9df2 NSApplicationMain + 816
64  com.tabnine.ExperimentsHelperUI 0x000000010e5f27ac specialized static NSApplicationDelegate.main() + 24 [inlined]
65  com.tabnine.ExperimentsHelperUI 0x000000010e5f27ac static AppDelegate.$main() + 24 [inlined]
66  com.tabnine.ExperimentsHelperUI 0x000000010e5f27ac main + 28
67  libdyld.dylib                   0x00007fff2032c621 start + 1

person Avner Barr    schedule 05.01.2021    source источник
comment
Далее может оказаться полезным stackoverflow.com/a/63018486/12299030.   -  person Asperi    schedule 05.01.2021