Bug#703000: apache-preforks, &, modperl, segfaults

Niko Tyni ntyni at debian.org
Sun Mar 17 17:44:07 UTC 2013


On Thu, Mar 14, 2013 at 05:03:21PM +0400, Dmitry E. Oboukhov wrote:
> >> I downgraded mod-perl, 2.0.7-1 crashes, too (the same backtrace)
> >> 
> >> Then I downgraded apache to 2.2.22-12 and 2.2.22-12 + modperl 2.0.7-1
> >> don't crash. Also apache 2.2.22-12 and modperl 2.0.7-2 don't crash,
> >> too.

> Now I've upgraded apache2 to 2.2.22-13 (again) and upgraded mod-perl
> to 2.0.7-3 and I can't reproduce the bug.

Hi,

can you trigger the bug again by downgrading libapache2-mod-perl2?

If yes, could you please give a recipe (including apache configuration
and an example script without syntax errors) for reproducing the crashes?

I don't see crashes with a Mojolicious::Lite application under
ModPerl::Registry, but perhaps you're using mod_perl in a different way?

I used

ii  apache2              2.2.22-13       amd64           Apache HTTP Server metapackage
ii  apache2-mpm-prefork  2.2.22-13       amd64           Apache HTTP Server - traditional non-threaded 
ii  apache2-utils        2.2.22-13       amd64           utility programs for webservers
ii  apache2.2-bin        2.2.22-13       amd64           Apache HTTP Server common binary files
ii  apache2.2-common     2.2.22-13       amd64           Apache HTTP Server common files
ii  libapache2-mod-perl2 2.0.7-2         amd64           Integration of perl with the Apache2 web serve

with /etc/apache2/conf.d/perlrun like this:

         PerlModule ModPerl::Registry
         Alias /perl-run/ /var/www/moj/
         <Location /perl-run>
             SetHandler perl-script
             PerlResponseHandler ModPerl::Registry
             PerlOptions +ParseHeaders
             Options +ExecCGI
         </Location>

and /var/www/moj/myapp  like this:

    use vars q/$i/;
    use Mojolicious::Lite;
    get '/' => sub { $_[0]->render(text => 'hello world:'.$i++) };
    app->start;

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list