Open niuhaitaofeilong opened 1 year ago
backtrace:
#01 pc 0000000000408d98 /system/lib64/libpaddle_light_api_shared.so (BuildId: 914242329ee4f4ce8c4506f2e3a0bb2fb6a3006e)
shortMsg = Native crash longMsg = Aborted stackTrace = Build fingerprint: 'qti/sdm845/sdm845:10/QKQ1.191208.002/eng.root.20230306.171953:user/test-keys'
#00 pc 00000000000830f0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 87ed7ba713785c50670d166a6a1664a7)
#01 pc 0000000000408d98 /system/lib64/libpaddle_light_api_shared.so (__kmp_abort_process+44) (BuildId: 914242329ee4f4ce8c4506f2e3a0bb2fb6a3006e)
看起来是 openmp 问题,建议直接使用我们提供的正式版的预编译库:https://www.paddlepaddle.org.cn/lite/v2.12/quick_start/release_lib.html ,如果有问题,请把相关下载链接发下,我们复现一下。
可以检查下手机是不是开了省电模式
1)Paddle Lite 版本:V2.12 2)Host 环境:Ubuntu 3)运行设备环境:骁龙845 4)预测后端信息:GPU
预测信息 1)预测 API:C++ 2)预测选项信息:armv8、单线程 3)预测库来源:官网下载 config_.load_config(configpathS); preprocessor.Init(config_.preprocessinfo);
paddle::lite_api::MobileConfig config;//此处报错崩溃 config.set_model_from_file(model_pathS); config.set_threads(4); config.set_power_mode(LITE_POWER_HIGH); 报错信息如下: 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 1, max freq: 1766, min freq: 1766, cluster ID: 1, CPU ARCH: A55 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 2, max freq: 1766, min freq: 1766, cluster ID: 1, CPU ARCH: A55 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 3, max freq: 1766, min freq: 1766, cluster ID: 1, CPU ARCH: A55 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 4, max freq: 2803, min freq: 2803, cluster ID: 0, CPU ARCH: A75 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 5, max freq: 2803, min freq: 2803, cluster ID: 0, CPU ARCH: A75 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 6, max freq: 2803, min freq: 2803, cluster ID: 0, CPU ARCH: A75 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1278 Setup] ARM multiprocessors ID: 7, max freq: 2803, min freq: 2803, cluster ID: 0, CPU ARCH: A75 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1284 Setup] L1 DataCache size is: 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1286 Setup] 32 KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1286 Setup] 32 KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1286 Setup] 64 KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1286 Setup] 64 KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1288 Setup] L2 Cache size is: 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1290 Setup] 128 KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1290 Setup] 128 KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1290 Setup] 256 KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1290 Setup] 256 KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1292 Setup] L3 Cache size is: 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1294 Setup] 2048 KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1294 Setup] 2048 KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1296 Setup] Total memory: 3782880KB 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1297 Setup] SVE2 support: 0 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1298 Setup] SVE2 f32mm support: 0 03-22 00:35:12.784 3982 3982 I Paddle-Lite: [I 3/22 0:35:12.784 ...addle-Lite-2.12/lite/core/device_info.cc:1299 Setup] SVE2 i8mm support: 0 03-22 00:35:12.785 3982 3982 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 3982 (irvoyant.camera), pid 3982 (irvoyant.camera) 03-22 00:35:12.787 1621 1621 I ExtendedUtils: printFileName fd(8) -> /system/product/media/audio/notifications/Cricket.ogg