Bug #232

profile: get error "can't creating binding object on top of Fiber"

Added by pragdave (Dave Thomas) almost 4 years ago. Updated about 1 year ago.

[ruby-core:17643]
Status:Closed Start date:07/08/2008
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
ruby -v:

Description

$ 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 `<main>'

History

Updated by ko1 (Koichi Sasada) almost 4 years ago

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

Updated by pragdave (Dave Thomas) almost 4 years ago

  • Status changed from Open to Closed
Indeed, this works fine in 15427.


Dave

Also available in: Atom PDF