Bug#814080: plack::handler::apache2/plack::util crashes after a while
Alexander Zangerl
az at debian.org
Mon Feb 8 09:23:27 UTC 2016
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.
the mojolicious apps in question have all been cleared of any findbin, by
the way; they only use 'use lib "$ENV{MOJO_HOME}/lib";' because i suspected
findbin as the cause of the problem - but neither findbin with ->again nor
findbin without changed the behaviour any.
even more puzzling is the fact that this very same code and config has been
working reliably for years on wheezy (with its apache2.2 and whatever version
of plack that wheezy came with).
i've been experiencing this problem only since i upgraded to squeeze and
its perl, plack and apache versions.
regards
az
More information about the pkg-perl-maintainers
mailing list