sureshr has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I am seeing the following error.
"Free to wrong pool 15d2850 not 1afbea0 at my.pl line 1855". Has somebody already seen this error and know the solution for this? I am using perl5.8 with threads.
Thanks,
-sureshr

Replies are listed 'Best First'.
Re: Free to wrong pool
by mattriff (Chaplain) on Mar 21, 2003 at 19:14 UTC
      Yes, it is thread-safe and I saw the google reply too. The goole one is of less help :(
Re: Free to wrong pool
by pg (Canon) on Mar 21, 2003 at 21:10 UTC
    This basically means that you triggered one of those bugs related to memory allocation/deallocation in Perl 5.8. I have a post on this.
      Yes, it is quite similar to your post. I form hashes and arrays in one function and pass them across to other function and free them there. Are you aware of any fixes or workaround for this?
      Thanks,
      -sureshr