|
在android 应用层开多线程调用c层的rknnapi进行推理,(只初始化了一次),报以下错
03-13 10:32:02.631 19395-19697/com.example. D/mytest: rknn_input_set fail! ret=-3
03-13 10:32:02.631 19395-19699/com.example. D/NPUTransfer: ERROR: socket write fd = 49, n = -1: Bad file descriptor
03-13 10:32:02.631 19395-19699/com.example. E/RKNNAPI: rknn_input_set, send(MsgInput 0) fail, -9 != 520311!
03-13 10:32:02.631 19395-19700/com.example. E/RKNNAPI: rknn_input_set, context = 0 except at p_ctx->thread_exit == true, force destory context!
rknn_input_set, index = 0 is not in [0, -1]!
03-13 10:32:02.631 19395-19700/com.example. D/mytest: rknn_input_set fail! ret=-5
03-13 10:32:02.633 19395-19699/com.example D/mytest: rknn_input_set fail! ret=-3
--------- beginning of crash
03-13 10:32:02.634 19395-19696/com.example. A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x8 in tid 19696 (Thread-10), pid 19395 (314.scanproject)
03-13 10:32:02.647 19395-19702/com.example. E/RKNNAPI: rknn_input_set, context = 0 has been destory, p_ctx = nullptr!
03-13 10:32:02.647 19395-19702/com.example. D/mytest: rknn_input_set fail! ret=-7
03-13 10:32:02.651 19395-19703/com.example. E/RKNNAPI: rknn_input_set, context = 0 has been destory, p_ctx = nullptr!
03-13 10:32:02.651 19395-19703/com.example. D/mytest: rknn_input_set fail! ret=-7
03-13 10:32:02.661 19395-19708/com.example. E/RKNNAPI: rknn_input_set, context = 0 has been destory, p_ctx = nullptr!
03-13 10:32:02.661 19395-19708/com.example. D/mytest: rknn_input_set fail! ret=-7
03-13 10:32:02.673 19395-19706/com.example. E/RKNNAPI: rknn_input_set, context = 0 has been destory, p_ctx = nullptr!
03-13 10:32:02.673 19395-19709/com.example. E/RKNNAPI: rknn_input_set, context = 0 has been destory, p_ctx = nullptr!
03-13 10:32:02.673 19395-19706/com.example. D/mytest: rknn_input_set fail! ret=-7
03-13 10:32:02.673 19395-19709/com.example. D/mytest: rknn_input_set fail! ret=-7
|
|