[perl #127452] [CONC] hyper is very broken, *sometimes* it returns nothing

2017-10-18 Thread jn...@jnthn.net via RT
On Mon, 01 Feb 2016 21:59:33 -0800, alex.jakime...@gmail.com wrote: > Let's try running the same code twice: > > m: my @x = ^10; my @y = @x.hyper(:3batch, :5degree).map: { > sleep rand / 10; $_ + 1 }; say @y > rakudo-moar a5fe34: OUTPUT«[]␤» > m: my @x = ^10; my @y = @x.hyper(:3batch,

[perl #127452] [CONC] hyper is very broken, *sometimes* it returns nothing

2017-10-18 Thread jn...@jnthn.net via RT
On Mon, 01 Feb 2016 21:59:33 -0800, alex.jakime...@gmail.com wrote: > Let's try running the same code twice: > > m: my @x = ^10; my @y = @x.hyper(:3batch, :5degree).map: { > sleep rand / 10; $_ + 1 }; say @y > rakudo-moar a5fe34: OUTPUT«[]␤» > m: my @x = ^10; my @y = @x.hyper(:3batch,

[perl #130576] [CONC] .race & .hyper break [+] (1..100)

2017-10-18 Thread jn...@jnthn.net via RT
On Tue, 17 Jan 2017 10:10:44 -0800, coke wrote: > The presence of a hyper or race causes incorrect output in some cases. > Originally found with the .grep in the pipeline, but seems to impact > even the simple case. > > $ perl6 -e 'say [+] (1..100)' > 5050 > > $ perl6 -e 'say [+] (1..100).race'

[perl #126597] [CONC][BUG] .race.grep(...) and .hyper.grep(...) produce an empty sequence

2017-10-18 Thread jn...@jnthn.net via RT
On Mon, 09 Nov 2015 06:36:49 -0800, matt.oa...@congenica.com wrote: > The following has an empty result when using race or hyper in perl6 > version 2015.10-233-gac750a9 built on MoarVM version 2015.10-61- > g624d504 > > $ perl6 > > (1..10).grep(* > 3) > (4 5 6 7 8 9 10) > > (1..10).race().grep(*

[perl #126597] [CONC][BUG] .race.grep(...) and .hyper.grep(...) produce an empty sequence

2017-10-18 Thread jn...@jnthn.net via RT
On Mon, 09 Nov 2015 06:36:49 -0800, matt.oa...@congenica.com wrote: > The following has an empty result when using race or hyper in perl6 > version 2015.10-233-gac750a9 built on MoarVM version 2015.10-61- > g624d504 > > $ perl6 > > (1..10).grep(* > 3) > (4 5 6 7 8 9 10) > > (1..10).race().grep(*

[perl #130576] [CONC] .race & .hyper break [+] (1..100)

2017-10-18 Thread jn...@jnthn.net via RT
On Tue, 17 Jan 2017 10:10:44 -0800, coke wrote: > The presence of a hyper or race causes incorrect output in some cases. > Originally found with the .grep in the pipeline, but seems to impact > even the simple case. > > $ perl6 -e 'say [+] (1..100)' > 5050 > > $ perl6 -e 'say [+] (1..100).race'

[perl #131865] [REGRESSION] Looping over a HyperSeq in sink context does nothing (for .hyper { say 2 })

2017-10-18 Thread jn...@jnthn.net via RT
On Tue, 08 Aug 2017 18:40:48 -0700, alex.jakime...@gmail.com wrote: > Code: > for .hyper { say 2 } > > Result (2015.09-2015.06): > 2 > 2 > 2 > > Result (9b0b9effe5,2017.07,HEAD(6745517)): > (no output) > > > There seems to be nothing wrong with using a for loop on .hyper or > .race, so it

[perl #131865] [REGRESSION] Looping over a HyperSeq in sink context does nothing (for .hyper { say 2 })

2017-10-18 Thread jn...@jnthn.net via RT
On Tue, 08 Aug 2017 18:40:48 -0700, alex.jakime...@gmail.com wrote: > Code: > for .hyper { say 2 } > > Result (2015.09-2015.06): > 2 > 2 > 2 > > Result (9b0b9effe5,2017.07,HEAD(6745517)): > (no output) > > > There seems to be nothing wrong with using a for loop on .hyper or > .race, so it

[perl #128084] [CONC][BUG] `.hyper/.race.map()` produces an empty sequence if `` is a multi-sub

2017-10-18 Thread jn...@jnthn.net via RT
On Fri, 06 May 2016 08:37:20 -0700, sml...@gmail.com wrote: > ➜ sub f ($a) { $a**2 }; say (^10).hyper.map().list; > (0 1 4 9 16 25 36 49 64 81) > > ➜ multi f ($a) { $a**2 }; say (^10).hyper.map().list; > () > > The expected behavior would be for both examples to produce the same >

[perl #129234] [CONC] `.hyper` and `.race` resume after exceptions

2017-10-18 Thread jn...@jnthn.net via RT
On Thu, 08 Sep 2016 12:55:10 -0700, sml...@gmail.com wrote: > If you `die` inside a `map/for` that is being `hyper/race`d... > > for (1..1).hyper { die }; sleep 1; say "Alive"; > > ...it prints the exception's backtrace, but then resumes the program > as if nothing had happened: > > Died >

[perl #128084] [CONC][BUG] `.hyper/.race.map()` produces an empty sequence if `` is a multi-sub

2017-10-18 Thread jn...@jnthn.net via RT
On Fri, 06 May 2016 08:37:20 -0700, sml...@gmail.com wrote: > ➜ sub f ($a) { $a**2 }; say (^10).hyper.map().list; > (0 1 4 9 16 25 36 49 64 81) > > ➜ multi f ($a) { $a**2 }; say (^10).hyper.map().list; > () > > The expected behavior would be for both examples to produce the same >

[perl #129234] [CONC] `.hyper` and `.race` resume after exceptions

2017-10-18 Thread jn...@jnthn.net via RT
On Thu, 08 Sep 2016 12:55:10 -0700, sml...@gmail.com wrote: > If you `die` inside a `map/for` that is being `hyper/race`d... > > for (1..1).hyper { die }; sleep 1; say "Alive"; > > ...it prints the exception's backtrace, but then resumes the program > as if nothing had happened: > > Died >

[perl #132012] Numeric values of signals are wrong (say +SIGUSR1)

2017-10-18 Thread Zoffix Znet via RT
On Sat, 14 Oct 2017 08:29:50 -0700, c...@zoffix.com wrote: > Something fishy going on with the Signals enum. If that's fixed then > the > regression you pointed out will be fixed as well, as the new method > simply > uses enum's `.value` to get the signal number: > > c:

[perl #132012] Numeric values of signals are wrong (say +SIGUSR1)

2017-10-18 Thread Zoffix Znet via RT
On Sat, 14 Oct 2017 08:29:50 -0700, c...@zoffix.com wrote: > Something fishy going on with the Signals enum. If that's fixed then > the > regression you pointed out will be fixed as well, as the new method > simply > uses enum's `.value` to get the signal number: > > c:

Re: [perl #132316] [Double Free] Crash while running program

2017-10-18 Thread Marcel Timmerman
On 10/17/2017 09:27 PM, Timo Paulssen via RT wrote: if you can, please re-compile MoarVM passing the same options that were used before (you can find them on the first screenfuls of the Makefile inside moarvm's source folder) to Configure.pl but also include --debug=3 and --optimize=0. This is

Re: [perl #132316] [Double Free] Crash while running program

2017-10-18 Thread mt1957 via RT
On 10/17/2017 09:27 PM, Timo Paulssen via RT wrote: > if you can, please re-compile MoarVM passing the same options that were > used before (you can find them on the first screenfuls of the Makefile > inside moarvm's source folder) to Configure.pl but also include > --debug=3 and --optimize=0.

Re: [perl #132316] [Double Free] Crash while running program

2017-10-18 Thread Marcel Timmerman
@Aleks-Daniel Jakimenko-Aleksejev How can I reproduce this issue? What code did you use? Well, 1) Install a mongod server and start it up. Its address  might be 127.0.0.1:27017 which is the default for mongod servers. Servers can be downloaded using $ curl -O

Re: [perl #132316] [Double Free] Crash while running program

2017-10-18 Thread mt1957 via RT
@Aleks-Daniel Jakimenko-Aleksejev > How can I reproduce this issue? What code did you use? > Well, 1) Install a mongod server and start it up. Its address  might be 127.0.0.1:27017 which is the default for mongod servers. Servers can be downloaded using $ curl -O