videotestsrc get SIGSEGV on 1.6.0 when ORC enabled, ARM platform

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

videotestsrc get SIGSEGV on 1.6.0 when ORC enabled, ARM platform

Wang M.K.

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@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)

#3  0x76d4fc0c in g_main_loop_run (loop=0x3a7c10)

#4  0x76ebea34 in gst_bus_poll (bus=bus@entry=0x2a0d48 [GstBus], events=events@entry=GST_MESSAGE_ANY, timeout=<optimized out>)

#5  0x00013d48 in event_loop (pipeline=0x3a6098 [GstPipeline], blocking=blocking@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?

 

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

 

 

Thanks

Mingke


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: videotestsrc get SIGSEGV on 1.6.0 when ORC enabled, ARM platform

Luis de Bethencourt-4

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@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
> #3  0x76d4fc0c in g_main_loop_run (loop=0x3a7c10)
> #4  0x76ebea34 in gst_bus_poll (bus=bus@entry=0x2a0d48 [GstBus], events=events@entry=GST_MESSAGE_ANY, timeout=<optimized out>)
> #5  0x00013d48 in event_loop (pipeline=0x3a6098 [GstPipeline], blocking=blocking@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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: videotestsrc get SIGSEGV on 1.6.0 when ORC enabled, ARM platform

Nicolas Dufresne-3
In reply to this post by Wang M.K.
Le mercredi 09 décembre 2015 à 08:28 +0000, Wang M.K. a écrit :
> Is there any bug in 1.6.0 ORC code?

Because ORC 1.6.0 does not exist, would be possible to specify what
version or ORC you have built ?

cheers,
Nicolas

p.s. I'm currently using latest GStreamer 1.6.1 with ORC 0.4.24 on an
A5 processor without issues.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: videotestsrc get SIGSEGV on 1.6.0 when ORC enabled, ARM platform

Wang M.K.
Oh, sorry, I meant the orc source in Gstreamer 1.6.0 and the orc lib version is 0.4.23.

I can try Gstreamer 1.6.1 with ORC 0.4.24.

Mingke

-----Original Message-----
From: gstreamer-devel [mailto:[hidden email]] On Behalf Of Nicolas Dufresne
Sent: Thursday, December 10, 2015 3:58 AM
To: Discussion of the development of and with GStreamer
Subject: Re: videotestsrc get SIGSEGV on 1.6.0 when ORC enabled, ARM platform

Le mercredi 09 décembre 2015 à 08:28 +0000, Wang M.K. a écrit :
> Is there any bug in 1.6.0 ORC code?

Because ORC 1.6.0 does not exist, would be possible to specify what version or ORC you have built ?

cheers,
Nicolas

p.s. I'm currently using latest GStreamer 1.6.1 with ORC 0.4.24 on an
A5 processor without issues.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: videotestsrc get SIGSEGV on 1.6.0 when ORC enabled, ARM platform

Wang M.K.
In reply to this post by Luis de Bethencourt-4
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:[hidden email]] 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@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
> #3  0x76d4fc0c in g_main_loop_run (loop=0x3a7c10)
> #4  0x76ebea34 in gst_bus_poll (bus=bus@entry=0x2a0d48 [GstBus],
> events=events@entry=GST_MESSAGE_ANY, timeout=<optimized out>)
> #5  0x00013d48 in event_loop (pipeline=0x3a6098 [GstPipeline],
> blocking=blocking@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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel