[vdr] Segmentation fault with image plugin

Andreas Brachold ml05 at deltab.de
Sun Jun 26 08:11:55 CEST 2005


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




More information about the vdr mailing list