This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

error while executing the jpgeTestApp on DM365

Hi all ,

I am getting this errors while executing the jpgeTestApp.c which is located at /home/useracct/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ti/sdo/codecs/jpegenc/apps/Client/Test/Src for DM365

 

root@ELIX1000:/home/release# ./jpgenc-r
RMAN initialization done
VICP Protocol Registration Success
EDMA3 Protocol Registration Success
CMEM Error: init: major version mismatch between interface and driver.
CMEM Error:     needs driver version 0x2200000, got 0x2300000
CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).
CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).
CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).
CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).
CMEM Error: CMEM_exit() already called, check stderr output for earlier CMEM failure messages (possibly version mismatch).

----- Running in base parameter mode -----
Segmentation fault

can anyone help me ?

  • amit pandya said:

    I am getting this errors while executing the jpgeTestApp.c which is located at /home/useracct/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ti/sdo/codecs/jpegenc/apps/Client/Test/Src for DM365

     
    CMEM Error: init: major version mismatch between interface and driver.

    can anyone help me ?

    Have you tried re-building the test app?  I believe this may have been built with an older version of cmemk.ko and hence causing the error above.

  • It appears that you insmod'ed a cmemk.ko that is incompatible with the CMEM user library that you've linked w/ the app (cmemk.ko is newer than the CMEM user lib).  You need to relink the app while "pointing to" (i.e., have the correct LinuxUtils version in your package path XDCPATH) the CMEM user library cmem.a470MV that came with the same package as the cmemk.ko that you're installing.

    Regards,

    - Rob

  • Hi

    Thanks for the help.... Now i am able to build the test application but while executing the test application i am getting following errors...

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    root@ELIX1000:/opt# ./jpgenc-r
    RMAN initialization done
    VICP Protocol Registration Success
    EDMA3 Protocol Registration Success

    ----- Running in base parameter mode -----

    Testcompliance = 0

    Param file = ../TestVecs/Config/Testparams.cfg

    Input file = ../TestVecs/Input/352x288_fruitbasket-cif-420.yuv

    Output file = ../TestVecs/Output/352x288_fruitbasket-cif.jpg

    *******************************************
    Read Configuration Set 1
    *******************************************
    ***************Output file = 233848

    Parameter file read starts...

    Parameter Name 'rstInterval' not recognized..

    Syntax Error in ../TestVecs/Config/Testparams.cfg
     Exiting for this configuration...
    EDMA3 Unregister Protocol Success
    VICP Unregister Protocol : Sucess
    RMAN Exit Done

     End of execution
    -------------------------------------------------------------------------------------------------------------------------------------------------------

    what could be the probable problem ? I am not sure if i have to give any input arguments while running the application.

    i have also kept the TestVecs folder in the required path " ../TestVecs " where the parent directory contains the executable "jpgenc-r"and in ../TestVecs contains the "Config  Input  Output" directories.

    Could you tell me how to resolve this issue?

    Thanks