You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Hughes, Ralph" <RH...@anteon.com> on 2000/06/02 18:24:25 UTC

Segmetation Fault problem

Hello!
I've come upon a strange problem with my Apache/mod_perl configuration.
(Apache v 1.3.9  mod_perl 1.21)
When I attempt to preload Perl modules like FileHandle, Apache::DBI, DBI,
etc., the httpd process gets a segmentation fault and core dumps at startup.
I've tried using the PerlModule directive as well
as a PerlRequire and a startup file with the same results.
 
Here's the strange part.  If I start the server first, then modify the
configuration and *restart* it (not a stop and start) the modules load up
and work fine.
 
Anyone seen anything like this before ??   
Any help would be appreciated!
 
Thanks in advance!

------------------------------------- 
Ralph Hughes                     <ma...@anteon.com>
rhughes@anteon.com
Systems Engineer                     334-260-3200
Anteon Corp.                            DSN 596-5631
Montgomery, AL

 

Re: Segmetation Fault problem

Posted by Michael Todd Glazier <mi...@galli-glazier.com>.
Ralph,

This isn't any help, but this describes the exact same problem I'm 
having. Using your experience I was able to get the module to load 
with a HUP.

I wonder is the dir DBI is in doesn't get put into @INC until 
sometime after startup.pl tries to run? I'll have to experiment with 
that.

- mt


At 12:24 PM -0400 6/2/00, Hughes, Ralph wrote:
>Hello!
>I've come upon a strange problem with my Apache/mod_perl configuration.
>(Apache v 1.3.9  mod_perl 1.21)
>When I attempt to preload Perl modules like FileHandle, Apache::DBI, DBI,
>etc., the httpd process gets a segmentation fault and core dumps at startup.
>I've tried using the PerlModule directive as well
>as a PerlRequire and a startup file with the same results.
>
>Here's the strange part.  If I start the server first, then modify the
>configuration and *restart* it (not a stop and start) the modules load up
>and work fine.
>
>Anyone seen anything like this before ??
>Any help would be appreciated!
>
>Thanks in advance!
>
>-------------------------------------
>Ralph Hughes                     <ma...@anteon.com>
>rhughes@anteon.com
>Systems Engineer                     334-260-3200
>Anteon Corp.                            DSN 596-5631
>Montgomery, AL
>
>