GNOME Bugzilla – Bug 680325
gst-ffmpeg plugin cause gst-streamer segmention fault
Last modified: 2012-12-14 00:44:54 UTC
Does someone have the idea about: my gstreamer version has installed successfully: gstreamer-0.10.36 gst-plugins-base-0.10.36 gst-plugins-good-0.10.31 gst-plugins-ugly-0.10.19 but only ffmpeg plugin (gst-ffmpeg-0.10.13) fail ====================================================================== # gst-inspect-0.10 -a do_page_fault() #2: sending SIGSEGV to gst-plugin-scan for invalid read access from 00000000 (epc == 2aea94a8, ra == 2b49a95c) ERROR: Caught a segmentation fault while loading plugin file: /etc/gstreamer-0.10/libgstffmpeg.so Please either: - remove it and restart. - run with --gst-disable-segtrap --gst-disable-registry-fork and debug. do_page_fault() #2: sending SIGSEGV to gst-plugin-scan for invalid read access from 00000000 (epc == 2aea94a8, ra == 2b02195c) ERROR: Caught a segmentation fault while loading plugin file: /etc/gstreamer-0.10/libgstffmpeg.so
If this is on n embedded platform, you probably built it using some wrong options, or not passing some required options. Hard to say without more details. Perhaps try building an upstream version of libav first, and check if that works.
hi, the configure option I used: GST_BASE_CFLAGS=-I/usr/local/../include/gstreamer-0.10 GST_CHECK_CFLAGS=-I/usr/local/../include/gstreamer-0.10 GST_CONTROLLER_CFLAGS=-I/usr/local/../include/gstreamer-0.10 GLIB_CFLAGS="-I/usr/local/../include/glib-2.0 -I/usr/local/../lib/glib-2.0/include" GST_CFLAGS=-I/usr/local/../include/gstreamer-0.10 GST_BASE_CFLAGS=-I/usr/local/../include/gstreamer-0.10 GST_CHECK_CFLAGS=-I/usr/local/../include/gstreamer-0.10 GST_CONTROLLER_CFLAGS=-I/usr/local/../include/gstreamer-0.10 ./configure --build=i686-pc-linux-gnu --host=mips-linux --enable-shared=yes --with-ffmpeg-extra-configure="--prefix=/usr/local/Render_lib_related/bin/.. --disable-ffserver --disable-ffplay --disable-ffmpeg --disable-ffprobe --enable-shared --enable-pic --disable-encoder=flac --disable-decoder=cavs --disable-protocols --disable-network --disable-hwaccels --disable-filters --disable-doc --enable-optimizations --enable-postproc --enable-gpl --enable-cross-compile --target-os=linux --arch=mips --cross-prefix=mips-linux- --disable-yasm --disable-vis --disable-neon --disable-mmi --disable-iwmmxt --disable-armvfp --disable-armv6t2 --disable-armv6 --disable-armv5te --disable-avx --disable-ssse3 --disable-sse --disable-mmx2 --disable-mmx --disable-amd3dnowext --disable-amd3dnow --disable-altivec --disable-demuxers --enable-demuxer=xwma --disable-parsers --disable-protocols --disable-filters --disable-indevs --disable-outdev=oss --disable-outdev=sndio --disable-decoders --enable-decoder=wmv2 --enable-decoder=wmv3 --disable-encoders --disable-hwaccels --disable-muxers --disable-bsfs --disable-protocols --disable-dxva2 --disable-rdft --disable-mdct --disable-lpc --disable-huffman --disable-golomb --disable-fft --disable-swscale-alpha --disable-fastdiv --enable-small --disable-aandct --disable-dct" --prefix=/usr/local And I install libgstffmpeg.so libgstffmpegscale.so to the rootfs under gstreamer plugin path Is there something wrong? Thanks
Hi , Sir, Do you have any idea? the another question : what is : Perhaps try building an upstream version of libav first, and check if that works. Could you explain more detail? Thanks!
> Perhaps try building an upstream version of libav first, and check if that > works. > > Could you explain more detail? libav is a project that provides codecs, gst-libav/gst-ffmpeg then wraps those in GStreamer plugins. All the tricky assembly code etc. is in libav. You should download a libav or ffmpeg tarball, and build that for your target, and make sure the test programs that come with it work. Once you have done that, we know that it works correctly in principle on your target platform.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!