<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
"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? <br>
<br>
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. <br>
<br>
--S<br>
--<br>
<div class="moz-signature"><span style="color: rgb(102, 0, 0);">Stuart
Watt<br>
ARM Product Developer<br>
Information Balance</span></div>
<br>
<br>
Ascii King wrote:
<blockquote cite="mid:4B29313B.3050407@swattermatter.com" type="cite">I
have an Apache 2.2.14 server with mod-perl 2.0.4 and Catalyst 5.80015
on a Windows XP machine.
  <br>
  <br>
My system runs fine from the built-in Catalyst web server.&nbsp; When I run
it through my Apache server, however it fails with the folowing error:
  <br>
  <br>
[info] NPC powered by Catalyst 5.80015
  <br>
Free to wrong pool 760e18 not 26fe70 at C:/Perl/lib/Digest/SHA.pm line
63 during global destruction.
  <br>
[Wed Dec 16 12:22:34 2009] [crit] (OS 6)The handle is invalid.&nbsp; :
master_main: create child process failed. Exiting.
  <br>
  <br>
  <br>
The Digest::SHA is used to handle the login, of course. I have used the
example from the tutorial.&nbsp; Any ideas why this is occurring? If I
remove the call from the Schema/Result/Account.pm, it will run.
  <br>
  <br>
__PACKAGE__-&gt;add_columns(
  <br>
&nbsp;&nbsp; 'password' =&gt; {
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; data_type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; "TEXT",
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; undef,
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; encode_column&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 1,
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; encode_class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 'Digest',
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; encode_args&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; {salt_length =&gt; 10},
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; encode_check_method =&gt; 'check_password',
  <br>
&nbsp;&nbsp; },
  <br>
};
  <br>
  <br>
  <br>
I was going to switch to blowfish, but I keep getting a 'bad bcrypt
settings' error.&nbsp; I read that it is for Unix only though, so I guess I
should have expected that.
  <br>
  <br>
_______________________________________________
  <br>
List: <a class="moz-txt-link-abbreviated" href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a>
  <br>
Listinfo: <a class="moz-txt-link-freetext" href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a>
  <br>
Searchable archive:
<a class="moz-txt-link-freetext" href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a>
  <br>
Dev site: <a class="moz-txt-link-freetext" href="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/</a>
  <br>
  <br>
--
  <br>
This message was scanned by ESVA and is believed to be clean.
  <br>
Click here to report this message as spam.
<a class="moz-txt-link-freetext" href="http://antispam.infobal.com/cgi-bin/learn-msg.cgi?id=CF5252806D.4D760">http://antispam.infobal.com/cgi-bin/learn-msg.cgi?id=CF5252806D.4D760</a>
  <br>
  <br>
</blockquote>
</body>
</html>