Internal Data Flow Error on udpsrc

George Demetriades gdemetriades at friendmts.co.uk
Tue Jul 23 07:50:58 PDT 2013


Hi Tim, thanks for the response.

I've rerun the program with the GST_DEBUG you suggested, and grepping for
"error" shows a few interesting messages that I'm not sure about:

0:00:00.350790834  7901      0x2d87600 LOG       GST_PLUGIN_LOADING
gstplugin.c:1647:gst_plugin_ext_dep_scan_path_with_filenames:<plugin135>
stat: /home/fmadmin/.libvisual/actor (error: No such file or directory)
0:00:00.350812126  7901      0x2d87600 LOG       GST_PLUGIN_LOADING
gstplugin.c:1647:gst_plugin_ext_dep_scan_path_with_filenames:<plugin135>
stat: /opt/gstreamer-sdk/lib/libvisual-0.4/actor (error: No such file or
directory)

The following line gets repeated a lot:
0:00:00.351197969  7901      0x2d87600 DEBUG               GST_POLL
gstpoll.c:1069:gst_poll_fd_has_error: 0x2d831e0: fd (fd:12, idx:2)

The following two lines get repeated a very large amount of times:
0:07:25.299723375  7901      0x2f8c290 LOG           GST_SCHEDULING
gstpad.c:4720:gst_pad_push:<flutsdemux:video_0044> called chainfunction
&gst_queue_chain with buffer 0x7fd1c40c1ab0, returned error
0:07:25.299924914  7901      0x2f8c290 LOG           queue_dataflow
gstqueue.c:1061:gst_queue_chain:<vidQ> exit because task paused, reason:
error

And finally, the grepped output ends with the following:
0:07:26.356128303  7901      0x2f8c290 INFO                 basesrc
gstbasesrc.c:2570:gst_base_src_loop:<udpSrc> pausing after gst_pad_push() =
error
0:07:26.356135057  7901      0x2f8c290 DEBUG                basesrc
gstbasesrc.c:2596:gst_base_src_loop:<udpSrc> pausing task, reason error
0:07:26.356199423  7901      0x2f8c290 WARN                 basesrc
gstbasesrc.c:2633:gst_base_src_loop:<udpSrc> error: Internal data flow
error.
0:07:26.356206222  7901      0x2f8c290 WARN                 basesrc
gstbasesrc.c:2633:gst_base_src_loop:<udpSrc> error: streaming task paused,
reason error (-5)
0:07:26.356239714  7901      0x2f8c290 INFO        GST_ERROR_SYSTEM
gstelement.c:1983:gst_element_message_full:<udpSrc> posting message:
Internal data flow error.
0:07:26.356261741  7901      0x2f8c290 LOG              GST_MESSAGE
gstmessage.c:274:gst_message_new_custom: source udpSrc: creating new
message 0x2f96180 error
0:07:26.356270852  7901      0x2f8c290 DEBUG                GST_BUS
gstbus.c:308:gst_bus_post:<bus0> [msg 0x2f96180] posting on bus, type
error, GstMessageError, gerror=(GError)NULL,
debug=(string)"gstbasesrc.c\(2633\):\ gst_base_src_loop\ \(\):\
/GstPipeline:udp\ gst\ pipeline/GstUDPSrc:udpSrc:\012streaming\ task\
paused\,\ reason\ error\ \(-5\)"; from source <udpSrc>
0:07:26.356299532  7901      0x2f8c290 DEBUG                    bin
gstbin.c:3164:gst_bin_handle_message_func:<udp gst pipeline> [msg
0x2f96180] handling child udpSrc message of type error
0:07:26.356320990  7901      0x2f8c290 DEBUG                GST_BUS
gstbus.c:308:gst_bus_post:<bus1> [msg 0x2f96180] posting on bus, type
error, GstMessageError, gerror=(GError)NULL,
debug=(string)"gstbasesrc.c\(2633\):\ gst_base_src_loop\ \(\):\
/GstPipeline:udp\ gst\ pipeline/GstUDPSrc:udpSrc:\012streaming\ task\
paused\,\ reason\ error\ \(-5\)"; from source <udpSrc>
0:07:26.356370014  7901      0x2d87600 DEBUG                GST_BUS
gstbus.c:500:gst_bus_timed_pop_filtered:<bus1> got message 0x2f96180, error
from udpSrc, type mask is 3
Error received from element udpSrc: Internal data flow error.
streaming task paused, reason error (-5)
0:07:26.356409308  7901      0x2d87600 LOG              GST_MESSAGE
gstmessage.c:195:gst_message_finalize: finalize message 0x2f96180, error
from udpSrc


I've had a look through, and I can't see any glaring clues as to why the
program is dying. Would you be able to suggest a course of action?

Many thanks,
George


On 23 July 2013 09:40, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> On Mon, 2013-07-22 at 10:17 +0100, George Demetriades wrote:
>
> Hi,
>
> > I'm currently trying to write an application using the SDK to pull in
> > a multicast stream, demux the video and audio and then decode each
> > separately before sending the raw info to two separate appsink. My
> > problem is that the program will run for a few minutes before
> > gstreamer itself will crash with the following message:
> >
> > Error received from element udpSrc: Internal data flow error.
> > Debugging information: gstbasesrc.c(2633): gst_base_src_loop
> > (): /GstPipeline:udp gstpipeline/GstUDPSrc:udpSrc:
> > streaming task paused, reason error (-5)
>
> Make a GST_DEBUG=*:5 log and see if you can spot where the error comes
> from (with 'grep -B20 error dbg.log' or so). Something should have
> posted a proper error message on the bus, but didn't apparently.
>
> > Along with this crash, I've also noticed that the program as a whole
> > will slowly take up more and more memory (to the point of sometimes
> > being "Killed" by the linux kernal itself) - could anyone recommend a
> > way to stop gstreamer taking up so much memory? Is there any way to
> > see where that memory is being allocated?
>
> Something must be leaking or building up large caches. If it runs out of
> memory quite fast, that might be an indication that you're leaking raw
> video buffers, for example.
>
> Cheers
>  -Tim
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130723/66692665/attachment-0001.html>


More information about the gstreamer-devel mailing list