Project

General

Profile

Actions

Bug #232

closed

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

Added by pragdave (Dave Thomas) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-core:17643]

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

Actions #1

Updated by ko1 (Koichi Sasada) over 15 years ago

=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

Actions #2

Updated by pragdave (Dave Thomas) over 15 years ago

  • Status changed from Open to Closed

=begin
Indeed, this works fine in 15427.

Dave
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0