Bug#814080: plack::handler::apache2/plack::util crashes after a while

Niko Tyni ntyni at debian.org
Mon Feb 8 20:08:11 UTC 2016


On Mon, Feb 08, 2016 at 07:23:27PM +1000, Alexander Zangerl wrote:
> Package: libplack-perl
> Version: 1.0033-1
> Severity: normal
> 
> i've got a few small web applications written in mojolicious that
> i run via
> 
>  SetHandler perl-script
>  PerlResponseHandler Plack::Handler::Apache2
>  PerlSetVar psgi_app /path/to/the/app
>  PerlSetEnv PLACK_ENV "production"
> 
> ie, within the apache and using mod_perl. this starts up just fine, works
> a few days, then inevitably crashes with the following error message:
> 
> Feb 8 08:19:21 <mybox> apache2[3425]: [perl:error] [pid 3425:tid...]
> [client ...] Error while loading /path/to/the/app: Global symbol
> "$_file" requires explicit package name at (eval 8) line 3.\n,
> referer: somereferrer
> 
> the code in question is _load_sandbox() in plack::util, but it's not clear to
> my why this would work once but not more than once.

Smells like a problem in mod_perl, I think.
 
> i've been experiencing this problem only  since i upgraded to squeeze and
> its perl, plack and apache versions.

I assume you mean s/squeeze/jessie/ here.

Just to double check, do you have libapache2-mod-perl2 2.0.9~1624218-2+deb8u1
installed?  The first version in jessie (without +deb8u1) has known issues.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list