crash in release mode when upgrade 3.3.x from 2.10.x

Steps to Reproduce
1、update flutter version to 3.3.x from 2.10.x
2、update pub library to support flutter 3.3.x
3、build debug aar for android application（it's normal，android studio run）
4、build release aar for android application （it‘s crash）
flutter --no-version-check build aar --build-number=${CI_PIPELINE_ID}
I have no idea how to locate the problem, it only appears in release mode, the debug model is normal
the error info:
18:12:09.955  E  [ERROR:flutter/runtime/dart_vm_data.cc(18)] VM snapshot invalid and could not be inferred from settings.
18:12:09.956  E  [ERROR:flutter/runtime/dart_vm.cc(268)] Could not set up VM data to bootstrap the VM from.
18:12:09.956  E  [ERROR:flutter/runtime/dart_vm_lifecycle.cc(84)] Could not create Dart VM instance.
18:12:09.956  A  [FATAL:flutter/shell/common/shell.cc(143)] Check failed: vm. Must be able to initialize the VM.

The logcat
18:27:24.142  I  START u0 {cmp=cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity (has extras)} from uid 10561
18:27:24.144  D  onStartActivityInner as = Task{c07368c #67690 type=standard A=10561:cn.xiaoman.xim.cjupdateflutterversion U=0 visible=true mode=fullscreen translucent=false sz=2} op = null
18:27:24.144  D  onStartActivityInner as = Task{c07368c #67690 type=standard A=10561:cn.xiaoman.xim.cjupdateflutterversion U=0 visible=true mode=fullscreen translucent=false sz=2} op = null
18:27:24.149  D  perfWarmLaunchBoost: cn.xiaoman.xim.cjupdateflutterversion, -1, 2
18:27:24.154  D  onActivityPaused：cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity
18:27:24.158  D  perfWarmLaunchBoost: cn.xiaoman.xim.cjupdateflutterversion, -1, 2
18:27:24.159  D  perfColdLaunchBoost: cn.xiaoman.xim.cjupdateflutterversion, 3999, 102
18:27:24.171  I  AbstractDataCollector:->visibleStart->cn.xiaoman.mobile.okki.router.OkkiFlutterActivity
18:27:24.172  D  initViewContentFetcherClass
18:27:24.172  I  ViewContentFetcher : ViewContentFetcher
18:27:24.172  D  createInterceptor took 0ms
18:27:24.185  E  [ERROR:flutter/runtime/dart_vm_data.cc(18)] VM snapshot invalid and could not be inferred from settings.
18:27:24.185  E  [ERROR:flutter/runtime/dart_vm.cc(268)] Could not set up VM data to bootstrap the VM from.
18:27:24.185  E  [ERROR:flutter/runtime/dart_vm_lifecycle.cc(84)] Could not create Dart VM instance.
18:27:24.185  A  [FATAL:flutter/shell/common/shell.cc(143)] Check failed: vm. Must be able to initialize the VM.
18:27:24.185  I  begin to generate native report
18:27:24.237  I  Resume native log stat thread 4097
18:27:24.264  W  getRunningTask   taskInfo=TaskInfo{userId=0 taskId=67690 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.WelcomeActivity } baseActivity=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity} topActivity=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity} origActivity=null realActivity=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.WelcomeActivity} numActivities=3 lastActiveTime=1366181458 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@7e27271} topActivityType=1 pictureInPictureParams=PictureInPictureParams( aspectRatio=null sourceRectHint=null hasSetActions=false isAutoPipEnabled=false isSeamlessResizeEnabled=true) displayCutoutSafeInsets=Rect(0, 103 - 0, 0) topActivityInfo=ActivityInfo{eaf5856 cn.xiaoman.mobile.okki.router.OkkiFlutterActivity} launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=true topActivityInSizeCompat=false locusId= null windowMode=1}
18:27:24.264  W  getTaskInfoIgnoreHomeAndFreeform   taskInfo=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity}
18:27:24.265  E  getRecentTasks: taskId=67690   userId=0   baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.WelcomeActivity }
18:27:26.868  W  type=1400 audit(0.0:1586213): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:26.868  W  type=1400 audit(0.0:1586214): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:26.868  W  type=1400 audit(0.0:1586215): avc: denied { read } for name="power_supply" dev="sysfs" ino=55538 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:26.868  W  type=1400 audit(0.0:1586216): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:26.868  W  type=1400 audit(0.0:1586217): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:26.868  W  type=1400 audit(0.0:1586218): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:26.868  W  type=1400 audit(0.0:1586219): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:26.868  W  type=1400 audit(0.0:1586220): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:26.868  W  type=1400 audit(0.0:1586221): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:29.191  W  Window 7140234 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity (server) is unresponsive: 7140234 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity (server) is not responding. Waited 5000ms for FocusEvent(hasFocus=false)
18:27:29.191  W  Canceling events for 7140234 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity (server) because it is unresponsive
18:27:29.192  I  ANR in cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity. Reason:7140234 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity (server) is not responding. Waited 5000ms for FocusEvent(hasFocus=false)
18:27:29.269  D  checkThawTime uid=10561 report=Input dispatching timed out (7140234 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity (server) is not responding. Waited 5000ms for FocusEvent(hasFocus=false))
18:27:29.327  D  checkThawTime uid=10561 report=Input dispatching timed out (7140234 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity (server) is not responding. Waited 5000ms for FocusEvent(hasFocus=false))
18:27:29.330  W  AnrScout only want msg within 20s, so stop here
18:27:29.341  D  get period history msg: (Current message: duration=5175ms seq=1249 late=2ms h=android.app.ActivityThread$H w=159)
18:27:29.341  D  get period history msg:execute time>50ms (msgIndex=141seq=1130 plan=18:27:22.545 late=87ms wall=152ms running=0ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
18:27:29.341  D  get period history msg:execute time>50ms (msgIndex=134seq=1123 plan=18:27:22.534 late=4ms wall=93ms running=0ms h=android.app.ActivityThread$H w=159)
18:27:29.342  D  get period history msg:execute time>50ms (msgIndex=104seq=1093 plan=18:27:20.769 late=1ms wall=84ms running=0ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
18:27:29.342  D  get period history msg:execute time>50ms (msgIndex=80seq=1069 plan=18:27:20.553 late=46ms wall=129ms running=0ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
18:27:29.342  D  get period history msg:execute time>50ms (msgIndex=59seq=1048 plan=18:27:20.354 late=4ms wall=141ms running=0ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
18:27:29.342  D  get period history msg:In recent 20s, total historyMsgCount=259
18:27:29.763  I  Thread[6,tid=4016,WaitingInMainSignalCatcherLoop,Thread*=0x75ad643000,peer=0x14580218,"Signal Catcher"]: reacting to signal 3
18:27:29.764  I
18:27:29.816  I  Generate native log process 5907 timeout in 10600 ms!
18:27:29.898  D  start send error log. appkey: 25236416, error type: HA_MAIN_THREAD_BLOCK
18:27:29.898  I  RestAPI start send log!
18:27:29.899  I  RestAPI build data succ!
18:27:29.899  I  send url :ak=25236416&av=5.1.3&avsys=5.1.3&c=china&d=Y2om873xL1cDACNtCJiNk+Q/&sv=<IP_ADDRESS>
18:27:29.900  I  packRequest success!
18:27:29.900  D  sendRequest use adashx, bytes length : 4324
18:27:29.901  D  signValue:03d9d963ee5180cc55e022078ec31e1cf111cb52
18:27:29.941  I  Wrote stack traces to tombstoned
18:27:30.076  D  errCode:0
18:27:30.076  D  send error log success. appkey: 25236416, error type: HA_MAIN_THREAD_BLOCK
18:27:31.213  W  Enter APP_SCOUT_HANG state
18:27:31.217  W  Event:APP_SCOUT_HANG Thread:main backtrace:
                     at io.flutter.embedding.engine.FlutterJNI.nativeAttach(Native Method)
                     at io.flutter.embedding.engine.FlutterJNI.performNativeAttach(FlutterJNI.java:395)
                     at io.flutter.embedding.engine.FlutterJNI.attachToNative(FlutterJNI.java:387)
                     at io.flutter.embedding.engine.FlutterEngine.attachToJni(FlutterEngine.java:363)
                     at io.flutter.embedding.engine.FlutterEngine.<init>(FlutterEngine.java:339)
                     at io.flutter.embedding.engine.FlutterEngine.<init>(FlutterEngine.java:207)
                     at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine(FlutterActivityAndFragmentDelegate.java:271)
                     at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:180)
                     at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:498)
                     at android.app.Activity.performCreate(Activity.java:8238)
                     at android.app.Activity.performCreate(Activity.java:8206)
                     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3716)
                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3913)
                     at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
                     at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
                     at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2263)
                     at android.os.Handler.dispatchMessage(Handler.java:106)
                     at android.os.Looper.loopOnce(Looper.java:210)
                     at android.os.Looper.loop(Looper.java:299)
                     at android.app.ActivityThread.main(ActivityThread.java:8118)
                     at java.lang.reflect.Method.invoke(Native Method)
                     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
