develooper Front page | perl.perl5.porters | Postings from December 2012

open + utf-8 + fork crash on Windows

Thread Next
From:
Gabor Szabo
Date:
December 22, 2012 13:25
Subject:
open + utf-8 + fork crash on Windows
Message ID:
CABe4FJBM_=RJRJTcOmd4gT03FWHAVc855ZJQNkX1Sr00NEsPOA@mail.gmail.com
Hi,

the following 3 examples all crash perl on Windows:

perl -e "use open qw{:encoding(UTF-8) :std}; fork; "
perl -e "open $f, '>:encoding(UTF-8)', 'temp.txt'; fork"
perl -e "use utf8::all; fork"

tried with both Strawberry Perl 5.12.3 and 5.16.2 with the same results.

See this thread http://perlmonks.org/?node_id=1009989 especially this post:
http://perlmonks.org/?node_id=1010004

(I tried to file a bug with perlbug but I think it never left my
Windows machine).

Gabor
ps. They did not segfault on Linux.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About