Bug #232

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

Added by Dave Thomas about 7 years ago. Updated over 4 years ago.

[ruby-core:17643]
Status:Closed
Priority:Normal
Assignee:-
ruby -v: Backport:

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

Associated revisions

Revision 38709
Added by Zachary Scott over 2 years ago

  • lib/webrick/httpservlet/abstract.rb (WEBrick::HTTPServlet): Typo in example. Patch by shlensky [Fixes #232 on github]

Revision 38709
Added by Zachary Scott over 2 years ago

  • lib/webrick/httpservlet/abstract.rb (WEBrick::HTTPServlet): Typo in example. Patch by shlensky [Fixes #232 on github]

History

#1 Updated by Koichi Sasada about 7 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

#2 Updated by Dave Thomas about 7 years ago

  • Status changed from Open to Closed

=begin
Indeed, this works fine in 15427.

Dave
=end

Also available in: Atom PDF