[perl #130370] [CONC] Tapping on a very active .out of Proc::Async wrecks the work queue

2016-12-20 Thread jn...@jnthn.net via RT
On Sun, 18 Dec 2016 06:24:38 -0800, alex.jakime...@gmail.com wrote: > This is probably best demonstrated by a code snippet. > > Code: > > my $out = Channel.new; > #my $proc = Proc::Async.new(‘perl6’, ‘-e’, ‘sleep ∞’); # ← this works > my $proc = Proc::Async.new(‘perl6’, ‘-e’, ‘.say for 0..0x1

[perl #130377] [BUG] write on closed socket not failing as it should

2016-12-20 Thread Will Coleda via RT
On Mon, 19 Dec 2016 14:38:09 -0800, bradl...@dal.ca wrote: > This is Rakudo version 2016.11 built on MoarVM version 2016.11 > implementing Perl 6.c. > > Here is a program that demonstrates the problem. > > use v6; > > my $s = IO::Socket::INET.new(:host('irc.freenode.net'), :port(6667)); > $s.pri

[perl #130294] [SEGV] native 2d array example SEGV's

2016-12-20 Thread Will Coleda via RT
Attaching gistfile to ticket -- Will "Coke" Coleda use v6; my $size = 3001; my int @mat[$size; $size]; init-array(0, $size - 1, $size * $size); say 'done'; sub init-array($r, $c, $val) { @mat[$r; $c] = $val; if $c - 1 >= 0 { # left init-array($r, $c - 1, $val - 1); } elsif $r + 1 <

Re: [perl #130294] [SEGV] native 2d array example SEGV's

2016-12-20 Thread Elizabeth Mattijsen
Confirmed on macOS. Running with MVM_SPESH_DISABLE=1 does not prevent the segv. Running with —optimize=0 and —optimize=1 *does* prevent the issue. —optimize=2 and higher shows the problem. Running with “use trace” shows a *lot* of output: the last lines shown are: 12 (/Users/liz/Github/rakudo

Re: [perl #130294] [BUG] native 2d array example SEGV's

2016-12-20 Thread Lucas Buchala
Hi. I narrowed the code to this snippet, I hope it helps. It segfault in my x86 32bit machine. The subroutine below is nonsensical and should be an infinite recursion, but it triggers the segfault bug and halts the program. So, if this doesn't trigger the segfault in your machine, remember to type

[perl #130294] [SEGV] native 2d array example SEGV's

2016-12-20 Thread jn...@jnthn.net via RT
On Wed, 07 Dec 2016 14:33:54 -0800, jan-olof.hen...@bredband.net wrote: > # the system, 32 bit Linux vm running under VirtualBox > dogbert@dogbert-VirtualBox ~ $ cat /etc/os-release > NAME="Ubuntu" > VERSION="14.04.3 LTS, Trusty Tahr" > ID=ubuntu > ID_LIKE=debian > PRETTY_NAME="Ubuntu 14.04.3 LTS"