18:27:31.218  D  reportAppScoutEvent: AppScoutEvent { mType=APP_SCOUT_HANG mTimeStamp=1667903251216 Pid=3999 Uid=10561 processName=cn.xiaoman.xim.cjupdateflutterversion PackageName=cn.xiaoman.xim.cjupdateflutterversion mTargetActivity= CurrentMsg:{ (Current message: duration=7049ms seq=1249 late=2ms h=android.app.ActivityThread$H w=159)} mInputLatency=0}
18:27:31.233  I  Thread[6,tid=4016,WaitingInMainSignalCatcherLoop,Thread*=0x75ad643000,peer=0x14580218,"Signal Catcher"]: reacting to signal 3
18:27:31.233  I
---------------------------- PROCESS ENDED (3999) for package cn.xiaoman.xim.cjupdateflutterversion ----------------------------
18:27:31.422  D  releasing NetworkRequest [ REQUEST id=29980, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10561 RequestorPkg: cn.xiaoman.xim.cjupdateflutterversion] ] (release request)
18:27:31.423  I  WIN DEATH: Window{cbde5b0 u0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity}
18:27:31.423  D  releasing NetworkRequest [ REQUEST id=29984, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10561 RequestorPkg: cn.xiaoman.xim.cjupdateflutterversion] ] (release request)
18:27:31.423  D  releasing NetworkRequest [ REQUEST id=29972, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10561 RequestorPkg: cn.xiaoman.xim.cjupdateflutterversion] ] (release request)
18:27:31.423  D  releasing NetworkRequest [ REQUEST id=29977, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10561 RequestorUid: 10561 RequestorPkg: cn.xiaoman.xim.cjupdateflutterversion] ] (release request)
18:27:31.424  W  Input channel object 'cbde5b0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity (client)' was disposed without first being removed with the input manager!
18:27:31.424  I  Process cn.xiaoman.xim.cjupdateflutterversion (pid 3999) has died: fg  TOP
18:27:31.430  I  WIN DEATH: Window{7140234 u0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity}
18:27:31.431  W  Input channel object '7140234 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity (client)' was disposed without first being removed with the input manager!
18:27:31.452  W  Force removing ActivityRecord{f02a870 u0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity t67690}: app died, no saved state
18:27:31.464  W  Unexpected activity event reported! (cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity event : 23 instanceId : 200057286)
18:27:31.478  D  hostingType=top-activity, hostingName={cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity}, callerPackage=others, isSystem=true, isBoostNeeded=false.
18:27:31.482  I  Start proc 6008:cn.xiaoman.xim.cjupdateflutterversion/u0a561 for top-activity {cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity} caller=others
18:27:31.515  D  perfColdLaunchBoost: cn.xiaoman.xim.cjupdateflutterversion, 6008, 103
---------------------------- PROCESS STARTED (6008) for package cn.xiaoman.xim.cjupdateflutterversion ----------------------------
18:27:31.526  W  CallerName:cn.xiaoman.xim.cjupdateflutterversion,calling Uid:10561
18:27:31.527  D  registerApplicationScoutThread pid = 6008, packageName = cn.xiaoman.xim.cjupdateflutterversion
18:27:31.529  D  Compat change id reported: 171979766; UID 10561; state: DISABLED
18:27:31.531  D  6008-ScoutStateMachinecreated
18:27:31.531  D  packageName:ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity}
18:27:31.533  D  currentPkgName:cn.xiaoman.xim.cjupdateflutterversion, lastPkgName:cn.xiaoman.xim.cjupdateflutterversion
18:27:31.538  D  Returning zygote-cached class loader: /system/framework/android.test.base.jar
18:27:31.549  V  ANGLE Developer option for 'cn.xiaoman.xim.cjupdateflutterversion' set to: 'default'
18:27:31.549  V  Updatable production driver is not supported on the device.
18:27:31.551  I  initialize for cn.xiaoman.xim.cjupdateflutterversion , ForceDarkOrigin
18:27:31.552  D  JNI_OnLoad success
18:27:31.552  I  setConfig density:2.625000, mainRule:0, secondaryRule:0, tertiaryRule:0
18:27:31.553  D  Using Network Security Config from resource network_security_config debugBuild: true
18:27:31.554  D  Using Network Security Config from resource network_security_config debugBuild: true
18:27:31.562  W  get new sharedPreferences failed,start to get from context.
18:27:31.570  I  CustomActivityOnCrash has been installed.
18:27:31.571  W  Default FirebaseApp failed to initialize because no default options were found. This usually means that com.google.gms:google-services was not applied to your gradle project.
18:27:31.571  I  FirebaseApp initialization unsuccessful
18:27:31.577  I  AGConnectInitializeProvider#onCreate
18:27:31.578  I  AGConnectInstance#initialize
18:27:31.578  I  getServices
18:27:31.579  I  services:0
18:27:31.582  I  Enable checkProcessMode()
18:27:31.583  I  <native-bridge.cpp:104::JNI_OnLoad> current API level = 31, libc++_shared=0
18:27:31.583  I  <MMKV.cpp:165::initialize> version v1.2.14, page size 4096, arch arm64-v8a
18:27:31.583  I  <MMKV.cpp:176::initialize> armv8 AES instructions is supported
18:27:31.583  I  <MMKV.cpp:184::initialize> armv8 CRC32 instructions is supported
18:27:31.583  I  <MMKV.cpp:207::initializeMMKV> root dir: /data/user/0/cn.xiaoman.xim.cjupdateflutterversion/files/mmkv
18:27:31.583  I  <MemoryFile.cpp:97::open> open fd[0x4b], /data/user/0/cn.xiaoman.xim.cjupdateflutterversion/files/mmkv/mmkv.default
18:27:31.583  I  <MemoryFile.cpp:97::open> open fd[0x4c], /data/user/0/cn.xiaoman.xim.cjupdateflutterversion/files/mmkv/mmkv.default.crc
18:27:31.583  I  <MMKV_IO.cpp:81::loadFromFile> loading [mmkv.default] with 32080 actual size, file size 131072, InterProcess 0, meta info version:3
18:27:31.583  I  <MMKV_IO.cpp:86::loadFromFile> loading [mmkv.default] with crc<PHONE_NUMBER> sequence 2 version 3
18:27:31.583  I  <MMKV_IO.cpp:130::loadFromFile> loaded [mmkv.default] with 15 key-values
18:27:31.697  I  Construct a SensorsDataRemoteManager
18:27:31.698  I  Cache remote config is { v=null, disableDebugMode=false, disableSDK=false, autoTrackMode=-1, event_blacklist=null, nv=null, effect_mode=0}
18:27:31.703  D  Loading provider cn.xiaoman.xim.cjupdateflutterversion.SensorsDataContentProvider: com.sensorsdata.analytics.android.sdk.data.SensorsDataContentProvider
18:27:31.712  I  Register ConnectivityManager
18:27:31.719  I  Initialized the instance of Sensors Analytics SDK with server url 'https://datasink-sensorsdata.xiaoman.cn/sa?project=default', flush interval 15000 ms, debugMode: DEBUG_OFF
18:27:31.720  I  com.huawei.system.BuildEx
18:27:31.723  I  SensorsData getCarrier
18:27:31.726  I  onAvailable is calling
18:27:31.726  I  onCapabilitiesChanged is calling
18:27:31.728  I  onAvailable is calling
18:27:31.728  I  onCapabilitiesChanged is calling
18:27:31.733  W  plugin add to list success, plugin name is apm
18:27:31.733  W  plugin add to list success, plugin name is crashreporter
18:27:31.733  W  plugin add to list success, plugin name is tlog
18:27:31.734  I  start init plugin crashreporter
18:27:31.734  I  init crashreporter, appId is 25236416@android appKey is 25236416 appVersion is 5.1.3 channel is china userNick is null
18:27:31.734  D  CrashSDK initialize start
18:27:31.735  D  CrashSDK ReporterContext initialize complete elapsed time:1ms.
18:27:31.735  D  CrashSDK StorageManager initialize complete elapsed time:0ms.
18:27:31.735  D  CrashSDK ReportBuilder initialize complete elapsed time:0ms.
18:27:31.735  D  CrashSDK SendManager initialize complete elapsed time:0ms.
18:27:31.735  D  CrashSDK RunningStateMonitor initialize complete elapsed time:0ms.
18:27:31.736  D  CrashSDK UncaughtExceptionCatcher initialize complete elapsed time:0ms.
18:27:31.736  W  type=1400 audit(0.0:1586229): avc: denied { write } for name="tasks" dev="cgroup" ino=21 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:cgroup:s0 tclass=file permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:31.736  W  type=1400 audit(0.0:1586230): avc: denied { read } for name="version" dev="proc" ino=4026532122 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:proc_version:s0 tclass=file permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:31.746  D  nativeSetForeground set background after startup
18:27:31.746  D  CrashSDK UCNativeExceptionCatcher initialize complete elapsed time:10ms.
18:27:31.746  D  CrashSDK ANRCatcher initialize complete elapsed time:0ms.
18:27:31.746  D  CrashSDK MainLoopCatcher initialize failure，please use MotuWatch SDK
18:27:31.746  D  CrashSDK CatcherManager initialize complete elapsed time:11ms.
18:27:31.746  D  CrashSDK LabFeatureManager initialize complete elapsed time:0ms.
18:27:31.746  D  CrashSDK initialize complete elapsed time:12ms.
18:27:31.747  W  Accessing hidden method Landroid/os/SystemProperties;->set(Ljava/lang/String;Ljava/lang/String;)V (unsupported, reflection, allowed)
18:27:31.787  D  find uc native log complete elapsed time:40.ms
18:27:31.788  D  scaning anr complete elapsed time:0.ms
18:27:31.788  E  try to find system trace file, but file not exist.
18:27:31.788  D  CrashSDK doBefore complete elapsed time:42ms.
18:27:31.788  D  CatcherManager scan anr time:0
18:27:31.788  D  CrashSDK enable complete elapsed time:0ms.
18:27:31.788  D  CrashSDK initialize success!
18:27:31.788  D  register lifecycle callbacks
18:27:31.788  I  end init plugin crashreporter 54ms
18:27:31.788  I  start init plugin tlog
18:27:31.789  I  end init plugin tlog 1ms
18:27:31.789  I  start init plugin watch
18:27:31.789  I  end init plugin watch 0ms
18:27:31.789  I  start init plugin apm
18:27:31.789  I  init apm, appId is 25236416@android appKey is 25236416 appVersion is 5.1.3
18:27:31.789  I  TBAPMAdapterLaunchers:->init start
18:27:31.790  I  init tlog, appKey is 25236416 appVersion is 5.1.3 logLevel is I namePrefix is cn.xiaoman.xim.cjupdateflutterversion
18:27:31.791  E  ->native->crash happened last time
18:27:31.793  D  start send crash log. appkey: 25236416, crash type: native
18:27:31.794  D  ed482cdc04605d43063530b32d319ec4
18:27:31.797  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.797  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.797  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.797  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.797  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.797  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.797  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.797  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.797  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.797  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.798  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.798  E  tlog init end !
18:27:31.798  E  flush log in asyncInit Mode
18:27:31.799  E  ApmImpl:->init
18:27:31.800  W  MSG_PULL:TLOG.StartUpRequestTask:启动事件：采样内容存在：5.1.3^true
18:27:31.801  W  Accessing hidden method Landroid/os/Process;->readProcFile(Ljava/lang/String;[I[Ljava/lang/String;[J[F)Z (unsupported, reflection, allowed)
18:27:31.801  I  TBAPMAdapterLaunchers:->init end
18:27:31.801  I  TBAPMAdapterLaunchers:->apmStartTime:->12
18:27:31.801  I  end init plugin apm 12ms
18:27:31.801  I  start init plugin networkmonitor
18:27:31.801  W  Accessing hidden method Landroid/os/Process;->readProcLines(Ljava/lang/String;[Ljava/lang/String;[J)V (unsupported, reflection, allowed)
18:27:31.801  I  end init plugin networkmonitor 0ms
18:27:31.801  I  start init plugin olympic
18:27:31.802  D  start Hook IActivityManager...
18:27:31.802  W  MSG_PULL:TLOG.FileUploadHandler:消息拉取：主动发送消息，拉取任务
18:27:31.802  W  Accessing hidden field Landroid/app/ActivityManager;->IActivityManagerSingleton:Landroid/util/Singleton; (unsupported, reflection, allowed)
18:27:31.802  W  Accessing hidden field Landroid/util/Singleton;->mInstance:Ljava/lang/Object; (unsupported, reflection, allowed)
18:27:31.804  I  RestAPI start send log!
18:27:31.805  D  VmPolicy:Non SDK api usage is not supported
18:27:31.806  W  Accessing hidden field Landroid/app/Application;->mLoadedApk:Landroid/app/LoadedApk; (unsupported, reflection, allowed)
18:27:31.806  W  Accessing hidden field Landroid/app/LoadedApk;->mReceivers:Landroid/util/ArrayMap; (unsupported, reflection, allowed)
18:27:31.806  W  Accessing hidden field Landroid/app/LoadedApk;->mServices:Landroid/util/ArrayMap; (max-target-p, reflection, allowed)
18:27:31.810  I  end init plugin olympic 9ms
18:27:31.811  I  Initialize Mobile Push service...
18:27:31.812  W  Accessing hidden field Landroid/os/MessageQueue;->mMessages:Landroid/os/Message; (unsupported, reflection, allowed)
18:27:31.814  I  RestAPI build data succ!
18:27:31.815  I  send url :ak=25236416&av=5.1.3&avsys=5.1.3&c=china&d=Y2om873xL1cDACNtCJiNk+Q/&sv=<IP_ADDRESS>
18:27:31.815  D  DiskCacheManager num: 0
18:27:31.817  I  packRequest success!
18:27:31.817  D  sendRequest use adashx, bytes length : 38841
18:27:31.818  D  signValue:74f30da858276726d2526ce1ece62da992611dd3
18:27:31.832  W  /data/user/0/cn.xiaoman.xim.cjupdateflutterversion/files/aliha-appstatus1010.adt: open failed: ENOENT (No such file or directory)
18:27:31.837  I  init agoo config appkey:25236416
18:27:31.841  D  changeNetworkSdkLoggerToAccs
18:27:31.841  I  call register
18:27:31.843  D  getLooper called.
18:27:31.843  D  Looping Prepared.
18:27:31.843  D  Looping handleMessage: 1
18:27:31.843  D  is debug：false
18:27:31.843  D  load utdid: Y2om873xL1cDACNtCJiNk+Q/
18:27:31.843  D  vip init.
18:27:31.846  D  appkey:25236416
18:27:31.847  I  [MPS:MiPushRegister] register begin
18:27:31.848  I  url=https://beacon-api.aliyuncs.com/beacon/fetch/config/byappkey
18:27:31.852  I  [MPS:HuaWeiRegister] register checkDevice false
18:27:31.854  W  [Tid:1935] sdk_version = 4_9_1
18:27:31.854  V  [Tid:1935] create id manager is: 1
18:27:31.855  E  MCS-->isExistPackage NameNotFoundException:com.coloros.mcs
18:27:31.856  I  [MPS:OPush] not support oppo push
18:27:31.856  D  MCS-->fbeVersion is true
18:27:31.856  W  (6008)mIsFbeProject = true
18:27:31.859  W  [Tid:1935] register invalid, aid=true;atn=true;rid=false;rse=false;did=false
18:27:31.865  W  [Tid:2] [XMPushService] onStart() with intent.Action = null, chid = null, pkg = null|cn.xiaoman.xim.cjupdateflutterversion
18:27:31.866  I  Device unlocked: initializing all Firebase APIs for app [DEFAULT]
18:27:31.867  D  (6008)PushClientThread-handleMessage, task = c{InitCommand}
18:27:31.869  E  Failed to find provider info for com.vivo.push.sdk.service.SystemPushConfig
18:27:31.869  E  (6008)cursor is null
18:27:31.870  E  (6008)systemPushPkgName is null
18:27:31.870  I  [MPS:vPush] this device is not support vPush
18:27:31.870  I  [MPS:MeizuPush] not meizu return
18:27:31.871  I  start
18:27:31.873  I  Thread-main-i0-getString-RETURN-00000000-15a0-bc54-ffff-fffffa2ddbd6
18:27:31.873  I  Thread-main-i0-getString-RETURN-00000000-15a0-bc54-ffff-fffffa2ddbd6
18:27:31.873  I  Thread-main-i0-getString-RETURN-5.1.3
18:27:31.873  I  Thread-main-i0-getString-RETURN-5.1.3
18:27:31.882  W  [Tid:1935] register invalid, aid=true;atn=true;rid=false;rse=false;did=false
18:27:31.882  V  [Tid:1935] Don't send message before initialization succeeded!
18:27:31.886  E  Couldn't load BLASTBufferQueue Class
18:27:31.886  E  Couldn't find UndequeuedBufferCount functions
18:27:31.899  W  [Tid:2] [XMPushService] onStart() with intent.Action = com.xiaomi.mipush.CLEAR_NOTIFICATION, chid = null, pkg = cn.xiaoman.xim.cjupdateflutterversion|cn.xiaoman.xim.cjupdateflutterversion
18:27:31.899  V  [Tid:1935] get region from system, region = CN
18:27:31.900  V  [Tid:1935] get region from system, region = CN
18:27:31.902  W  Accessing hidden method Ldalvik/system/VMRuntime;->getRuntime()Ldalvik/system/VMRuntime; (unsupported,core-platform-api, reflection, allowed)
18:27:31.902  W  Accessing hidden method Ldalvik/system/VMRuntime;->is64Bit()Z (unsupported,core-platform-api, reflection, allowed)
18:27:31.904  W  [Tid:1935] register invalid, aid=true;atn=true;rid=false;rse=false;did=false
18:27:31.904  V  [Tid:1935] Don't send message before initialization succeeded!
18:27:31.907  W  [Tid:2] [XMPushService] onStart() with intent.Action = com.xiaomi.mipush.REGISTER_APP, chid = null, pkg = null|cn.xiaoman.xim.cjupdateflutterversion
18:27:31.908  W  [Tid:1789] try send mi push message. packagename:cn.xiaoman.xim.cjupdateflutterversion action:Registration
18:27:31.910  W  [Tid:1935] register invalid, aid=true;atn=true;rid=false;rse=false;did=false
18:27:31.910  V  [Tid:1935] Don't send message before initialization succeeded!
18:27:31.913  W  [Tid:2] [XMPushService] onStart() with intent.Action = action_cr_config, chid = null, pkg = null|cn.xiaoman.xim.cjupdateflutterversion
18:27:31.928  D  Open http://<IP_ADDRESS>:8080 in your browser
18:27:31.944  I  AbstractDataCollector:->visibleStart->cn.xiaoman.mobile.okki.router.OkkiFlutterActivity
18:27:31.944  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.946  D  initTbsSettings - {no_sensitive_api=true, use_speedy_classloader=true, use_dexloader_service=true}
18:27:31.946  D  Set base classLoader for DexClassLoader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/~~9lZiNFJo8C45R27A4Axh2w==/cn.xiaoman.xim.cjupdateflutterversion-zahMZw_m8zNySaO-Gdb3yg==/base.apk"],nativeLibraryDirectories=[/data/app/~~9lZiNFJo8C45R27A4Axh2w==/cn.xiaoman.xim.cjupdateflutterversion-zahMZw_m8zNySaO-Gdb3yg==/lib/arm64, /data/app/~~9lZiNFJo8C45R27A4Axh2w==/cn.xiaoman.xim.cjupdateflutterversion-zahMZw_m8zNySaO-Gdb3yg==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]]
18:27:31.947  I  AbsDispatcher:->AbsDispatcher-> init
18:27:31.952  I  createDexClassLoader,old VerisonCode=5.1.3;newVersionCode=11248oldVersionName5.1.3;newVersionName+5.1.3oldDisplaySKQ1.211006.001 test-keys;newDisplay=SKQ1.211006.001 test-keys
18:27:31.952  D  createDexClassLoader: /data/user/0/cn.xiaoman.xim.cjupdateflutterversion/app_tbs_64/core_share/tbs_sdk_extension_dex.jar
18:27:31.952  D  sync odex...new DexClassLoader
18:27:31.955  D  createDexClassLoader result: dalvik.system.DexClassLoader[DexPathList[[zip file "/data/user/0/cn.xiaoman.xim.cjupdateflutterversion/app_tbs_64/core_share/tbs_sdk_extension_dex.jar"],nativeLibraryDirectories=[/data/user/0/cn.xiaoman.xim.cjupdateflutterversion/app_tbs_64/core_share, /system/lib64, /system_ext/lib64]]]
18:27:31.979  E  [ERROR:flutter/runtime/dart_vm_data.cc(18)] VM snapshot invalid and could not be inferred from settings.
18:27:31.979  E  [ERROR:flutter/runtime/dart_vm.cc(268)] Could not set up VM data to bootstrap the VM from.
18:27:31.979  E  [ERROR:flutter/runtime/dart_vm_lifecycle.cc(84)] Could not create Dart VM instance.
18:27:31.979  A  [FATAL:flutter/shell/common/shell.cc(143)] Check failed: vm. Must be able to initialize the VM.
18:27:31.979  I  begin to generate native report
18:27:32.002  D  initViewContentFetcherClass
18:27:32.002  D  getInterceptorPackageInfo
18:27:32.003  D  getInitialApplication took 1ms
18:27:32.003  D  packageInfo.packageName: com.miui.catcherpatch
18:27:32.144  I  Resume native log stat thread 6080
18:27:34.692  W  type=1400 audit(0.0:1586234): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:34.692  W  type=1400 audit(0.0:1586235): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:34.692  W  type=1400 audit(0.0:1586236): avc: denied { read } for name="power_supply" dev="sysfs" ino=55538 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:34.692  W  type=1400 audit(0.0:1586237): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:34.692  W  type=1400 audit(0.0:1586238): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:34.692  W  type=1400 audit(0.0:1586239): avc: denied { search } for name="battery" dev="sysfs" ino=113805 scontext=u:r:untrusted_app_27:s0:c49,c258,c512,c768 tcontext=u:object_r:vendor_sysfs_battery_supply:s0 tclass=dir permissive=0 app=cn.xiaoman.xim.cjupdateflutterversion
18:27:34.824  D  autobrightness adjustment by applications is applied, lux = 111.0, brightness = 0.17253907, appPackageName = cn.xiaoman.xim.cjupdateflutterversion
18:27:35.446  W  Activity top resumed state loss timeout for ActivityRecord{60dc782 u0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity t67690}
18:27:35.447  W  Activity pause timeout for ActivityRecord{60dc782 u0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity t67690}
18:27:35.480  E  ANR in cn.xiaoman.xim.cjupdateflutterversion (cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity)
                 PID: 3999
                 Reason: Input dispatching timed out (7140234 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity (server) is not responding. Waited 5000ms for FocusEvent(hasFocus=false))
                 Parent: cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity
                 Frozen: false
                 Load: 0.45 / 1.21 / 1.15
                 ----- Output from /proc/pressure/memory -----
                 some avg10=0.00 avg60=0.00 avg300=0.00 total=1533355327
                 full avg10=0.00 avg60=0.00 avg300=0.00 total=559642347
                 ----- End output from /proc/pressure/memory -----

                 CPU usage from 0ms to 6144ms later (2022-11-08 18:27:29.282 to 2022-11-08 18:27:35.426):
                   33% 1975/system_server: 19% user + 13% kernel / faults: 20621 minor
                   33% 22181/com.tencent.mm: 19% user + 13% kernel / faults: 5718 minor 273 major
                   15% 8298/adbd: 2.4% user + 13% kernel / faults: 729 minor
                   10% 606/logd: 4.2% user + 6% kernel / faults: 11287 minor
                   0.2% 1841/media.swcodec: 0.1% user + 0.1% kernel / faults: 10863 minor
                   6.5% 1178/surfaceflinger: 3.2% user + 3.2% kernel / faults: 1574 minor
                   4.2% 18554/kworker/u17:0-hal_register_write_wq: 0% user + 4.2% kernel
                   0.1% 1803/media.codec: 0% user + 0% kernel / faults: 4009 minor
                   3.2% 26739/kworker/u16:8-qc_ufs_qos_swq: 0% user + 3.2% kernel / faults: 27 minor
                   3.2% 26741/kworker/u16:12-events_unbound: 0% user + 3.2% kernel / faults: 2 minor
                   3% 3677/com.android.systemui: 2.4% user + 0.6% kernel / faults: 359 minor 1 major
                   2.9% 26738/kworker/u16:7-events_unbound: 0% user + 2.9% kernel / faults: 8 minor
                   0.1% 1043/media.hwcodec: 0% user + 0% kernel / faults: 4705 minor
                   2.6% 18490/kworker/u16:15-ufs_clkscaling_0: 0% user + 2.6% kernel / faults: 23 minor
                   0% 1789/media.extractor: 0% user + 0% kernel / faults: 3664 minor
                   2.1% 1774/cnss_diag: 1.6% user + 0.4% kernel
                   0%<EMAIL_ADDRESS>0% user + 0% kernel / faults: 2427 minor
                   1.9% 1030/vendor.qti.hardware.display.composer-service: 1.3% user + 0.6% kernel / faults: 931 minor
                   1.9% 4234/com.miui.aod: 1.3% user + 0.6% kernel / faults: 5577 minor
                   0% 10633/com.miui.securityinputmethod: 0% user + 0% kernel / faults: 2986 minor 78 major
                   1.6% 27380/kworker/u17:3-hal_register_write_wq: 0% user + 1.6% kernel
                   1.4% 371/crtc_commit:132: 0% user + 1.4% kernel
                   1.4% 2514/logcat: 0.4% user + 0.9% kernel
                   1.4% 3658/com.android.phone: 0.6% user + 0.8% kernel / faults: 852 minor
                   1.4% 20147/kworker/u16:0: 0% user + 1.4% kernel / faults: 12 minor
                   1.4% 32368/kworker/u17:5-hal_register_write_wq: 0% user + 1.4% kernel
                   1.3% 5551/logcat: 0.4% user + 0.8% kernel
                   1.3% 31044/com.google.android.inputmethod.latin: 0.9% user + 0.3% kernel / faults: 876 minor
                   1.1% 971/android.hardware.audio.service: 0.1% user + 0.9% kernel / faults: 141 minor
                   1.1% 2529/logcat: 0.3% user + 0.8% kernel
                   0.9% 180/kswapd0:0: 0% user + 0.9% kernel
                   0.9% 5017/com.android.nfc: 0.4% user + 0.4% kernel / faults: 530 minor
                   0.8% 12/rcuog/0: 0% user + 0.8% kernel
                   0.8%<EMAIL_ADDRESS>0.1% user + 0.6% kernel / faults: 470 minor
                   0.8% 1172/audioserver: 0.3% user + 0.4% kernel / faults: 259 minor
                   0.8% 4985/com.miui.daemon: 0.6% user + 0.1% kernel / faults: 160 minor
                   0% 708/tombstoned: 0% user + 0% kernel
                   0.6% 833/netd: 0% user + 0.6% kernel / faults: 397 minor
                   0.6% 14300/com.google.android.gms.persistent: 0.1% user + 0.4% kernel / faults: 38 minor
                   0.6% 23577/com.android.bluetooth: 0.1% user + 0.4% kernel / faults: 40 minor
                   0.4% 1/init: 0.1% user + 0.3% kernel / faults: 5 minor
                   0.4% 11/rcu_preempt: 0% user + 0.4% kernel
                   0.4% 39/rcuog/4: 0% user + 0.4% kernel
                   0.4% 832/statsd: 0.3% user + 0.1% kernel / faults: 81 minor
                   0.4%<EMAIL_ADDRESS>0% user + 0.4% kernel / faults: 179 minor
18:27:35.480  E    0.4% 5674/mdnsd: 0.3% user + 0.1% kernel / faults: 2 minor
                   0.4% 23675/dp_rx_thread_0: 0% user + 0.4% kernel
                   0.3% 13/rcuop/0: 0% user + 0.3% kernel
                   0.3% 27/rcuop/2: 0% user + 0.3% kernel
                   0.3% 40/rcuop/4: 0% user + 0.3% kernel
                   0.3% 58/rcuop/7: 0% user + 0.3% kernel
                   0% 75/kcompactd0: 0% user + 0% kernel
                   0.3% 199/kgsl_worker_thr: 0% user + 0.3% kernel
                   0.3% 372/crtc_event:132: 0% user + 0.3% kernel
                   0.3% 608/servicemanager: 0.1% user + 0.1% kernel
                   0.3%<EMAIL_ADDRESS>0.1% user + 0.1% kernel / faults: 33 minor
                   0.3%<EMAIL_ADDRESS>0.1% user + 0.1% kernel / faults: 74 minor
                   0.3% 1029/vendor.qti.hardware.display.allocator-service: 0% user + 0.3% kernel / faults: 16 minor
                   0.3%<EMAIL_ADDRESS>0% user + 0.3% kernel / faults: 31 minor
                   0.3% 2965/transport: 0.1% user + 0.1% kernel / faults: 3 minor
                   0.3% 5772/com.xiaomi.xmsf: 0.1% user + 0.1% kernel / faults: 29 minor
                   0.3% 7017/com.xiaomi.scanner: 0.1% user + 0.1% kernel / faults: 4 minor
                   0.1% 21/rcuop/1: 0% user + 0.1% kernel
                   0.1% 33/rcuop/3: 0% user + 0.1% kernel
                   0% 42/migration/5: 0% user + 0% kernel
                   0.1% 46/rcuop/5: 0% user + 0.1% kernel
                   0.1% 52/rcuop/6: 0% user + 0.1% kernel
                   0.1% 54/migration/7: 0% user + 0.1% kernel
                   0.1% 65/qrtr_ns: 0% user + 0.1% kernel
                   0.1% 71/qmp_aop: 0% user + 0.1% kernel
                   0.1% 153/system: 0% user + 0.1% kernel
                   0.1% 607/lmkd: 0.1% user + 0% kernel
                   0.1% 609/hwservicemanager: 0.1% user + 0% kernel / faults: 24 minor
                   0% 622/vold: 0% user + 0% kernel / faults: 95 minor
                   0.1% 648/psimon: 0% user + 0.1% kernel
                   0.1%<EMAIL_ADDRESS>0% user + 0.1% kernel / faults: 50 minor
                   0.1% 676/keystore2: 0% user + 0.1% kernel / faults: 41 minor
                   0% 834/zygote64: 0% user + 0% kernel / faults: 41 minor
                   0.1%<EMAIL_ADDRESS>0% user + 0.1% kernel / faults: 43 minor
                   0% 1004/android.hardware.lights-service.qti: 0% user + 0% kernel / faults: 40 minor
                   0%<EMAIL_ADDRESS>0% user + 0% kernel / faults: 45 minor
                   0.1%<EMAIL_ADDRESS>0.1% user + 0% kernel
                   0% 1169/pm-service: 0% user + 0% kernel
                   0.1% 1451/mi_thermald: 0% user + 0.1% kernel
                   0.1% 1628/irq/24-9091000.: 0% user + 0.1% kernel
                   0.1% 1630/irq/23-90b6400.: 0% user + 0.1% kernel
                   0% 1781/cameraserver: 0% user + 0% kernel / faults: 88 minor
                   0% 1791/media.metrics: 0% user + 0% kernel / faults: 200 minor
                   0.1% 1835/poweropt-service: 0.1% user + 0% kernel
                   0.1% 1880/mfp-daemon: 0% user + 0.1% kernel / faults: 43 minor
                   0.1%<EMAIL_ADDRESS>0% user + 0.1% kernel / faults: 21 minor
                   0% 1916/mediaserver: 0% user + 0% kernel / faults: 95 minor
                   0.1% 3396/com.miui.miwallpaper: 0% user + 0.1% kernel / faults: 3145 minor
                   0.1% 3684/com.miui.home: 0.1% user + 0% kernel / faults: 13 minor
                   0.1% 4295/com.xiaomi.bluetooth: 0% user + 0.1% kernel / faults: 4 minor
                   0.1% 7352/com.miui.powerkeeper: 0% user + 0.1% kernel / faults: 10 minor
                   0.1% 9700/kworker/0:0-sock_diag_events: 0% user + 0.1% kernel
                   0.1% 10417/com.xiaomi.market: 0% user + 0.1% kernel / faults: 82 minor
                   0.1% 14869/kworker/7:1-events: 0% user + 0.1% kernel
                   0% 21860/kworker/1:2H-kblockd: 0% user + 0% kernel
                   0.1% 22806/kworker/3:1-events: 0% user + 0.1% kernel
                   0.1% 27409/kworker/1:3-pm: 0% user + 0.1% kernel
                   0.1% 28695/com.miui.voiceassist: 0.1% user + 0% kernel / faults: 393 minor 1 major
                   0.1% 29160/com.miui.systemAdSolution: 0% user + 0.1% kernel / faults: 13 minor
                  +0% 6008/cn.xiaoman.xim.cjupdateflutterversion: 0% user + 0% kernel
                  +0% 6231/cn.xiaoman.xim.cjupdateflutterversion: 0% user + 0% kernel
                  +0% 6234/eflutterversion: 0% user + 0% kernel
                  +0% 6256/eflutterversion: 0% user + 0% kernel
                  +0% 6312/sh: 0% user + 0% kernel
                  +0% 6314/eflutterversion: 0% user + 0% kernel
                 30% TOTAL: 13% user + 15% kernel + 0.1% iowait + 1.2% irq + 0.2% softirq
18:27:35.480  E  CPU usage from 102ms to 448ms later (2022-11-08 18:27:29.384 to 2022-11-08 18:27:29.729):
                   38% 1975/system_server: 12% user + 25% kernel / faults: 1135 minor
                     35% 5945/AnrConsumer: 6.4% user + 29% kernel
                     3.2% 2068/Binder:1975_2: 0% user + 3.2% kernel
                   27% 3999/cn.xiaoman.xim.cjupdateflutterversion: 20% user + 6.8% kernel / faults: 350 minor
                     17% 4219/RenderThread: 13% user + 3.4% kernel
                     3.4% 5892/Binder:3999_7: 3.4% user + 0% kernel
                    +0% 5946/CrashReporterAd: 0% user + 0% kernel
                    +0% 5948/process reaper: 0% user + 0% kernel
                   15% 1178/surfaceflinger: 0% user + 15% kernel / faults: 1 minor
                     6.2% 1178/surfaceflinger: 3.1% user + 3.1% kernel
                     3.1% 1341/Binder:1178_1: 3.1% user + 0% kernel
                     3.1% 1664/IdleTimer: 0% user + 3.1% kernel
                   5.8% 371/crtc_commit:132: 0% user + 5.8% kernel
                   5.8% 606/logd: 0% user + 5.8% kernel / faults: 1 minor
                     2.9% 615/logd.writer: 0% user + 2.9% kernel
                     2.9% 2556/logd.reader.per: 0% user + 2.9% kernel
                     2.9% 5553/logd.reader.per: 0% user + 2.9% kernel
                   6.1% 1030/vendor.qti.hardware.display.composer-service: 0% user + 6.1% kernel
                     3% 4761/HwBinder:1030_3: 0% user + 3% kernel
                   7.4% 8298/adbd: 3.7% user + 3.7% kernel / faults: 5 minor
                     7.4% 2220/UsbFfs-worker: 3.7% user + 3.7% kernel
                     3.7% 8298/adbd: 0% user + 3.7% kernel
                   7.7% 18490/kworker/u16:15-events_unbound: 0% user + 7.7% kernel
                   2.8% 12/rcuog/0: 0% user + 2.8% kernel
                   2.8% 54/migration/7: 0% user + 2.8% kernel
                   2.8% 58/rcuop/7: 0% user + 2.8% kernel
                   2.9% 372/crtc_event:132: 0% user + 2.9% kernel
                   3.2% 2514/logcat: 0% user + 3.2% kernel
                   3.8% 18554/kworker/u17:0-kgsl-events: 0% user + 3.8% kernel
                   4% 22181/com.tencent.mm: 4% user + 0% kernel
                   4.1% 26738/kworker/u16:7-memlat_wq: 0% user + 4.1% kernel
                   4.1% 26741/kworker/u16:12-memlat_wq: 0% user + 4.1% kernel
                   4.2% 27380/kworker/u17:3-dwc_wq: 0% user + 4.2% kernel
                   4.2% 27409/kworker/1:3-sock_diag_events: 0% user + 4.2% kernel
                 18% TOTAL: 5.3% user + 10% kernel + 1.5% irq + 0.3% softirq
18:27:35.487  I  Killing 0:cn.xiaoman.xim.cjupdateflutterversion/u0a561 (adj -10000): bg anr
18:27:35.488  D  perfProcessKillBoost: cn.xiaoman.xim.cjupdateflutterversion, 0, 0
18:27:35.488  W  optimizeTraceFile: PackageName : cn.xiaoman.xim.cjupdateflutterversion, pid : 3999 did not register.
18:27:35.488  D  Completed ANR of cn.xiaoman.xim.cjupdateflutterversion in 6216ms, latency 3ms
18:27:35.501  W  anrEnhanceLog function: PackageName : cn.xiaoman.xim.cjupdateflutterversion, pid : 3999 did not register.
18:27:35.505  D  anrEnhanceLog anr info filename: /data/mqsas/scout/app/3999-cn.xiaoman.xim.cjupdateflutterversion-APP_ANR-2022-11-08-18-27-29/3999-cn.xiaoman.xim.cjupdateflutterversion-APP_ANR-info-2022-11-08-18-27-29
18:27:35.556  W  getRunningTask   taskInfo=TaskInfo{userId=0 taskId=67690 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.WelcomeActivity } baseActivity=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity} topActivity=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity} origActivity=null realActivity=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.WelcomeActivity} numActivities=2 lastActiveTime=1366192749 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@61700d7} topActivityType=1 pictureInPictureParams=null displayCutoutSafeInsets=Rect(0, 103 - 0, 0) topActivityInfo=ActivityInfo{7570dc4 cn.xiaoman.mobile.okki.router.OkkiFlutterActivity} launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=false topActivityInSizeCompat=false locusId= null windowMode=1}
18:27:35.556  W  getTaskInfoIgnoreHomeAndFreeform   taskInfo=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity}
18:27:35.558  E  getRecentTasks: taskId=67690   userId=0   baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.WelcomeActivity }
18:27:35.974  D  foreground, uid = 10561, app = cn.xiaoman.xim.cjupdateflutterversion
18:27:36.546  I  Process PhantomProcessRecord {7b3d20a 6231:6008:cn.xiaoman.xim.cjupdateflutterversion/u0a561} died
18:27:36.591  D  pull request message:
18:27:36.600  I  responseCode: 200
18:27:36.604  D  errCode:0
18:27:36.604  D  send crash log success. appkey: 25236416, crash type: native
18:27:36.609  D  initTbsSettings - {no_sensitive_api=true, use_speedy_classloader=true, use_dexloader_service=true}
18:27:36.609  D  Set base classLoader for DexClassLoader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/~~9lZiNFJo8C45R27A4Axh2w==/cn.xiaoman.xim.cjupdateflutterversion-zahMZw_m8zNySaO-Gdb3yg==/base.apk"],nativeLibraryDirectories=[/data/app/~~9lZiNFJo8C45R27A4Axh2w==/cn.xiaoman.xim.cjupdateflutterversion-zahMZw_m8zNySaO-Gdb3yg==/lib/arm64, /data/app/~~9lZiNFJo8C45R27A4Axh2w==/cn.xiaoman.xim.cjupdateflutterversion-zahMZw_m8zNySaO-Gdb3yg==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]]
18:27:36.610  I  createDexClassLoader,old VerisonCode=5.1.3;newVersionCode=11248oldVersionName5.1.3;newVersionName+5.1.3oldDisplaySKQ1.211006.001 test-keys;newDisplay=SKQ1.211006.001 test-keys
18:27:36.610  D  createDexClassLoader: /data/user/0/cn.xiaoman.xim.cjupdateflutterversion/app_tbs_64/core_share/apache_dex.jar
18:27:36.610  D  sync odex...new DexClassLoader

