From this bug report on Debian http://bugs.debian.org/351604:
I can reproduce it with Perl 5.8.8 and ImageMagick 6.3.7-9The following script makes perl segfault:
Code: Select all
use Image::Magick; my $img = Image::Magick->new; $img->Read('foo.jpeg'); # foo.jpeg exists $img = $img->[0]; $img->QueryMultilineFontMetrics(text=>"foo bar");
gdb output is:
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa7dc68c0 (LWP 20551)]
0xa7c3eb8f in XS_Image__Magick_QueryMultilineFontMetrics () from /usr/lib/perl5/auto/Image/Magick/Magick.so
(gdb) bt
#0 0xa7c3eb8f in XS_Image__Magick_QueryMultilineFontMetrics () from /usr/lib/perl5/auto/Image/Magick/Magick.so
#1 0x080c0923 in Perl_pp_entersub ()
#2 0x080bf2fb in Perl_runops_standard ()
#3 0x0806721b in perl_run ()
#4 0x08063752 in main ()
Thank you!