Bug#496523: gstreamer0.10-ffmpeg_0.10.4.2-1(mips/experimental): FTBFS: ERROR: Caught a segmentation fault

Frank Lichtenheld djpig at debian.org
Thu Aug 28 18:50:59 UTC 2008


On Mon, Aug 25, 2008 at 07:06:41PM +0200, Sebastian Dröge wrote:
> Am Montag, den 25.08.2008, 14:57 +0200 schrieb Frank Lichtenheld:
> > | gst-codec-info-0.10 call failed: 'GST_REGISTRY=/tmp/dh_gstscancodecs.HqOt GST_PLUGIN_SYSTEM_PATH= GST_PLUGIN_PATH=debian/gstreamer0.10-ffmpeg/usr/lib/gstreamer-0.10 gst-codec-info-0.10 debian/gstreamer0.10-ffmpeg/usr/lib/gstreamer-0.10/libgstffmpeg.so debian/gstreamer0.10-ffmpeg/usr/lib/gstreamer-0.10/libgstpostproc.so > /tmp/dh_gstscancodecs.pysX' rc: 256 output: 
> > | ERROR: Caught a segmentation fault while loading plugin file:
> > | debian/gstreamer0.10-ffmpeg/usr/lib/gstreamer-0.10/libgstffmpeg.so
> > | 
> > | Please either:
> > | - remove it and restart.
> > | - run with --gst-disable-segtrap and debug.
> > | Could not initialize GStreamer: Error re-scanning registry , child terminated by signal
> 
> That's most probably a ffmpeg issue.
> 
> Could you get a backtrace of
> 
> GST_REGISTRY_FORK="no" gst-codec-info-0.10
> debian/gstreamer0.10-ffmpeg/usr/lib/gstreamer-0.10/libgstffmpeg.so

Hmm, my first try doesn't seem to do anything useful:

$ gdb /usr/bin/gst-codec-info-0.10 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mips-linux-gnu"...
(gdb) set environment GST_REGISTRY_FORK no 
(gdb) set args debian/gstreamer0.10-ffmpeg/usr/lib/gstreamer-0.10/libgstffmpeg.so
(gdb) run
Starting program: /usr/bin/gst-codec-info-0.10 debian/gstreamer0.10-ffmpeg/usr/lib/gstreamer-0.10/libgstffmpeg.so
[Thread debugging using libthread_db enabled]
[New Thread 0x2aad2770 (LWP 29421)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2aad2770 (LWP 29421)]
av_log_set_callback (callback=0x2b2dcad8)
    at /build/buildd/ffmpeg-debian-0.svn20080206/libavutil/log.c:76
76	/build/buildd/ffmpeg-debian-0.svn20080206/libavutil/log.c: No such file or directory.
	in /build/buildd/ffmpeg-debian-0.svn20080206/libavutil/log.c
(gdb) bt
#0  av_log_set_callback (callback=0x2b2dcad8)
    at /build/buildd/ffmpeg-debian-0.svn20080206/libavutil/log.c:76
#1  0x2b2dc9bc in ?? ()
   from debian/gstreamer0.10-ffmpeg/usr/lib/gstreamer-0.10/libgstffmpeg.so
warning: GDB can't find the start of the function at 0x2b2dc9bb.

    GDB is unable to find the start of the function at 0x2b2dc9bb
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
    This problem is most likely caused by an invalid program counter or
stack pointer.
    However, if you think GDB should simply search farther back
from 0x2b2dc9bb for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) 

Any more suggestions?

Gruesse,
-- 
Frank Lichtenheld <djpig at debian.org>
www: http://www.djpig.de/





More information about the Pkg-gstreamer-maintainers mailing list