(base) ➜  okki-flutter git:(cj/updateFlutterVersion) fvm flutter doctor -v
[✓] Flutter (Channel stable, 3.3.7, on macOS 12.4 21F79 darwin-arm, locale en-CN)
    • Flutter version 3.3.7 on channel stable at /Users/jiechic/.fvm/3.3.7
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e99c9c7cd9 (6 days ago), 2022-11-01 16:59:00 -0700
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/jiechic/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_SDK_ROOT = /Users/jiechic/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 107.0.5304.87

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
(base) ➜  okki-flutter git:(cj/updateFlutterVersion)

Hi @jiechic, thanks for filing the issue. Do you implement Feature Delivery?
May be related/similar: #92061

Hi @jiechic, thanks for filing the issue. Do you implement Feature Delivery? May be related/similar: #92061

No，Not implement Feature Delivery
only use aar from private maven repo which is flutter module publich

@jiechic thanks for responding.
I can reproduce this error when setting debuggable true in app/build.gradle (under buildTypes release) and Build variant is release (refer to steps to reproduce here). But if there is no debuggable true setting, the project can run normally.
Using sample code at add_to_app/fullscreen.
May be related/similar: #84614 (issue with Option B in add-to-app guideline)
Do you have the same settings and behavior?

@jiechic thanks for responding. I can reproduce this error when setting debuggable true in app/build.gradle (under buildTypes release) and Build variant is release (refer to steps to reproduce here). But if there is no debuggable true setting, the project can run normally. Using sample code at add_to_app/fullscreen.
May be related/similar: #84614 (issue with Option B in add-to-app guideline)
Do you have the same settings and behavior?

