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.

-Joe

Reply via email to