[#90865] [Ruby trunk Bug#15499] Breaking behavior on ruby 2.6: rb_thread_call_without_gvl doesn't invoke unblock_function when used on the main thread — apolcyn@...
Issue #15499 has been reported by apolcyn (alex polcyn).
3 messages
2019/01/03
[#90877] [Ruby trunk Bug#15499] Breaking behavior on ruby 2.6: rb_thread_call_without_gvl doesn't invoke unblock_function when used on the main thread — apolcyn@...
Issue #15499 has been updated by apolcyn (alex polcyn).
3 messages
2019/01/03
[#90895] Re: [ruby-alerts:11680] failure alert on trunk-mjit@silicon-docker (NG (r66707)) — Eric Wong <normalperson@...>
ko1c-failure@atdot.net wrote:
4 messages
2019/01/05
[#90896] Re: [ruby-alerts:11680] failure alert on trunk-mjit@silicon-docker (NG (r66707))
— Takashi Kokubun <takashikkbn@...>
2019/01/05
Thanks to explain that.
[#91200] [Ruby trunk Feature#15553] Addrinfo.getaddrinfo supports timeout — glass.saga@...
Issue #15553 has been reported by Glass_saga (Masaki Matsushita).
4 messages
2019/01/21
[#91289] Re: [Ruby trunk Feature#15553] Addrinfo.getaddrinfo supports timeout
— Eric Wong <normalperson@...>
2019/01/26
glass.saga@gmail.com wrote:
[ruby-core:91078] [Ruby trunk Bug#15385] Ruby process hang in ensure
From:
nagachika00@...
Date:
2019-01-14 11:40:45 UTC
List:
ruby-core #91078
Issue #15385 has been updated by nagachika (Tomoyuki Chikanaga). Memo: r61591, r61592, r66324 are related. ---------------------------------------- Bug #15385: Ruby process hang in ensure https://bugs.ruby-lang.org/issues/15385#change-76307 * Author: pawelpacana (Paweł Pacana) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18] * Backport: 2.4: REQUIRED, 2.5: REQUIRED ---------------------------------------- While playing with mutation testing of my code I've found a weird mutation that hangs Ruby process. The isolated code which triggers this freeze is: ~~~ ruby require 'timeout' puts Process.pid def raise_before_returning raise [] end def doh value = raise_before_returning ensure # p value # <-- that unblocks it value if nil end Timeout.timeout(3) do doh end ~~~ 1. `Timeout` is unnecessary and was added to illustrate that it has no effect to interrupt hanged process. 2. `Process.pid` is printed for convenience to kill hanged process. 3. Printing `value` in ensure changes behavior, there is no hang when encountering `value if nil` below. I've also checked `ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-darwin18]` and the problem persists. ---Files-------------------------------- reproduce.rb (216 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>