* [ruby-dev:50984] [Ruby master Bug#17482] Ractor.receive doesnt accept Ctrl+C under some condition
@ 2020-12-27 13:41 rrr_one_1
2020-12-27 14:28 ` [ruby-dev:50985] " ko1
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: rrr_one_1 @ 2020-12-27 13:41 UTC (permalink / raw)
To: ruby-dev
Issue #17482 has been reported by riskwa (riskwa anon).
----------------------------------------
Bug #17482: Ractor.receive doesnt accept Ctrl+C under some condition
https://bugs.ruby-lang.org/issues/17482
* Author: riskwa (riskwa anon)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
When I run this script, Ctrl+C doesn't work.
Waiting forever on #4 is fine, but I think Ctrl+C should work.
``` ruby
r = Ractor.new() {
# sleep 1 #1
File.open(__FILE__){ } #2
}
# sleep 1 #3
p Ractor.receive #4
```
When I comment out #2, Ctrl+C works.
When I comment in #1 and/or #3, Ctrl+C works.
In my environment, it's reproducable in 100%.
My environment is:
WSL2 ubuntu 5 4.19.128-microsoft-standard #1 i5-10400 6core
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-dev:50985] [Ruby master Bug#17482] Ractor.receive doesnt accept Ctrl+C under some condition
2020-12-27 13:41 [ruby-dev:50984] [Ruby master Bug#17482] Ractor.receive doesnt accept Ctrl+C under some condition rrr_one_1
@ 2020-12-27 14:28 ` ko1
2021-02-05 6:34 ` [ruby-dev:51015] " ko1
2021-02-08 10:54 ` [ruby-dev:51017] " naruse
2 siblings, 0 replies; 4+ messages in thread
From: ko1 @ 2020-12-27 14:28 UTC (permalink / raw)
To: ruby-dev
Issue #17482 has been updated by ko1 (Koichi Sasada).
Assignee set to ko1 (Koichi Sasada)
Status changed from Open to Assigned
Thank you for the report, I could reproduce it.
----------------------------------------
Bug #17482: Ractor.receive doesnt accept Ctrl+C under some condition
https://bugs.ruby-lang.org/issues/17482#change-89566
* Author: riskwa (riskwa anon)
* Status: Assigned
* Priority: Normal
* Assignee: ko1 (Koichi Sasada)
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
When I run this script, Ctrl+C doesn't work.
Waiting forever on #4 is fine, but I think Ctrl+C should work.
``` ruby
r = Ractor.new() {
# sleep 1 #1
File.open(__FILE__){ } #2
}
# sleep 1 #3
p Ractor.receive #4
```
When I comment out #2, Ctrl+C works.
When I comment in #1 and/or #3, Ctrl+C works.
In my environment, it's reproducable in 100%.
My environment is:
WSL2 ubuntu 5 4.19.128-microsoft-standard #1 i5-10400 6core
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-dev:51015] [Ruby master Bug#17482] Ractor.receive doesnt accept Ctrl+C under some condition
2020-12-27 13:41 [ruby-dev:50984] [Ruby master Bug#17482] Ractor.receive doesnt accept Ctrl+C under some condition rrr_one_1
2020-12-27 14:28 ` [ruby-dev:50985] " ko1
@ 2021-02-05 6:34 ` ko1
2021-02-08 10:54 ` [ruby-dev:51017] " naruse
2 siblings, 0 replies; 4+ messages in thread
From: ko1 @ 2021-02-05 6:34 UTC (permalink / raw)
To: ruby-dev
Issue #17482 has been updated by ko1 (Koichi Sasada).
b2674c1fd725b43adf51af7935c780359d70c2a4 should be backported too.
----------------------------------------
Bug #17482: Ractor.receive doesnt accept Ctrl+C under some condition
https://bugs.ruby-lang.org/issues/17482#change-90271
* Author: riskwa (riskwa anon)
* Status: Closed
* Priority: Normal
* Assignee: ko1 (Koichi Sasada)
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: REQUIRED
----------------------------------------
When I run this script, Ctrl+C doesn't work.
Waiting forever on #4 is fine, but I think Ctrl+C should work.
``` ruby
r = Ractor.new() {
# sleep 1 #1
File.open(__FILE__){ } #2
}
# sleep 1 #3
p Ractor.receive #4
```
When I comment out #2, Ctrl+C works.
When I comment in #1 and/or #3, Ctrl+C works.
In my environment, it's reproducable in 100%.
My environment is:
WSL2 ubuntu 5 4.19.128-microsoft-standard #1 i5-10400 6core
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-dev:51017] [Ruby master Bug#17482] Ractor.receive doesnt accept Ctrl+C under some condition
2020-12-27 13:41 [ruby-dev:50984] [Ruby master Bug#17482] Ractor.receive doesnt accept Ctrl+C under some condition rrr_one_1
2020-12-27 14:28 ` [ruby-dev:50985] " ko1
2021-02-05 6:34 ` [ruby-dev:51015] " ko1
@ 2021-02-08 10:54 ` naruse
2 siblings, 0 replies; 4+ messages in thread
From: naruse @ 2021-02-08 10:54 UTC (permalink / raw)
To: ruby-dev
Issue #17482 has been updated by naruse (Yui NARUSE).
Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: REQUIRED to 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: DONE
ruby_3_0 9aba46d8d80473594e567dff1652626e7b2a77b0 merged revision(s) 6f727853cee41195b67ee5d793c1ac23fe1a6ae0,b2674c1fd725b43adf51af7935c780359d70c2a4.
----------------------------------------
Bug #17482: Ractor.receive doesnt accept Ctrl+C under some condition
https://bugs.ruby-lang.org/issues/17482#change-90290
* Author: riskwa (riskwa anon)
* Status: Closed
* Priority: Normal
* Assignee: ko1 (Koichi Sasada)
* ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: DONE
----------------------------------------
When I run this script, Ctrl+C doesn't work.
Waiting forever on #4 is fine, but I think Ctrl+C should work.
``` ruby
r = Ractor.new() {
# sleep 1 #1
File.open(__FILE__){ } #2
}
# sleep 1 #3
p Ractor.receive #4
```
When I comment out #2, Ctrl+C works.
When I comment in #1 and/or #3, Ctrl+C works.
In my environment, it's reproducable in 100%.
My environment is:
WSL2 ubuntu 5 4.19.128-microsoft-standard #1 i5-10400 6core
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-02-08 10:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-27 13:41 [ruby-dev:50984] [Ruby master Bug#17482] Ractor.receive doesnt accept Ctrl+C under some condition rrr_one_1
2020-12-27 14:28 ` [ruby-dev:50985] " ko1
2021-02-05 6:34 ` [ruby-dev:51015] " ko1
2021-02-08 10:54 ` [ruby-dev:51017] " naruse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).