Hi Narayanan,
Thank you for your quickly reply.
But it didn't create new layout because the exception occured before creating new layout and swms output buffer.
As the code show:
Int32 SwMsLink_drvCreate(SwMsLink_Obj * pObj, SwMsLink_CreateParams * pPrm)
{
Semaphore_Params semParams;
Clock_Params clockParams;
UInt32 winId;
Int32 status;
UInt32 i, j;
Bool vip0Exist = FALSE;
Bool sc5Exist = FALSE;
#ifdef TI_816X_BUILD
Vps_PlatformCpuRev cpuRev;
UInt32 chId;
#endif
#ifdef SYSTEM_DEBUG_SWMS
Vps_printf(" %d: SWMS-%d: Create in progress !!!\n", Utils_getCurTimeInMsec(), GET_MP_ID(pObj));
#endif
memStatsDebug = TRUE;
UTILS_MEMLOG_USED_START(); /* This is the place that exception occured, no buffer is created here */
SwMsLink_drvResetAvgStatistics(pObj);
pObj->inFramePutCount = 0;
pObj->inFrameGetCount = 0;
pObj->frameCount = 0;
pObj->totalTime = 0;
pObj->skipProcessing = 0;
pObj->switchLayout = FALSE;
pObj->rtParamUpdate = FALSE;
pObj->vipLockRequired = FALSE;
pObj->enableBufCopy = TRUE;
...
I also check SR2(When exception occured, Memory_getStats was working on SR2 handle),
There was more than 160MB free memory.
Thank you!
B.R.