From: Mauricio Fernandez Date: 2006-05-06T19:32:58+09:00 Subject: Re: Strange Proc#call problems with profile On Sat, May 06, 2006 at 01:01:03PM +0900, Victor Shepelev wrote: > After transition from ruby1.8.2 => ruby1.9 I have the following problem: > > -- > require 'profile' > > l = lambda{|x| x} > l.call([1,2,3]) #<== error goes here > -- > > test_profile.rb:4:in `Proc#call': wrong argument type nil (expected Data) > (TypeError) > > If I comment out "require profile", all works without errors. Looks like a bug in 1.9; I'm forwarding that to ruby-core: $ cat bug2.rb set_trace_func proc{} l = lambda{} l.call $ ruby19 bug2.rb bug2.rb:3: [BUG] Segmentation fault ruby 1.9.0 (2006-05-01) [i686-linux] Aborted -- Mauricio Fernandez - http://eigenclass.org - singular Ruby