flutter_foost在ios设备(尤其是ipad)上初始化失败,造成anr , There are some notsmooth frames in the main thread
boost环境:
崩溃错误信息:
| Flutter | _ZNKSt3__110__function6__funcIZN7flutter5Shell37OnPlatformViewDispatchPlatformMessageEN3fml6RefPtrINS2_15PlatformMessageEEEE4$_19NS_9allocatorIS8_EEFvvEE7__cloneEv (functional:1532) |
|---|---|
| 1 Flutter | std::__1::function<void ()>::function(std::__1::function<void ()> const&) (functional:1708) |
| 2 Flutter | fml::MessageLoopImpl::PostTask(std::__1::function<void ()>, fml::TimePoint) (message_loop_impl.cc:59) |
| 3 Flutter | fml::TaskRunner::PostTask(std::__1::function<void ()>) (functional:1872) |
| 4 Flutter | flutter::Shell::OnPlatformViewDispatchPlatformMessage(fml::RefPtrflutter::PlatformMessage) (functional:1872) |
| 5 Flutter | -[FlutterEngine sendOnChannel:message:binaryReply:] (ref_ptr.h:103) |
| 6 Flutter | -[FlutterMethodChannel invokeMethod:arguments:result:] (FlutterChannels.mm:206) |
| 7 flutter_boost | +[BoostMessageChannel sendEvent:arguments:] + 192 |
| 8 flutter_boost | -[FLBFlutterApplication applicationWillEnterForeground:] + 48 |
| 9 CoreFoundation | 0x00000001d8ed9000 + 578092 |
| 10 CoreFoundation | 0x00000001d8ed9000 + 578040 |
| 11 CoreFoundation | 0x00000001d8ed9000 + 575212 |
| 12 CoreFoundation | 0x00000001d8ed9000 + 574360 |
| 13 CoreFoundation | 0x00000001d8ed9000 + 23652 |
| 14 CoreFoundation | _CFXNotificationPost + 696 |
| 15 Foundation | 0x00000001d9948000 + 25044 |
| 16 UIKitCore | -[UIApplication _sendWillEnterForegroundCallbacks] + 232 |
| 17 UIKitCore | -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 2036 |
| 18 UIKitCore | ___82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 744 |
| 19 UIKitCore | -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 428 |
| 20 UIKitCore | ___125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220 |
| 21 UIKitCore | _performActionsWithDelayForTransitionContext + 112 |
| 22 UIKitCore | -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 244 |
| 23 UIKitCore | -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 360 |
| 24 UIKitCore | -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 464 |
| 25 FrontBoardServices | ___80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_3 + 224 |
| 26 libdispatch.dylib | __dispatch_client_callout + 16 |
| 27 libdispatch.dylib | __dispatch_block_invoke_direct$VARIANT$mp + 224 |
| 28 FrontBoardServices | _FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 40 |
| 29 FrontBoardServices | -[FBSSerialQueue _performNext] + 408 |
| 30 FrontBoardServices | -[FBSSerialQueue _performNextFromRunLoopSource] + 52 |
| 31 CoreFoundation | 0x00000001d8ed9000 + 712492 |
| 32 CoreFoundation | 0x00000001d8ed9000 + 712364 |
| 33 CoreFoundation | 0x00000001d8ed9000 + 710548 |
| 34 CoreFoundation | 0x00000001d8ed9000 + 689872 |
| 35 CoreFoundation | CFRunLoopRunSpecific + 436 |
| 36 GraphicsServices | GSEventRunModal + 104 |
| 37 UIKitCore | UIApplicationMain + 212 |
| Flutter | _ZNKSt3__110__function6__funcIZN7flutter5Shell37OnPlatformViewDispatchPlatformMessageEN3fml6RefPtrINS2_15PlatformMessageEEEE4$_19NS_9allocatorIS8_EEFvvEE7__cloneEv (functional:1532) |
|---|---|
| 1 Flutter | std::__1::function<void ()>::function(std::__1::function<void ()> const&) (functional:1708) |
| 2 Flutter | fml::MessageLoopImpl::PostTask(std::__1::function<void ()>, fml::TimePoint) (message_loop_impl.cc:59) |
| 3 Flutter | fml::TaskRunner::PostTask(std::__1::function<void ()>) (functional:1872) |
| 4 Flutter | flutter::Shell::OnPlatformViewDispatchPlatformMessage(fml::RefPtrflutter::PlatformMessage) (functional:1872) |
| 5 Flutter | -[FlutterEngine sendOnChannel:message:binaryReply:] (ref_ptr.h:103) |
| 6 Flutter | -[FlutterMethodChannel invokeMethod:arguments:result:] (FlutterChannels.mm:206) |
| 7 flutter_boost | +[BoostMessageChannel sendEvent:arguments:] + 192 |
| 8 flutter_boost | -[FLBFlutterApplication applicationWillEnterForeground:] + 48 |
| 9 CoreFoundation | 0x00000001d8ed9000 + 578092 |
| 10 CoreFoundation | 0x00000001d8ed9000 + 578040 |
| 11 CoreFoundation | 0x00000001d8ed9000 + 575212 |
| 12 CoreFoundation | 0x00000001d8ed9000 + 574360 |
| 13 CoreFoundation | 0x00000001d8ed9000 + 23652 |
| 14 CoreFoundation | _CFXNotificationPost + 696 |
| 15 Foundation | 0x00000001d9948000 + 25044 |
| 16 UIKitCore | -[UIApplication _sendWillEnterForegroundCallbacks] + 232 |
| 17 UIKitCore | -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 2036 |
| 18 UIKitCore | ___82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 744 |
| 19 UIKitCore | -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 428 |
| 20 UIKitCore | ___125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220 |
| 21 UIKitCore | _performActionsWithDelayForTransitionContext + 112 |
| 22 UIKitCore | -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 244 |
| 23 UIKitCore | -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 360 |
| 24 UIKitCore | -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 464 |
| 25 FrontBoardServices | ___80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_3 + 224 |
| 26 libdispatch.dylib | __dispatch_client_callout + 16 |
| 27 libdispatch.dylib | __dispatch_block_invoke_direct$VARIANT$mp + 224 |
| 28 FrontBoardServices | _FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 40 |
| 29 FrontBoardServices | -[FBSSerialQueue _performNext] + 408 |
| 30 FrontBoardServices | -[FBSSerialQueue _performNextFromRunLoopSource] + 52 |
| 31 CoreFoundation | 0x00000001d8ed9000 + 712492 |
| 32 CoreFoundation | 0x00000001d8ed9000 + 712364 |
| 33 CoreFoundation | 0x00000001d8ed9000 + 710548 |
| 34 CoreFoundation | 0x00000001d8ed9000 + 689872 |
| 35 CoreFoundation | CFRunLoopRunSpecific + 436 |
| 36 GraphicsServices | GSEventRunModal + 104 |
| 37 UIKitCore | UIApplicationMain + 212 |
| Flutter | _ZNKSt3__110__function6__funcIZN7flutter5Shell37OnPlatformViewDispatchPlatformMessageEN3fml6RefPtrINS2_15PlatformMessageEEEE4$_19NS_9allocatorIS8_EEFvvEE7__cloneEv (functional:1532) |
|---|---|
| 1 Flutter | std::__1::function<void ()>::function(std::__1::function<void ()> const&) (functional:1708) |
| 2 Flutter | fml::MessageLoopImpl::PostTask(std::__1::function<void ()>, fml::TimePoint) (message_loop_impl.cc:59) |
| 3 Flutter | fml::TaskRunner::PostTask(std::__1::function<void ()>) (functional:1872) |
| 4 Flutter | flutter::Shell::OnPlatformViewDispatchPlatformMessage(fml::RefPtrflutter::PlatformMessage) (functional:1872) |
| 5 Flutter | -[FlutterEngine sendOnChannel:message:binaryReply:] (ref_ptr.h:103) |
| 6 Flutter | -[FlutterMethodChannel invokeMethod:arguments:result:] (FlutterChannels.mm:206) |
| 7 flutter_boost | +[BoostMessageChannel sendEvent:arguments:] + 192 |
| 8 flutter_boost | -[FLBFlutterApplication applicationWillEnterForeground:] + 48 |
| 9 CoreFoundation | 0x00000001d8ed9000 + 578092 |
| 10 CoreFoundation | 0x00000001d8ed9000 + 578040 |
| 11 CoreFoundation | 0x00000001d8ed9000 + 575212 |
| 12 CoreFoundation | 0x00000001d8ed9000 + 574360 |
| 13 CoreFoundation | 0x00000001d8ed9000 + 23652 |
| 14 CoreFoundation | _CFXNotificationPost + 696 |
| 15 Foundation | 0x00000001d9948000 + 25044 |
| 16 UIKitCore | -[UIApplication _sendWillEnterForegroundCallbacks] + 232 |
| 17 UIKitCore | -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 2036 |
| 18 UIKitCore | ___82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 744 |
| 19 UIKitCore | -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 428 |
| 20 UIKitCore | ___125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220 |
| 21 UIKitCore | _performActionsWithDelayForTransitionContext + 112 |
| 22 UIKitCore | -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 244 |
| 23 UIKitCore | -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 360 |
| 24 UIKitCore | -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 464 |
| 25 FrontBoardServices | ___80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_3 + 224 |
| 26 libdispatch.dylib | __dispatch_client_callout + 16 |
| 27 libdispatch.dylib | __dispatch_block_invoke_direct$VARIANT$mp + 224 |
| 28 FrontBoardServices | _FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 40 |
| 29 FrontBoardServices | -[FBSSerialQueue _performNext] + 408 |
| 30 FrontBoardServices | -[FBSSerialQueue _performNextFromRunLoopSource] + 52 |
| 31 CoreFoundation | 0x00000001d8ed9000 + 712492 |
| 32 CoreFoundation | 0x00000001d8ed9000 + 712364 |
| 33 CoreFoundation | 0x00000001d8ed9000 + 710548 |
| 34 CoreFoundation | 0x00000001d8ed9000 + 689872 |
| 35 CoreFoundation | CFRunLoopRunSpecific + 436 |
| 36 GraphicsServices | GSEventRunModal + 104 |
| 37 UIKitCore | UIApplicationMain + 212 |
你flutter什么版本?用master或者0.1.63是否ok?
你flutter什么版本?用master或者0.1.63是否ok?

你flutter什么版本?用master或者0.1.63是否ok?
0.1.63我看更新日志里并没有针对ios的更改啊
ipad是什么型号和版本的设备?能否提供能复现该问题的具体机型,环境信息?
ipad是什么型号和版本的设备?能否提供能复现该问题的具体机型,环境信息?
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. Thanks for your contribution.
