>> [aa29 - Thu Apr 08 01:12:56 2004]:
To: [EMAIL PROTECTED]
Subject: Perl segfaults if XS changes system environment
Reply-To: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Perl (Win32) segfaults with "free to wrong pool..." message during
interpreter
destruction phase IF:
1. destruct_level > 0
2. XS changes system environment
I hit this problem while installing Apache::DBI, which is using
DBD::mysql
in the test suite.
[skip]
SPv> I updated the title on this ticket so that it will be noticed by
SPv> people more clueful on Win32 than I.
SPv> Does everything above make sense? Will the patch prevent the faults
SPv> on Win32?
I used to work around this issue in Perl 5.8.5 by adding BUILDOPT =
$(BUILDOPT) -DPERL_USE_SAFE_PUTENV to win32/Makefile. But now I cannot
confirm that problem in version 5.8.7.
aa29