Hello

I have a problem with PerlMagick, it crashes every time I run the
script. Perl version 5.8.1, ImageMagick/PerlMagick version 6.1.0-3.

A simple test script:

------

#!/usr/local/bin/perl

use threads;
use Image::Magick;

$i=1;
while ($i < 5) {
$t[$i] = threads->new(\&threadtest,$i);

$i++;
}
sleep 6;

sub threadtest()
{
($i) = _;
my $image = Image::Magick->new;
$image->Read("$i.jpg");
}

------


It segfaults on the line $image->Read("$i.jpg");


Can somebody help me? I have tried PerlMagick/ImageMagick v. 6.0.8 with
the same result. Perl and ImageMagick is compiled with thread support.

Thanks!

// Kasper