You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Davis, Benjamin" <BD...@lightspan.com> on 2003/05/06 22:58:21 UTC
mod_perl and Image::Magick
It appears that when I use Image::Magick in mod_perl it causes apache to seg
fault... has anyone else seen this?
I did a simple read of a JPG and trying to reduce it's size and it just
dies.
Thanks,
Ben Davis
Re: mod_perl and Image::Magick
Posted by Robert <ro...@robert.cz>.
Davis, Benjamin wrote:
>It appears that when I use Image::Magick in mod_perl it causes apache to seg
>fault... has anyone else seen this?
>
>I did a simple read of a JPG and trying to reduce it's size and it just
>dies.
>
>
It works fine here:
- Linux from scratch perl 5.80, Apache/1.3.27 (Unix) mod_perl/1.27
PHP/4.3.1 mod_ssl/2.8.14 OpenSSL/0.9.7b, latest IM
- RedHat 7.2 with RPM Perl and the rest similar
(Both as DSO)
Eg www.ambassador.cz has menus, title and tumbnails all generated with
IM/freetype.
I had to preload it thou, without preloading it behaved a bit funny
PS I run it with Apache::ImageMagick (highly recommended), but that
should not make any difference
- R.
Re: mod_perl and Image::Magick
Posted by Stas Bekman <st...@stason.org>.
Davis, Benjamin wrote:
> It appears that when I use Image::Magick in mod_perl it causes apache to seg
> fault... has anyone else seen this?
>
> I did a simple read of a JPG and trying to reduce it's size and it just
> dies.
You need to post a backtrace if you can. See:
http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: mod_perl and Image::Magick
Posted by be...@beaucox.com.
On 6 May 2003 at 13:58, Davis, Benjamin wrote:
> It appears that when I use Image::Magick in mod_perl it causes apache to seg
> fault... has anyone else seen this?
>
> I did a simple read of a JPG and trying to reduce it's size and it just
> dies.
>
> Thanks,
>
> Ben Davis
Hi Ben -
I use Image::Magick and Apache (2.0.45)/mod_perl
(1.99 cvs)/mason(1.20) and all is well... All of
the pictures on my site's opening page are
Image::Magick'ed (Raise) - http://beaucox.com
Have you tried it standalone (just in a Perl
script)?
One thing: I cannot, for the life of me, get
the CPAN Image::Magick (Perl interface) to
compile, let alone install, on my system. Using
the SuSE pre-configured module (SuSE 8.1) it
works.
Aloha => Beau;