Re: mod_perl causing Apache Segmentation fault

Andrew Merton <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CACtJALU=g8Jo=oJUF5z2VL9UjkajMA6ktRsifT2EOrNSXc=MoQ@mail.gmail.com>
It may be nothing, but I spent 2 months (off and on) with a crashing
mod_perl/Apache to discover that in my case it was the DateTime that was
the cause.

Hans (on the list) confirmed this and said "The latest DateTime and
DateTime-TimeZone modules that work with mod_perl are DateTime 0.70 and
DateTime-TimeZone 1.34."

The root cause appears to be the Params::Classify module which loads
Classify.dll - it is Classify.dll that is the problem. SInce P::C has a
pure Perl implementation as well as the dll, I simplex moved the dll, and
everything started working consistently.  Hans reverted to the earlier
DateTime, which worked for him.

It may be totally unrelated to your problem, but I had many
varying symptoms depending on configuration etc, and some of the errors
gave no hint as to the problem being in Classify.dll.

HTH :)



> My mod_perl appears to cause a segmentation fault in my Apache. 'httpd -X'
> simply gives 'Segmentation Fault' and my server does not start.
>
> I am using Apache 2.2.22, mod_perl 2.0.5, CentOS 5.7 x86_64. I built
> mod_perl and Apache together from source with the following command:
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.