Hi,
I try to debug a segmentation fault with the image plugin. I use debian sid, vdr 1.3.27 (vanilla) and image plugin 0.2.3 i compile vdr and plugins with : make all plugins VFAT=1 REMOTE=LIRC i also try with make all plugins VFAT=1 REMOTE=LIRC FFMPEG_STATIC=1 and ffmpeg 0.4.8
But, when i want to play picture, i always get :
/dvb/vdr-1.3.27$ ./vdr -c /etc/vdr3 -P'image -C /etc/vdr3/plugins/imageplugin.sh' imageplugin.sh: called 'imageplugin.sh /perso/photo/cdr03/025/PICT0001.JPG /tmp/image/VW9QPn4.pnm 688 544 0 0 0' imageplugin.sh: jpegtopnm: WRITING PPM FILE imageplugin.sh: Success! Stopped with created /tmp/image/VW9QPn4.pnm Erreur de segmentation
There is some tips to debug this segmentation fault ?
Thanks
Guy Roussin
___________________________________ NOCC, http://www.teledetection.fr
Guy Roussin wrote:
Hi,
I try to debug a segmentation fault with the image plugin. I use debian sid, vdr 1.3.27 (vanilla) and image plugin 0.2.3 i compile vdr and plugins with : make all plugins VFAT=1 REMOTE=LIRC i also try with make all plugins VFAT=1 REMOTE=LIRC FFMPEG_STATIC=1 and ffmpeg 0.4.8
I cannot help on how to debug the segmentation fault, but I can say that with the same versions of everything (albeit on mandrake 10.0 and a heavily patched vdr --but nothing that has anything to do with the image plugin--) it works here.
Hi,
Am Samstag, den 25.06.2005, 09:48 +0000 schrieb Guy Roussin:
I try to debug a segmentation fault with the image plugin. There is some tips to debug this segmentation fault ?
You could generate a stack backtrace from coredump, with ulimit and gdb. With this stack backtrace should we able locate source of the segmentation fault.
Look here for a gdb mini intro : http://linux.bytesex.org/gdb.html
Please include debugging symbols to your vdr, before a coredump will reproduced. Also a matter of particular interest a content of all variables at crashed point.
I have posted similar mail here : http://www.linuxtv.org/pipermail/vdr/2005-June/003203.html
Cu, Andreas