<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">No offense taken. My suggestion was not regarding GDB, I do agree with its usefulness. My comment was more related to the logs you shared which indicate these pipelines are being run by gst-launch. What I meant was: I would advice<div>against building a project against gst-launch because it lacks the ability of proper error handling. </div><div><div><div><div><div><div><div dir="ltr"><br></div><div dir="ltr"><blockquote type="cite">On 26 Mar 2023, at 13:11, James via gstreamer-devel <gstreamer-devel@lists.freedesktop.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 26 Mar 2023, at 9:06 pm, Nicolas Dufresne via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 24px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class="">Hi James,<br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 25 mars 2023, 23 h 15, James Linder via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a>> a écrit :<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><br class=""><br class="">> On 26 Mar 2023, at 12:18 am, Michael Gruner via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer" class="">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br class="">><span class="Apple-converted-space"> </span><br class="">> gst-launch has the -f or --no_fault option to avoid installing the GDB handler.<br class="">><span class="Apple-converted-space"> </span><br class="">> I don’t know your use case, but in any case gst-launch is just a prototyping tool, not meant for creating products with it.<br class=""><br class="">Dear Michael<br class=""><br class="">gdb and core dump are one of the most useful tools there are<br class="">eg<br class="">12 months after you released a product a customer says “It just disapeared …”<br class="">core and gdb show exactly where not considering 29 Feb causes …<br class=""><br class="">likewise<br class=""><br class="">>> rather than try to launch gdb<br class=""><br class="">Because you are not interested if the fault is a bug in gst or if you’ve done something stupid.<br class=""></blockquote></div></div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Please show some respect, I do think the title is hilarious, but I can understand not everyone have the same level of humour.</div></div></div></blockquote><div><br class=""></div>I started reply "Dear Michael" to try to say no disrespect whatever was intended. If I failed I am sorry</div><div>James</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 24px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="auto" class=""><br class=""></div><div dir="auto" class="">The gdb handler is a developer tool, but disabling is wanted when you use a system core handler (like systemd-coredump).</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Nicolas</div><div dir="auto" class=""><br class=""></div><div dir="auto" class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><br class="">James<span class="Apple-converted-space"> </span><br class=""><br class="">><span class="Apple-converted-space"> </span><br class="">>> On 25 Mar 2023, at 07:05, Justas P via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer" class="">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br class="">>><span class="Apple-converted-space"> </span><br class="">>> <br class="">>> I have a use-case for gstreamer, where sometimes it will SIGSEGV. How can I make the gstreamer process die, rather than try to launch gdb.<br class="">>><span class="Apple-converted-space"> </span><br class="">>> The underlying issue is a noisy USB link to the camera being captured.<br class="">>><span class="Apple-converted-space"> </span><br class="">>> Pipeline is live and does not need PREROLL ...<br class="">>> Pipeline is PREROLLED ...<br class="">>> Setting pipeline to PLAYING ...<br class="">>> New clock: GstSystemClock<br class="">>> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.<br class="">>> Additional debug info:<br class="">>> ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:<br class="">>> streaming stopped, reason not-negotiated (-4)<br class="">>> Execution ended after 0:00:00.001985760<br class="">>> Setting pipeline to NULL ...<br class="">>> Caught SIGSEGV<br class="">>> exec gdb failed: No such file or directory<br class="">>> Spinning. Please run 'gdb gst-launch-1.0 1586' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.<br class="">>> ^C|^\Quit<br class="">>><span class="Apple-converted-space"> </span></blockquote></div></div></div></div></blockquote></div><br class=""></div></blockquote></div></div></div></div></div></div></body></html>