[php-maint] Bug#568349: php5-imagick: Segmentation fault when calling Imagick::writeImage() on a read-only file

Guillaume Delacour gui at iroqwa.org
Tue Sep 14 21:15:24 UTC 2010


Hello,

After some gdb usage and some investigations, i've found that the
problem seems to be in imagemagick when openmp support is enabled at
build time :

http://studio.imagemagick.org/discourse-server/viewtopic.php?f=3&t=14788
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16453&start=0&hilit=openmp+run+time

Rebuilding the imagemagick package without openmp support fix the
problem (see attachment).

I also noted that when the segfault appear, the image was successfully
written and was not corrupted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules_imagemagick_disable_openmp
Type: text/x-patch
Size: 380 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20100914/237706ce/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20100914/237706ce/attachment.pgp>


More information about the pkg-php-maint mailing list