<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
You should try to collect a stacktrace (GST_DEBUG=6 gdb --args
./My_App, r, bt once the segfault has occurred).<br>
<br>
<div class="moz-cite-prefix">On 9/30/21 3:18 AM, Howling wong via
gstreamer-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:SI2PR02MB48127492FB94638AFE69E927CBAA9@SI2PR02MB4812.apcprd02.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hi</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
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</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
However when I run the application with <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
>>>> GST_DEBUG=6 ./My_App</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Just wanted some help to throw some ideas on what could go wrong
in this case eg compilation of gstreamer library?
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Regards<br>
</div>
</blockquote>
</body>
</html>