flutter_boost icon indicating copy to clipboard operation
flutter_boost copied to clipboard

v1.9.1先点击随意首页一个跳转页返回再切换flutter_tab然后就crash

Open 631366957 opened this issue 6 years ago • 7 comments

0x104f5b234 <+232>: ldr x0, [x20, #0x48] -> 0x104f5b238 <+236>: ldr x8, [x0] 0x104f5b23c <+240>: ldr x8, [x8, #0x30] 0x104f5b240 <+244>: blr x8 0x104f5b244 <+248>: cbz x0, 0x104f5b348 ; <+508> 0x104f5b248 <+252>: ldr x22, [x20, #0x28] 0x104f5b24c <+256>: cbz x22, 0x104f5b264 ; <+280> 0x104f5b250 <+260>: add x8, x22, #0x8 ; =0x8 0x104f5b254 <+264>: ldxr w9, [x8] 0x104f5b258 <+268>: add w9, w9, #0x1 ; =0x1 0x104f5b25c <+272>: stxr w10, w9, [x8] 0x104f5b260 <+276>: cbnz w10, 0x104f5b254 ; <+264> 0x104f5b264 <+280>: ldr x8, [x22] 0x104f5b268 <+284>: ldr x8, [x8, #0x30] 0x104f5b26c <+288>: mov x0, x22 0x104f5b270 <+292>: blr x8 0x104f5b274 <+296>: mov x21, x0

last print log: 2019-12-30 09:54:05.054602+0800 Runner[6887:2296166] flutter: FlutterBoost#onMetohdCall willShowPageContainer 2019-12-30 09:54:05.056034+0800 Runner[6887:2296166] flutter: FlutterBoost#ContainerObserver#2 didPush

631366957 avatar Dec 30 '19 02:12 631366957

iOS?

noborder avatar Dec 30 '19 09:12 noborder

iOS?

yes

631366957 avatar Dec 30 '19 09:12 631366957

iOS?

真机13.3 6s

631366957 avatar Dec 30 '19 09:12 631366957

0x104f5b234 <+232>: ldr x0, [x20, #0x48] -> 0x104f5b238 <+236>: ldr x8, [x0] 0x104f5b23c <+240>: ldr x8, [x8, #0x30] 0x104f5b240 <+244>: blr x8 0x104f5b244 <+248>: cbz x0, 0x104f5b348 ; <+508> 0x104f5b248 <+252>: ldr x22, [x20, #0x28] 0x104f5b24c <+256>: cbz x22, 0x104f5b264 ; <+280> 0x104f5b250 <+260>: add x8, x22, #0x8 ; =0x8 0x104f5b254 <+264>: ldxr w9, [x8] 0x104f5b258 <+268>: add w9, w9, #0x1 ; =0x1 0x104f5b25c <+272>: stxr w10, w9, [x8] 0x104f5b260 <+276>: cbnz w10, 0x104f5b254 ; <+264> 0x104f5b264 <+280>: ldr x8, [x22] 0x104f5b268 <+284>: ldr x8, [x8, #0x30] 0x104f5b26c <+288>: mov x0, x22 0x104f5b270 <+292>: blr x8 0x104f5b274 <+296>: mov x21, x0

last print log: 2019-12-30 09:54:05.054602+0800 Runner[6887:2296166] flutter: FlutterBoost#onMetohdCall willShowPageContainer 2019-12-30 09:54:05.056034+0800 Runner[6887:2296166] flutter: FlutterBoost#ContainerObserver#2 didPush

按照截图操作可解决奔溃问题 flutter_boost_01 flutter_boost_02

luohs avatar Dec 31 '19 13:12 luohs

@631366957 我没有重现您的问题。您是在flutter1.9上出现?boost用的什么版本?可否提供flutter --version的日志

xujim avatar Mar 02 '20 13:03 xujim

#567 可能是同一个问题 @631366957

foxsofter avatar Mar 05 '20 03:03 foxsofter

I had your same problem, but I added "[self detatchFlutterEngine]" to the "dealloc" and "viewDidDisappear" methods and it didn't work for me. image

After checking the code, I found that the "detatchFlutterEngine" method is called for "viewWillAppear" and "viewDidAppear " but only the "[self detatchFlutterEngine]" call was made in "viewDidDisappear". so I tried to add it to the I tried calling "[self detatchFlutterEngine]" in "viewWillDisappear" instead of in "dealloc " and the problem was solved

cirelir avatar Dec 21 '20 03:12 cirelir