CGSVGDocumentGetCanvasSize SIGSEGV crash

I have this consistent crash, I am not able to figure this out on my own. Perhaps you can have a look.

The crash is happening on the main thread, after app enters background. It looks like it's related to Springboard, taking visual snapshot of the app and device rotation.

This happened with iOS 13.5.1 and iPhone X. I don't see connection between device type as I also see this with iPad Mini 4.


Code Block
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x10
Crashed Thread: 0
Application Specific Information:
Memory Usage: 188 / 1988 MB (9%)
Thread 0 Crashed:
0 CoreSVG 0x00000001a90dd538 CGSVGDocumentGetCanvasSize + 8
1 CoreUI 0x00000001a2d85cb0 -[_CUIThemeSVGRendition canvasSize] + 92
2 CoreUI 0x00000001a2d45d20 -[CUINamedVectorGlyph image] + 504
3 UIKitCore 0x0000000199a72610 -[CUINamedVectorGlyph(UIKitAdditions) UIImageWithAsset:configuration:flippedHorizontally:] + 132
4 UIKitCore 0x000000019a1929f4 78-[_UIAssetManager imageNamed:configuration:cachingOptions:attachCatalogImage:]_block_invoke_2 + 352
5 UIKitCore 0x000000019a194fd0 82-[_UIAssetManager _lookUpObjectForTraitCollection:withAccessorWithAppearanceName:]_block_invoke + 84
6 UIKitCore 0x0000000199aa8ec0 -[UITraitCollection _enumerateThemeAppearanceNamesForLookup:] + 240
7 UIKitCore 0x000000019a194f10 -[_UIAssetManager _lookUpObjectForTraitCollection:withAccessorWithAppearanceName:] + 168
8 UIKitCore 0x000000019a19286c __78-[_UIAssetManager imageNamed:configuration:cachingOptions:attachCatalogImage:]_block_invoke + 704
9 UIKitCore 0x000000019a192360 -[_UIAssetManager imageNamed:configuration:cachingOptions:attachCatalogImage:] + 292
10 UIKitCore 0x0000000199a759d8 -[UIImageAsset imageWithConfiguration:] + 448
11 UIKitCore 0x0000000199a675d0 -[UIImage imageWithConfiguration:] + 876
12 UIKitCore 0x000000019a28bc90 -[UIImageView _resolvedImageFromImage:forTrait:] + 376
13 UIKitCore 0x000000019a28bfcc -[UIImageView _resolveImageForTrait:previouslyDisplayedImage:] + 436
14 UIKitCore 0x000000019a28b880 -[UIImageView traitCollectionDidChange:] + 76
15 UIKitCore 0x000000019a2acc8c -[UIView _traitCollectionDidChangeInternal:] + 904
16 UIKitCore 0x000000019a2ad53c 0x1993f3000 + 15443260
17 UIKitCore 0x000000019a2ad710 0x1993f3000 + 15443728
18 UIKitCore 0x000000019a2ad710 0x1993f3000 + 15443728
19 UIKitCore 0x000000019a2ad6b4 -[UIView _wrappedProcessTraitCollectionDidChange:forceNotification:] + 508
20 UIKitCore 0x000000019a2047f8 -[UIView(AdditionalLayoutSupport) _withUnsatisfiableConstraintsLoggingSuspendedIfEngineDelegateExists:] + 116
21 UIKitCore 0x000000019a2ad818 -[UIView _processDidChangeRecursivelyFromOldTraits:toCurrentTraits:forceNotification:] + 120
22 UIKitCore 0x000000019a2d5760 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1892
// Look attached file for a full log


CGSVGDocumentGetCanvasSize SIGSEGV crash
 
 
Q