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 in OMX/M3 while streaming and dvr ???

** (<unknown>:21407): CRITICAL **: g_omx_port_allocate_buffers: assertion `port->buffers[i]' failed

unrecoverable error: There were insufficient resources to perform the requested operation (0x80001000)

** (<unknown>:21407): CRITICAL **: g_omx_port_allocate_buffers: assertion `port->buffers[i]' failed

unrecoverable error: There were insufficient resources to perform the requested operation (0x80001000)

** (<unknown>:21407): CRITICAL **: g_omx_port_allocate_buffers: assertion `port->buffers[i]' failed

** (<unknown>:21407): CRITICAL **: g_omx_port_allocate_buffers: assertion `port->buffers[i]' failed

unrecoverable error: There were insufficient resources to perform the requested operation (0x80001000)

** (<unknown>:21407): CRITICAL **: g_omx_port_allocate_buffers: assertion `port->buffers[i]' failed

** (<unknown>:21407): CRITICAL **: g_omx_port_allocate_buffers: assertion `port->buffers[i]' failed

** (<unknown>:21407): CRITICAL **: g_omx_port_allocate_buffers: assertion `port->buffers[i]' failed

unrecoverable error: There were insufficient resources to perform the requested operation (0x80001000)

** (<unknown>:21407): CRITICAL **: g_omx_port_allocate_buffers: assertion `port->buffers[i]' failed

REPLY from Gil

> ** (<unknown>:21407): CRITICAL **: g_omx_port_allocate_buffers: assertion `port->buffers[i]' failed

  There are two places in ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/gst-openmax_GST_DM81XX_00_07_00_00/omx/gstomx_port.c:g_omx_port_allocate_buffers() where g_return_if_fail (port->buffers[i]) will be called.   

  To find out where, I recommend you turn on GStreamer debug:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gst-running.html

  The error code is OMX_ErrorInsufficientResources.

  It may be coming from the OMX_AllocateBuffer() call, which asks the OMX component to allocate a buffer.

  The GST debug may tell which component is making the call, and what buffer size is being requested.