alibaba / alibaba/flutter_boost

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

Open
#2,257 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

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

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

### 解决方案

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the FBFlutterContainerManager activeContainer:forUniqueId: crash frame and trace its call path through FlutterBoostPlugin containerWillAppear: and FBFlutterViewContainer viewWillAppear:. Use the reported Bugly and Firebase crash data to investigate the unreproducible failure; done means identifying a reproducible cause and validating a fix against this stack trace.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.