I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-02-05 23:16:19.637428-08 by rahulvilliam
Free to wrong pool 1c5aa10 not 235d08 during global destruction
Hi, I getting the this error "Free to wrong pool 1c5aa10 not 235d08 during global destruction." while executing the below program. Please let me know solution. Advanced thanks.
#-------------------------------------------------------------------- use Win32::OLE ; use threads ; sub dostuff { print "Stuff\n" ; return 1 ; } sub startthr { my $thr = threads->new( \&dostuff ) ; our $tid = $thr->tid ; } sub stopthr { our $tid ; my $thr = threads->object( $tid ) ; my $result = $thr->join ; undef $thr ; undef $tid ; } print "Starting thread\n" ; startthr() ; sleep(10) ; print "Stopping thread\n" ; stopthr() ; print "A memory pool error should have occurred, and this line will probably not print.\n" #--------------------------------------------------------------------
Regards Rahul
Direct Responses: 13185 | Write a response
Posted on 2011-02-07 05:41:30.945717-08 by jdhedden in response to 13180
Re: Free to wrong pool 1c5aa10 not 235d08 during global destruction
The Win32::OLE module has XS code. It is not thread-safe. It may be usable in a threaded Perl app, but will require special handling. See 'perldoc threads' and read the sections 'Thread-safe modules' and 'Using non-thread-safe modules' under 'BUGS AND LIMITATIONS'.
Direct Responses: Write a response