Hi, We are using perl (Latest Activestate on Windows + Unix) linked to a C++ program. Along with this C++ program we link the C++ Wx libs.
We also experiment such crashes in Perl. Despite this crash is said to be corrected it still happens. As far as we could read some race conditions in internal threads of perl would be the cause ... Kind regards, Jean-Philippe -----Original Message----- From: Steffen Mueller [mailto:[email protected]] Sent: Thursday, April 16, 2009 10:31 AM To: Johan Vromans Cc: [email protected] Subject: Re: free from wrong pool during global destruction Hi Johan, Johan Vromans wrote: > Steffen Mueller <[email protected]> writes: > >> perl -MWx -e '$ENV{foo}="bar";' >> >> crashes with: >> panic: realloc from wrong pool at -e line 1. >> panic: free from wrong pool during global destruction. > > Wasn't this fixed some time ago? > > In any case, I cannot reproduce it. > > Fedora 10 > perl 5.10.0 > Wx 0.89 yes, but is yours a debugging perl? I found a thread where you and Mattia discuss this problem specifically with debugging perls. The workaround back then seemed to be to add the -DPERL_USE_SAFE_PUTENV, but that doesn't work for me with 5.10.x trunk (any more?). (./Configure -DDEBUGGING -Dusethreads -Duse64bitall -Dusedevel -DDEBUG_LEAKING_SCALARS -DPERL_USE_SAFE_PUTENV -de and also debugging Wx and wxWidgets) Best regards, Steffen
