[perl #126824] [CONC] await on a Supply .head .Promise never fires (but Supplier.head.Promise does)

2016-11-02 Thread jn...@jnthn.net via RT
On Sat Dec 05 11:13:54 2015, b...@abrij.org wrote: > > 16:18 skids I think the Supply work may have made > $fh.watch.Promise not fire anymore. > 16:20 watch.tap still works. > 16:21 jnthn The semantics of Supply.Promise changed > 16:21 You'll need $fh.watch.head(1).Prom

[perl #127960] [CONC] [PERF] GC related crash on repeated sleepsort (using Channel)

2016-11-02 Thread jn...@jnthn.net via RT
On Fri Apr 22 08:55:46 2016, jns...@gellyfish.co.uk wrote: > The code: > > sub sleep_sort (*@list where .all >= 0) { > > my $channel = Channel.new; > > await @list.map: -> $delay { > Promise.start({ > sleep $delay / 1000; > $channel.send($delay); > }); > > }; > > $channel.close; >

[perl #126774] [SEGV] [CONC] Code aborts while working with supplies

2016-11-02 Thread jn...@jnthn.net via RT
On Thu Dec 03 15:26:45 2015, hanenkamp wrote: > I've been doing some digging on this because it's basically holding up > my ability to test the code I'm working on. It appears that a thread > is being garbage collected, but it's aborting because > pthread_mutex_destroy is returning an error code wh

[perl #125782] [CONC] Uncaught exceptions in start { } blocks get no backtrace when raised via await

2016-11-02 Thread jn...@jnthn.net via RT
On Mon Aug 10 14:20:34 2015, r...@hoelz.ro wrote: > See the attached script. > > The original backtrace of an exception seems to vanish when awaiting a > Promise throws that exception. Now we show both backtraces, and more clearly explain what happened (that we're throwing now because the result

[perl #129781] [CONC] [SEGV] when start()ing several times in a loop

2016-11-02 Thread jn...@jnthn.net via RT
So, an update on this one. The first set of ASAN barf (involving rope flattening) and SEGVs were fixed last month by 5224878b2869. Now it can run for 10,000 iterations without trouble. Well, until it can't. Seems that the Cannot Invoke thingy happens about 1 time in a few hundred thousand iter

[perl #129787] [CONC] die/CATCH inside a start-block with a channel heisenbugs

2016-11-02 Thread jn...@jnthn.net via RT
On Sun Oct 02 12:52:45 2016, gfldex wrote: > sub f(){ > my $c = Channel.new; > > start { > for 1..* { > CATCH { default { note .Str } } > > $c.send($_); > die 'bad'; > } > } > > $c.list > } > > .say for f; > > # somet

[perl #129994] [NATIVECALL][BUG] C functions required to be called once in one thread are hung up

2016-11-02 Thread jn...@jnthn.net via RT
On Tue Nov 01 09:01:04 2016, cookbook_...@yahoo.co.jp wrote: > I'm creating a Perl 6 bindings for > MeCab ( http://taku910.github.io/mecab/ ) > > See the following codes and documentations(translations). > > My repository is: > https://github.com/titsuki/p6-MeCab/tree/for-RT > > > The following

[perl #129994] [NATIVECALL][BUG] C functions required to be called once in one thread are hung up

2016-11-02 Thread jn...@jnthn.net via RT
On Tue Nov 01 09:01:04 2016, cookbook_...@yahoo.co.jp wrote: > I'm creating a Perl 6 bindings for > MeCab ( http://taku910.github.io/mecab/ ) > > See the following codes and documentations(translations). > > My repository is: > https://github.com/titsuki/p6-MeCab/tree/for-RT > > > The following