After the user upgrades to iOS16, our app receives a few crash reports attempted to dereference garbage pointer on iOS16.
These issues only happen on iOS16. Here we provide some typical cases. It may be a system bug!
Case A
0 libobjc.A.dylib _cache_getImp
1 libobjc.A.dylib _class_respondsToSelector_inst
2 Foundation __NSDescriptionWithStringProxyFunc
3 CoreFoundation ___CFStringAppendFormatCore
4 CoreFoundation __CFStringCreateWithFormatAndArgumentsReturningMetadata
5 CoreFoundation __CFStringCreateWithFormatAndArgumentsAux2
6 Foundation +[NSString stringWithFormat:]
Case B
0 libobjc.A.dylib _cache_getImp
1 libobjc.A.dylib _object_getMethodImplementation
2 CoreFoundation __NSIsNSString
3 CoreFoundation -[NSTaggedPointerString isEqual:]
4 CoreFoundation -[__NSDictionaryM objectForKey:]