[#68478] Looking for MRI projects for Ruby Google Summer of Code 2015 — Tony Arcieri <bascule@...>

Hi ruby-core,

10 messages 2015/03/10

[ruby-core:68368] [Ruby trunk - Bug #10922] [Open] TracePoint#binding may return nil in Ruby 2.2

From: kazuki@...
Date: 2015-03-01 06:03:57 UTC
List: ruby-core #68368
Issue #10922 has been reported by Kazuki Tsujimoto.

----------------------------------------
Bug #10922: TracePoint#binding may return nil in Ruby 2.2
https://bugs.ruby-lang.org/issues/10922

* Author: Kazuki Tsujimoto
* Status: Open
* Priority: Normal
* Assignee: Yui NARUSE
* ruby -v: ruby 2.2.1p85 (2015-02-26 revision 49761) [x86_64-linux]
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED
----------------------------------------
~~~
$ miniruby -ve '
TracePoint.new(:c_return) do |tp|
  p [tp.method_id, tp.binding]
end.enable

Thread.new {}.join
'
ruby 2.2.1p85 (2015-02-26 revision 49761) [x86_64-linux]
[:enable, #<Binding:0x00555555a6ed48>]
[:initialize, #<Binding:0x00555555a6ea78>]
[:new, #<Binding:0x00555555a6e758>]
[:to_s, nil]
[:join, #<Binding:0x00555555a6e5f0>]
~~~

According to git bisect, this change is introduced in r47670 and fixed in r49430.




-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next