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.

Hang issues with encoder integrated into dvrrdk

Other Parts Discussed in Thread: SYSBIOS

Hi,

We are trying to integrate mpeg2 encoder into DVRRDK. But we are observing some hang issues in mpeg2 encoder's process call during coexistence (specifically when avc encoder's process call is followed by mpeg2 encoder process call).

We observed that at the time of codec hang :

Program counter on M3 points to ti_sysbios_hal_Hwi_checkStack

Link register(ie, calling function) points to ti_sysbios_knl_Idle_loop__E.

Stack pointer points to address 0x3CDAF2C8 (which is almost towards the end of ti_sysbios_knl_Task_Instance_State_0_stack__A : starts at 0x3cdab300 and end at 3cdaf2ff )

Does the execution of ti_sysbios_hal_Hwi_checkStack signify stack corruption? If not, what could the possible reason be for execution of this function at the time of hang?

Regards,

Ranjit

  • By default, the kernel checks stacks in idle. It sees if they are overflowed. If they are, an error occurs. So it looks like you just happen to stop the target during a check. If they is nothing going on in the system and you halt the target, the likelihood of being in this function is pretty high.

    Look at ROV to see the status of the Tasks in your system. I expect they will be blocked on something (except Idle).

    Todd