Sharmarke Aden wrote: > I upgraded to perl 5.8 and I still get an error. Here is the error I get > for the code mentioned in my previous message: > > "Free to wrong pool 1af0140 not 15d26e8 during global destruction." >
this error most likely happen if some of your modules are not thread safe. when your first thread finish, any resource associated with the thread is freed up. when your second thread finish, Perl tries to clean up the resource again which cause problem. it's like calling the destructor multiple times for the same object in C++. i suggest that you load your modules (in question) per thread base (ie, during runtime via 'require' instead globally via 'use'). this gives each thread their own chances to clean up themselves after they are about to die. david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]