crash occured in taobao special app
following is the crash log.
Hardware Model: iPhone8,1
Process: LTao4iPhone [3641]
Path: /private/var/containers/Bundle/Application/F2E2BE72-51B4-417B-9BDA-B8C8DBA3743F/LTao4iPhone.app/LTao4iPhone
Identifier: xxxxxx
Version: 13397274 (3.22.999.3)
Code Type: ARM-64
Parent Process: ? [1]
Date/Time: 2020-07-08 10:32:47 +0800
OS Version: iOS 13.5.1 (17F80)
Report Version: 104
Exception Type: EXC_BAD_ACCESS
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010
Triggered by Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x00000001b383eb30 _objc_msgSend
1 Flutter 0x0000000109e68ca4 0x0000000109e44000 + 150692
2 Flutter 0x0000000109e6f198 0x0000000109e44000 + 176536
3 Flutter 0x0000000109e63240 0x0000000109e44000 + 127552
4 Flutter 0x0000000109e61b64 0x0000000109e44000 + 121700
5 LTao4iPhone 0x00000001078b05a4 -[FLBFlutterViewContainer viewDidAppear:] FLBFlutterViewContainer.m
6 LTao4iPhone 0x0000000105d2b73c -[LTaoDetailFlutterViewController viewDidAppear:] LTaoDetailFlutterViewController.m
7 UIKitCore 0x00000001b7589908 -[UIViewController _setViewAppearState:isAnimating:]
8 UIKitCore 0x00000001b758a324 -[UIViewController _endAppearanceTransition:]
9 UIKitCore 0x00000001b74eecc0 -[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:]
10 LTao4iPhone 0x0000000104cfed38 -[UINavigationController(AliHA) aliHASwizzledNavigationTransitionView:didEndTransition:fromView:toView:] UINavigationController+AliHA.m
11 UIKit 0x00000001e9998c64 _UIKitVersionNumber
12 UIKitCore 0x00000001b74e4950 __49-[UINavigationController _startCustomTransition:]_block_invoke
13 UIKitCore 0x00000001b75ab5dc -[_UIViewControllerTransitionContext completeTransition:]
14 UIKitCore 0x00000001b75bc0c4 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke.158
15 UIKitCore 0x00000001b806f344 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:]
16 UIKitCore 0x00000001b8043748 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:]
17 UIKitCore 0x00000001b8043c50 -[UIViewAnimationState animationDidStop:finished:]
18 UIKit 0x00000001e99c1a28 _UIKitVersionNumber
19 UIKitCore 0x00000001b8043da0 -[UIViewAnimationState animationDidStop:finished:]
20 UIKit 0x00000001e99c1a28 _UIKitVersionNumber
21 QuartzCore 0x00000001ba620014 CA::Layer::run_animation_callbacks(void*)
22 libdispatch.dylib 0x00000001b37e6524 _dispatch_client_callout
23 libdispatch.dylib 0x00000001b37985b4 _dispatch_main_queue_callback_4CF$VARIANT$mp
24 CoreFoundation 0x00000001b3a9e7fc CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
25 CoreFoundation 0x00000001b3a996d0 __CFRunLoopRun
26 CoreFoundation 0x00000001b3a98ce8 _CFRunLoopRunSpecific
27 GraphicsServices 0x00000001bdbe338c _GSEventRunModal
28 UIKitCore 0x00000001b7bc7444 _UIApplicationMain
29 LTao4iPhone 0x0000000104e54e60 main main.m
30 libdyld.dylib 0x00000001b39208f0 _start
Binary Images:
0x0000000104b80000 - 0x000000010893ffff LTao4iPhone arm64 <10860687a92b3be892c452f20590a539> /private/var/containers/Bundle/Application/F2E2BE72-51B4-417B-9BDA-B8C8DBA3743F/LTao4iPhone.app/LTao4iPhone
0x00000001b39f6000 - 0x00000001b3d69fff CoreFoundation arm64 <50cf3336313f3a7d9048cb1ed8ec3368> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x00000001ba4bd000 - 0x00000001ba70efff QuartzCore arm64
根据你提供的信息,我猜测可能是由于调用了FlutterViewController内部私有API surfaceUpdated引起的问题. 参考flutter issue