Free to wrong pool 2227b8 not 3d5a2aa0 at C:/Perl/lib/XSLoader.pm line -1.

R

rob.chuah

I have posted actually on the perl.ithread forum but found out later it
is a low activity forum. So I am trying out my luck here again and
hopefully wont be taken as spamming.

I was trying to run some code usign Parallel:ForkManager but come to
the error message "Free to wrong pool 2227b8 not 3d5a2aa0 at
C:/Perl/lib/XSLoader.pm line -1."

Not sure if anyone see this before and have this fixed ?
I am running Perl v5.8.8 built for MSWin32-x86-multi-thread on WinXP
SP2

below are the code snippet

use LWP::Simple;
use Parallel::ForkManager;

...

@links=(
["http://www.foo.bar/rulez.data","rulez_data.txt"],
["http://new.host/more_data.doc","more_data.doc"],
...
);

...

# Max 30 processes for parallel download
my $pm = new Parallel::ForkManager(30);

foreach my $linkarray (@links) {
$pm->start and next; # do the fork

my ($link,$fn) = @$linkarray;
warn "Cannot get $fn from $link"
if getstore($link,$fn) != RC_OK;

$pm->finish; # do the exit in the child process
}
$pm->wait_all_children;
 
G

greenrob

I am now seeing another type of error message

Free to wrong pool 2227b8 not 3857a5f8 at C:/Perl/lib/IO/Socket.pm line
11

Also, the PF usage keep rising as the program loops and crashed after
300+ loops.

Has any one experience something like this before ?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top