[Catalyst] Apache + mod_perl + Digest-SHA fails
    Stuart Watt 
    swatt at infobal.com
       
    Wed Dec 16 19:42:21 GMT 2009
    
    
  
"Free to wrong pool" is usually an issue with XS and threading. =
Digest::SHA is an XS module. Which Perl are you using? And how is it =
integrated into Apache?
I've generally found FastCGI to be safer on Windows, simply because it =
doesn't require the tight integration of Perl into Apache under Windows.
--S
--
Stuart Watt
ARM Product Developer
Information Balance
Ascii King wrote:
> I have an Apache 2.2.14 server with mod-perl 2.0.4 and Catalyst =
> 5.80015 on a Windows XP machine.
>
> My system runs fine from the built-in Catalyst web server.  When I run =
> it through my Apache server, however it fails with the folowing error:
>
> [info] NPC powered by Catalyst 5.80015
> Free to wrong pool 760e18 not 26fe70 at C:/Perl/lib/Digest/SHA.pm line =
> 63 during global destruction.
> [Wed Dec 16 12:22:34 2009] [crit] (OS 6)The handle is invalid.  : =
> master_main: create child process failed. Exiting.
>
>
> The Digest::SHA is used to handle the login, of course. I have used =
> the example from the tutorial.  Any ideas why this is occurring? If I =
> remove the call from the Schema/Result/Account.pm, it will run.
>
> __PACKAGE__->add_columns(
>    'password' =3D> {
>        data_type           =3D> "TEXT",
>        size                =3D> undef,
>        encode_column       =3D> 1,
>        encode_class        =3D> 'Digest',
>        encode_args         =3D> {salt_length =3D> 10},
>        encode_check_method =3D> 'check_password',
>    },
> };
>
>
> I was going to switch to blowfish, but I keep getting a 'bad bcrypt =
> settings' error.  I read that it is for Unix only though, so I guess I =
> should have expected that.
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: =
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
> -- =
> This message was scanned by ESVA and is believed to be clean.
> Click here to report this message as spam. =
> http://antispam.infobal.com/cgi-bin/learn-msg.cgi?id=3DCF5252806D.4D760
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20091216/bec40=
0aa/attachment.htm
    
    
More information about the Catalyst
mailing list