We have same setting like  debuggable true in app/build.gradle
it's test twice also crash that after ./gradlew clean when i remove the setting debuggable true
setting screenshot below

shell script below
./gradlew clean
./gradlew :app:aR
adb install app/build/outputs/apk/china/release/app-china-release.apk

new crash logcat below
13:51:09.908  D  [MotionEvent] publisher action=0x0,<PHONE_NUMBER>, channel '5899128 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity (server)'
13:51:09.978  D  [MotionEvent] publisher action=0x1,<PHONE_NUMBER>, channel '5899128 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity (server)'
13:51:10.006  I  START u0 {cmp=cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity (has extras)} from uid 10561
13:51:10.010  D  onStartActivityInner as = Task{c5f4966 #67806 type=standard A=10561:cn.xiaoman.xim.cjupdateflutterversion U=0 visible=true mode=fullscreen translucent=false sz=2} op = null
13:51:10.010  D  onStartActivityInner as = Task{c5f4966 #67806 type=standard A=10561:cn.xiaoman.xim.cjupdateflutterversion U=0 visible=true mode=fullscreen translucent=false sz=2} op = null
13:51:10.016  D  perfWarmLaunchBoost: cn.xiaoman.xim.cjupdateflutterversion, -1, 2
13:51:10.022  D  perfWarmLaunchBoost: cn.xiaoman.xim.cjupdateflutterversion, -1, 2
13:51:10.022  D  perfColdLaunchBoost: cn.xiaoman.xim.cjupdateflutterversion, 4571, 102
13:51:10.126  W  getRunningTask   taskInfo=TaskInfo{userId=0 taskId=67806 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.WelcomeActivity } baseActivity=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity} topActivity=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity} origActivity=null realActivity=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.WelcomeActivity} numActivities=3 lastActiveTime=1436007321 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@a8aa35f} topActivityType=1 pictureInPictureParams=PictureInPictureParams( aspectRatio=null sourceRectHint=null hasSetActions=false isAutoPipEnabled=false isSeamlessResizeEnabled=true) displayCutoutSafeInsets=Rect(0, 103 - 0, 0) topActivityInfo=ActivityInfo{548b1ac cn.xiaoman.mobile.okki.router.OkkiFlutterActivity} launchCookies=[] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=true topActivityInSizeCompat=false locusId= null windowMode=1}
13:51:10.126  W  getTaskInfoIgnoreHomeAndFreeform   taskInfo=ComponentInfo{cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity}
13:51:10.127  E  getRecentTasks: taskId=67806   userId=0   baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.WelcomeActivity }
13:51:10.595  A  Cmdline: cn.xiaoman.xim.cjupdateflutterversion
13:51:10.595  A  pid: 4571, tid: 4571, name: eflutterversion  >>> cn.xiaoman.xim.cjupdateflutterversion <<<
13:51:10.595  A        #01 pc<PHONE_NUMBER>31eb54  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/lib/arm64/libflutter.so (BuildId: 2cf88341252c95e1c57ab402a766496ee4430dec)
13:51:10.595  A        #02 pc<PHONE_NUMBER>3453fc  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/lib/arm64/libflutter.so (BuildId: 2cf88341252c95e1c57ab402a766496ee4430dec)
13:51:10.595  A        #03 pc<PHONE_NUMBER>3310a8  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/lib/arm64/libflutter.so (BuildId: 2cf88341252c95e1c57ab402a766496ee4430dec)
13:51:10.595  A        #06 pc<PHONE_NUMBER>485180  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/oat/arm64/base.vdex
13:51:10.595  A        #08 pc<PHONE_NUMBER>4852ae  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/oat/arm64/base.vdex
13:51:10.595  A        #10 pc<PHONE_NUMBER>484cda  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/oat/arm64/base.vdex
13:51:10.595  A        #12 pc<PHONE_NUMBER>484b86  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/oat/arm64/base.vdex
13:51:10.595  A        #14 pc<PHONE_NUMBER>484c94  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/oat/arm64/base.vdex
13:51:10.595  A        #16 pc<PHONE_NUMBER>477504  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/oat/arm64/base.vdex
13:51:10.595  A        #18 pc<PHONE_NUMBER>476d7a  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/oat/arm64/base.vdex
13:51:10.595  A        #20 pc<PHONE_NUMBER>477eb2  /data/app/~~ui1GEVxM9aDJuFmRovq6VA==/cn.xiaoman.xim.cjupdateflutterversion-vpPhYyAEG1TS-6ivd4WgDg==/oat/arm64/base.vdex
13:51:10.632  W    Force finishing activity cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity
13:51:10.642  W    Force finishing activity cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity
13:51:10.694  I  WIN DEATH: Window{1718041 u0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity}

