Paddle-Lite
Paddle-Lite copied to clipboard
Android多线程下调识别接口崩溃
部署运行时在多线程模式下,cpuThreadNum设为4,Android后台开2个线程调ocr的c++接口出现libpaddle_light_api_shared.so崩溃,接口都是线程同步的,识别几张就崩溃了. A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xb400007a81af8280 in tid 16653 (pool-3-thread-1), pid 16019 A NOTE: Function names and BuildId information is missing for some frames due
NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
NOTE: found under the lib/ directory are readable.
NOTE: On this device, run setenforce 0 to make the libraries readable.
NOTE: Unreadable libraries:
NOTE: /data/data/com.ocrdemo.demo/files/libpaddle_light_api_shared.so
2025-11-21 17:40:27.089 669-669 DEBUG crash_dump64 A #01 pc 000000000011eb78 /data/data/com.ocrdemo.demo/files/libpaddle_light_api_shared.so