Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The following program produces a segmentation fault with perl 5.10.1, 5.20.3, and 5.22.2:
#!/usr/bin/perl use strict; use warnings; use threads; binmode STDOUT, ':encoding(utf-8)'; for my $i (1..4) { threads->create(sub {})->join(); }
Is this a known bug?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Segmentation fault with threads and binmode utf-8
by BrowserUk (Patriarch) on May 05, 2016 at 10:34 UTC | |
|
Re: Segmentation fault with threads and binmode utf-8
by dave_the_m (Monsignor) on May 05, 2016 at 09:54 UTC | |
by Anonymous Monk on May 05, 2016 at 10:03 UTC | |
by dave_the_m (Monsignor) on May 05, 2016 at 10:37 UTC | |
by Anonymous Monk on May 05, 2016 at 22:27 UTC | |
|
Re: Segmentation fault with threads and binmode utf-8
by Anonymous Monk on May 05, 2016 at 08:41 UTC |