how can i build a debug (non optimized version) of gstreamer though cerbero?

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

how can i build a debug (non optimized version) of gstreamer though cerbero?

fvanzile
how can i build a debug (non optimized version) of gstreamer though cerbero?

I am working on a mac app that uses gstreamer to show 8-10 rtp streams (ip cameras).  I am getting random memory crashes/corruption.  I would like to build a full debug version of gstreamer and all it's components with cerbero.  How can I build a debug (non optimized version)?  Also, any hints on how to find the memory corruption in the gstreamer pipelines would be great.  

thank you
Frank
Reply | Threaded
Open this post in threaded view
|

Re: how can i build a debug (non optimized version) of gstreamer though cerbero?

Sebastian Dröge-3
On Wed, 2017-01-04 at 10:12 -0800, fvanzile wrote:
> how can i build a debug (non optimized version) of gstreamer though cerbero?
>
> I am working on a mac app that uses gstreamer to show 8-10 rtp streams (ip
> cameras).  I am getting random memory crashes/corruption.  I would like to
> build a full debug version of gstreamer and all it's components with
> cerbero.  How can I build a debug (non optimized version)?  Also, any hints
> on how to find the memory corruption in the gstreamer pipelines would be
> great.  

You could modify the CFLAGS in config/darwin.config from -O2 -g to -O0
-g. That should give you an unoptimized debug build.

But even without that, the debug symbols should all be there and are
usually enough to track down problems. Use a debugger and something
like valgrind to track down the problem, and also try to make your
pipeline as minimal as possible (remove unneeded elements, etc).


If you can, also share some more details here like a testcase that can
reproduce it or the backtrace of the crash.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment