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.

Memory Leak DVR RDK

Other Parts Discussed in Thread: DM385

Hi,

i have a Problem which was found during a Long time test.

I use the DVR RDK 04.00.00.04 with a DM385 Video Processor. The Long term Test was just start and stop the Video chain in a Loop which creates the links and deletes the links on stop. After ~900 cycles, the System Asserts with the following message. It is always after 900 cytles plus minus 10 cycles.

 ASSERT (system_ipc_listMP.c|System_ipcListMPAllocListElemMem|213)

There is a Alloc_Memory function in that file which return just NULL which cause the Assertion.

Is there a bug in the DVR RDK or is there anybody who have the same issue? How can I debug that.

 

System log:

[    1806.300151][ASC ] #CMD## is "VIDEO.stop"
[    1806.300296][ASC ] Do command 'VIDEO.stop' array_index=0 E
[    1806.300325][ASC ] ASC_stop
[    1806.300344][ASC ] Stopping Audio Encoder
[    1806.300362][ASC ] Stopping Threads
[    1806.300376][ASC ] Stopping Links

 [host]  1799255: IPC_BITS_IN   : Stop Done !!!
[    1806.305495][ASC ] Destryoing Semaphore
[    1806.305515][ASC ] Destroying Links

 [host] 1799255: IPCBITSIN:Link[3000001a]:
 [host] RECV:6  FREE:0,DROPPED:0,AVGLATENCY:0,AVG_APP_CB_TIME:0
 [host]  1799255: IPC_BITS_IN   : Delete in progress !!!

 [host]  1799256: IPC_BITS_IN   : Delete Done !!!
[    1806.315939][ASC ] System Deinint
 1799265: SYSTEM: System Common De-Init in progress !!!

 [host] OSA_tskDelete:In progress...
 [host] OSA_tskDelete:In progress...
 [host] OSA_tskDelete:In progress...
 [host] OSA_tskDelete:In progress

 [host] OSA_tskDelete:In progress

 [host] OSA_tskDelete:In progress...
 [host] OSA_tskDelete:In progress...
 [host] OSA_tskDelete:In progress

 [host] OSA_tskDelete:In progress

 [host] OSA_tskDelete:In progress
 1799271: SYSTEM: IPC de-init in progress !!!
 1799277: SYSTEM: IPC de-init DONE !!!
 1799277: SYSTEM: System Common De-Init Done !!!


[    1809.310160][ASC ] #CMD## is "VIDEO.start"
[    1809.310295][ASC ] Do command 'VIDEO.start' array_index=0 E
[    1809.310394][ASC ] ASC_start
[    1809.310419][ASC ] Set FPGA Video Mode
[    1809.310436][ASC ] ---I: ASC_start: video format is:1280x720p60
[    1809.310624][ASC ] captureID        =0x20000021
[    1809.310640][ASC ] nsfID            =0x20000022
[    1809.310656][ASC ] deiID            =0x00000000
[    1809.310671][ASC ] sclrID           =0x20000034
[    1809.310686][ASC ] ipcOutVpssId     =0x20000000
[    1809.310702][ASC ] ipcInVideoId     =0x10000002
[    1809.310717][ASC ] encId            =0x10000021
[    1809.310732][ASC ] ipcBitsOutVideoId=0x10000018
[    1809.310748][ASC ] ipcBitsInHostId  =0x3000001a
[    1809.310763][ASC ] System Init
 1802260: SYSTEM: System Common Init in progress !!!
 1802260: SYSTEM: IPC init in progress !!!
 1802270: SYSTEM: CPU [DSP] is NOT available on this platform !!!
 1802270: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [0] !!!
 1802270: SYSTEM: CPU [VPSS-M3] syslink proc ID is [1] !!!
 1802270: SYSTEM: CPU [HOST] syslink proc ID is [2] !!!
 1802270: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
 1802274: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
 1802277: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
 1802279: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
 1802280: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
 1802281: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
 1802282: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
 1802283: SYSTEM: IPC init DONE !!!
 1802285: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
 1802288: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
 1802290: SYSTEM: ListElem Shared Addr = 0x42761a80
 1802292: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
 1802295: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
 1802298: SYSTEM: ListElem Shared Addr = 0x427a3880
 1802300: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
 1802303: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
 1802306: SYSTEM: ListElem Shared Addr = 0x42828f00
 1802307: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
 1802311: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
 1802313: SYSTEM: ListElem Shared Addr = 0x4286bc00
 1802315: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
 1802318: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
 ASSERT (system_ipc_listMP.c|System_ipcListMPAllocListElemMem|213)

Regards

Andy