[php-maint] Bug#600783: php5-ffmpeg: Segfault when using toGDImage
bodik
bodik at civ.zcu.cz
Fri Jun 17 08:57:27 UTC 2011
Hello,
yesterday we have encountered exacly the same problem. We found that using
php5-ffmpeg from debian build segfaults in toGDImage. while googleing we derived
this workaround, which is basically only rebuild of debian sources, with minor
change in source code, probably due to name refactoring of some constat
cd /tmp
rm -fr ffmpeg*
aptitude purge php5-ffmpeg
apt-get source php5-ffmpeg
rm -rf ffmpeg-php-0.6.0/
dpkg-source -x ffmpeg-php_0.6.0-2.dsc
cd ffmpeg-php-0.6.0
#http://ubuntuforums.org/showpost.php?p=7022607&postcount=8
vi ffmpeg_frame.c
:%s/PIX_FMT_RGBA32/PIX_FMT_RGB32
:w
:q!
dpkg-buildpackage
cd ..
but anyway, we were unable to build pure debian sources, without that vi fix ;((
anycase, crashing could be somehow related to ffmpeg itself or dynamic linking,
because we'r not using squeezes builds but other builds with mp3 codec enabled from:
deb http://www.debian-multimedia.org squeeze main non-free
Also we can provide you with our test case ...
Best regards
Radoslav Bodo
-----------------------------------------
ii ffmpeg 5:0.6.1+svn20101128-0.2
ii libapache2-mod-php5 5.3.3-7+squeeze1
ii libavcodec52 5:0.6.1+svn20101128-0.2
ii libavcore0 5:0.6.1+svn20101128-0.2
ii libavdevice52 5:0.6.1+svn20101128-0.2
ii libavfilter1 5:0.6.1+svn20101128-0.2
ii libavformat52 5:0.6.1+svn20101128-0.2
ii libavutil50 5:0.6.1+svn20101128-0.2
ii libswscale0 5:0.6.1+svn20101128-0.2
ii php-pear 5.3.3-7+squeeze1
ii php5-cgi 5.3.3-7+squeeze1
ii php5-cli 5.3.3-7+squeeze1
ii php5-common 5.3.3-7+squeeze1
ii php5-curl 5.3.3-7+squeeze1
ii php5-dev 5.3.3-7+squeeze1
ii php5-ffmpeg 0.6.0-2
ii php5-gd 5.3.3-7+squeeze1
ii php5-imap 5.3.3-7+squeeze1
ii php5-mcrypt 5.3.3-7+squeeze1
ii php5-mysql 5.3.3-7+squeeze1
ii php5-suhosin 0.9.32.1-1
ii phpmyadmin 4:3.3.7-5
More information about the pkg-php-maint
mailing list