[gst-embedded] Segmentation fault when running gst-inspect

Michael Smith msmith at xiph.org
Tue Jan 6 11:04:17 PST 2009


On Tue, Jan 6, 2009 at 1:30 AM, Nigel Hsiung <nigelcz at hotmail.com> wrote:
> Hi list,
>
> I crosscompiled gstreamer from source for mipsel-linux. It builds without
> any problem, but gst-inspect segmentation faults when i run it on the target
> (via nfs).
>
> $ ./gst_feedback-0.10
>
> +   GSTREAMER INFORMATION (0.10)
> +++ which gst-inspect-0.10
> /root/smp8634/dfb_install/bin/gst-inspect-0.10
> +++ gst-inspect-0.10
> Segmentation fault

So when this sort of thing happens, you should set
GST_REGISTRY_FORK=no (to avoid extra complexity of tracing child
processes), then run it in a debugger.

That'll let you see which plugin/element is causing the crash.

If you don't have a debugger, then you're probably doomed. However,
you could try running with GST_DEBUG=5, and see what the last output
is before the crash - it'll at least give you some idea what's going
wrong, most likely.


Mike




More information about the Gstreamer-embedded mailing list