alibaba / alibaba/flutter_boost
[FlutterBoostPlugin sendEventToNative:error:] 的崩溃
- Dominant language
- Dart
- Stars
- 7.2k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
## Steps to Reproduce
**A small application to reproduce the bug(最小化可复现的demo)**
无法稳定复现,不过bugly上的崩溃日志记录如下,数量不少。
想问一下,这个问题是否已经修复,如果修复了我应该升级到哪个版本。
**Flutter Boost Version**
flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: 'v3.0-preview.9'
**Target Platform:**
iOS
**Target OS version/browser:**
14.3 (18C66) 不止这一种系统版本
**Devices:**
iPhone 7 不止这一种机型
## Logs
`
#0 Thread
0 libsystem_kernel.dylib ___pthread_kill + 8
1 libsystem_pthread.dylib _pthread_kill + 212
2 libsystem_c.dylib _abort + 100
3 libsystem_c.dylib _err
4 flutter_boost -[FlutterBoostPlugin sendEventToNative:error:].cold.1 + 0
5 flutter_boost -[FBFlutterContainerManager removeContainerByUniqueId:] + 0
6 flutter_boost -[FlutterBoostPlugin containerWillAppear:] + 456
7 flutter_boost -[FBFlutterViewContainer viewWillAppear:] + 144
8 Queen -[FBFlutterViewContainer(SQTools) sqfbvc_viewWillAppear:] (FBFlutterViewContainer+SQTools.m:91)
9 UIKitCore -[UIViewController _setViewAppearState:isAnimating:] + 604
10 UIKitCore -[UIViewController __viewWillAppear:] + 116
11 UIKitCore -[UINavigationController _startCustomTransition:] + 1344
12 UIKitCore -[UINavigationController _startDeferredTransitionIfNeeded:] + 700
13 UIKitCore -[UINavigationController __viewWillLayoutSubviews] + 164
14 UIKitCore -[UILayoutContainerView layoutSubviews] + 224
15 UIKitCore -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2468
16 QuartzCore -[CALayer layoutSublayers] + 288
17 QuartzCore CA::Layer::layout_if_needed(CA::Transaction*) + 520
18 QuartzCore CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 140
19 QuartzCore CA::Context::commit_transaction(CA::Transaction*, double, double*) + 416
20 QuartzCore CA::Transaction::commit() + 728
21 QuartzCore CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
22 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
23 CoreFoundation ___CFRunLoopDoObservers + 604
24 CoreFoundation ___CFRunLoopRun + 960
25 CoreFoundation _CFRunLoopRunSpecific + 572
26 GraphicsServices _GSEventRunModal + 160
27 UIKitCore -[UIApplication _run] + 1052
28 UIKitCore _UIApplicationMain + 164
29 0MATweakEx.dylib vndsuohau79173918g01gj410jvgdsohju1::bvdsiabovuiw7hr9g891y7419740932848g(int, char**, NSString*, NSString*) + 732
30 Queen main (main.m:15)
31 libdyld.dylib _start + 4
`
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale zh-Hans-CN)
• Flutter version 2.2.3 at /Users/chenglei/Desktop/FlutterDev/flutter
• Framework revision f4abaa0735 (3 months ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the FlutterBoostPlugin sendEventToNative:error: crash path in the trace, then inspect FBFlutterContainerManager removeContainerByUniqueId: and containerWillAppear:. Compare the behavior under flutter_boost v3.0-preview.9 with the reported Flutter 2.2.3 and iOS context; done means determining the crash cause and confirming whether a fixed version exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, ios
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100