If you can try and fix it that would be great (see Jan's solution). You should be able to reproduce it outside mod_perl with 'use threads and starting a thread after using nfreeze'.
I'm not the right person to try and fix this (lacking both the experience and a C compiler; and it would take me too long to get into XS and all that). Sorry. But yes, the following two scripts reproduces the error.
You want me to send this to perl5-porters?
-Kurt.
-1- # Perl dies with "free to wrong pool" use threads; use Storable qw(nfreeze);
my $t = threads->new(\&sub1);
sleep 1;
sub sub1 { nfreeze {}; }
-2- # Perl dies without "free to wrong pool" (but with an # exception dialog on win32) use threads; use Storable qw(nfreeze);
my $t = threads->new(\&sub1);
$t->join();
sub sub1 { nfreeze {}; }
-- Kurt George Gjerde [EMAIL PROTECTED] ICQ:156792385
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]