New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hangs in spectests with test that calls .quit on Supplier #5248
Comments
From @usev6This ticket is about a (skipped) test in S17-supply/Channel.t that regularely hangs in spectests. The hangs happen with the latest and greatest rakudo-j with OpenJDK 1.8.0_77 (running on FreeBSD 10.3) $ perl6-j --version A somewhat golfed example of the hanging code is: $ perl6-j -e 'my $r = Supplier.new; my $s = $r.Supply; my $c = $s.Channel; my $p = start { for @$c { } }; for 1..4 { $r.emit($_); }; $r.quit(X::AdHoc.new(:payload("foo"))); try await $p;' This command runs to it's completion most of the time, but hangs from time to time. During spectests S17-supply/Channel.t was hanging most of the time (always?) -- before the test was skipped. |
From @usev6On Thu Apr 21 04:41:32 2016, bartolin@gmx.de wrote:
Today I've seen a hang with S17-supply/Channel.t on rakudo-m during The following numbers are for 100 runs of the mentioned commands:
|
From @usev6On Fri, 22 Apr 2016 12:20:54 -0700, bartolin@gmx.de wrote:
I haven't seen a single hang in S17-supply/Channel.t on moar for many months. Also, I just repeated my earlier experiment (running the golfed code and the test file t/spec/S17-supply/Channel.t in a loop) and there was no problem at all (neither on moar nor on jvm). Therefore I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#127947 (status was 'resolved')
Searchable as RT127947$
The text was updated successfully, but these errors were encountered: