jeteve has asked for the wisdom of the Perl Monks concerning the following question:

Hi all I got a mason component in wich i'd like to use the GD library. Putting that single line in my component leads to a server segmentation fault:
% use GD ; The error line (apache): [Tue Jun 28 11:57:57 2005] [notice] child pid 18777 exit signal Segmen +tation fault (11) My apache line: Apache/2.0.50 (Unix) DAV/2 mod_perl/1.999.20 Perl/v5.8.0 Server at myH +ost Port 9000 mason : 1.27 libgd : 2.0.28 GD : 2.19 gcc: gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) kernel : 2.4.20-8smp
GD is working fine within a simple perl script, so I guess this have to do with a mod_perl incompatibility or thing like that. Does anybody has such a problem ? Thanks !!
Nice photos of naked perl sources here !

Replies are listed 'Best First'.
Re: GD mason mod_perl and segmentation fault
by fmerges (Chaplain) on Jun 28, 2005 at 13:28 UTC
      After spending a lot of time on the subject, I found it's a known apache bug:
      https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112742
      Nice photos of naked perl sources here !

        Hi again,

        A TIP, don't use the precompiled apache + mod_perl packages that comes with RedHat. On this linux distribution is better to take and compile from the sources, that's what the O'Reilly book about mod_perl says.

        I'm a Debian user (don't want to do marketing) but I never had problems with the precompiled packages that comes with.

        Regards,

        :)