Question on GST_DEBUG on gstreamer debugging

Mathieu Duponchelle mathieu at centricular.com
Thu Sep 30 15:03:42 UTC 2021


You should try to collect a stacktrace (GST_DEBUG=6 gdb --args ./My_App, r, bt once the segfault has occurred).

On 9/30/21 3:18 AM, Howling wong via gstreamer-devel wrote:
> Hi
>
> I have written a piece of code and compiled into application and it runs smoothly. I have tried to incorporate Gstreamer native logging system into my code. Currently I am trying out with one or two line of logging either GST_INFO or GST_LOG into the code
>
> However when I run the application with
>
> >>>> GST_DEBUG=6 ./My_App
>
> It will run into segmentation fault at some point in the application. But however if I were to reduce the logging level to below 5, the application seem to run smoothly.
>
> Just wanted some help to throw some ideas on what could go wrong in this case eg compilation of gstreamer library?
>
> Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210930/68bfd740/attachment.htm>


More information about the gstreamer-devel mailing list