in reply to Parallel::ForkManager and utf8::all crash perl on Windows

Simpler test  perl -e " use open qw{:encoding(UTF-8) :std}; fork; "

c0000005 exception at encoding+0x356a

there are a few recent bug reports
#111344: warnings FATAL => utf8 not working on PerlIO::encoding layer and open pragma
#115262: PerlIO::encoding produces malformed utf8
#115692: PerlIO::encoding can croak, aborting cleanup
PUSHSTACKi/POPSTACK#98060: possible bug in PerlIO::encoding

and http://perl5.git.perl.org/perl.git/history/HEAD:/ext/PerlIO-encoding shows very recent edits

but , while compiling the very latest works, the tests fail with Unknown PerlIO layer "encoding"

md PerlIO-encoding cd PerlIO-encoding wget http://perl5.git.perl.org/perl.git/blob_plain/HEAD:/ext/PerlIO-en +coding/encoding.xs http://perl5.git.perl.org/perl.git/blob_plain/HEAD +:/ext/PerlIO-encoding/encoding.pm http://perl5.git.perl.org/perl.git/ +blob_plain/HEAD:/ext/PerlIO-encoding/MANIFEST md t cd t wget http://perl5.git.perl.org/perl.git/blob_plain/HEAD:/ext/PerlIO-en +coding/t/encoding.t http://perl5.git.perl.org/perl.git/blob_plain/HEA +D:/ext/PerlIO-encoding/t/fallback.t http://perl5.git.perl.org/perl.g +it/blob_plain/HEAD:/ext/PerlIO-encoding/t/nolooping.t cd .. echo use ExtUtils::MakeMaker; WriteMakefile(qw{ NAME PerlIO::encoding +}); > Makefile.PL perl Makefile.PL dmake dmake test perl -Mblib -e " use open qw{:encoding(UTF-8) :std}; fork; "

So you should probably perlbug this, and maybe mention this thread and probably that PUSHSTACKi report

  • Comment on Re: Parallel::ForkManager and utf8::all crash perl on Windows ( use open qw{:encoding(UTF-8) :std}; fork; ## PerlIO/encoding.dll )
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: Parallel::ForkManager and utf8::all crash perl on Windows ( use open qw{:encoding(UTF-8) :std}; fork; ## PerlIO/encoding.dll )
by szabgab (Priest) on Dec 23, 2012 at 09:40 UTC
Re^2: Parallel::ForkManager and utf8::all crash perl on Windows ( use open qw{:encoding(UTF-8) :std}; fork; ## PerlIO/encoding.dll )
by Anonymous Monk on Jan 04, 2013 at 00:23 UTC