videotestsrc get SIGSEGV on 1.6.0 when ORC enabled, ARM platform

Wang M.K. mingke.wang at freescale.com
Wed Dec 9 22:43:34 PST 2015


By further investigation, problem should comes from video-orc.orc since videotestsrc and videoconvert both use it.
Just compiling gst-libs/gst/video with DISABLE_ORC, then both videotestsrc and videoconvert work fine.

Upgrade to Gstreamer 1.6.1 + liborc-0.4.24 helps nothing.

A bug was filed at https://bugzilla.gnome.org/show_bug.cgi?id=759286

Mingke

-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Luis de Bethencourt
Sent: Wednesday, December 09, 2015 7:02 PM
To: Discussion of the development of and with GStreamer
Subject: Re: videotestsrc get SIGSEGV on 1.6.0 when ORC enabled, ARM platform


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
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list