After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 680325 - gst-ffmpeg plugin cause gst-streamer segmention fault
gst-ffmpeg plugin cause gst-streamer segmention fault
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-20 15:44 UTC by soho123.2012
Modified: 2012-12-14 00:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description soho123.2012 2012-07-20 15:44:24 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
Comment 1 Tim-Philipp Müller 2012-07-21 09:15:47 UTC
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.
Comment 2 soho123.2012 2012-07-23 06:03:46 UTC
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
Comment 3 soho123.2012 2012-07-24 15:42:42 UTC
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!
Comment 4 Tim-Philipp Müller 2012-10-17 08:50:36 UTC
> 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.
Comment 5 Tim-Philipp Müller 2012-12-14 00:44:54 UTC
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!