Flutter线上问题追踪记录
在印尼市场,我们的产品在初级层面遇到了很多Flutter crash,主要代表有小米红米9C,小米红米9A, Samsung Galaxy A10s, Samsung Galaxy A02, Intermodal Infinix HOT 9 Play。占总崩溃的3.5%,这是一个严重的比例,应该被认真对待。
Basic Information:
flutter版本:3.3.5
flutter engine hash:c08d7d5efc9aa6eb3c30cfb3be6dc09bca5e7631
错误信息如下:
#00 pc 0002bfcc /vendor/lib/egl/libGLESv2_mtk.so [armeabi-v8::34ed5df2075eeb41cbc04b3113ec2bda]
2
#01 pc 00041ddd /vendor/lib/egl/libGLESv2_mtk.so [armeabi-v8::34ed5df2075eeb41cbc04b3113ec2bda]
3
#02 pc 0002bf71 /vendor/lib/egl/libGLESv2_mtk.so [armeabi-v8::34ed5df2075eeb41cbc04b3113ec2bda]
4
#03 pc 0006c867 /vendor/lib/egl/libGLESv2_mtk.so [armeabi-v8::34ed5df2075eeb41cbc04b3113ec2bda]
5
#04 pc 0006c3bd /vendor/lib/egl/libGLESv2_mtk.so (glTexImage2D+156) [armeabi-v8::34ed5df2075eeb41cbc04b3113ec2bda]
6
#05 pc 0002ab8f /vendor/lib/egl/libGLES_meow.so [armeabi-v8::6d6caf55643460f2db471f5c3405e207]
7
#06 pc 00352e29 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
8
#07 pc 0035df25 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
9
#08 pc 00359709 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
10
#09 pc 002f1815 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
11
#10 pc 002f8353 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
12
#11 pc 002f4b63 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
13
#12 pc 002f9dc7 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
14
#13 pc 0031bd2b /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
15
#14 pc 0031beb1 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
16
#15 pc 0031d60b /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
17
#16 pc 0040d4f9 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
18
#17 pc 0018d659 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
19
#18 pc 0040cf7b /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
20
#19 pc 0018c60d /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
21
#20 pc 0018f291 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
22
#21 pc 00010867 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+666) [armeabi-v8::a4424e73dbe004e8623d6713ad30a604]
23
#22 pc 00010553 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+30) [armeabi-v8::a4424e73dbe004e8623d6713ad30a604]
24
#23 pc 0000cff5 /system/lib/libandroid.so (ALooper_pollOnce+52) [armeabi-v8::00792d9da7cb9148852bce64e1b1a393]
25
#24 pc 0018f365 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
26
#25 pc 0018dd73 /data/app/sg.partying.yougo.android-RqwpLhHvi593mAue1eTorg==/lib/arm/libflutter.so [armeabi-v7a::933e8f8cd08afd9404928f570a4b888c]
27
#26 pc 000a6293 /apex/com.android.runtime/lib/bionic/libc.so (_ZL15__pthread_startPv+20) [armeabi-v8::af31ec96b35fedca378e07659b30896c]
28
#27 pc 00060803 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) [armeabi-v8::af31ec96b35fedca378e07659b30896c]
29
java:
目前的堆栈信息是不足以知道具体的问题是在哪里,我们需要将flutter的堆栈信息给具体打印出来。
1 找到flutter的符号表
https://github.com/flutter/flutter/wiki/Crashes
2 上传符号表到bugly
java -jar buglyqq-upload-symbol.jar -appid 580c77ddc3 -appkey f301e921-276e-4eb7-9301-c72b14ae1441 -bundleid sg.partying.yougo.android -version 4.1.2 -platform Android -inputSymbol /Users/salton/Downloads/Bugly-Helper-126142312a9ec82fa84a03f205b5ce4ace0c20b6/release/libs/arm64-v8a
网友评论