[FFmpeg-user] *** glibc detected *** ffprobe: double free or corruption (fasttop): 0x0806f170 ***

Albretch Mueller lbrtchx at gmail.com
Mon Dec 19 03:07:02 CET 2011


~
 those were the two files dumping core
~
 http://samples.mplayerhq.hu/V-codecs/MJPEGs/grayscale/
~
 I think they, as test files, do dump core
~
 About a clean installation of ffmpeg, I am using the following script:
~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~
#!/bin/bash

echo "// __ whoami: "$(whoami)

echo "// __ ls -l \$0"
ls -l $0

# DATE
_DT="$(date +%Y%m%d%H%M%S)"
echo "// __ _DT: "${_DT}

_INST_DIR="/media/sdc1/_/sda1/prjx/ffmpeg/git_clone/ffmpeg"
_LOGS_DIR="/media/sdc1/_/sda1/prjx/ffmpeg"
_LOG_FL=${_LOGS_DIR}"/ffmpeg_inst_"${_DT}".log.txt"

echo "// __ logging to: "${_LOG_FL}

_PRFX="/media/sdc1/inst/sw/ffmpeg/"
_ARCH="i386"
_CPU="686"

${_INST_DIR}"/"configure --prefix=${_PRFX}  --arch=${_ARCH}  --cpu=${_CPU}  \
 --enable-libdirac  \
 --enable-libmp3lame  \
 --enable-librtmp  \
 --enable-libx264  \
 --enable-libxvid  \
 --enable-libdc1394  \
 --enable-libgsm  \
 --enable-libschroedinger  \
 --enable-libspeex  \
 --enable-libtheora  \
 --enable-libvorbis  \
 --enable-zlib  \
 --enable-bzlib  \
 --enable-libopenjpeg  \
 --enable-vdpau  \
 --enable-pthreads  \
 --enable-libvpx  \
 --enable-runtime-cpudetect  \
 --enable-gpl  \
 --enable-version3  \
 --enable-postproc  \
 --enable-swscale  \
 --enable-x11grab  \
 --disable-network  \
 --disable-doc  \
 --disable-ffmpeg  \
 --disable-ffplay  \
 --disable-static  \
 --disable-optimizations  \
 --disable-static  \
 --enable-shared  \
 --disable-stripping  \
 --disable-mmx  \
 --disable-mmx2  \
 --disable-ssse3  \
 --enable-debug=3  \
 --samples=${_LOGS_DIR} > ${_LOG_FL} 2>&1

make >> ${_LOG_FL} 2>&1

make install >> ${_LOG_FL} 2>&1

ls -l ${_LOG_FL}

tail -n 15 ${_LOG_FL}
~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~
 and what conifg.log is telling me is:
~
$ tail -n 16 config.log
    3	int main(void){ return (int) foo; }
END /tmp/ffconf.rw0dhMDg.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -pthread -c -o
/tmp/ffconf.fsJ2QOWh.o /tmp/ffconf.rw0dhMDg.c
gcc -Wl,--as-needed -o /tmp/ffconf.FyKzn4aa /tmp/ffconf.fsJ2QOWh.o -lm
-pthread -lz
check_mathfunc truncf
check_ld cc
check_cc
BEGIN /tmp/ffconf.rw0dhMDg.c
    1	#include <math.h>
    2	float foo(float f) { return truncf(f); }
    3	int main(void){ return (int) foo; }
END /tmp/ffconf.rw0dhMDg.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -pthread -c -o
/tmp/ffconf.fsJ2QOWh.o /tmp/ffconf.rw0dhMDg.c
gcc -Wl,--as-needed -o /tmp/ffconf.FyKzn4aa /tmp/ffconf.fsJ2QOWh.o -lm
-pthread -lz
check_pkg_config libdc1394-2 dc1394/dc1394.h dc1394_new
ERROR: libdc1394-2 not found
~
 and the log file I use:
~
$ cat /media/sdc1/_/sda1/prjx/ffmpeg/ffmpeg_inst_20111218205614.log.txtERROR:
libdc1394-2 not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
INSTALL	install-progs-yes
INSTALL	ffmpeg
INSTALL	ffprobe
INSTALL	ffserver
install: omitting directory `ffmpeg'
make: *** [install-progs] Error 1
~
 So what should I do?
~
 lbrtchx


More information about the ffmpeg-user mailing list