Hi,
Thanks Andreas, Here is the backtrace i get after the coredump :
/dvb/vdr-1.3.27$ gdb vdr core.5516 GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `./vdr -c /etc/vdr3 -Pimage -C /etc/vdr3/plugins/imageplugin.sh'. Program terminated with signal 11, Segmentation fault.
warning: current_sos: Can't read pathname for load map: Erreur d'entrée/sortie
Reading symbols from /usr/lib/libjpeg.so.62...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /lib/tls/libpthread.so.0...done. Loaded symbols for /lib/tls/libpthread.so.0 Reading symbols from /lib/tls/libdl.so.2...done. Loaded symbols for /lib/tls/libdl.so.2 Reading symbols from /usr/lib/libstdc++.so.5...done. Loaded symbols for /usr/lib/libstdc++.so.5 Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /perso/dvb/vdr-1.3.27/PLUGINS/lib/libvdr-image.so.1.3.27...done. Loaded symbols for ./PLUGINS/lib/libvdr-image.so.1.3.27 Reading symbols from /usr/lib/libavcodec.so...done. Loaded symbols for /usr/lib/libavcodec.so Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/libfaad.so.0...done. Loaded symbols for /usr/lib/libfaad.so.0 Reading symbols from /usr/local/lib/libmp3lame.so.0...done. Loaded symbols for /usr/local/lib/libmp3lame.so.0 Reading symbols from /usr/lib/libvorbis.so.0...done. Loaded symbols for /usr/lib/libvorbis.so.0 Reading symbols from /usr/lib/libvorbisenc.so.2...done. Loaded symbols for /usr/lib/libvorbisenc.so.2 Reading symbols from /usr/lib/libogg.so.0...done. Loaded symbols for /usr/lib/libogg.so.0 #0 0xb6b0f2f7 in MPV_common_init_mmx () from /usr/lib/libavcodec.so (gdb) bt #0 0xb6b0f2f7 in MPV_common_init_mmx () from /usr/lib/libavcodec.so #1 0xb69b0fd5 in ff_h263_round_chroma () from /usr/lib/libavcodec.so #2 0xb69ac3b9 in ff_copy_bits () from /usr/lib/libavcodec.so #3 0xb69a8f77 in MPV_encode_picture () from /usr/lib/libavcodec.so #4 0xb69a5058 in avcodec_encode_video () from /usr/lib/libavcodec.so #5 0xb7be1b41 in cEncode::Encode (this=0x9195dcc) at encode.c:280 #6 0xb7be24b9 in cStillImage::Action (this=0x9195da0) at stillimage.c:89 #7 0x08116ad6 in cThread::StartThread (Thread=0x9195da0) at thread.c:233 #8 0xb7faeb63 in start_thread () from /lib/tls/libpthread.so.0 #9 0xb7e6318a in clone () from /lib/tls/libc.so.6
Guy Roussin
___________________________________ NOCC, http://www.teledetection.fr
Moin,
Am Samstag, den 25.06.2005, 23:38 +0000 schrieb Guy Roussin:
Here is the backtrace i get after the coredump :
#0 0xb6b0f2f7 in MPV_common_init_mmx () from /usr/lib/libavcodec.so (gdb) bt #0 0xb6b0f2f7 in MPV_common_init_mmx () from /usr/lib/libavcodec.so #1 0xb69b0fd5 in ff_h263_round_chroma () from /usr/lib/libavcodec.so
the segmentation fault occur on ffmpeg (libavcodec.so)
Current i see two reasons :
1st ) your machine has not mmx support, and ffmpeg are compiled with mmx-support
$ cat /proc/cpuinfo | grep flags => ffmpeg must recompiled
2st ) you have mixed ffmpeg libary versions for compiled und runtime. => the imageplugin should recompiled with static linking
+ build ffmpeg without --enable-shared $ make distclean;./configure --disable-shared;make all + rebuild imageplugin $ make plugins-clean maybe adjust FFMDIR at plugins/src/image/Makefile $ make plugins FFMPEG_STATIC=1
Cu, Andreas