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.

IMGENC1_process() hang

Could anyone help me?

I am using DVSDK_3.10.00.19.

I have some problems.

And that is my program blocked in

status = IMGENC1_process(hIe->hEncode, &inBufDesc, &outBufDesc, &inArgs, &outArgs);

And here is debugging log.


@16,369,830us: [+0 T:0x40d04490 S:0x40d03884] XU - XdmUtils_validateExtendedStruct> Enter (pStruct=0x40d03af8, minSize=0x4, name=inArgs
@16,370,209us: [+0 T:0x40d04490 S:0x40d03884] XU - XdmUtils_validateExtendedStruct> return (0x1)
@16,370,568us: [+0 T:0x40d04490 S:0x40d03884] XU - XdmUtils_validateExtendedStruct> Enter (pStruct=0x40d03ae8, minSize=0x10, name=outArgs
@16,370,897us: [+0 T:0x40d04490 S:0x40d03884] XU - XdmUtils_validateExtendedStruct> return (0x1)
@16,371,181us: [+0 T:0x40d04490 S:0x40d038ac] ti.sdo.ce.image1.IMGENC1 - IMGENC1_process> Enter (handle=0x24588, inBufs=0x40d03a24, outBufs=0x40d03960, inArgs=0x40d03af8, outArgs=0x40d03ae8)
@16,371,593us: [+0 T:0x40d04490 S:0x40d0388c] XU - XdmUtils_validateSparseBufDesc1> Enter (bufDesc=0x40d03a24, name=inBufs
@16,372,009us: [+0 T:0x40d04490 S:0x40d0388c] XU - XdmUtils_validateSparseBufDesc1> return (0x1)
@16,372,620us: [+0 T:0x40d04490 S:0x40d0388c] XU - XdmUtils_validateSparseBufDesc1> Enter (bufDesc=0x40d03960, name=outBufs
@16,372,949us: [+0 T:0x40d04490 S:0x40d0388c] XU - XdmUtils_validateSparseBufDesc1> return (0x1)
@16,373,308us: [+5 T:0x40d04490 S:0x40d0388c] CV - VISA_enter(visa=0x24588): algHandle = 0x245c0
@16,373,616us: [+0 T:0x40d04490 S:0x40d0387c] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x245c0)
@16,373,927us: [+0 T:0x40d04490 S:0x40d03844] ti.sdo.ce.osal.SemMP - Entered SemMP_pend> sem[0x242c0] timeout[0xffffffff]
@16,374,286us: [+0 T:0x40d04490 S:0x40d03844] ti.sdo.ce.osal.SemMP - Leaving SemMP_pend> sem[0x242c0] status[0]
@16,374,682us: [+0 T:0x40d04490 S:0x40d0388c] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit <= Blocked Position

Please help me.

Thanks

Justink

  • Justin,

    This log shows that the application is stuck waiting for a response from the codec.  I assume you have a codec server on a DSP core.  You will need to attach CCS and see what is going on in the DSP - is it crashed or looping in the idle loop or halted, or somehing else?

    Regards,

    - Rob