Skip to content

[Bug]: [FBFlutterContainerManager activeContainer:forUniqueId:] crash #2257

@cocohao888

Description

@cocohao888

请描述遇到的问题,以及您所期望的正确的结果

0
libsystem_kernel.dylib
__pthread_kill + 8
1
libsystem_pthread.dylib
pthread_kill + 268
2
libsystem_c.dylib
abort + 124
3
libsystem_c.dylib
err + 282
4
flutter_boost
-[FBFlutterContainerManager activeContainer:forUniqueId:].cold.1 + 38
5
flutter_boost
-[FBFlutterContainerManager activeContainer:forUniqueId:] + 262
6
flutter_boost
-[FlutterBoostPlugin containerWillAppear:] + 332
7
flutter_boost
-[FBFlutterViewContainer viewWillAppear:] + 112
8
UIKitCore
-[UIViewController _setViewAppearState:isAnimating:] + 1108
9
UIKitCore
-[UIViewController __viewWillAppear:] + 104
10
UIKitCore
-[UINavigationController transitionConductor:didStartCustomTransitionWithContext:] + 1308
11
UIKitCore
-[_UIViewControllerTransitionConductor _startCustomTransition:] + 336
12
UIKitCore
-[_UIViewControllerTransitionConductor startDeferredTransitionIfNeeded] + 560
13
UIKitCore
-[UINavigationController _viewWillLayoutSubviews] + 84
14
UIKitCore
-[UILayoutContainerView layoutSubviews] + 176
15
UIKit
-[UILayoutContainerViewAccessibility layoutSubviews] + 60
16
UIKitCore
-[UIImageView animationImages] + 784
17
UIKitCore
-[UIView(Internal) viewControllerToNotifyOnLayoutSubviews] + 40
18
UIKitCore
-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2692
19
QuartzCore
CA::Layer::perform_update
(CA::Layer*, CALayer*, unsigned int, CA::LayerUpdateReason, CA::Transaction*) + 456
20
QuartzCore
CA::Layer::update_if_needed
(CA::Transaction*, CA::LayerUpdateReason) + 664
21
QuartzCore
CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 176
22
QuartzCore
CA::Context::commit_transaction(CA::Transaction*, double, double*) + 536
23
QuartzCore
CA::Transaction::commit() + 644
24
QuartzCore
CA::Transaction::flush_as_runloop_observer(bool) + 88
25
UIKitCore
_UIApplicationFlushCATransaction + 52
26
UIKitCore
__setupUpdateSequence_block_invoke_2 + 352
27
UIKitCore
_UIUpdateSequenceRunNext + 128
28
UIKitCore
schedulerStepScheduledMainSectionContinue + 60
29
UpdateCycle
UC::DriverCore::continueProcessing() + 84
30
CoreFoundation
CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
31
CoreFoundation
__CFRunLoopDoSource0 + 172
32
CoreFoundation
__CFRunLoopDoSources0 + 232
33
CoreFoundation
__CFRunLoopRun + 820
34
CoreFoundation
_CFRunLoopRunSpecificWithOptions + 532
35
GraphicsServices
GSEventRunModal + 120
36
UIKitCore
-[UIApplication _run] + 792
37
UIKitCore
UIApplicationMain + 336
38
UIKitCore
-[UIScrollView contentInset] + 588
39
live_translator_ios
AppDelegate.swift:4362301816
main + 4362301816

请说明如何操作会遇到上述问题

经过bugly和firebase crash观测到这个crash数量不少,未能复现

在下面填入关键复现代码

复现的平台

Both

Flutter SDK版本

3.32.5

FlutterBoost版本

4.3.0

是否延迟初始化FlutterBoost

No

解决方案

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions