apache / tvm

Open deep learning compiler stack for cpu, gpu and specialized accelerators
https://tvm.apache.org/
Apache License 2.0
11.75k stars 3.47k forks source link

[Bug] arm_cpu_imagenet_bench run crash! #13290

Open zuowanbushiwo opened 1 year ago

zuowanbushiwo commented 1 year ago

Expected behavior

No Crash

Actual behavior

program crash

Environment

Any environment details, such as: Operating System, TVM version, etc TVM v0.10.0 commit:

commit da7b48f9487c9ee8eb8c6a6d7f80b59969f842c8 (HEAD -> v0.10.0, origin/v0.10.0)
Author: Andrew Zhao Luo <andrew.zhao.luo@gmail.com>
Date:   Mon Oct 17 11:18:16 2022 -0700

    regenerate docs, empty commit

uname -a: Linux tvm 5.4.0-131-generic #147~18.04.1-Ubuntu SMP

llvm:

Debian LLVM version 12.0.1

  Optimized build.
  Default target: x86_64-pc-linux-gnu
  Host CPU: skylake-avx512

android phone:

Processor       : AArch64 Processor rev 4 (aarch64)
processor       : 0
model name      : AArch64 Processor rev 4 (aarch64)
BogoMIPS        : 26.00
BogoMIPS        : 26.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

Hardware        : MT6797
adb shell getprop ro.build.version.release
7.1.1
adb shell getprop ro.build.version.sdk
25

Steps to reproduce

python3 arm_cpu_imagenet_bench.py --model p20pro --rpc-key android

Triage

android logcat:

11-04 10:43:16.093  2135  2169 D ProcessList: setWorkingState org.apache.tvm.tvmrpc uid=10165 pid=5836 state=0x4
11-04 10:43:16.093  2135  2169 D ProcessList: setWorkingState org.apache.tvm.tvmrpc:RPCProcess uid=10165 pid=6537 state=0x4
11-04 10:43:16.094  2135  2169 D NetworkExceptionManager: report net exception to big data! package:org.apache.tvm.tvmrpc, pkgVersion:1.0, uid:10165, frequency:4, rate:1202730
11-04 10:43:17.102  6537  6553 W System.err: Load module from /data/user/0/org.apache.tvm.tvmrpc/cache/tvm4j_rpc_61182823/squeezenet_v1.1.so
11-04 10:43:18.507  6537  6553 D FlymeTrafficTracking: untag(50) org.apache.tvm.tvmrpc Thread-3 uid 10165 165236ms
11-04 10:43:18.507  6537  6553 D FlymeTrafficTracking: untag(49) org.apache.tvm.tvmrpc Thread-3 uid 10165 165238ms
11-04 10:43:18.509  6537  6553 D FlymeTrafficTracking: tag  (49) org.apache.tvm.tvmrpc Thread-3 uid 10165
11-04 10:43:18.510  6537  6553 D FlymeTrafficTracking: tag  (50) org.apache.tvm.tvmrpc Thread-3 uid 10165
11-04 10:43:18.510  6537  6553 D         : [Posix_connect Debug]Process org.apache.tvm.tvmrpc:RPCProcess :9190
11-04 10:43:21.432  2135  2169 D NetworkExceptionManager: report net exception to big data! package:org.apache.tvm.tvmrpc, pkgVersion:1.0, uid:10165, frequency:4, rate:1202730
11-04 10:43:48.653  2135  2169 D NetworkExceptionManager: report net exception to big data! package:org.apache.tvm.tvmrpc, pkgVersion:1.0, uid:10165, frequency:4, rate:2622106
11-04 10:43:50.033  6537  6553 W System.err: Load module from /data/user/0/org.apache.tvm.tvmrpc/cache/tvm4j_rpc_1863057804/mobilenet.so
11-04 10:43:53.687  2135  2169 D NetworkExceptionManager: report net exception to big data! package:org.apache.tvm.tvmrpc, pkgVersion:1.0, uid:10165, frequency:4, rate:1044048
11-04 10:43:53.936  6537  6553 D FlymeTrafficTracking: untag(50) org.apache.tvm.tvmrpc Thread-3 uid 10165 35426ms
11-04 10:43:53.939  6537  6553 D FlymeTrafficTracking: untag(49) org.apache.tvm.tvmrpc Thread-3 uid 10165 35431ms
11-04 10:43:53.944  6537  6553 D FlymeTrafficTracking: tag  (49) org.apache.tvm.tvmrpc Thread-3 uid 10165
11-04 10:43:53.957  6537  6553 D FlymeTrafficTracking: tag  (50) org.apache.tvm.tvmrpc Thread-3 uid 10165
11-04 10:43:53.957  6537  6553 D         : [Posix_connect Debug]Process org.apache.tvm.tvmrpc:RPCProcess :9190
11-04 10:44:23.690  2135  2207 D ProcessList: setWorkingState org.apache.tvm.tvmrpc uid=10165 pid=5836 state=0x0
11-04 10:44:23.691  2135  2207 D ProcessList: setWorkingState org.apache.tvm.tvmrpc:RPCProcess uid=10165 pid=6537 state=0x0
11-04 10:45:06.188  2135  2169 D ProcessList: setWorkingState org.apache.tvm.tvmrpc uid=10165 pid=5836 state=0x4
11-04 10:45:06.188  2135  2169 D ProcessList: setWorkingState org.apache.tvm.tvmrpc:RPCProcess uid=10165 pid=6537 state=0x4
11-04 10:45:06.189  2135  2169 D NetworkExceptionManager: report net exception to big data! package:org.apache.tvm.tvmrpc, pkgVersion:1.0, uid:10165, frequency:5, rate:2777539
11-04 10:45:11.192  2135  2169 D NetworkExceptionManager: report net exception to big data! package:org.apache.tvm.tvmrpc, pkgVersion:1.0, uid:10165, frequency:5, rate:8082183
11-04 10:45:16.193  2135  2169 D NetworkExceptionManager: report net exception to big data! package:org.apache.tvm.tvmrpc, pkgVersion:1.0, uid:10165, frequency:5, rate:8551679
11-04 10:45:21.195  2135  2169 D NetworkExceptionManager: report net exception to big data! package:org.apache.tvm.tvmrpc, pkgVersion:1.0, uid:10165, frequency:5, rate:8555700
11-04 10:45:26.568  2135  2169 D NetworkExceptionManager: report net exception to big data! package:org.apache.tvm.tvmrpc, pkgVersion:1.0, uid:10165, frequency:5, rate:8555700
11-04 10:45:30.594  6537  6553 W System.err: Load module from /data/user/0/org.apache.tvm.tvmrpc/cache/tvm4j_rpc_1699296991/resnet-18.so
11-04 10:45:34.833  6537  6553 D FlymeTrafficTracking: untag(50) org.apache.tvm.tvmrpc Thread-3 uid 10165 100877ms
11-04 10:45:34.834  6537  6553 D FlymeTrafficTracking: untag(49) org.apache.tvm.tvmrpc Thread-3 uid 10165 100890ms
11-04 10:45:34.834  6537  6553 D FlymeTrafficTracking: tag  (49) org.apache.tvm.tvmrpc Thread-3 uid 10165
11-04 10:45:34.835  6537  6553 D FlymeTrafficTracking: tag  (50) org.apache.tvm.tvmrpc Thread-3 uid 10165
11-04 10:45:34.835  6537  6553 D         : [Posix_connect Debug]Process org.apache.tvm.tvmrpc:RPCProcess :9190
11-04 10:46:01.690  2135  2207 D ProcessList: setWorkingState org.apache.tvm.tvmrpc uid=10165 pid=5836 state=0x0
11-04 10:46:01.690  2135  2207 D ProcessList: setWorkingState org.apache.tvm.tvmrpc:RPCProcess uid=10165 pid=6537 state=0x0
11-04 10:46:32.744  6537  6553 E art     :   at void org.apache.tvm.tvmrpc.RPCProcessor.run() (RPCProcessor.java:64)
11-04 10:46:32.745  6537  6553 E art     :   native: #11 pc 00000000000d8ba8  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #12 pc 00000000000d894c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #13 pc 00000000000f538c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #14 pc 00000000000cfe14  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #15 pc 00000000000cfcf0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #16 pc 00000000000cff90  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #17 pc 00000000000d0838  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #18 pc 00000000000d5aa0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #19 pc 000000000012d10c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #20 pc 00000000000b5230  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #21 pc 00000000000d8430  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.745  6537  6553 E art     :   native: #22 pc 000000000003c4f4  /data/app/org.apache.tvm.tvmrpc-1/oat/arm64/base.odex (Java_org_apache_tvm_LibInfo_tvmFuncCall__JLorg_apache_tvm_Base_00024RefTVMValue_2+160)
11-04 10:46:32.745  6537  6553 E art     :   at org.apache.tvm.tvmrpc.RPCProcessor.run(RPCProcessor.java:64)
11-04 10:46:32.757  6725  6725 I AEE_AED : [preset_info] pid: 6537, tid: 6553, name: Thread-3  >>> org.apache.tvm.tvmrpc:RPCProcess <<<
11-04 10:46:32.757  6725  6725 V AEE_AED : dashboard_record_update() : rec->module = org.apache.tvm.tvmrpc:RPCProcess
11-04 10:46:32.758  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   at void org.apache.tvm.tvmrpc.RPCProcessor.run() (RPCProcessor.java:64)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #11 pc 00000000000d8ba8  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #12 pc 00000000000d894c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #13 pc 00000000000f538c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #14 pc 00000000000cfe14  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #15 pc 00000000000cfcf0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #16 pc 00000000000cff90  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #17 pc 00000000000d0838  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #18 pc 00000000000d5aa0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #19 pc 000000000012d10c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #20 pc 00000000000b5230  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #21 pc 00000000000d8430  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   native: #22 pc 000000000003c4f4  /data/app/org.apache.tvm.tvmrpc-1/oat/arm64/base.odex (Java_org_apache_tvm_LibInfo_tvmFuncCall__JLorg_apache_tvm_Base_00024RefTVMValue_2+160)
11-04 10:46:32.759  6537  6553 F art     : art/runtime/java_vm_ext.cc:496]   at org.apache.tvm.tvmrpc.RPCProcessor.run(RPCProcessor.java:64)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #15 pc 00000000000d8ba8  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #16 pc 00000000000d894c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #17 pc 00000000000f538c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #18 pc 00000000000cfe14  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #19 pc 00000000000cfcf0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #20 pc 00000000000cff90  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #21 pc 00000000000d0838  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #22 pc 00000000000d5aa0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #23 pc 000000000012d10c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #24 pc 00000000000b5230  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #25 pc 00000000000d8430  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.910  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #26 pc 000000000003c4f4  /data/app/org.apache.tvm.tvmrpc-1/oat/arm64/base.odex (???)
11-04 10:46:32.911  6537  6553 F art     : art/runtime/runtime.cc:422]   at org.apache.tvm.tvmrpc.RPCProcessor.run(RPCProcessor.java:64)
11-04 10:46:32.911  6537  6553 F art     : art/runtime/runtime.cc:422]   at void org.apache.tvm.tvmrpc.RPCProcessor.run() (RPCProcessor.java:64)
11-04 10:46:32.913  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #17 pc 00000000000d8ba8  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.913  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #18 pc 00000000000d894c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.913  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #19 pc 00000000000f538c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.913  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #20 pc 00000000000cfe14  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.913  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #21 pc 00000000000cfcf0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.913  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #22 pc 00000000000cff90  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.913  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #23 pc 00000000000d0838  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.913  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #24 pc 00000000000d5aa0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.914  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #25 pc 000000000012d10c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.914  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #26 pc 00000000000b5230  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.914  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #27 pc 00000000000d8430  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.914  6537  6553 F art     : art/runtime/runtime.cc:422]   native: #28 pc 000000000003c4f4  /data/app/org.apache.tvm.tvmrpc-1/oat/arm64/base.odex (Java_org_apache_tvm_LibInfo_tvmFuncCall__JLorg_apache_tvm_Base_00024RefTVMValue_2+160)
11-04 10:46:32.914  6537  6553 F art     : art/runtime/runtime.cc:422]   at org.apache.tvm.tvmrpc.RPCProcessor.run(RPCProcessor.java:64)
11-04 10:46:32.939  6537  6553 F art     : art/runtime/runtime.cc:422]   - waiting on <0x0a026240> (a org.apache.tvm.tvmrpc.RPCAndroidWatchdog)
11-04 10:46:32.942  6537  6553 F art     : art/runtime/runtime.cc:427]   at void org.apache.tvm.tvmrpc.RPCProcessor.run() (RPCProcessor.java:64)
11-04 10:46:32.942  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #11 pc 00000000000d8ba8  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.942  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #12 pc 00000000000d894c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.942  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #13 pc 00000000000f538c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.942  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #14 pc 00000000000cfe14  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.943  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #15 pc 00000000000cfcf0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.943  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #16 pc 00000000000cff90  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.943  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #17 pc 00000000000d0838  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.943  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #18 pc 00000000000d5aa0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.943  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #19 pc 000000000012d10c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.943  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #20 pc 00000000000b5230  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.943  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #21 pc 00000000000d8430  /data/app/org.apache.tvm.tvmrpc-1/base.apk (???)
11-04 10:46:32.943  6537  6553 F art     : art/runtime/runtime.cc:427]   native: #22 pc 000000000003c4f4  /data/app/org.apache.tvm.tvmrpc-1/oat/arm64/base.odex (Java_org_apache_tvm_LibInfo_tvmFuncCall__JLorg_apache_tvm_Base_00024RefTVMValue_2+160)
11-04 10:46:32.943  6537  6553 F art     : art/runtime/runtime.cc:427]   at org.apache.tvm.tvmrpc.RPCProcessor.run(RPCProcessor.java:64)
11-04 10:46:32.954  6726  6726 I AEE_AED : [preset_info] pid: 6537, tid: 6553, name: Thread-3  >>> org.apache.tvm.tvmrpc:RPCProcess <<<
11-04 10:46:33.004   950  2267 V WindowManager: Set focused app to: AppWindowToken{2c2551a token=Token{1ec4409 ActivityRecord{9a3c110 u0 org.apache.tvm.tvmrpc/.MainActivity t36}}} old focus=AppWindowToken{c3025dd token=Token{5de08f ActivityRecord{7fb83ee u0 org.apache.tvm.tvmrpc/.RPCActivity t36}}} moveFocusNow=true
11-04 10:46:33.026  6726  6726 I AEE_AED : pid: 6537, tid: 6553, name: Thread-3  >>> org.apache.tvm.tvmrpc:RPCProcess <<<
11-04 10:46:33.049  6726  6726 I AEE_AED :     #14 pc 00000000000d8ba8  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.049  6726  6726 I AEE_AED :     #15 pc 00000000000d894c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.049  6726  6726 I AEE_AED :     #16 pc 00000000000f538c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.049  6726  6726 I AEE_AED :     #17 pc 00000000000cfe14  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.050  6726  6726 I AEE_AED :     #18 pc 00000000000cfcf0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.050  6726  6726 I AEE_AED :     #19 pc 00000000000cff90  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.050  6726  6726 I AEE_AED :     #20 pc 00000000000d0838  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.050  6726  6726 I AEE_AED :     #21 pc 00000000000d5aa0  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.050  6726  6726 I AEE_AED :     #22 pc 000000000012d10c  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.050  6726  6726 I AEE_AED :     #23 pc 00000000000b5230  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.050  6726  6726 I AEE_AED :     #24 pc 00000000000d8430  /data/app/org.apache.tvm.tvmrpc-1/base.apk (offset 0x2a3000)
11-04 10:46:33.050  6726  6726 I AEE_AED :     #25 pc 00000000004804f4  /data/app/org.apache.tvm.tvmrpc-1/oat/arm64/base.odex (offset 0x444000)
11-04 10:46:33.563   950   981 W ActivityManager: Activity pause timeout for ActivityRecord{7fb83ee u0 org.apache.tvm.tvmrpc/.RPCActivity t36 f}
11-04 10:46:33.578   950   981 I WindowMode: ensureTaskChange  sendBroadCast newRecord:ActivityRecord{9a3c110 u0 org.apache.tvm.tvmrpc/.MainActivity t36} mIsWindowModeVisible :false newIsWindowMode : false
11-04 10:46:33.607  5836  5836 E Choreographer: skip doframe for org.apache.tvm.tvmrpc
11-04 10:46:33.630  6726  6726 V AEE_AED : dashboard_record_update() : rec->module = org.apache.tvm.tvmrpc:RPCProcess
11-04 10:46:33.636   950  6740 I ActivityManager: addErrorToDropBox org.apache.tvm.tvmrpc:RPCProcess native_crash
11-04 10:46:33.645   950  1825 V WindowManager: Changing focus from Window{943eb77 u0 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity} to null Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3351 com.android.server.wm.Session.relayout:218 android.view.IWindowSession$Stub.onTransact:286 com.android.server.wm.Session.onTransact:139
11-04 10:46:33.649   950  6740 I ActivityManager: not crash, eventType is native_crash. return org.apache.tvm.tvmrpc
11-04 10:46:33.649   950  6740 I ActivityManager: addErrorToDropbox, real report package is org.apache.tvm.tvmrpc
11-04 10:46:33.653   950  6740 W ActivityManager:   Force finishing activity org.apache.tvm.tvmrpc/.RPCActivity
11-04 10:46:33.662   950  6740 I ActivityManager: Killing 6537:org.apache.tvm.tvmrpc:RPCProcess/u0a165 (adj 199): crash
11-04 10:46:33.662   950  6740 D ActivityManager: handleAppDiedLocked: app = ProcessRecord{c35e3d0 6537:org.apache.tvm.tvmrpc:RPCProcess/u0a165}, app.pid = 6537
11-04 10:46:33.795  2266  2367 D alphame : app resume: pkg=org.apache.tvm.tvmrpc, activity=org.apache.tvm.tvmrpc.MainActivity, pid=0, uid=0
11-04 10:46:33.795  2266  2367 D alphame : detect scene pkgName = org.apache.tvm.tvmrpc, activity = org.apache.tvm.tvmrpc.MainActivity, reset = false, state=1
11-04 10:46:33.795  2266  2367 D alphame : ACTION_ACTIVITY_DETECT pkgName=org.apache.tvm.tvmrpc, activity=org.apache.tvm.tvmrpc.MainActivity, userId=0, quickAppPkg=null
11-04 10:46:33.796  2266  2367 D alphame : onDetectAppEvent pkg=org.apache.tvm.tvmrpc, activity=org.apache.tvm.tvmrpc.MainActivity, userId=0, quickPkg=null, now=1667529993796
11-04 10:46:33.812   340   340 D BufferQueueConsumer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:0,p:-1,c:340) setConsumerName: org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity
11-04 10:46:33.812   340   340 I BufferQueueConsumer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:0,p:-1,c:340) setDefaultBufferSize: width=1080 height=1920
11-04 10:46:33.814   950  1826 V WindowManager: Changing focus from null to Window{d6a38ca u0 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3351 com.android.server.wm.Session.relayout:218 android.view.IWindowSession$Stub.onTransact:286 com.android.server.wm.Session.onTransact:139
11-04 10:46:33.814   950  1826 D WindowManager: Input focus has changed to Window{d6a38ca u0 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity}
11-04 10:46:33.821  5836  5857 D OpenGLRenderer: CanvasContext() 0x7322281a40 initialize window=0x7329c54e00, title=org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity
11-04 10:46:33.824   340   503 D BufferQueueProducer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:1,p:5836,c:340) connect(P): api=1 producer=(5836:org.apache.tvm.tvmrpc) producerControlledByApp=true
11-04 10:46:33.828  4357  4368 D TriggerManager: resume activity: org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity, pid=0
11-04 10:46:33.835  4357  4373 I TriggerManager: notifyEvent:EVENT_ACTIVITY, obj=ActivityEvent{activity=org.apache.tvm.tvmrpc.MainActivity, urlType=NONE, url=}
11-04 10:46:33.868   950   982 D STATUSBARCOLOR: mLastLightStatusBar=false,window=Window{d6a38ca u0 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity}
11-04 10:46:34.040   340  2032 I BufferQueueProducer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity](this:0x71ebe2e000,id:36,api:1,p:-1,c:340) disconnect(P): api 1
11-04 10:46:34.040   340  2032 I BufferQueueConsumer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity](this:0x71ebe2e000,id:36,api:1,p:-1,c:340) getReleasedBuffers: returning mask 0xffffffffffffffff
11-04 10:46:34.050   950  1284 W InputDispatcher: channel '943eb77 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
11-04 10:46:34.050   950  1284 E InputDispatcher: channel '943eb77 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
11-04 10:46:34.052   950  1825 I WindowManager: WIN DEATH: Window{943eb77 u0 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity}
11-04 10:46:34.055   950  1825 W InputDispatcher: Attempted to unregister already unregistered input channel '943eb77 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity (server)'
11-04 10:46:34.060   950  1825 I WindowManager: Destroying surface Surface(name=org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2257 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:997 com.android.server.wm.WindowState.removeLocked:1523 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2870 com.android.server.wm.WindowManagerService.removeWindowLocked:2818 com.android.server.wm.WindowState$DeathRecipient.binderDied:1854 android.os.BinderProxy.sendDeathNotice:701 <bottom of call stack>
11-04 10:46:34.066   340  1832 D SurfaceFlinger:     remove: org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity
11-04 10:46:34.072   340   340 I BufferQueueConsumer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity](this:0x71ebe2e000,id:36,api:1,p:-1,c:-1) disconnect(C)
11-04 10:46:34.074   340   340 I BufferQueue: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity](this:0x71ebe2e000,id:36,api:1,p:-1,c:-1) ~BufferQueueCore
11-04 10:46:34.291  2120  2130 D GasService: FG app changed: from org.apache.tvm.tvmrpc:RPCProcess to org.apache.tvm.tvmrpc
11-04 10:46:34.908   340   503 D BufferQueueProducer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:1,p:5836,c:340) queueBuffer: fps=10.73 dur=1024.69 max=497.32 min=6.38
11-04 10:46:35.909   340   505 D BufferQueueProducer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:1,p:5836,c:340) queueBuffer: fps=2.00 dur=1000.72 max=504.22 min=496.51
11-04 10:46:36.797  2266  2367 D alphame : resume app org.apache.tvm.tvmrpc for long time. resize resumed app size from 2 to 2
11-04 10:46:36.839  4357  4373 I TriggerManager: App resume for long time: org.apache.tvm.tvmrpc, reset 2->2
11-04 10:46:36.931   340  1832 D BufferQueueProducer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:1,p:5836,c:340) queueBuffer: fps=1.96 dur=1021.81 max=517.22 min=504.59
11-04 10:46:38.425   340   804 D BufferQueueProducer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:1,p:5836,c:340) queueBuffer: fps=2.01 dur=1494.33 max=504.88 min=488.78
11-04 10:46:38.741   950  2310 I Interception: third procedure runType: activity caller: org.apache.tvm.tvmrpc callee: org.apache.tvm.tvmrpc fg: true processName: org.apache.tvm.tvmrpc:RPCProcess calleeCalss: org.apache.tvm.tvmrpc.RPCActivity intent: Intent { cmp=org.apache.tvm.tvmrpc/.RPCActivity (has extras) }
11-04 10:46:38.747   950  2310 D Interception: V4 isInterceptByRule realCallingPid: 5836 isMatch: false, runType===activity|||callerPkg===org.apache.tvm.tvmrpc|||calleePkg===org.apache.tvm.tvmrpc|||calleeClass===org.apache.tvm.tvmrpc.RPCActivity|||processName===org.apache.tvm.tvmrpc:RPCProcess|||action===*|||data===*|||extras===Bundle[mParcelledData.dataSize=120]|||interaction===fg|||intercept result===0
11-04 10:46:38.751   950  2310 D Interception: isInterceptAsUsual, org.apache.tvm.tvmrpc the run type is activity, return false.
11-04 10:46:38.752   950  2310 W Interception: reason:6)finally, intercept as usual, interception = false  details<<runType:activity isFgAction:true callerPkg:org.apache.tvm.tvmrpc calleePkg:org.apache.tvm.tvmrpc processName:org.apache.tvm.tvmrpc:RPCProcess Intent { cmp=org.apache.tvm.tvmrpc/.RPCActivity (has extras) }>>
11-04 10:46:38.760   950  2310 I ActivityManager: START u0 {cmp=org.apache.tvm.tvmrpc/.RPCActivity (has extras)} from uid 10165 on display 0
11-04 10:46:38.771   950  1061 D WindowManager: addStartingWindow org.apache.tvm.tvmrpc: nonLocalizedLabel=null theme=7f0f0008
11-04 10:46:38.789   950  2310 V WindowManager: Set focused app to: AppWindowToken{e13fa3d token=Token{f906f01 ActivityRecord{c125ce8 u0 org.apache.tvm.tvmrpc/.RPCActivity t36}}} old focus=AppWindowToken{2c2551a token=Token{1ec4409 ActivityRecord{9a3c110 u0 org.apache.tvm.tvmrpc/.MainActivity t36}}} moveFocusNow=true
11-04 10:46:38.789   950  2310 V WindowManager: findFocusedWindow: Reached focused app=AppWindowToken{e13fa3d token=Token{f906f01 ActivityRecord{c125ce8 u0 org.apache.tvm.tvmrpc/.RPCActivity t36}}} target=AppWindowToken{2c2551a token=Token{1ec4409 ActivityRecord{9a3c110 u0 org.apache.tvm.tvmrpc/.MainActivity t36}}}
11-04 10:46:38.792   950  2310 V WindowManager: Changing focus from Window{d6a38ca u0 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity} to null Callers=com.android.server.wm.WindowManagerService.setFocusedApp:4533 com.android.server.am.ActivityManagerService.setFocusedActivityLocked:3747 com.android.server.am.ActivityStarter.startActivityUnchecked:1893 com.android.server.am.ActivityStarter.startActivityLocked:623
11-04 10:46:38.796   950  1061 D WindowManager: Adding starting window for org.apache.tvm.tvmrpc / Token{f906f01 ActivityRecord{c125ce8 u0 org.apache.tvm.tvmrpc/.RPCActivity t36}}: null
11-04 10:46:38.797   950  1061 D ViewRootImpl[tvmrpc]: hardware acceleration is disabled, fakeHwAccelerated = true, HardwareRenderer.sRendererDisabled = false, forceHwAccelerated = false, HardwareRenderer.sSystemRendererDisabled = false, this = ViewRoot{cd40d2c Starting org.apache.tvm.tvmrpc,ident = 8}
11-04 10:46:38.803   340   340 D BufferQueueConsumer: [Starting org.apache.tvm.tvmrpc](this:0x71ebe2e000,id:38,api:0,p:-1,c:340) setConsumerName: Starting org.apache.tvm.tvmrpc
11-04 10:46:38.803   340   340 I BufferQueueConsumer: [Starting org.apache.tvm.tvmrpc](this:0x71ebe2e000,id:38,api:0,p:-1,c:340) setDefaultBufferSize: width=1 height=1
11-04 10:46:38.804   950  1061 V WindowManager: findFocusedWindow: Reached focused app=AppWindowToken{e13fa3d token=Token{f906f01 ActivityRecord{c125ce8 u0 org.apache.tvm.tvmrpc/.RPCActivity t36}}} target=AppWindowToken{2c2551a token=Token{1ec4409 ActivityRecord{9a3c110 u0 org.apache.tvm.tvmrpc/.MainActivity t36}}}
11-04 10:46:38.806  2266  2367 D alphame : app paused: pkg=org.apache.tvm.tvmrpc, activity=org.apache.tvm.tvmrpc.MainActivity, pid=0, uid=0, isLast=true, isSpecActivity=false
11-04 10:46:38.806  4357  4368 D TriggerManager: pause activity: org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity, pid=0
11-04 10:46:38.812   340   340 I BufferQueueConsumer: [Starting org.apache.tvm.tvmrpc](this:0x71ebe2e000,id:38,api:0,p:-1,c:340) setDefaultBufferSize: width=1080 height=1920
11-04 10:46:38.817   340  1832 D BufferQueueProducer: [Starting org.apache.tvm.tvmrpc](this:0x71ebe2e000,id:38,api:2,p:950,c:340) connect(P): api=2 producer=(950:system_server) producerControlledByApp=false
11-04 10:46:38.835   950  1358 I ActivityManager: Start proc 6756:org.apache.tvm.tvmrpc:RPCProcess/u0a165 for activity org.apache.tvm.tvmrpc/.RPCActivity
11-04 10:46:38.871   950  2237 I WindowMode: ensureTaskChange  sendBroadCast newRecord:ActivityRecord{c125ce8 u0 org.apache.tvm.tvmrpc/.RPCActivity t36} mIsWindowModeVisible :false newIsWindowMode : false
11-04 10:46:38.893   950   982 D STATUSBARCOLOR: mLastLightStatusBar=false,window=Window{499f58a u0 Starting org.apache.tvm.tvmrpc}
11-04 10:46:38.895   340   804 I BufferQueueProducer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:1,p:-1,c:340) disconnect(P): api 1
11-04 10:46:38.896   340   804 I BufferQueueConsumer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:1,p:-1,c:340) getReleasedBuffers: returning mask 0xffffffffffffffff
11-04 10:46:38.898   340  2032 I BufferQueueProducer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:1,p:-1,c:340) disconnect(P): api 1
11-04 10:46:38.906  2266  2367 D alphame : detect scene pkgName = org.apache.tvm.tvmrpc, activity = org.apache.tvm.tvmrpc.RPCActivity, reset = false, state=3
11-04 10:46:38.906  2266  2367 D alphame : ACTION_ACTIVITY_DETECT pkgName=org.apache.tvm.tvmrpc, activity=org.apache.tvm.tvmrpc.RPCActivity, userId=0, quickAppPkg=null
11-04 10:46:38.907  2266  2367 D alphame : onDetectAppEvent pkg=org.apache.tvm.tvmrpc, activity=org.apache.tvm.tvmrpc.RPCActivity, userId=0, quickPkg=null, now=1667529998907
11-04 10:46:38.910  6756  6756 I art     : IsDexFileNeededDisableVerify for /data/app/org.apache.tvm.tvmrpc-1/base.apk
11-04 10:46:38.910  6756  6756 I art     : GetPkgNameFromDexFile return /data/app/org.apache.tvm.tvmrpc-1/base.apk
11-04 10:46:39.134  6756  6772 D FlymeTrafficTracking: tag  (49) org.apache.tvm.tvmrpc Thread-3 uid 10165
11-04 10:46:39.135  6756  6772 D FlymeTrafficTracking: tag  (50) org.apache.tvm.tvmrpc Thread-3 uid 10165
11-04 10:46:39.136  6756  6772 D         : [Posix_connect Debug]Process org.apache.tvm.tvmrpc:RPCProcess :9190
11-04 10:46:39.149  2266  2367 D alphame : app resume: pkg=org.apache.tvm.tvmrpc, activity=org.apache.tvm.tvmrpc.RPCActivity, pid=0, uid=0
11-04 10:46:39.149  2266  2367 D alphame : detect scene pkgName = org.apache.tvm.tvmrpc, activity = org.apache.tvm.tvmrpc.RPCActivity, reset = false, state=1
11-04 10:46:39.150  4357  4369 D TriggerManager: resume activity: org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity, pid=0
11-04 10:46:39.164  6756  6756 D OpenGLRenderer: <org.apache.tvm.tvmrpc:RPCProcess> is running.
11-04 10:46:39.203   340   340 D BufferQueueConsumer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity](this:0x71ebe2f800,id:39,api:0,p:-1,c:340) setConsumerName: org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity
11-04 10:46:39.203   340   340 I BufferQueueConsumer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity](this:0x71ebe2f800,id:39,api:0,p:-1,c:340) setDefaultBufferSize: width=1 height=1
11-04 10:46:39.206   950  2244 V WindowManager: Changing focus from null to Window{388a6a9 u0 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3351 com.android.server.wm.Session.relayout:218 android.view.IWindowSession$Stub.onTransact:286 com.android.server.wm.Session.onTransact:139
11-04 10:46:39.206   950  2244 D WindowManager: Input focus has changed to Window{388a6a9 u0 org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity}
11-04 10:46:39.219   340   340 I BufferQueueConsumer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity](this:0x71ebe2f800,id:39,api:0,p:-1,c:340) setDefaultBufferSize: width=1080 height=1920
11-04 10:46:39.226  2135  2360 D AppProcess: permission:org.apache.tvm.tvmrpc uid:10165 true
11-04 10:46:39.226  6756  6774 D OpenGLRenderer: CanvasContext() 0x732228ba40 initialize window=0x7329c54e00, title=org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity
11-04 10:46:39.250   950   950 D PowerManagerService: setScreenWakeLockDisabledForPackageNameInternal: packageName = org.apache.tvm.tvmrpc uid = 10165 disable = false
11-04 10:46:39.256   340   505 D BufferQueueProducer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity](this:0x71ebe2f800,id:39,api:1,p:6756,c:340) connect(P): api=1 producer=(6756:org.apache.tvm.tvmrpc:RPCProcess) producerControlledByApp=true
11-04 10:46:39.295  2120  2130 D GasService: FG app changed: from org.apache.tvm.tvmrpc to org.apache.tvm.tvmrpc:RPCProcess
11-04 10:46:39.316  6756  6756 D ActivityThread: currentPackageName:org.apache.tvm.tvmrpc
11-04 10:46:39.328   950  1061 V WindowManager: Removing starting window for Token{f906f01 ActivityRecord{c125ce8 u0 org.apache.tvm.tvmrpc/.RPCActivity t36}}: DecorView@e17c1a6[tvmrpc] Callers=com.android.server.wm.WindowManagerService$H.handleMessage:9120 android.os.Handler.dispatchMessage:110 android.os.Looper.loop:203 android.os.HandlerThread.run:61
11-04 10:46:39.328   950  1061 I ActivityManager: Displayed org.apache.tvm.tvmrpc/.RPCActivity: +511ms
11-04 10:46:39.353  5836  5836 E Choreographer: skip doframe for org.apache.tvm.tvmrpc
11-04 10:46:39.361   950  2268 I WindowManager: Destroying surface Surface(name=org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2257 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:997 com.android.server.wm.WindowState.destroyOrSaveSurface:2176 com.android.server.wm.AppWindowToken.destroySurfaces:423 com.android.server.wm.AppWindowToken.destroySurfaces:388 com.android.server.wm.AppWindowToken.notifyAppStopped:467 com.android.server.wm.WindowManagerService.notifyAppStopped:5136 com.android.server.am.ActivityStack.activityStoppedLocked:1453
11-04 10:46:39.368   340   340 I BufferQueueConsumer: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:1,p:-1,c:-1) disconnect(C)
11-04 10:46:39.368   340   340 I BufferQueue: [org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity](this:0x71ebe0e000,id:37,api:1,p:-1,c:-1) ~BufferQueueCore
11-04 10:46:39.435   950  1061 V WindowManager: real win animation done:WindowStateAnimator{31c0465 Starting org.apache.tvm.tvmrpc}
11-04 10:46:39.436   950  1061 I WindowManager: Destroying surface Surface(name=Starting org.apache.tvm.tvmrpc) called by com.android.server.wm.WindowStateAnimator.destroySurface:2257 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:997 com.android.server.wm.WindowState.destroyOrSaveSurface:2176 com.android.server.wm.AppWindowToken.destroySurfaces:423 com.android.server.wm.AppWindowToken.destroySurfaces:388 com.android.server.wm.WindowStateAnimator.finishExit:626 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:546 com.android.server.wm.WindowAnimator.updateWindowsLocked:410
11-04 10:46:39.438   340   503 I BufferQueueProducer: [Starting org.apache.tvm.tvmrpc](this:0x71ebe2e000,id:38,api:2,p:-1,c:340) disconnect(P): api 2
11-04 10:46:39.438   340   503 I BufferQueueConsumer: [Starting org.apache.tvm.tvmrpc](this:0x71ebe2e000,id:38,api:2,p:-1,c:340) getReleasedBuffers: returning mask 0xffffffffffffffff
11-04 10:46:39.451   340   340 I BufferQueueConsumer: [Starting org.apache.tvm.tvmrpc](this:0x71ebe2e000,id:38,api:2,p:-1,c:-1) disconnect(C)
11-04 10:46:39.452   340   340 I BufferQueue: [Starting org.apache.tvm.tvmrpc](this:0x71ebe2e000,id:38,api:2,p:-1,c:-1) ~BufferQueueCore
11-04 10:46:42.151  2266  2367 D alphame : resume app org.apache.tvm.tvmrpc for long time. resize resumed app size from 1 to 1
11-04 10:46:42.154  4357  4373 I TriggerManager: App resume for long time: org.apache.tvm.tvmrpc, reset 1->1

host ubuntu log:

root@tvm:/usr/tvm/apps/benchmark# python3 arm_cpu_imagenet_bench.py --model p20pro --rpc-key android
--------------------------------------------------
Network Name         Mean Inference Time (std dev)
--------------------------------------------------
pool is not optimized for arm cpu.
pool is not optimized for arm cpu.
pool is not optimized for arm cpu.
squeezenet_v1.1      83.79 ms            (1.98 ms)
dense is not optimized for arm cpu.
dense is not optimized for arm cpu.
mobilenet            166.15 ms           (10.57 ms)
dense is not optimized for arm cpu.
pool is not optimized for arm cpu.
dense is not optimized for arm cpu.
resnet-18            281.68 ms           (8.96 ms)
dense is not optimized for arm cpu.
dense is not optimized for arm cpu.
dense is not optimized for arm cpu.
pool is not optimized for arm cpu.
pool is not optimized for arm cpu.
pool is not optimized for arm cpu.
pool is not optimized for arm cpu.
pool is not optimized for arm cpu.
dense is not optimized for arm cpu.
dense is not optimized for arm cpu.
dense is not optimized for arm cpu.
Traceback (most recent call last):
  File "arm_cpu_imagenet_bench.py", line 121, in <module>
    evaluate_network(network, target, target_host, args.repeat)
  File "arm_cpu_imagenet_bench.py", line 58, in evaluate_network
    remote.upload(tmp.relpath(filename))
  File "/usr/tvm/python/tvm/rpc/client.py", line 115, in upload
    self._remote_funcs["upload"](target, blob)
  File "/usr/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 237, in __call__
    raise get_last_ffi_error()
tvm._ffi.base.TVMError: Traceback (most recent call last):
  6: TVMFuncCall
  5: tvm::runtime::RPCWrappedFunc::operator()(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) const
  4: tvm::runtime::RPCClientSession::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)> const&)
  3: tvm::runtime::RPCEndpoint::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)>)
  2: tvm::runtime::RPCEndpoint::HandleUntilReturnEvent(bool, std::function<void (tvm::runtime::TVMArgs)>)
  1: tvm::runtime::SockChannel::Send(void const*, unsigned long)
  0: _ZN3tvm7runtime6deta
  File "/usr/tvm/src/runtime/rpc/../../support/socket.h", line 362
TVMError: Socket SockChannel::Send Error:Connection reset by peer
zuowanbushiwo commented 1 year ago

Same Issue https://github.com/apache/tvm/issues/13225,