On Sat Nov 23 08:52:02 2013, khw wrote: > On Fri Jun 21 13:36:16 2013, khw wrote: > > On Sun Oct 14 09:17:55 2007, jdhedden@cpan.org wrote: > > > Florent Bayle wrote: > > > > The following code segfault on my system > > > > perl -Mthreads -e "use encoding ':locale'; threads->create(sub {});" > > > > > > Bo Lindbergh wrote: > > > > Yet another symptom of PerlIO::encoding not being thread safe. > > > > See <http://rt.perl.org/rt3/Public/Bug/Display.html?id=31923> for > > > > the full story. > > > > > > Gee, shouldn't this be documented in the POD. Patch attached. > > > > I just ran this on blead, and got a segfault. Is there a reason not to > > apply his warning patch, or a variant thereof? > Following discussion with khw, I'm marking this ticket as resolved. We have documented this limitation in encoding.pm. Moreover, as of Perl 5.17, "Use of the encoding pragma is deprecated." Thank you very much. Jim Keenan --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=46415