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.

sysbios Heap free failure seen with AUDENC1

Other Parts Discussed in Thread: SYSBIOS

Hi,

We are trying to integrate DSP audio codec using the AUDENC1 interface. The processor SDK used for integration is 02.00.00.

The application hangs during AUDENC1_control call. Following logs are observed on the console,

[      0.000] [t=0x00000009:6cf77343] ti.sysbios.heaps.HeapBuf: ERROR: line 281: assertion failure: A_invalidFree: Invalid free

[      0.000] ti.sysbios.heaps.HeapBuf: line 281: assertion failure: A_invalidFree: Invalid free

[      0.000] xdc.runtime.Error.raise: terminating execution

We tried to analyze the which function is causing this issue, looks like it is occurring in libdce control() call.

The exact line is,

eError = MmRpc_call(MmRpcHandle[coreIdx], &fxnCtx, &fxnRet);

The same DSP audio codec is integrated on other platforms (DM8168 Netra) and we have not seen such problems.

Any pointers to debug the issue would be helpful.

Thank you in advance.

Regards,

Shridhar