Forums - calculator cannot find file or invalid file descriptor

3 posts / 0 new
Last post
calculator cannot find file or invalid file descriptor
jcdhf0902
Join Date: 20 Apr 17
Posts: 4
Posted: Fri, 2017-04-21 00:06

Hey

I am trying to run the calculator example on the adsp.the step as follows: 

1.run setep_cmd_env.com
2.run "python calculator_walkthrough.py"
run "/vendor/bin/calculator 1 1 1000"  was ok.
when I run "/vendor/bin/calculator 0 1 1000"。
the  output was
- starting calculator test
adspmsgd not supported
- allocate 4000 bytes from ION heap
- creating sequence of numbers from 0 to 999
- compute sum on the DSP
Error: compute on DSP failed"
 
logcat claims:
dsprpc/src/fastrpc_apps_user.c:171::error: -5: 0 == (nErr = dlerr)
dsprpc/src/fastrpc_apps_user.c:174: dlopen error: adspmsgd_adsp cannot find file or invalid file descriptor: fd=:-1
dsprpc/src/fastrpc_apps_user.c:171::error: -5: 0 == (nErr = dlerr)
dsprpc/src/fastrpc_apps_user.c:174: dlopen error: calculator cannot find file or invalid file descriptor: fd=:-1
dsprpc/src/fastrpc_apps_user.c:171::error: -5: 0 == (nErr = dlerr)
dsprpc/src/fastrpc_apps_user.c:174: dlopen error: adspmsgd_adsp cannot find file or invalid file descriptor: fd=:-1
 
the log didn't tell the file name which it needed。I dont know what's going wrong.also I set the "ADSP_LIBRARY_PATH" with the "XXX.so" location.
thanks for any help.
  • Up0
  • Down0
chennak
Join Date: 22 Sep 16
Posts: 78
Posted: Fri, 2017-04-21 05:50

can you please give us minidm logs also ? 

  • Up0
  • Down0
jcdhf0902
Join Date: 20 Apr 17
Posts: 4
Posted: Sun, 2017-04-23 23:58

I used the pixel phone which was rooted. I just run the calculator_walkthrough.py and didn't use minidm.

I also tried to run downscaleBy2, logcat declared signature verify failed.

doesn't the OEM phones or tablets can be use for DSP debug?

  • 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.