Skip to content

Instantly share code, notes, and snippets.

@marcprux
Created May 6, 2021 12:22
Show Gist options
  • Save marcprux/fa7251f7a864db7c6c420d653d61816c to your computer and use it in GitHub Desktop.
Save marcprux/fa7251f7a864db7c6c420d653d61816c to your computer and use it in GitHub Desktop.
/**
```
Thread 1 Queue : com.apple.main-thread (serial)
#0 0x00007fff2cb8dead in swift_retain ()
#1 0x00007fff2cb90e55 in swift::metadataimpl::ValueWitnesses<swift::metadataimpl::SwiftRetainableBox>::initializeWithCopy(swift::OpaqueValue*, swift::OpaqueValue*, swift::TargetMetadata<swift::InProcess> const*) ()
#2 0x00007fff2cbaf29d in swift::metadataimpl::ValueWitnesses<swift::metadataimpl::OpaqueExistentialBox<1u> >::initializeWithCopy(swift::OpaqueValue*, swift::OpaqueValue*, swift::TargetMetadata<swift::InProcess> const*) ()
#3 0x00007fff421b8f10 in outlined init with copy of ViewList? ()
#4 0x00007fff421b8e1a in TransformedList.TransformItem.apply(sublist:) ()
#5 0x00007fff421b8e3e in TransformedList.TransformItem.apply(sublist:) ()
#6 0x00007fff421b8783 in closure #1 in ViewList.visitChildNodes(from:transform:applying:) ()
#7 0x00007fff41e11b1b in BaseViewList.applyNodes(from:style:list:transform:to:) ()
#8 0x00007fff4228a408 in AnyViewList.WrappedList.applyNodes(from:style:list:transform:to:) ()
#9 0x00007fff4228a408 in AnyViewList.WrappedList.applyNodes(from:style:list:transform:to:) ()
#10 0x00007fff421afa63 in closure #1 in ForEachState.applyNodes(from:style:list:transform:to:) ()
#11 0x00007fff421b40c2 in partial apply for closure #1 in ForEachState.applyNodes(from:style:list:transform:to:) ()
#12 0x00007fff421ae19b in ForEachState.forEachItem(from:style:do:) ()
#13 0x00007fff421af78e in ForEachState.applyNodes(from:style:list:transform:to:) ()
#14 0x00007fff421b25b7 in ForEachList.applyNodes(from:style:list:transform:to:) ()
#15 0x00007fff421b29a6 in protocol witness for ViewList.applyNodes(from:style:list:transform:to:) in conformance ForEachList<τ_0_0, τ_0_1, τ_0_2> ()
#16 0x00007fff421b8ced in TransformedList.applyNodes(from:style:list:transform:to:) ()
#17 0x00007fff421b868e in ViewList.visitChildNodes(from:transform:applying:) ()
#18 0x00007fff421b7e69 in ViewListTree.child(at:) ()
#19 0x00007fff41f6ddd6 in OutlineListRootViewTree.child(at:) ()
#20 0x00007fff41f6e5bd in protocol witness for ListRootViewTree.child(at:) in conformance OutlineListRootViewTree ()
#21 0x00007fff425ffa60 in ListStyleDataSource.selectionValue(forRowAt:) ()
#22 0x00007fff4260177a in protocol witness for ListCoreDataSource.selectionValue(forRowAt:) in conformance ListStyleDataSource<τ_0_0> ()
#23 0x00007fff420e70e4 in closure #1 in closure #1 in ListCoreCoordinator.updateTableViewAndVisibleRows(_:from:to:) ()
#24 0x00007fff420ee3a1 in partial apply for thunk for @callee_guaranteed (@guaranteed NSTableRowView, @unowned Int) -> () ()
#25 0x00007fff420e725e in thunk for @escaping @callee_guaranteed (@guaranteed NSTableRowView, @unowned Int) -> () ()
#26 0x00007fff237ac517 in -[NSTableRowData enumerateAvailableRowViewsIncludingOrphanRows:usingBlock:] ()
#27 0x00007fff420e6961 in closure #1 in ListCoreCoordinator.updateTableViewAndVisibleRows(_:from:to:) ()
#28 0x00007fff420e72a4 in ListCoreCoordinator.withSelectionUpdateGuard(_:) ()
#29 0x00007fff420e5d7b in ListCoreCoordinator.updateTableViewAndVisibleRows(_:from:to:) ()
#30 0x00007fff420e5cc0 in ListRepresentable.updateNSView(_:context:) ()
#31 0x00007fff41e36645 in PlatformViewRepresentableAdaptor.updateViewProvider(_:context:) ()
#32 0x00007fff424b5ff9 in closure #1 in closure #1 in closure #4 in closure #1 in PlatformViewChild.updateValue() ()
#33 0x00007fff424b5e63 in closure #1 in closure #4 in closure #1 in PlatformViewChild.updateValue() ()
#34 0x00007fff424fdbc5 in ViewRendererHost.performExternalUpdate(_:) ()
#35 0x00007fff424b5d74 in closure #4 in closure #1 in PlatformViewChild.updateValue() ()
#36 0x00007fff424b4a51 in closure #1 in PlatformViewChild.updateValue() ()
#37 0x00007fff424b3eb9 in PlatformViewChild.updateValue() ()
#38 0x00007fff41e04c1a in partial apply for implicit closure #2 in implicit closure #1 in closure #1 in closure #1 in Attribute.init<τ_0_0>(_:) ()
#39 0x00007fff428322a5 in AG::Graph::UpdateStack::update() ()
#40 0x00007fff4283272e in AG::Graph::update_attribute(AG::data::ptr<AG::Node>, bool) ()
#41 0x00007fff42837196 in AG::Graph::value_ref(AG::AttributeID, AGSwiftMetadata const*, bool*) ()
#42 0x00007fff42848c8b in AGGraphGetValue ()
#43 0x00007fff41f652ee in ViewGraph.sizeThatFits(_:) ()
#44 0x00007fff41f650ec in ViewGraph.updateIdealSize() ()
#45 0x00007fff41f65393 in ViewGraph.updateIdealSize(at:) ()
#46 0x00007fff4250923e in partial apply for closure #1 in ViewRendererHost.updateIdealSize() ()
#47 0x00007fff42509257 in partial apply for thunk for @callee_guaranteed (@guaranteed ViewGraph) -> () ()
#48 0x00007fff424fe943 in closure #1 in ViewRendererHost.updateViewGraph<τ_0_0>(body:) ()
#49 0x00007fff424fcf76 in ViewRendererHost.updateViewGraph<τ_0_0>(body:) ()
#50 0x00007fff425084bb in protocol witness for ViewGraphDelegate.updateViewGraph<τ_0_0>(body:) in conformance NSHostingView<τ_1_0> ()
#51 0x00007fff424ffcdc in ViewRendererHost.updateIdealSize() ()
#52 0x00007fff4252e00c in NSHostingView._willUpdateConstraintsForSubtree() ()
#53 0x00007fff4252e155 in @objc NSHostingView._willUpdateConstraintsForSubtree() ()
#54 0x00007fff22e993b9 in -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] ()
#55 0x00007fff22e99528 in -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] ()
#56 0x00007fff22e99528 in -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] ()
#57 0x00007fff22e99528 in -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] ()
#58 0x00007fff22e99528 in -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] ()
#59 0x00007fff22ea92a0 in __82-[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:]_block_invoke ()
#60 0x00007fff2730984a in -[NSISEngine withBehaviors:performModifications:] ()
#61 0x00007fff22e99436 in -[NSView _updateConstraintsForSubtreeIfNeededCollectingViewsWithInvalidBaselines:] ()
#62 0x00007fff22e9927b in __45-[NSView updateConstraintsForSubtreeIfNeeded]_block_invoke ()
#63 0x00007fff2730984a in -[NSISEngine withBehaviors:performModifications:] ()
#64 0x00007fff22e07c69 in -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] ()
#65 0x00007fff22e99033 in -[NSView updateConstraintsForSubtreeIfNeeded] ()
#66 0x00007fff424b7740 in PlatformViewHost.updateLayoutTraits() ()
#67 0x00007fff424b7668 in closure #1 in ViewLeafView.layoutTraits() ()
#68 0x00007fff424b75c6 in ViewLeafView.layoutTraits() ()
#69 0x00007fff424b7470 in ViewLeafView.sizeThatFits(in:) ()
#70 0x00007fff41fcbb4e in closure #1 in LeafLayoutEngine.sizeThatFits(_:) ()
#71 0x00007fff41fcba00 in LeafLayoutEngine.sizeThatFits(_:) ()
#72 0x00007fff42086526 in LayoutComputer.EngineDelegate.sizeThatFits(_:) ()
#73 0x00007fff42089bcc in AlignmentModifiedLayoutComputer.LayoutEngine.sizeThatFits(_:) ()
#74 0x00007fff42089cd1 in protocol witness for LayoutEngineProtocol.sizeThatFits(_:) in conformance AlignmentModifiedLayoutComputer.LayoutEngine ()
#75 0x00007fff42086526 in LayoutComputer.EngineDelegate.sizeThatFits(_:) ()
#76 0x00007fff42089bcc in AlignmentModifiedLayoutComputer.LayoutEngine.sizeThatFits(_:) ()
#77 0x00007fff42089cd1 in protocol witness for LayoutEngineProtocol.sizeThatFits(_:) in conformance AlignmentModifiedLayoutComputer.LayoutEngine ()
#78 0x00007fff42086526 in LayoutComputer.EngineDelegate.sizeThatFits(_:) ()
#79 0x00007fff424e7d0c in _SafeAreaRegionsIgnoringLayout.sizeThatFits(in:context:child:) ()
#80 0x00007fff42371d71 in closure #1 in UnaryLayoutEngine.sizeThatFits(_:) ()
#81 0x00007fff42371c17 in UnaryLayoutEngine.sizeThatFits(_:) ()
#82 0x00007fff42086526 in LayoutComputer.EngineDelegate.sizeThatFits(_:) ()
#83 0x00007fff426590ed in StackLayout.UnmanagedImplementation.resize(_:proposal:proxy:) ()
#84 0x00007fff4265a129 in specialized StackLayout.UnmanagedImplementation.sizeChildrenGenerallyWithConcreteMajorProposal(in:minorProposalForChild:) ()
#85 0x00007fff4265b2f0 in specialized StackLayout.UnmanagedImplementation.placeChildren1(in:minorProposalForChild:) ()
#86 0x00007fff42658590 in StackLayout.UnmanagedImplementation.placeChildren(in:) ()
#87 0x00007fff42657f6d in StackLayout.UnmanagedImplementation.sizeThatFits(_:) ()
#88 0x00007fff42657ddb in StackLayout.Storage.sizeThatFits(_:) ()
#89 0x00007fff41f661b6 in RootGeometry.value.getter ()
#90 0x00007fff41dee816 in specialized implicit closure #2 in implicit closure #1 in closure #1 in closure #1 in Attribute.init<τ_0_0>(_:) ()
#91 0x00007fff41e04b7e in partial apply for specialized implicit closure #2 in implicit closure #1 in closure #1 in closure #1 in Attribute.init<τ_0_0>(_:) ()
#92 0x00007fff428322a5 in AG::Graph::UpdateStack::update() ()
#93 0x00007fff4283272e in AG::Graph::update_attribute(AG::data::ptr<AG::Node>, bool) ()
#94 0x00007fff42837196 in AG::Graph::value_ref(AG::AttributeID, AGSwiftMetadata const*, bool*) ()
#95 0x00007fff42848c8b in AGGraphGetValue ()
#96 0x00007fff41f65434 in ViewGraph.displayList() ()
#97 0x00007fff42500509 in closure #1 in ViewRendererHost.render(interval:updateDisplayList:) ()
#98 0x00007fff424f8487 in ViewRendererHost.render(interval:updateDisplayList:) ()
#99 0x00007fff4252e429 in closure #1 in NSHostingView.layout() ()
#100 0x00007fff42537c9c in partial apply for thunk for @callee_guaranteed (@guaranteed NSAnimationContext) -> () ()
#101 0x00007fff4252bfd2 in thunk for @escaping @callee_guaranteed (@guaranteed NSAnimationContext) -> () ()
#102 0x00007fff22e0b694 in +[NSAnimationContext runAnimationGroup:] ()
#103 0x00007fff4252e35f in NSHostingView.layout() ()
#104 0x00007fff4252e54f in @objc NSHostingView.layout() ()
#105 0x00007fff22e492ff in _NSViewLayout ()
#106 0x00007fff22e48d9b in -[NSView _layoutSubtreeWithOldSize:] ()
#107 0x00007fff22e48f07 in -[NSView _layoutSubtreeWithOldSize:] ()
#108 0x00007fff22e48291 in -[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:] ()
#109 0x00007fff22e47d90 in -[NSWindow(NSConstraintBasedLayout) _layoutViewTree] ()
#110 0x00007fff22ec4724 in -[NSWindow(NSConstraintBasedLayout) layoutIfNeeded] ()
#111 0x00007fff22ec4560 in __NSWindowGetDisplayCycleObserverForLayout_block_invoke ()
#112 0x00007fff22ec37d5 in NSDisplayCycleObserverInvoke ()
#113 0x00007fff22ec3360 in NSDisplayCycleFlush ()
#114 0x00007fff26d44856 in CA::Transaction::run_commit_handlers(CATransactionPhase) ()
#115 0x00007fff26d435fd in CA::Transaction::commit() ()
#116 0x00007fff22f731dc in __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke ()
#117 0x00007fff236c7443 in ___NSRunLoopObserverCreateWithHandler_block_invoke ()
#118 0x00007fff205f3e41 in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ ()
#119 0x00007fff205f3cd5 in __CFRunLoopDoObservers ()
#120 0x00007fff205f3168 in __CFRunLoopRun ()
#121 0x00007fff205f275c in CFRunLoopRunSpecific ()
#122 0x00007fff28814203 in RunCurrentEventLoopInMode ()
#123 0x00007fff28813e36 in ReceiveNextEventCommon ()
#124 0x00007fff28813d03 in _BlockUntilNextEventMatchingListInModeWithFilter ()
#125 0x00007fff22deeb32 in _DPSNextEvent ()
#126 0x00007fff22ded305 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] ()
#127 0x00007fff22ddf679 in -[NSApplication run] ()
#128 0x00007fff22db385c in NSApplicationMain ()
#129 0x00007fff41cf3bbd in specialized runApp(_:) ()
#130 0x00007fff42525378 in runApp<τ_0_0>(_:) ()
#131 0x00007fff4210ef2d in static App.main() ()
#132 0x000000010874c810 in static GMOSApp.$main() at /opt/src/glimpse/GIO/GUI/GlimpseMacOS/GMOSApp.swift:23
#133 0x000000010874e594 in main ()
#134 0x00007fff20516f3d in start ()
#135 0x00007fff20516f3d in start ()
```
*/
struct SwiftUITableInsight {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment