videotestsrc get SIGSEGV on 1.6.0 when ORC enabled, ARM platform

Luis de Bethencourt luisbg at osg.samsung.com
Wed Dec 9 03:01:31 PST 2015


Wang M.K. writes:

> Hi, everyone
>
> We recently upgrade gstreamer from 1.4.5 to gstreamer 1.6.0 and we encountered a strange problem.
> Videotestsrc get SIGSEGV sometime by loop following command:
>           gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw,format=I420 ! fakesink
>
> the backtrack is :
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Caught SIGSEGV
> #0  0x76c762c0 in poll () at ../sysdeps/unix/syscall-template.S:81
> #1  0x76d4f854 in g_main_context_iterate (priority=<optimized out>, n_fds=2, fds=0x3a7f78, timeout=-1, context=0x3a7db0)
> #2  0x76d4f854 in g_main_context_iterate (context=0x3a7db0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
> #3  0x76d4fc0c in g_main_loop_run (loop=0x3a7c10)
> #4  0x76ebea34 in gst_bus_poll (bus=bus at entry=0x2a0d48 [GstBus], events=events at entry=GST_MESSAGE_ANY, timeout=<optimized out>)
> #5  0x00013d48 in event_loop (pipeline=0x3a6098 [GstPipeline], blocking=blocking at entry=1, do_progress=2124655120,
> #6  0x00012e94 in main (argc=1993417836, argv=0x46f)
> Spinning.  Please run 'gdb gst-launch-1.0 25103' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
>
> the looping time is not fix, sometime only need loop several times, sometimes need loop several minutes.
>
> But when I disable the ORC, it works fine.
>
> The same problem happens to videoconvert who also use ORC code. When disable ORC, it works.
>
> My platform is ARM A9. Same command loop on PC has no problem.
>
> Is there any bug in 1.6.0 ORC code?
>

Hi Mingke,

It does look like an issue with ORC in ARM. I don't have any ARM dev boards
ready to use for testing at this moment.

Could you please file a bug at?
https://bugzilla.gnome.org/

> Another question: how much performance loss for elements such as videoconvert/audioconvert if I disable ORC ?
>

Yes, you will see a big performance loss. ORC greatly optimizes iterative
processing of frames, which is what videoconvert is doing.

Thanks for sharing this issue,
Luis

>
> Thanks
> Mingke


More information about the gstreamer-devel mailing list