perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Veyron <>
Subject Re: panic: attempt to copy freed scalar caused by calling cgi->param with TryCatch since perl 5.19.7
Date Wed, 16 Sep 2015 17:26:36 GMT
On Wed, 16 Sep 2015 09:40:43 -0500
Michael Schout <> wrote:

> On 9/16/15 9:22 AM, Vincent Veyron wrote:
> > apt-get install apache2-mpm-prefork libapache2-request-perl libapache2-mod-perl2
> How did you install TryCatch (the only dependency my module uses)?

Ha! It was not installed. I suppose that because your test module was also named TryCatch,
Apache used it instead in the dependency? I don't understand why the try function works, but

I installed TryCatch with 

cpan TryCatch

And renamed your test module to 

Now Apache won't start, here is the error :
[Wed Sep 16 18:26:39.331849 2015] [perl:error] [pid 15699:tid 139626838587264] Can't locate in @INC (you may need to install the TryCatch module) (@INC contains: /home/lib
@ServerRoot/../lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2
/usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20
/usr/share/perl/5.20 /usr/local/lib/site_perl /etc/apache2) at (eval 85) line 2.\n

Even though 'locate' outputs :

and the directory is in @INC. Also :

perl -MTryCatch

works from the command line

Not sure what to do now?

					Bien à vous, Vincent Veyron
Gestion des contentieux, des dossiers de sinistres assurance et des contrats pour le service

View raw message