Hi!
I'm trying to run neural network, using different runtimes on SA8155P.
CPU and GPU works fine out of the box (with exception that I was not able to get more than 1 model working on GPU).
But it doesn't work for DSP runtime.
It doesn't work in both cases: with InceptionV3 tutorial from:
snpe-1.38.0.2034/doc/html/tutorial_inceptionv3.html
and with my app (both works on CPU and GPU).
Logs are very similar in both cases and have a lot of permission-related errors:
2019-12-26 06:32:42.603 32437-32437/? I/snpe-net-run: fastrpc_apps_user_init done
2019-12-26 06:32:42.604 32437-32437/? E/snpe-net-run: Error: Device node open failed for domain 3 (errno Permission denied)
2019-12-26 06:32:42.604 32437-32437/? E/snpe-net-run: Error 0x57: apps_dev_init failed for domain 3, errno Permission denied
2019-12-26 06:32:42.604 32437-32437/? E/snpe-net-run: Error 0x57: open_dev (-1) failed for domain 3
2019-12-26 06:32:42.604 32437-32437/? E/snpe-net-run: Error 0x57: remote_handle64_open failed for file:///libsnpe_dsp_v66_domains_v2_skel.so?snpe_dsp_domains_v2_skel_handle_invoke&_modver=1.0&_dom=cdsp
2019-12-26 06:32:42.604 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.604 32437-32437/? E/snpe-net-run: Error 0x1d: get_domain_from_handle failed. handle 0x0
2019-12-26 06:32:42.604 32437-32437/? E/snpe-net-run: Error 0x1d: remote_handle64_invoke failed for handle 0x0, method 7 on domain 3 (sc 0x7020200)
2019-12-26 06:32:42.606 32437-32437/? I/snpe-net-run: fastrpc_apps_user_init done
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error: Device node open failed for domain 3 (errno Permission denied)
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x57: apps_dev_init failed for domain 3, errno Permission denied
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x57: open_dev (-1) failed for domain 3
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x57: remote_handle64_open failed for file:///libsnpe_dsp_v66_domains_v2_skel.so?snpe_dsp_domains_v2_skel_handle_invoke&_modver=1.0&_dom=cdsp
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: get_domain_from_handle failed. handle 0x0
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: remote_handle64_invoke failed for handle 0x0, method 7 on domain 3 (sc 0x7020200)
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: get_domain_from_handle failed. handle 0x0
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: remote_handle64_invoke failed for handle 0x0, method 7 on domain 3 (sc 0x7020200)
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: get_domain_from_handle failed. handle 0x0
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: free_handle failed, handle 0x0
2019-12-26 06:32:42.606 32437-32437/? E/snpe-net-run: Error 0x1d: remote_handle64_close failed for handle 0x0
2019-12-26 06:32:42.607 32437-32437/? E/snpe-net-run: Error: Device node open failed for domain 3 (errno Permission denied)
2019-12-26 06:32:42.607 32437-32437/? E/snpe-net-run: Error 0x57: apps_dev_init failed for domain 3, errno Permission denied
2019-12-26 06:32:42.607 32437-32437/? E/snpe-net-run: Error 0x57: open_dev (-1) failed for domain 3
2019-12-26 06:32:42.607 32437-32437/? E/snpe-net-run: Error 0x57: remote_handle64_open failed for file:///libsnpe_dsp_v66_domains_v2_skel.so?snpe_dsp_domains_v2_skel_handle_invoke&_modver=1.0&_dom=cdsp
2019-12-26 06:32:42.607 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.607 32437-32437/? E/snpe-net-run: Error 0x1d: get_domain_from_handle failed. handle 0x0
2019-12-26 06:32:42.607 32437-32437/? E/snpe-net-run: Error 0x1d: remote_handle64_invoke failed for handle 0x0, method 7 on domain 3 (sc 0x7020200)
2019-12-26 06:32:42.608 32437-32437/? E/snpe-net-run: Error: Device node open failed for domain 3 (errno Permission denied)
2019-12-26 06:32:42.608 32437-32437/? E/snpe-net-run: Error 0x57: apps_dev_init failed for domain 3, errno Permission denied
2019-12-26 06:32:42.608 32437-32437/? E/snpe-net-run: Error 0x57: open_dev (-1) failed for domain 3
2019-12-26 06:32:42.608 32437-32437/? E/snpe-net-run: Error 0x57: remote_handle64_open failed for file:///libsnpe_dsp_v66_domains_v2_skel.so?snpe_dsp_domains_v2_skel_handle_invoke&_modver=1.0&_dom=cdsp
2019-12-26 06:32:42.608 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.608 32437-32437/? E/snpe-net-run: Error 0x1d: get_domain_from_handle failed. handle 0x0
2019-12-26 06:32:42.608 32437-32437/? E/snpe-net-run: Error 0x1d: remote_handle64_invoke failed for handle 0x0, method 7 on domain 3 (sc 0x7020200)
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error: Device node open failed for domain 3 (errno Permission denied)
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x57: apps_dev_init failed for domain 3, errno Permission denied
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x57: open_dev (-1) failed for domain 3
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x57: remote_handle64_open failed for file:///libsnpe_dsp_v66_domains_v2_skel.so?snpe_dsp_domains_v2_skel_handle_invoke&_modver=1.0&_dom=cdsp
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: get_domain_from_handle failed. handle 0x0
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: remote_handle64_invoke failed for handle 0x0, method 7 on domain 3 (sc 0x7020200)
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: get_domain_from_handle failed. handle 0x0
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: remote_handle64_invoke failed for handle 0x0, method 7 on domain 3 (sc 0x7020200)
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: get_domain_from_handle failed. handle 0x0
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: free_handle failed, handle 0x0
2019-12-26 06:32:42.610 32437-32437/? E/snpe-net-run: Error 0x1d: remote_handle64_close failed for handle 0x0
2019-12-26 06:32:42.633 32437-32437/? E/snpe-net-run: Error: Device node open failed for domain 3 (errno Permission denied)
2019-12-26 06:32:42.633 32437-32437/? E/snpe-net-run: Error 0x57: apps_dev_init failed for domain 3, errno Permission denied
2019-12-26 06:32:42.633 32437-32437/? E/snpe-net-run: Error 0x57: open_dev (-1) failed for domain 3
2019-12-26 06:32:42.633 32437-32437/? E/snpe-net-run: Error 0x57: remote_handle64_open failed for file:///libsnpe_dsp_v66_domains_v2_skel.so?snpe_dsp_domains_v2_skel_handle_invoke&_modver=1.0&_dom=cdsp
2019-12-26 06:32:42.633 32437-32437/? E/snpe-net-run: Error 0x1d: verify_local_handle failed. handle 0x0
2019-12-26 06:32:42.633 32437-32437/? E/snpe-net-run: Error 0x1d: get_domain_from_handle failed. handle 0x0
2019-12-26 06:32:42.633 32437-32437/? E/snpe-net-run: Error 0x1d: remote_handle64_invoke failed for handle 0x0, method 7 on domain 3 (sc 0x7020200)
2019-12-26 06:32:42.589 32437-32437/? W/snpe-net-run: type=1400 audit(0.0:101638): avc: denied { read } for name="adsprpc-smd" dev="tmpfs" ino=27289 scontext=u:r:shell:s0 tcontext=u:object_r:qdsp_device:s0 tclass=chr_file permissive=0
2019-12-26 06:32:42.599 32437-32437/? I/chatty: uid=2000(shell) snpe-net-run identical 3 lines
2019-12-26 06:32:42.599 32437-32437/? W/snpe-net-run: type=1400 audit(0.0:101642): avc: denied { read } for name="adsprpc-smd" dev="tmpfs" ino=27289 scontext=u:r:shell:s0 tcontext=u:object_r:qdsp_device:s0 tclass=chr_file permissive=0
2019-12-26 06:32:44.223 32445-32445/? I//vendor/bin/chre: fastrpc_apps_user_init done
2019-12-26 06:32:44.228 32445-32445/? I//vendor/bin/chre: remote_handle_open: Successfully opened handle 0xffffffff for '":;./\createstaticpd:sensorspd on domain 2
2019-12-26 06:32:44.228 32445-32445/? E//vendor/bin/chre: Error 0xffffffff: apps_dev_init failed for domain 2, errno Transport endpoint is not connected
2019-12-26 06:32:44.228 32445-32445/? E//vendor/bin/chre: Error 0xffffffff: open_dev (-1) failed for domain 2
2019-12-26 06:32:44.228 32445-32445/? E//vendor/bin/chre: Error 0xffffffff: remote_handle_open failed for chre_slpi
2019-12-26 06:32:44.228 32445-32445/? E//vendor/bin/chre: Error 0x2c: remote_handle_invoke failed for handle 0xffffffff, method 5 on domain 2 (sc 0x5020000)
2019-12-26 06:32:44.229 32445-32445/? E/CHRE: Failed to deliver timestamp message from host to CHRE: 44
2019-12-26 06:32:44.229 32445-32446/? E//vendor/bin/chre: Error 0xffffffff: apps_dev_init failed for domain 2, errno Transport endpoint is not connected
2019-12-26 06:32:44.229 32445-32446/? E//vendor/bin/chre: Error 0xffffffff: open_dev (-1) failed for domain 2
2019-12-26 06:32:44.229 32445-32446/? E//vendor/bin/chre: Error 0xffffffff: remote_handle_open failed for chre_slpi
2019-12-26 06:32:44.229 32445-32446/? E//vendor/bin/chre: Error 0x2c: remote_handle_invoke failed for handle 0xffffffff, method 2 on domain 2 (sc 0x2000000)
2019-12-26 06:32:44.229 32445-32446/? E/CHRE: Failed to initialize reverse monitor on SLPI: 44
2019-12-26 06:32:44.229 32445-32445/? E//vendor/bin/chre: Error 0xffffffff: apps_dev_init failed for domain 2, errno Transport endpoint is not connected
2019-12-26 06:32:44.229 32445-32445/? E//vendor/bin/chre: Error 0xffffffff: open_dev (-1) failed for domain 2
2019-12-26 06:32:44.229 32445-32445/? E//vendor/bin/chre: Error 0xffffffff: remote_handle_open failed for chre_slpi
2019-12-26 06:32:44.229 32445-32445/? E//vendor/bin/chre: Error 0x2c: remote_handle_invoke failed for handle 0xffffffff, method 0 on domain 2 (sc 0x0)
2019-12-26 06:32:44.229 32445-32445/? E/CHRE: Failed to start CHRE on SLPI: 44
2019-12-26 06:32:44.243 32444-32444/? E/libmdmdetect: Failed to open /sys/bus/msm_subsys/devices/subsys6/name: Permission denied
2019-12-26 06:32:44.243 32444-32444/? E/libmdmdetect: Failed to open /sys/bus/msm_subsys/devices/subsys4/name: Permission denied
2019-12-26 06:32:44.243 32444-32444/? E/libmdmdetect: Failed to open /sys/bus/msm_subsys/devices/subsys2/name: Permission denied
2019-12-26 06:32:44.243 32444-32444/? E/libmdmdetect: Failed to open /sys/bus/msm_subsys/devices/subsys0/name: Permission denied
2019-12-26 06:32:44.243 32444-32444/? E/libmdmdetect: Failed to open /sys/bus/msm_subsys/devices/subsys5/name: Permission denied
2019-12-26 06:32:44.244 32444-32444/? E/libmdmdetect: Failed to open /sys/bus/msm_subsys/devices/subsys3/name: Permission denied
2019-12-26 06:32:44.244 32444-32444/? E/libmdmdetect: Failed to open /sys/bus/msm_subsys/devices/subsys1/name: Permission denied
2019-12-26 06:32:44.255 32444-32444/? E/QC-NETMGR-LIB: netmgr_main_process_target: unable to load config for target:apq
2019-12-26 06:32:44.229 32444-32444/? W/netmgrd: type=1400 audit(0.0:101644): avc: denied { read } for name="name" dev="sysfs" ino=59388 scontext=u:r:netmgrd:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
2019-12-26 06:32:44.369 473-473/? I/hwservicemanager: getTransport: Cannot find entry [email protected]::ISensors/default in either framework or device manifest.
2019-12-26 06:32:44.372 32451-32451/? E/AIS_HIDL_SERVER: AIS HIDL service is starting
2019-12-26 06:32:44.372 32451-32451/? I/AIS-LOG: ais_initialize:1243 HIGH AIS CLIENT START 404
2019-12-26 06:32:44.372 32450-32450/? E//vendor/bin/hw/[email protected]: Couldn't load sensors module (Unknown error -2147483648)
2019-12-26 06:32:44.372 32450-32450/? D/RefBase: RefBase: Explicit destruction, weak count = 0 (in 0x7126c0a1c8)
2019-12-26 06:32:44.372 32450-32450/? W/RefBase: CallStack::getCurrentInternal not linked, returning null
2019-12-26 06:32:44.372 32450-32450/? W/RefBase: CallStack::logStackInternal not linked
2019-12-26 06:32:44.372 32451-32451/? E/AIS-LOG: ais_conn_connect:367 ERR 0x0x7fea07cd40 -6 13
2019-12-26 06:32:44.372 32451-32451/? E/AIS-LOG: ais_conn_connect:382 ERR X 0x0x7fea07cd40 -6
2019-12-26 06:32:44.372 32451-32451/? E/AIS-LOG: ais_client_exchange:909 ERR X ais_client_exchange 0x0x7a4c76c030 -2
2019-12-26 06:32:44.372 32451-32451/? E/AIS-LOG: ais_client_create:982 ERR X ais_client_create -1 -2
2019-12-26 06:32:44.372 32451-32451/? E/AIS-LOG: ais_initialize:1278 ERR X ais_initialize | 47
2019-12-26 06:32:44.372 32451-32451/? E/AIS-LOG: AIS_HIDL_SERVER ais_hidl_camera:36 ERR qcarcam_initialize failed 4
2019-12-26 06:32:44.373 32450-32450/? E/[email protected]: Could not get passthrough implementation for [email protected]::ISensors/default.
2019-12-26 06:32:44.374 473-473/? E/SELinux: avc: denied { add } for interface=vendor.qti.automotive.qcarcam::IQcarCamera sid=u:r:hal_ais_qti:s0 pid=32451 scontext=u:r:hal_ais_qti:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
2019-12-26 06:32:44.374 32451-32451/? A/AIS_HIDL_SERVER: registerAsService() error: status=-2147483648
2019-12-26 06:32:44.374 32451-32451/? A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 32451 (vendor.qti.auto), pid 32451 (vendor.qti.auto)
2019-12-26 06:32:44.391 32449-32449/? E/EvsAISDriver: EVS Hardware Enumerator service is starting
2019-12-26 06:32:44.391 32449-32449/? E/ProcessState: Binder driver /dev/binder is unavailable. Using /dev/binder instead.
2019-12-26 06:32:44.391 32449-32449/? W/ProcessState: Opening '/dev/binder' failed: Permission denied
2019-12-26 06:32:44.391 32449-32449/? A/ProcessState: Binder driver could not be opened. Terminating.
2019-12-26 06:32:44.392 32449-32449/? A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 32449 (android.hardwar), pid 32449 (android.hardwar)
2019-12-26 06:32:44.446 32456-32456/? I/crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
2019-12-26 06:32:44.447 1023-1023/? I//system/bin/tombstoned: received crash request for pid 32451
2019-12-26 06:32:44.448 32456-32456/? I/crash_dump64: performing dump of process 32451 (target tid = 32451)
2019-12-26 06:32:44.451 32456-32456/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-12-26 06:32:44.451 32456-32456/? A/DEBUG: Build fingerprint: 'qti/msmnile_au/msmnile_au:10/QQ1A.191205.011/6:userdebug/test-keys'
2019-12-26 06:32:44.451 32456-32456/? A/DEBUG: Revision: '0'
2019-12-26 06:32:44.451 32456-32456/? A/DEBUG: ABI: 'arm64'
2019-12-26 06:32:44.452 32456-32456/? A/DEBUG: Timestamp: 2019-12-26 03:32:44+0000
2019-12-26 06:32:44.452 32456-32456/? A/DEBUG: pid: 32451, tid: 32451, name: vendor.qti.auto >>> /vendor/bin/hw/[email protected] <<<
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: uid: 1000
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: Abort message: 'registerAsService() error: status=-2147483648'
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: x0 0000000000000000 x1 0000000000007ec3 x2 0000000000000006 x3 0000007fea07cad0
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: x4 ff5144555144525e x5 ff5144555144525e x6 ff5144555144525e x7 7f7f7f7f7f7f7f7f
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: x8 00000000000000f0 x9 1c79c431d8d6575e x10 0000000000000001 x11 0000000000000000
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: x12 fffffff0ffffffdf x13 ffffffffffffffff x14 0000000000000004 x15 ffffffffffffffff
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: x16 0000007a4c14c8c0 x17 0000007a4c12a100 x18 0000007a4ce7a000 x19 0000000000007ec3
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: x20 0000000000007ec3 x21 00000000ffffffff x22 0000000000000001 x23 0000000000000000
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: x24 0000000000000000 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000
2019-12-26 06:32:44.453 32456-32456/? A/DEBUG: x28 0000000000000000 x29 0000007fea07cb70
2019-12-26 06:32:44.454 32456-32456/? A/DEBUG: sp 0000007fea07cab0 lr 0000007a4c0def48 pc 0000007a4c0def74
2019-12-26 06:32:44.458 32456-32456/? A/DEBUG: backtrace:
2019-12-26 06:32:44.458 32456-32456/? A/DEBUG: #00 pc 0000000000081f74 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 87081dac589e99030f21095391ccf4b0)
2019-12-26 06:32:44.458 32456-32456/? A/DEBUG: #01 pc 00000000000089f8 /system/lib64/liblog.so (__android_log_assert+324) (BuildId: 861a081c2056965edab68796c1ed73e0)
2019-12-26 06:32:44.458 32456-32456/? A/DEBUG: #02 pc 0000000000005198 /vendor/bin/hw/[email protected] (main+328) (BuildId: 895a12ffc1886e2db448642b402e5e74)
2019-12-26 06:32:44.458 32456-32456/? A/DEBUG: #03 pc 000000000007d798 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: 87081dac589e99030f21095391ccf4b0)
2019-12-26 06:32:44.472 32459-32459/? I/crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
2019-12-26 06:32:44.473 1023-1023/? I//system/bin/tombstoned: received crash request for pid 32449
2019-12-26 06:32:44.473 1023-1023/? I//system/bin/tombstoned: enqueueing crash request for pid 32449
2019-12-26 06:32:44.542 817-1298/system_process W/NativeCrashListener: Couldn't find ProcessRecord for pid 32451
2019-12-26 06:32:44.542 32456-32456/? E/crash_dump64: AM data write failed: Broken pipe
2019-12-26 06:32:44.544 1023-1023/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_27
2019-12-26 06:32:44.545 32459-32459/? I/crash_dump64: performing dump of process 32449 (target tid = 32449)
2019-12-26 06:32:44.550 32459-32459/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-12-26 06:32:44.551 32459-32459/? A/DEBUG: Build fingerprint: 'qti/msmnile_au/msmnile_au:10/QQ1A.191205.011/6:userdebug/test-keys'
2019-12-26 06:32:44.551 32459-32459/? A/DEBUG: Revision: '0'
2019-12-26 06:32:44.551 32459-32459/? A/DEBUG: ABI: 'arm64'
2019-12-26 06:32:44.552 32459-32459/? A/DEBUG: Timestamp: 2019-12-26 03:32:44+0000
2019-12-26 06:32:44.552 32459-32459/? A/DEBUG: pid: 32449, tid: 32449, name: android.hardwar >>> /vendor/bin/[email protected] <<<
2019-12-26 06:32:44.552 32459-32459/? A/DEBUG: uid: 1000
2019-12-26 06:32:44.552 32459-32459/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2019-12-26 06:32:44.552 32459-32459/? A/DEBUG: Abort message: 'Binder driver could not be opened. Terminating.'
2019-12-26 06:32:44.552 32459-32459/? A/DEBUG: x0 0000000000000000 x1 0000000000007ec1 x2 0000000000000006 x3 0000007fcd2814e0
2019-12-26 06:32:44.552 32459-32459/? A/DEBUG: x4 6d6f630000000000 x5 6d6f630000000000 x6 6d6f630000000000 x7 0000000080ffffff
2019-12-26 06:32:44.552 32459-32459/? A/DEBUG: x8 00000000000000f0 x9 a33f6fe517949972 x10 0000000000000001 x11 0000000000000000
2019-12-26 06:32:44.552 32459-32459/? A/DEBUG: x12 fffffff0ffffffdf x13 ffffffffffffffff x14 ffffff0000000000 x15 ffffffffffffffff
2019-12-26 06:32:44.552 32459-32459/? A/DEBUG: x16 00000078aa01b8c0 x17 00000078a9ff9100 x18 00000078ab39a000 x19 0000000000007ec1
2019-12-26 06:32:44.553 32459-32459/? A/DEBUG: x20 0000000000007ec1 x21 00000000ffffffff x22 00000078a97b14cd x23 00000078a881e000
2019-12-26 06:32:44.553 32459-32459/? A/DEBUG: x24 00000078aaa77020 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000
2019-12-26 06:32:44.553 32459-32459/? A/DEBUG: x28 0000000000000000 x29 0000007fcd281580
2019-12-26 06:32:44.553 32459-32459/? A/DEBUG: sp 0000007fcd2814c0 lr 00000078a9fadf48 pc 00000078a9fadf74
2019-12-26 06:32:44.558 32459-32459/? A/DEBUG: backtrace:
2019-12-26 06:32:44.558 817-963/system_process I/BootReceiver: Copying /data/tombstones/tombstone_27 to DropBox (SYSTEM_TOMBSTONE)
2019-12-26 06:32:44.558 32459-32459/? A/DEBUG: #00 pc 0000000000081f74 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 87081dac589e99030f21095391ccf4b0)
2019-12-26 06:32:44.558 32459-32459/? A/DEBUG: #01 pc 00000000000089f8 /system/lib64/liblog.so (__android_log_assert+324) (BuildId: 861a081c2056965edab68796c1ed73e0)
2019-12-26 06:32:44.558 32459-32459/? A/DEBUG: #02 pc 00000000000639d0 /system/lib64/vndk-29/libbinder.so (android::ProcessState::ProcessState(char const*)+400) (BuildId: 49f9c11040d3a7508abbf3448c9f4cef)
2019-12-26 06:32:44.558 32459-32459/? A/DEBUG: #03 pc 0000000000063ac0 /system/lib64/vndk-29/libbinder.so (android::ProcessState::initWithDriver(char const*)+228) (BuildId: 49f9c11040d3a7508abbf3448c9f4cef)
2019-12-26 06:32:44.559 32459-32459/? A/DEBUG: #04 pc 000000000000b440 /vendor/bin/[email protected] (main+64) (BuildId: 57d3d74d48599c25d96bb424af291c88)
2019-12-26 06:32:44.559 32459-32459/? A/DEBUG: #05 pc 000000000007d798 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: 87081dac589e99030f21095391ccf4b0)
2019-12-26 06:32:44.559 817-963/system_process I/DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
2019-12-26 06:32:44.657 937-29248/? I/OMX-VENC: venc_dev: stats: avg. fps 35.15, bitrate 148417
2019-12-26 06:32:44.689 817-1298/system_process W/NativeCrashListener: Couldn't find ProcessRecord for pid 32449
2019-12-26 06:32:44.689 32459-32459/? E/crash_dump64: AM data write failed: Broken pipe
2019-12-26 06:32:44.692 1023-1023/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_28
2019-12-26 06:32:44.701 817-963/system_process I/BootReceiver: Copying /data/tombstones/tombstone_28 to DropBox (SYSTEM_TOMBSTONE)
2019-12-26 06:32:44.703 817-963/system_process I/DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
Please kindly let me know what I can do with?
Thanks in advance!
Hi Anton,
I'm using the same hardware and the inception-v3 example works for me using DSP runtime. My problem with DSP runtime is when I try to use my own models (they work with CPU and/or CPU but SNPE fails when I try to use DSP runtime)
I need to run adb with root permission ($> adb root)
Here is the script I'm using to run the snpe-net-run command, probably it would be useful for you:
I would guess that there is an selinux policy blocking access to the device node to talk to the DSP (fastRPC). Based on this log:
"2019-12-26 06:32:42.604 32437-32437/? E/snpe-net-run: Error: Device node open failed for domain 3 (errno Permission denied)"
hey, I meet the same problem, and a solution is to close the SELinux by running "echo 0 > /sys/fs/selinux/enforce". make sure your phone has been rooted.