Hi @jiechic
Do you only have this issue (the first crash log) when building aar or running the native project (same as described at https://github.com/flutter/flutter/issues/84614#issuecomment-861992141)?
From my side, I can build aar normally, but I only have this crash when running the native project. If you have the similar behavior, please follow up on #84614 for further update. You can also leave there your comment about your case with option A which will help to raise the issue.

Hi @jiechic Do you only have this issue (the first crash log) when building aar or running the native project (same as described at #84614 (comment))?
From my side, I can build aar normally, but I only have this crash when running the native project. If you have the similar behavior, please follow up on #84614 for further update. You can also leave there your comment about your case with option A which will help to raise the issue.

I think I has two problem on diferrent setting

it's crash when i use debuggable true at release module (this first crash log), same as described at #84614(comment)
it's crash when i remove debuggable true at release module (this secound crash log)

now i want to fix second crash，because i can remove setting debuggable true

@jiechic For the second issue, can you share a completed and minimal reproducible code sample so that we may verify this? It will be better for the team when investigating this issue later.
Also, please retry on the latest Flutter master channel to check if the issue still persists.

I have been trying to find the problem in the past day, and I have found the general direction, but I have no way to verify it through demo
I have two Environments here to explain the issue
Environment 1
flutter module project build aar at gitlab with flutter 3.3.4 run on linux docker
android project build on mac os with aar

Environment 2
flutter module project build aar at local machine with flutter 3.3.4 run on mac os
android project build on mac os with aar

run apk build by Environment 1 that flutterActivity alway crash with second crash log
run apk build by Environment 2 alway normal
i don't have any demo to reproduce the crash, now

Hi @jiechic

flutter module project build aar at gitlab with flutter 3.3.4 run on linux docker
android project build on mac os with aar

I'm not sure about this environment. Can you be more specific?

i will update this issue if i have new information

Thanks, it will be better if the issue can be reproducible with a completed and minimal reproducible code sample along with detailed Step to reproduce (refer to the first question here)

I have been trying to find the problem in the past day, and I have found the general direction, but I have no way to verify it through demo
I have two Environments here to explain the issue
Environment 1
flutter module project build aar at gitlab with flutter 3.3.4 run on linux docker
android project build on mac os with aar

Environment 2
flutter module project build aar at local machine with flutter 3.3.4 run on mac os
android project build on mac os with aar

run apk build by Environment 1 that flutterActivity alway crash with second crash log run apk build by Environment 2 alway normal
i don't have any demo to reproduce the crash, now
i will update this issue if i have new information

on Environments 1，i change docker image form my builded with dockerfile to cirrusci/flutter:3.3.4，it's alway crash
crash log blow like second crash log
START u0 {cmp=cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity} from uid 10570
11:27:14.977  D  onStartActivityInner as = Task{a1b5e7f #68366 type=standard A=10570:cn.xiaoman.xim.cjupdateflutterversion U=0 visible=true mode=fullscreen translucent=false sz=1} op = null
11:27:14.977  D  onStartActivityInner as = Task{a1b5e7f #68366 type=standard A=10570:cn.xiaoman.xim.cjupdateflutterversion U=0 visible=true mode=fullscreen translucent=false sz=1} op = null
11:27:15.053  D  Input focus has changed to Window{188ebd4 u0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity} display=0
11:27:15.094  V  dispatchActivityLifeState r = ActivityRecord{71ab241 u0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity t68366}
11:27:15.201  D  Input focus has changed to Window{735e16c u0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity} display=0
11:27:16.103  I  START u0 {cmp=cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity (has extras)} from uid 10570
11:27:16.104  D  onStartActivityInner as = Task{a1b5e7f #68366 type=standard A=10570:cn.xiaoman.xim.cjupdateflutterversion U=0 visible=true mode=fullscreen translucent=false sz=2} op = null
11:27:16.104  D  onStartActivityInner as = Task{a1b5e7f #68366 type=standard A=10570:cn.xiaoman.xim.cjupdateflutterversion U=0 visible=true mode=fullscreen translucent=false sz=2} op = null
11:27:17.384  A  Cmdline: cn.xiaoman.xim.cjupdateflutterversion
11:27:17.384  A  pid: 20434, tid: 20434, name: eflutterversion  >>> cn.xiaoman.xim.cjupdateflutterversion <<<
11:27:17.384  A        #01 pc<PHONE_NUMBER>31eb54  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/lib/arm64/libflutter.so (BuildId: 19439440e26c87cdaf211986ced8cea3bf6ca7dc)
11:27:17.384  A        #02 pc<PHONE_NUMBER>3453fc  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/lib/arm64/libflutter.so (BuildId: 19439440e26c87cdaf211986ced8cea3bf6ca7dc)
11:27:17.384  A        #03 pc<PHONE_NUMBER>3310a8  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/lib/arm64/libflutter.so (BuildId: 19439440e26c87cdaf211986ced8cea3bf6ca7dc)
11:27:17.384  A        #06 pc<PHONE_NUMBER>48adac  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/oat/arm64/base.vdex (deleted)
11:27:17.384  A        #08 pc<PHONE_NUMBER>48aeda  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/oat/arm64/base.vdex (deleted)
11:27:17.384  A        #10 pc<PHONE_NUMBER>48a906  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/oat/arm64/base.vdex (deleted)
11:27:17.384  A        #12 pc<PHONE_NUMBER>48a7b2  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/oat/arm64/base.vdex (deleted)
11:27:17.384  A        #14 pc<PHONE_NUMBER>48a8c0  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/oat/arm64/base.vdex (deleted)
11:27:17.384  A        #16 pc<PHONE_NUMBER>47d130  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/oat/arm64/base.vdex (deleted)
11:27:17.384  A        #18 pc<PHONE_NUMBER>47c9a6  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/oat/arm64/base.vdex (deleted)
11:27:17.384  A        #20 pc<PHONE_NUMBER>47dade  /data/app/~~HwwXR9IKACjQuk0129Ww3A==/cn.xiaoman.xim.cjupdateflutterversion-fNcv_e8uRvEHtb_WGIVZ_g==/oat/arm64/base.vdex (deleted)
11:27:17.422  W    Force finishing activity cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.mobile.okki.router.OkkiFlutterActivity
11:27:17.434  W    Force finishing activity cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.crm.business.module.main.activity.FunctionManageActivity
11:27:17.493  I  WIN DEATH: Window{d3ec15d u0 cn.xiaoman.xim.cjupdateflutterversion/cn.xiaoman.android.app.main.MainActivity}
11:27:17.494  I  Process cn.xiaoman.xim.cjupdateflutterversion (pid 20434) has died: fg  TOP

i think it's call some code on release model with something wrong obfuscate on flutter
How can I decompile libflutter.so to find wrong code location with<PHONE_NUMBER>31eb54
This is beyond my knowledge
i need more time to find the answer

i found the problem in my environment
Environment 1 and Environment 2 have different on publich aar
i change file $FlutterSDK/packages/flutter_tools/gradle/aar_init_script.gradle  for upload aar to maven at the gitlab runner
code blow
// This script is used to initialize the build in a module or plugin project.
// During this phase, the script applies the Maven plugin and configures the
// destination of the local repository.
// The local repository will contain the AAR and POM files.

import java.nio.file.Paths
import org.gradle.api.Project
import org.gradle.api.artifacts.Configuration
import org.gradle.api.publish.maven.MavenPublication

void configureProject(Project project, String outputDir) {
    if (!project.hasProperty("android")) {
        throw new GradleException("Android property not found.")
    }
    if (!project.android.hasProperty("libraryVariants")) {
        throw new GradleException("Can't generate AAR on a non Android library project.");
    }

    // Snapshot versions include the timestamp in the artifact name.
    // Therefore, remove the snapshot part, so new runs of `flutter build aar` overrides existing artifacts.
    // This version isn't relevant in Flutter since the pub version is used
    // to resolve dependencies.
    project.version = project.version.replace("-SNAPSHOT", "")

    if (project.hasProperty("buildNumber")) {
        project.version = project.property("buildNumber")
    }

    project.android.libraryVariants.all { variant ->
        addAarTask(project, variant)
    }

    project.publishing {
        repositories {
            maven {
                url = uri("file://${outputDir}/outputs/repo")
            }
        }
    }

    // Some extra work to have alternative publications with the same format as the old maven plugin.
    // Instead of using classifiers for the variants, the old maven plugin appended `_{variant}` to the artifactId

    // First, create a default MavenPublication for each variant (except "all" since that is used to publish artifacts in the new way)
    project.components.forEach { component ->
        if (component.name != "all") {
            project.publishing.publications.create(component.name, MavenPublication) {
                from component
            }
        }
    }

    // then, rename the artifactId to include the variant and make sure to remove any classifier
    // data tha gradle has set, as well as adding a <relocation> tag pointing to the new coordinates
    project.publishing.publications.forEach { pub ->
        def relocationArtifactId = pub.artifactId
        pub.artifactId = "${relocationArtifactId}_${pub.name}"
        pub.alias = true

        pub.pom.distributionManagement {
            relocation {
                // New artifact coordinates
                groupId = "${pub.groupId}"
                artifactId = "${relocationArtifactId}"
                version = "${pub.version}"
                message = "Use classifiers rather than _variant for new publish plugin"
            }
        }

    }

    // also publish the artifacts in the new way, using one set of coordinates with classifiers
    project.publishing.publications.create("all", MavenPublication) {
        from project.components.all
        alias false
    }

    if (!project.property("is-plugin").toBoolean()) {
        return
    }

    String storageUrl = System.getenv('FLUTTER_STORAGE_BASE_URL') ?: "https://storage.googleapis.com"
    // This is a Flutter plugin project. Plugin projects don't apply the Flutter Gradle plugin,
    // as a result, add the dependency on the embedding.
    project.repositories {
        maven {
            url "$storageUrl/download.flutter.io"
        }
    }
    String engineVersion = Paths.get(getFlutterRoot(project), "bin", "internal", "engine.version")
        .toFile().text.trim()
    project.dependencies {
        // Add the embedding dependency.
        compileOnly ("io.flutter:flutter_embedding_release:1.0.0-$engineVersion") {
            // We only need to expose io.flutter.plugin.*
            // No need for the embedding transitive dependencies.
            transitive = false
        }
    }
}

void configurePlugin(Project project, String outputDir) {
    if (!project.hasProperty("android")) {
        // A plugin doesn't support the Android platform when this property isn't defined in the plugin.
        return
    }
    configureProject(project, outputDir)
}

String getFlutterRoot(Project project) {
    if (!project.hasProperty("flutter-root")) {
        throw new GradleException("The `-Pflutter-root` flag must be specified.")
    }
    return project.property("flutter-root")
}

void addAarTask(Project project, variant) {
    String variantName = variant.name.capitalize()
    String taskName = "assembleAar$variantName"
    project.tasks.create(name: taskName) {
        // This check is required to be able to configure the archives before `publish` runs.
        if (!project.gradle.startParameter.taskNames.contains(taskName)) {
            return
        }
        // Generate the Maven artifacts.
        finalizedBy "publish"
    }
}

// maven-publish has to be applied _before_ the project gets evaluated, but some of the code in
// `configureProject` requires the project to be evaluated. Apply the maven plugin to all projects, but
// only configure it if it matches the conditions in `projectsEvaluated`

allprojects {
   apply plugin: "maven-publish"
}

projectsEvaluated {
    assert rootProject.hasProperty("is-plugin")
    if (rootProject.property("is-plugin").toBoolean()) {
        assert rootProject.hasProperty("output-dir")
        // In plugin projects, the root project is the plugin.
        configureProject(rootProject, rootProject.property("output-dir"))
        return
    }
    // The module project is the `:flutter` subproject.
    Project moduleProject = rootProject.subprojects.find { it.name == "flutter" }
    assert moduleProject != null
    assert moduleProject.hasProperty("output-dir")
    configureProject(moduleProject, moduleProject.property("output-dir"))

    // Gets the plugin subprojects.
    Set<Project> modulePlugins = rootProject.subprojects.findAll {
        it.name != "flutter" && it.name != "app"
    }
    // When a module is built as a Maven artifacts, plugins must also be built this way
    // because the module POM's file will include a dependency on the plugin Maven artifact.
    // This is due to the Android Gradle Plugin expecting all library subprojects to be published
    // as Maven artifacts.
    modulePlugins.each { pluginProject ->
        configurePlugin(pluginProject, moduleProject.property("output-dir"))
        moduleProject.android.libraryVariants.all { variant ->
            // Configure the `assembleAar<variantName>` task for each plugin's projects and make
            // the module's equivalent task depend on the plugin's task.
            String variantName = variant.name.capitalize()
            moduleProject.tasks.findByPath("assembleAar$variantName")
                .dependsOn(pluginProject.tasks.findByPath("assembleAar$variantName"))
        }
    }
}

it's have some wrong with dependencies publish to maven repo
I download all build repo folder files on the gitlab job artifacts then build local aar with local repo，it's normal
Thank you for following this issue
As an android developer, we hope to have a better solution to publish aar to maven (similar: #97701)
I will find another way to deal with the problem。


[node-addon-api] Add new port

depends on https://github.com/microsoft/vcpkg/pull/26768
node-api is official C API for NodeJS
node-addon-api is C++ wrapper around node-api

@Pospelove, Thanks for your pr, if this pr is ready for review please let me know.

@JonLiu1993 thank you, it's ready
however merging this would depend on https://github.com/microsoft/vcpkg/pull/26768

@JonLiu1993 ready

@Pospelove , Thanks for your pr, when I tested the usage I got this error, please take a look:
CMakeLists.txt:
# CMakeList.txt : CMake project for CMakeProject42, include source and define
# project specific logic here.
#
cmake_minimum_required (VERSION 3.8)

project(test)

find_package(node-addon-api CONFIG REQUIRED)

add_executable (main "CMakeProject42.cpp" "CMakeProject42.h")

target_link_libraries(main PRIVATE unofficial::node-addon-api::node-addon-api)

CMakeProject42.cpp:
// CMakeProject42.cpp : Defines the entry point for the application.
//

#include "CMakeProject42.h"
#include "napi.h"

using namespace std;

int main()
{
	cout << "Hello CMake." << endl;
	return 0;
}

CMakeProject42.h:
// CMakeProject42.h : Include file for standard system include files,
// or project specific include files.

#pragma once

#include <iostream>

// TODO: Reference additional headers your program requires here.

1> CMake generation started for configuration: 'x64-Debug'.
1> Command line: "C:\WINDOWS\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Visual Studio 16 2019" -A x64  -DCMAKE_CONFIGURATION_TYPES:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\vzhli17\source\repos\CMakeProject42\out\install\x64-Debug" -DCMAKE_TOOLCHAIN_FILE=F:/Feature-test/node-addon-api/vcpkg/scripts/buildsystems/vcpkg.cmake "C:\Users\vzhli17\source\repos\CMakeProject42" 2>&1"
1> Working directory: C:\Users\test\source\repos\CMakeProject42\out\build\x64-Debug
1> [CMake] -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
1> [CMake] -- The C compiler identification is MSVC 19.29.30146.0
1> [CMake] -- The CXX compiler identification is MSVC 19.29.30146.0
1> [CMake] -- Detecting C compiler ABI info
1> [CMake] -- Detecting C compiler ABI info - done
1> [CMake] -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting C compile features
1> [CMake] -- Detecting C compile features - done
1> [CMake] -- Detecting CXX compiler ABI info
1> [CMake] -- Detecting CXX compiler ABI info - done
1> [CMake] -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting CXX compile features
1> [CMake] -- Detecting CXX compile features - done
1> [CMake] CMake Error at F:/Feature-test/node-addon-api/vcpkg/scripts/buildsystems/vcpkg.cmake:843 (_find_package):
1> [CMake]   Could not find a package configuration file provided by "node-addon-api"
1> [CMake]   with any of the following names:
1> [CMake]
1> [CMake]     node-addon-apiConfig.cmake
1> [CMake]     node-addon-api-config.cmake
1> [CMake]
1> [CMake]   Add the installation prefix of "node-addon-api" to CMAKE_PREFIX_PATH or set
1> [CMake]   "node-addon-api_DIR" to a directory containing one of the above files.  If
1> [CMake]   "node-addon-api" provides a separate development package or SDK, be sure it
1> [CMake]   has been installed.
1> [CMake] Call Stack (most recent call first):
1> [CMake]   CMakeProject42/CMakeLists.txt:10 (find_package)
1> [CMake] -- Configuring incomplete, errors occurred!
1> [CMake] See also "C:/Users/test/source/repos/CMakeProject42/out/build/x64-Debug/CMakeFiles/CMakeOutput.log".
1> 'C:\WINDOWS\system32\cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Visual Studio 16 2019" -A x64  -DCMAKE_CONFIGURATION_TYPES:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\test\source\repos\CMakeProject42\out\install\x64-Debug" -DCMAKE_TOOLCHAIN_FILE=F:/Feature-test/node-addon-api/vcpkg/scripts/buildsystems/vcpkg.cmake "C:\Users\test\source\repos\CMakeProject42" 2>&1"' execution failed with error: ''C:\WINDOWS\system32\cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Visual Studio 16 2019" -A x64  -DCMAKE_CONFIGURATION_TYPES:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\test\source\repos\CMakeProject42\out\install\x64-Debug" -DCMAKE_TOOLCHAIN_FILE=F:/Feature-test/node-addon-api/vcpkg/scripts/buildsystems/vcpkg.cmake "C:\Users\test\source\repos\CMakeProject42" 2>&1"' returned with exit code: 1'.

find_package(node-addon-api CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::node-addon-api::node-addon-api)

Shouldn't this be
find_package(unofficial-node-addon-api CONFIG REQUIRED)

or similar?

wow. it seems both are not working for me for some reason.
unofficial-node-addon-api and node-addon-api
investigating

I see. Fixing.

@JonLiu1993 Works now. Changed your cmakelists a bit:
added cxx standard and "unofficial" prefix for find_package
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_CURRENT_LIST_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake")

# CMakeList.txt : CMake project for CMakeProject42, include source and define
# project specific logic here.
#
cmake_minimum_required (VERSION 3.8)

set(CMAKE_CXX_STANDARD 20) # !!! I added this

project(test)

find_package(unofficial-node-addon-api CONFIG REQUIRED) # !!! and added unofficial word here

add_executable (main "CMakeProject42.cpp" "CMakeProject42.h")

target_link_libraries(main PRIVATE unofficial::node-addon-api::node-addon-api)

@dg0yt thanks. taking a look

@dg0yt  @JonLiu1993  works and fixed

@JonLiu1993

@JonLiu1993

@Pospelove, sorry for reply you so late, after the CI turns green, I will put the reviewed label on the table after the local test is successful.

@JonLiu1993
plz consider taking a look

@JonLiu1993

@Pospelove, sorry to reply you so late, we just came back from vacation, so we didn't respond to you in time.

Tested usage by node-addon-api:x64-windows triplet successfully.


[Backport opendistro-1.13] Set order of tenant_template to the highest to avoid being overridden by custom templates

Backport dcf75c49543997e0e85dde9be314d5df81e60491 from #1247

Codecov Report

Merging #1270 (e5eaae5) into opendistro-1.13 (5f07b71) will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           opendistro-1.13    #1270   +/-   ##
================================================
  Coverage            72.13%   72.13%
================================================
  Files                   87       87
  Lines                 1909     1909
  Branches               248      243    -5
================================================
  Hits                  1377     1377
  Misses                 476      476
  Partials                56       56

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Hosted service Observer3Visible/FeatureServer does not have a service definition item

The hosted service "Observer3Visible" item exists 94ca9c1c84484d27af2c3058a6894a4a but does not have an associated service definition portal item. Without the service definition item the service won't be published during Ops Server publishing.
NOTE: Only hosted services published from ArcGIS Desktop or ArcGIS Pro, which upload a service definition item to portal, are supported by the ops server config publishing scripts.

@elinz I'll get this cleaned up when we get the ability to publish multipatch buildings to the NSEC Portal. This feature service works in conjunction with a UC presentation I created around the Scene Viewer and without the multipatch buildings the demo is essentially moot...so I'll be tabling this until that's resolved, at which point I'll knock this out.  In the meantime I'll unshare everything so at least others do not see it.

@elinz it doesn't appear I'm going to be able to get data permissions for the main focal point of this demonstration, hence I'm not going to clean this up and have simply deleted it.


colab, kaggle notebook has a library dependency issue

My code has been working fine for months in colab, but suddenly it won't run.
I got an error loading whisper-jax, saw the error message and tried changing the library version, but the problem still occurs in the dependencies.
!pip install -U "jax[cuda11_local]==0.4.13" "jaxlib[cuda11_local]==0.4.13" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
!pip install -q git+https://github.com/camenduru/whisper-jax.git datasets soundfile librosa yt_dlp cached_property

import jax
from whisper_jax import FlaxWhisperPipline
import jax.numpy as jnp

pipeline = FlaxWhisperPipline("openai/whisper-large-v2", dtype=jnp.float16)
from jax.experimental.compilation_cache import compilation_cache as cc
cc.initialize_cache("/content/jax_cache")

RuntimeError                              Traceback (most recent call last)
 in <cell line: 6>()
4 get_ipython().system('pip install -q git+https://github.com/camenduru/whisper-jax.git datasets soundfile librosa yt_dlp cached_property')
5
----> 6 import jax
7 from whisper_jax import FlaxWhisperPipline
8 import jax.numpy as jnp
4 frames
/usr/local/lib/python3.10/dist-packages/jax/_src/lib/init.py in check_jaxlib_version(jax_version, jaxlib_version, minimum_jaxlib_version)
61     msg = (f'jaxlib is version {jaxlib_version}, but this version '
62            f'of jax requires version >= {minimum_jaxlib_version}.')
---> 63     raise RuntimeError(msg)
64
65   if _jaxlib_version > _jax_version:
RuntimeError: jaxlib is version 0.4.13, but this version of jax requires version >= 0.4.14.

Hey @jkf87! It looks like the error is coming from your JAX installation (mis-matching jax/jaxlib versions) - could you double check you have the correct installation here by referring to the official installation instructions? https://github.com/google/jax#installation


SIM-database schema migration

Context
Currently the database service is initialized by running an SQL script
Problem
This mechanism is not backwards compatible when migrating the schema (I've hit this issue while moving from main to the refactor branch)
Proposed solution
Seems that Postgres runs all scripts in a particular folder. I think we could solve this problem by having a convention on the order of the file names so we have all SQL migration scripts there

The proposed solution won't be useful since:
scripts in /docker-entrypoint-initdb.d are only run if you start the container with a data directory that is empty; any pre-existing database will be left untouched on container startup from https://hub.docker.com/_/postgres
And I tested it just in case and got:
postgres-1  | PostgreSQL Database directory appears to contain a database; Skipping initialization

Closing since PR was merged


Add APP_ENV as the most prior variable to use

Currently, there is no way to use the custom BABEL_ENV value, as it's overwritten by some packages, which are required in RN project. For example
https://github.com/facebook/metro/blob/eabdbf3ebfc27dceae9e968f2d151373148b5eba/packages/metro-react-native-babel-transformer/src/index.js#L184
So that, the easiest and convenient way to solve this issue - create a custom isolated env variable, which will have the most priority.

Published as https://www.npmjs.com/package/react-native-dotenv-fixed
If this PR will be merged, the package needs to be marked as deprecated.

@MAKARD thank you for your PR! I think we should expand on the usage of this though first. You'd have to set it in your CLI when you run? We should show an example. And I don't think we should describe it as choosing which file to use but rather which environment because it's easy to mistake that for meaning path, which will fail if it's located in a separate folder. Most users of this library should not need to be using APP_ENV. It should only really be used if there are Babel plugins overwriting it. What do you think?

Yeah, can we use this particular example?
// package.json
{
  "scripts": {
    "start:staging": "APP_ENV=staging npx react-native start",
  }
}

// available envs
.env.production
.env.development
.env.staging ----> this env will be used

As for the usage of an environment instead of a specific file, I guess you're right. Specifying a custom name for the environment may confuse users. Maybe we can use another var name instead of APP_ENV, that will clearly tell users of its purposes?
And for babel plugins. I really believe, that most rn developers use metro as a bundler, so we can assume that this is not a specific extra case, but rather common behavior

@MAKARD if we can get a test added I'll merge it in! I received some additional comments and thought about it some more and I think this is valuable

Also for some reason, i'm struggling to push changes. I'm happy to help but i'm having issues. In the README, I changed line 154 to be:

Experimental feature
One thing that we've noticed is that metro overwrites the test environment variable even if you specify a config so we've added a way to fix this. Make sure to specify the config value as indicated in the wiki and make custom configs for alternative builds. However, if you still need this, such as for a staging / test environment, you can add the APP_ENV environment variable in the CLI. For example:
// package.json
{
  "scripts": {
    "start:staging": "APP_ENV=staging npx react-native start",
  }
}

The above example would use the .env.staging file. The standard word is test, but go nuts.

could you add this to that line?

@goatandsheep I've added a test case for APP_ENV usage and modify docs as you asked. Happy New Year 🎉

@goatandsheep I've added a test case for APP_ENV usage and modify docs as you asked. Happy New Year 🎉


[pushState ajax] Popstate doesn't work as expected.

I have two pages:
site.com/users and site.com/books
Now, I have some ajax in the index.html.erb page of users that works adn get me a link like this:
site.com/users?utf8=✓&direction=&sort=&approved=
Everything works as expected until I go to the other pages like /books and then I come back to the previous page with browser "Back" arrow.
Nothing happens.
If I remove Turboliks from my application.js everything works.
So the question: why this?
I'm using this code to handle popstate:
$(window).on("popstate", function() {
  console.log("popstate got!");
  $.getScript(location.href);
});

My code in index.js.erb:
$("#list").html("<%= escape_javascript(render("users")) %>");
document.title = "<%= escape_javascript("#{params[:search].to_s}") %>"

UPDATE:
In this situation I have a "popstate got!" message in my console.log also if I have Turbolinks active.
But the page is not reloaded when i come back.
Why this?

You shouldn't handle popstate events in your code. Turbolinks will already do that for you (restore the previous page's content, or if you want to always force a round-trip to the server, you can do Turbolinks.pagesCached(0)).
If you see nothing happening when pressing back, it means that some other piece of code called pushState. Turbolinks will only handle popstate events for states that it created, so make sure you never call pushSate (you can, however, call replaceState if you keep the same state object and only change the URL param).

Dear @Thibaut,
thanks for your precious answer.
I'm following this tut:
http://railscasts.com/episodes/246-ajax-history-state
and so I have this code:
if (history && history.pushState) {
	$(function() {
		$(document).on("click", "#list th a, #list .pagination a", function() {
			Turbolinks.ProgressBar.start();
			$.getScript(this.href);
			history.replaceState(null, document.title, this.href);
			Turbolinks.ProgressBar.done();
			return false;
		});

		$(document).on("submit", "#form_books", function() {
			Turbolinks.ProgressBar.start();
			$.get(this.action, $(this).serialize(), null, "script");
			history.replaceState(null, document.title, this.action + "?" + $(this).serialize());
			Turbolinks.ProgressBar.done();
			return false;
		});

		$(document).on("change", "#little_book", function(){
			Turbolinks.ProgressBar.start();
			$(this).closest('form').submit();
			Turbolinks.ProgressBar.done();
			return false;
		});

		$(window).on("popstate", function() {
			Turbolinks.ProgressBar.start();
     	$.getScript(location.href);
			Turbolinks.ProgressBar.done();
		});
	});
}

so I have to call "pushState" many times.
How to handle popstate with Turbolinks 3.0? Is there a way?

@ginolon The tutorial you linked to is an alternative to Turbolinks — not something you'd do alongside it.
This type of question is best asked on Stack Overflow. We don't offer support in this repo, sorry.
The short answer is you shouldn't need any of this code if you use jquery-ujs (for form elements) and let Turbolinks handle click events / popstate events. You can also programmatically trigger a visit with Turbolinks.visit (outside click events), but never with $.getScript / history.pushState.

Ok, @Thibaut, thanks for your super answer. But if I use only
"index.js.erb" with this example code:
Turbolinks.visit("http://www.google.com");
alert("Hello!");

or this:
$(".container").html("Bye!");
alert("Hello!");

I can't change the url (like the previous history.pushstate), right?
Where I'm wrong?

I have a page with two columns like this:
MENU AREA     |     ITEMS AREA
|
|
|
Using this (http://railscasts.com/episodes/246-ajax-history-state) cast, I fixed my problem, but with Turbolinks 3 (I love it!) I can't use that code because you said to me it's wrong code.
Question:
With the code in railscast my application is too fast and everything works except the onpopstate event (Back button of the browser);
instead with Turbolinks (visit, replace, remote:true and everything I tried) the page is reloaded every time in background (so, the menu is reloaded every time, with many queries to the database and the single div "ITEMS AREA" is updated because of "change" command.
WHAT I really need is a system like that code in the cast that allows me to update (and not regenerate in background!!!) just a REAL partial of the page.
Is that possible with Turbolinks 3.0's methods?


A Message to Tina Belcher by Fifty Grand unsupported.

Check if issue with swaglyrics or whether song lyrics unavailable on Genius.

stripper -> Fifty-Grand-A-Message-to-Tina-Belcher
version -> 0.2.6

This song doesn't work as a lot of X's songs were released on Soundcloud and weren't actually released on music platforms. A Message to Tina Belcher is one of them but the producer of that song decided to upload it on Spotify. So on Genius, it is https://genius.com/xxxtentacion-a-message-to-tina-belcher-lyrics but the stripper forms Fifty-Grand-A-Message-to-Tina-Belcher because the artist on Spotify is Fifty Grand even though he is the producer of the actual song.

Makes sense, the backend compared the artist and hence the error. I'll optimize it so such a mismatch doesn't cause an error


[Snyk] Upgrade @cheqd/did-provider-cheqd from 3.3.1 to 3.3.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @cheqd/did-provider-cheqd from 3.3.1 to 3.3.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released 22 days ago, on 2023-06-14.

Release notes

Package name: @cheqd/did-provider-cheqd

3.3.2 - 2023-06-14

3.3.2-develop.1 - 2023-06-14

3.3.1 - 2023-06-13

    from @cheqd/did-provider-cheqd GitHub release notes

Commit messages

Package name: @cheqd/did-provider-cheqd

17a3176 chore(release): 3.3.2 [skip ci]
f74f908 fix: Merge down (#279)
52f8beb chore(release): 3.3.2-develop.1 [skip ci]
d187659 Merge branch 'main' into develop
8e6b52b chore(release): 3.3.1-develop.2 [skip ci]
606909d build: Downgrade dkg lit deps
1d953f3 chore(release): 3.3.1-develop.1 [skip ci]

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Superseded by #265


Admin grids not resizing correctly

Admin grids aren't resizing correctly when browser window is resized.

Fixed in https://github.com/modmore/ClientConfig/commit/9b851271d626aa6f135a82a8d76382d31fa1523c