On Mon, 13 Oct 2003, Joachim Feise wrote:

> Joachim Feise wrote:
>
> > Stas Bekman wrote:
> >
> >> Joachim Feise wrote:
> >>
> >>> Hi,
> >>>
> >>> on my Linux system (Slackware 9.0) Apache segfaults in mod_perl as
> >>> soon as it
> >>> receives the first request.
> >>> This started after I upgraded to Perl 5.8.1 (from 5.6.0).
> >>> The Apache version is 1.3.28, mod_perl 1.29.
> >>> I appreciate any help.
> >>
> >> Joachim, Your report is almost perfect. but you need to send in a
> >> *short* script/handler that we can reproduce the problem with. Without
> >> it we can't help you.
> >
> > Well, the segfault happens even if I just point the browser to
> > http://localhost/
> > htdocs/index.html is the default Apache index.html. No Perl code
> > in there.
>
> Some more info to reproduce it:
> Manual mod_perl installation according to INSTALL file:
>   cp -r src/modules/perl ../apache_1.3.28/src/modules
>   perl Makefile.PL DYNAMIC=1 EVERYTHING=1 PERL_DEBUG=1
>   make && make install
>
> Apache configuration:
>   Edit src/Configuration.tmpl:
>     EXTRA_CFLAGS=`perl -MExtUtils::Embed -e ccopts`
>     EXTRA_LIBS=`perl -MExtUtils::Embed -e ldopts`
>   CFLAGS=-g ./configure --activate-module=src/modules/perl/libperl.a \
>     --prefix=var/lib/apache --sysconfdir=/home/www/conf \
>     --datadir=/home/www --localstatedir=/home/www
>   make && make install
> Using the default httpd.conf, without any mod_perl entry
>
> I have also tried to use the stock binary Perl 5.8.0 that comes with
> Slackware 9.0. Same result.

If I'm following correctly, you have 3 Perls: the original
5.6.0, the stock 5.8.0, and the 5.8.1 that you're trying to
upgrade to. Might it happen that parts of the
build/install/running mix up some Perls? Can you move
(temporarily) all the other Perls out of the way, so that
you're sure to use the one you want?

Does this problem also occur when running the mod_perl tests
after you build it?

-- 
best regards,
randy kobes

Reply via email to