AttributeGraph Crash: AGGraphGetValue

In the current app we have in production we are getting back crash report that is associated with AttributeGraph. We are not able to recreate the crash. Is there any solution or steps we should take to try to find the cause of this issue?

Here is the crash thread:
Code Block languageCrashed: com.apple.main-thread0 AttributeGraph                0x1b547128c AGGraphGetValue + 2801 SwiftUI                       0x1955d4d64 AppearanceEffect.phase.getter + 282 SwiftUI                       0x1955d4de4 AppearanceEffect.updateValue() + 1163 SwiftUI                       0x1955d5218 static AppearanceEffect.didReinsert(attribute:) + 324 SwiftUI                       0x1956bd958 closure #1 in AGSubgraphRef.didReinsert() + 445 AttributeGraph                0x1b54644a0 AG::Subgraph::apply(unsigned int, AG::ClosureFunction<void, unsigned int>) + 3846 SwiftUI                       0x195b09f68 GraphHost.updateRemovedState() + 1887 SwiftUI                       0x195bc0b3c _UIHostingView.updateRemovedState() + 1048 SwiftUI                       0x195bc2f2c _UIHostingView.didMoveToWindow() + 2569 SwiftUI                       0x195bc3324 @objc _UIHostingView.didMoveToWindow() + 2410 UIKitCore                     0x191e651f0 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 205611 UIKitCore                     0x191e64c88 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 67212 UIKitCore                     0x191e590d0 45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 13613 UIKitCore                     0x191e58fbc -[UIView(Hierarchy) _postMovedFromSuperview:] + 74814 UIKitCore                     0x191e67520 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 213215 UIKitCore                     0x1912e7fd4 53-[_UINavigationParallaxTransition animateTransition:]_block_invoke_2 + 130016 UIKitCore                     0x191e60d0c +[UIView(Animation) performWithoutAnimation:] + 9617 UIKitCore                     0x1912e7a6c 53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 23618 UIKitCore                     0x191e65f50 +[UIView _performBlockDelayingTriggeringResponderEvents:forScene:] + 24419 UIKitCore                     0x1912e74e4 -[_UINavigationParallaxTransition animateTransition:] + 101220 UIKitCore                     0x1912d7b14 _UIViewControllerTransitioningRunCustomTransition_block_invoke_2 + 7221 UIKitCore                     0x191404be4 +[UIInputResponderController _pinInputViewsForInputResponderController:onBehalfOfResponder:duringBlock:] + 10422 UIKitCore                     0x1912d7a94 _UIViewControllerTransitioningRunCustomTransition_block_invoke.641 + 17623 UIKitCore                     0x191e609e0 +[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:] + 17224 UIKitCore                     0x1912d78fc _UIViewControllerTransitioningRunCustomTransition + 58025 UIKitCore                     0x1911e1890 -[UINavigationController _startCustomTransition:] + 318826 UIKitCore                     0x1911f5474 -[UINavigationController _startDeferredTransitionIfNeeded:] + 70027 UIKitCore                     0x1911f68a4 -[UINavigationController viewWillLayoutSubviews] + 16428 UIKitCore                     0x1911d97ec -[UILayoutContainerView layoutSubviews] + 22429 UIKitCore                     0x191e6d954 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 246430 QuartzCore                    0x19236d9e8 -[CALayer layoutSublayers] + 28831 QuartzCore                    0x192373eb4 CA::Layer::layout_if_needed(CA::Transaction*) + 52032 QuartzCore                    0x19237f1d0 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 14033 QuartzCore                    0x1922cb500 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 41634 QuartzCore                    0x1922f5698 CA::Transaction::commit() + 72835 QuartzCore                    0x1922f6948 CA::Transaction::observer_callback(CFRunLoopObserver*, unsigned long, void*) + 9236 CoreFoundation                0x18f0a7ecc CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 3237 CoreFoundation                0x18f0a25b0 CFRunLoopDoObservers + 60438 CoreFoundation                0x18f0a2af8 __CFRunLoopRun + 96039 CoreFoundation                0x18f0a2200 CFRunLoopRunSpecific + 57240 GraphicsServices              0x1a519d598 GSEventRunModal + 16041 UIKitCore                     0x191968004 -[UIApplication _run] + 1052


Same here, but no solution yet from apple. Crash logs doesn't' say much about the root cause..
Same here... it's pretty annoying to be blind and not able to fix the issue.
The issue seems occurring only with iOS 14.X. No crashes on iOS 13.X
We just had a crash with AttributeGraph, but was not on the main thread. Nothing to go on.

Crashed: com.apple.root.utility-qos

0 AttributeGraph 0x1c7d0c7b0 std::1::hashiterator<std::1::hashnode<std::1::hashvaluetype<unsigned long, unsigned char const*>, void*>*> std::1::hashtable<std::1::hashvaluetype<unsigned long, unsigned char const*>, std::1::unorderedmaphasher<unsigned long, std::1::hashvaluetype<unsigned long, unsigned char const*>, std::1::hash<unsigned long>, true>, std::1::unorderedmapequal<unsigned long, std::1::hashvaluetype<unsigned long, unsigned char const*>, std::1::equalto<unsigned long>, true>, std::1::allocator<std::1::_hashvaluetype<unsigned long, unsigned char const*> > >::find<unsigned long>(unsigned long const&) + 72

1 AttributeGraph 0x1c7d0c6d4 AG::(anonymous namespace)::LayoutCache::drain
queue(void*) + 120
2 libdispatch.dylib 0x1a14aa280 dispatchclientcallout + 16
3 libdispatch.dylib 0x1a145c254
dispatchrootqueuedrain + 688
4 libdispatch.dylib 0x1a145c8e4
dispatchworkerthread2 + 124
5 libsystempthread.dylib 0x1e75df568 pthreadwqthread + 212
6 libsystem
pthread.dylib 0x1e75e2874 start_wqthread + 8
Do you happen to use PageTabViewStyle with TabView?

I have a similar issue and I’m starting to think the new PageTabViewStyle might be the culprit.
AttributeGraph Crash: AGGraphGetValue
 
 
Q