[ModPerl causing segfaults]

2002-04-11 Thread Drew Wymore








I built apache using mod_perl as a
DSO module. When I start apache and someone attempts to access my website, it
works but only for an instant and then they receive page cannot be
displayed, but only with html documents, php
docs show up fine. When I looked into my logs this what I found 

[Wed Apr 10 18:05:34 2002] [notice] child pid 27804 exit
signal Segmentation fault (11)



In tracing back and asking a few questions in IRC, I
commented out the loading of the mod_perl module and
this behavior stops happening. Any good pointers as to where I can find a
solution to this problem?



Reference

Apache 1.3.19

Mod_perl 1.26

Php 4.1.2



Thanks,

Drew








Re: [ModPerl causing segfaults]

2002-04-11 Thread Doug MacEachern

sounds like the largefiles issue, you should have seen this warning during 
the build:

Your Perl is uselargefiles enabled, but Apache is not, suggestions:
*) Rebuild mod_perl with Makefile.PL PERL_USELARGEFILES=0
*) Rebuild Apache with CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
*) Rebuild Perl with Configure -Uuselargefiles
*) Let mod_perl build Apache (USE_DSO=1 instead of USE_APXS=1)

easiest fix is the 1st option.




RE: [ModPerl causing segfaults]

2002-04-11 Thread Drew Wymore

Thank you Doug this appears to have cleaned up the situation very
nicely. :)

Drew

-Original Message-
From: Doug MacEachern [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 11, 2002 10:26 AM
To: Drew Wymore
Cc: [EMAIL PROTECTED]
Subject: Re: [ModPerl causing segfaults]

sounds like the largefiles issue, you should have seen this warning
during 
the build:

Your Perl is uselargefiles enabled, but Apache is not, suggestions:
*) Rebuild mod_perl with Makefile.PL PERL_USELARGEFILES=0
*) Rebuild Apache with CFLAGS=-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
*) Rebuild Perl with Configure -Uuselargefiles
*) Let mod_perl build Apache (USE_DSO=1 instead of USE_APXS=1)

easiest fix is the 1st option.