Bug #232
closed
profile: get error "can't creating binding object on top of Fiber"
Added by pragdave (Dave Thomas) over 16 years ago.
Updated over 13 years ago.
Description
=begin
$ ruby -v -rprofile -e 'puts 1'
ruby 1.9.0 (2008-06-30 revision 15427) [i686-darwin9.3.0]
% cumulative self self total
time seconds seconds calls ms/call ms/call name
0.00 0.01 0.00 1 0.00 10.00 #toplevel
-e:1:in puts': Can't create Binding Object on top of Fiber. (RuntimeError) from -e:1:in
puts'
from -e:1:in `'
=end
=begin
Hi,
Dave Thomas wrote:
Bug #232: profile: get error "can't creating binding object on top of Fiber"
http://redmine.ruby-lang.org/issues/show/232
Could you try it with newest revision?
$ /tmp/trunk/bin/ruby -v -rprofile -e 'puts 1'
ruby 1.9.0 (2008-07-08 revision 0) [i686-linux]
1
% cumulative self self total
time seconds seconds calls ms/call ms/call name
0.00 0.00 0.00 1 0.00 0.00 Fixnum#to_s
0.00 0.00 0.00 2 0.00 0.00 IO#write
0.00 0.00 0.00 1 0.00 0.00 IO#puts
0.00 0.00 0.00 1 0.00 0.00 Kernel.puts
0.00 0.01 0.00 1 0.00 10.00 #toplevel
--
// SASADA Koichi at atdot dot net
=end
- Status changed from Open to Closed
=begin
Indeed, this works fine in 15427.
Dave
=end
Also available in: Atom
PDF
Like0
Like0Like0