develooper Front page | perl.perl6.compiler | Postings from March 2018

[perl #127682] [OSX] writing more than 8192 bytes to IO::Handlecauses it to hang forever

Thread Previous
From:
Christian Bartolomaeus via RT
Date:
March 7, 2018 19:33
Subject:
[perl #127682] [OSX] writing more than 8192 bytes to IO::Handlecauses it to hang forever
Message ID:
rt-4.0.24-11459-1520451199-249.127682-15-0@perl.org
On Fri, 10 Feb 2017 23:48:54 -0800, bartolin@gmx.de wrote:
> FWIW that hangs on FreeBSD as well (maybe not too much a surprise,
> given the relationship of the OSes).

This still hangs on MoarVM, but works on JVM (I didn't check the behaviour on JVM last year):

$ ./perl6-j -e 'my $proc = run($*EXECUTABLE, "-e", q| $*ERR.print("8" x 8193);|,:out,:err); say $proc.out.slurp-rest; say "alive"'

alive
$ ./perl6-j --version
This is Rakudo version 2018.02.1-124-g8d954027f built on JVM
implementing Perl 6.c.

Thread Previous


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