https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112021-07-27T07:21:55ZRuby Issue Tracking SystemRuby master - Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.https://bugs.ruby-lang.org/issues/18048?journal_id=930082021-07-27T07:21:55Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul></ul><p>Thank you for creating the pack for backport. I see the PR was basically backporting 050a89543952a2c9e7c9bc938f4fdb538f6c9278 partially. I will try to merge it.</p> Ruby master - Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.https://bugs.ruby-lang.org/issues/18048?journal_id=930092021-07-27T07:22:04Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul> Ruby master - Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.https://bugs.ruby-lang.org/issues/18048?journal_id=930102021-07-27T07:25:19Zioquatix (Samuel Williams)samuel@oriontransfer.net
<ul></ul><p>The PR is 050a89543952a2c9e7c9bc938f4fdb538f6c9278 followed by 13f8521c630a15c87398dee0763e95f59c032a94</p> Ruby master - Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.https://bugs.ruby-lang.org/issues/18048?journal_id=930992021-08-03T11:56:24Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul></ul><p>I see the git:2d4f29e77e883c29e35417799f8001b8046cde03 was pushed as the retry of 13f8521c630a15c87398dee0763e95f59c032a94.<br>
I will pay attention on the RubyCI for a while.</p> Ruby master - Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.https://bugs.ruby-lang.org/issues/18048?journal_id=932822021-08-14T08:06:08Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul></ul><p>I create the backport patch including 050a89543952a2c9e7c9bc938f4fdb538f6c9278 and 13f8521c630a15c87398dee0763e95f59c032a94 and push to my branch. See <a href="https://github.com/ruby/ruby/pull/4686/files" class="external">https://github.com/ruby/ruby/pull/4686/files</a>.</p>
<p>But on the branch, make btest hangs on the bootstraptest/test_ractor.rb.</p>
<pre><code>% make btest
2021-08-14 16:57:56 +0900
Driver is ruby 3.0.3p123 (2021-08-08 revision 3922394c85) [x86_64-darwin19]
Target is ruby 3.0.3p124 (2021-08-14 revision 720d9c0803) [x86_64-darwin19]
test_attr.rb PASS 2
test_autoload.rb PASS 8
test_block.rb PASS 58
test_class.rb PASS 48
test_env.rb PASS 2
test_eval.rb PASS 37
test_exception.rb PASS 34
test_fiber.rb PASS 5
test_finalizer.rb PASS 1
test_flip.rb PASS 1
test_flow.rb PASS 62
test_fork.rb PASS 4
test_gc.rb PASS 2
test_insns.rb PASS 383
test_io.rb PASS 9
test_jump.rb PASS 29
test_literal.rb PASS 156
test_literal_suffix.rb PASS 48
test_load.rb PASS 2
test_marshal.rb PASS 1
test_massign.rb PASS 34
test_method.rb PASS 223
test_objectspace.rb PASS 6
test_proc.rb PASS 37
test_ractor.rb \
↑ hangs up here
</code></pre>
<p>Samuel, would you review my backport candidate branch if you don't mind?</p> Ruby master - Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.https://bugs.ruby-lang.org/issues/18048?journal_id=932832021-08-14T08:10:14Zioquatix (Samuel Williams)samuel@oriontransfer.net
<ul></ul><p>I will check it.</p> Ruby master - Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.https://bugs.ruby-lang.org/issues/18048?journal_id=938362021-09-25T10:06:56Zioquatix (Samuel Williams)samuel@oriontransfer.net
<ul></ul><p>I rebased my backport PR on <code>ruby_3_0</code> and could not reproduce the failure. I'll push the updated branch.</p> Ruby master - Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.https://bugs.ruby-lang.org/issues/18048?journal_id=938382021-09-26T03:47:58Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul></ul><p>I am sorry I pointed wrong PR.<br>
This is my backport candidate PR.<br>
<a href="https://github.com/ruby/ruby/pull/4896" class="external">https://github.com/ruby/ruby/pull/4896</a></p> Ruby master - Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.https://bugs.ruby-lang.org/issues/18048?journal_id=938412021-09-26T11:51:57Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: REQUIRED</i> to <i>2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: DONE</i></li></ul><p>The changesets 050a89543952a2c9e7c9bc938f4fdb538f6c9278, 57eaa07ba6c1ee958c16d5c451e2dceb2208edf1, edbe0e224c2594b7a7b055f0986cbfd690d754d5 and 2d4f29e77e883c29e35417799f8001b8046cde03 are backported by merging <a href="https://github.com/ruby/ruby/pull/4686" class="external">https://github.com/ruby/ruby/pull/4686</a>.</p> Ruby master - Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.https://bugs.ruby-lang.org/issues/18048?journal_id=939072021-09-27T22:06:43Zioquatix (Samuel Williams)samuel@oriontransfer.net
<ul></ul><p>Thank you so much!</p>