Actions
Bug #10922
closedTracePoint#binding may return nil in Ruby 2.2
    Bug #10922:
    TracePoint#binding may return nil in Ruby 2.2
  
Description
$ 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.
        
           Updated by ktsj (Kazuki Tsujimoto) over 10 years ago
          Updated by ktsj (Kazuki Tsujimoto) over 10 years ago
          
          
        
        
      
      - Related to Bug #10723: [PERF] bm_tread_create_join 20% slower added
        
           Updated by naruse (Yui NARUSE) about 8 years ago
          Updated by naruse (Yui NARUSE) about 8 years ago
          
          
        
        
      
      - Status changed from Open to Closed
Actions