Forums - Error with calculator example

2 posts / 0 new
Last post
Error with calculator example
annemaelle.b
Join Date: 12 Mar 18
Posts: 6
Posted: Thu, 2018-05-03 23:44

Hi,

I want to run the calculator example on my Xiaomi Mi6 (Adreno 835). It runs perfectly on CPU but on DSP it is failing. I used the python file calculator_walkthrough.py with the options -T 8998.

Can you help me ?

The logcat:

05-04 14:34:27.853  3559  3559 V /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:194: fopen success: /dsp/fastrpc_shell_0
05-04 14:34:27.855  3559  3559 V /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1082: create user pd with attributes 0 domain 0
05-04 14:34:27.879  3559  3561 D /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1171: Error 4b: get adsp msgd handle failed. domain 0
05-04 14:34:27.880  3559  3560 E /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:693:Error 45: fopen failed for oemconfig.so. (No such file or directory)
05-04 14:34:27.881  3559  3560 V /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:194: fopen success: /system/vendor/lib/rfsa/adsp/libcalculator_skel.so
05-04 14:34:27.881  3559  3560 E /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:693:Error 45: fopen failed for libadspmsgd_adsp_skel.so. (No such file or directory)
05-04 14:34:27.882  3559  3560 V /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:194: fopen success: /system/vendor/lib/rfsa/adsp/testsig-0xc76c651b.so
05-04 14:34:27.882  3559  3561 E /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/log_config.c:173:Found calculator.farf. adspmsgd enabled
05-04 14:34:27.882  3559  3561 V /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:194: fopen success: /system/vendor/lib/rfsa/adsp/calculator.farf
05-04 14:34:27.882  3559  3561 D /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1153: Error 4b: adsp current process handle failed. domain 0
05-04 14:34:27.883  3559  3560 V /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:194: fopen success: /system/vendor/lib/rfsa/adsp/testsig-0xc76c651b.so
05-04 14:34:27.883  3559  3560 V /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:194: fopen success: /system/vendor/lib/rfsa/adsp/testsig-0xc76c651b.so
05-04 14:34:27.883  3559  3560 D adsprpc : HAP_utils.c:248:0x10af:Logging mask set to 31
05-04 14:34:27.890  3559  3560 E adsprpc : sigverify.c:705:0x10b4:testsig root: 0c,09,76,0d  (qc test)
05-04 14:34:27.891  3559  3560 E /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:693:Error 45: fopen failed for testsig.so. (No such file or directory)
05-04 14:34:27.891  3559  3560 E adsprpc : sigverify.c:720:0x10b4:  image root[0]: b6,6f,91,3f
05-04 14:34:27.892  3559  3560 E adsprpc : sigverify.c:722:0x10b4::error: signature does not match image root
05-04 14:34:27.892  3559  3559 D /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:707: Error fffffffb: remote handle open domain failed. domain 0, name calculator, dlerror cannot open oemconfig.so
05-04 14:34:27.892  3559  3560 W adsprpc : sigverify.c:589:0x10b4:OEM ID -----------------------> 0x0
05-04 14:34:27.892  3559  3560 W adsprpc : sigverify.c:590:0x10b4:Debug Fuse Enabled -----------> No
05-04 14:34:27.892  3559  3559 D /vendor/bin/calculator: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:651: Error ffffffff: remote handle invoke failed. domain 0, handle ffffffff, sc 20100, pra 0xffd3a660
05-04 14:34:27.892  3559  3560 W adsprpc : sigverify.c:591:0x10b4:Testsig Enabled --------------> No
05-04 14:34:27.892  3559  3560 W adsprpc : sigverify.c:592:0x10b4:Testsig file found -----------> Yes

Thank you!

  • Up0
  • Down0
kshamajayantvete
Join Date: 6 Sep 17
Posts: 9
Posted: Thu, 2018-05-24 03:11

Hi annemaelle.b,

Are you ever managed to resolve this issue? I am facing similar issue with my Application. I am able to run my model in CPU and GPU Runtime but with DSP It is crashing leaving following messege in logcat.

 vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1153: Error 4b: adsp current process handle failed. domain 0

Please guide me if you got the problem.

Regards,

Kshama Vete

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.