ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> modperl
modperl
Re: [mp1] segfault with Perl 5.8.1 and mod_perl 1.29
by Joachim Feise other posts by this author
Oct 13 2003 5:16PM messages near this date
Re: [mp1] segfault with Perl 5.8.1 and mod_perl 1.29 | Re: [mp1] segfault with Perl 5.8.1 and mod_perl 1.29
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/ap
ache --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
Thread:
Joachim Feise
Stas Bekman
Joachim Feise
Ged Haywood
Joachim Feise
Joachim Feise
Ged Haywood
Joachim Feise
Ged Haywood
Randy Kobes
Joachim Feise
Randy Kobes

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved