[#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:91366] [Ruby trunk Bug#15578] Missing TracePoint return event when a conditional is used before a rescue
From:
zetter@...
Date:
2019-01-31 16:17:38 UTC
List:
ruby-core #91366
Issue #15578 has been reported by zetter (Chris Zetter). ---------------------------------------- Bug #15578: Missing TracePoint return event when a conditional is used before a rescue https://bugs.ruby-lang.org/issues/15578 * Author: zetter (Chris Zetter) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.6.1 * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Hello, I've been using TracePoint on a Ruby on Rails project and noticed that the number of method 'return' events was less than the number of 'call' events. An example of a return event that isn't always logged (depending on inputs) is the "_decrypt method":https://github.com/rails/rails/blob/v5.2.2/activesupport/lib/active_support/message_encryptor.rb#L183 based off of this I've made a simplified example. There are other methods that don't have exact same structure but show the same problem. I haven't yet been able to make reproducible examples for them. Running the following code with TracePoint doesn't emit the 'return' event as expected: ``` ruby def example 1 if 1 == 1 rescue end example() ``` Here are the events that are logged using TracePoint: ``` [nil, :line] [:example, :call] [:example, :line] ``` I expect it log the return even from the example method: ``` [nil, :line] [:example, :call] [:example, :line] [:example, :return] ``` I have attached a runnable example. This bug looks like it was introduced between 2.5.3 and 2.6.0. It works as expected on 2.5.3, and is occurs on 2.6.0 and 2.6.1 I've also tried compiling the instructions without peephole optimisation on and the bug no longer occurs. ---Files-------------------------------- example.rb (249 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>