Why Is PerlMagick Causing a Segmentation Fault

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
burgerguy

Why Is PerlMagick Causing a Segmentation Fault

Post by burgerguy »

I'm running ImageMagick 6.2.6 Q16, PerlMagick 6.2.6 on Perl 5.8.8. Scripts that ran on my old server are causing a segmentation fault and core dump by the second PM-specific line.

Here's some code...

Code: Select all

#!/usr/local/bin/perl -W
print "fault point 0 \n";
  use Image::Magick;
print "fault point 0.5 \n";
  my $im = Image::Magick->new(size => '299x450', background => 'white');
print "fault point 1.0 \n";
  my $rc = $im->Read('xc:white');
print "fault point 1.1 \n";
Here's the output...

Code: Select all

fault point 0 
fault point 0.5 
fault point 1.0 
Segmentation fault (core dumped)
The same code ran fine on my older server. Any idea what is causing this and how I can solve it?
Post Reply