Skip to content

Instantly share code, notes, and snippets.

Created Oct 27, 2011
What would you like to do?
require 'fiber'
fiber = { Fiber.yield }
fiber.resume while fiber.alive?
Copy link

tenderlove commented Oct 27, 2011

Here is the output:

test.rb:3: [BUG] cfp consistency error - send
ruby 2.0.0dev (2011-10-26 trunk 33526) [x86_64-darwin11.2.0]

-- Control frame information -----------------------------------------------
c:0004 p:---- s:0008 b:0008 l:000007 d:000007 CFUNC  :yield
c:0003 p:0015 s:0005 b:0005 l:002368 d:000004 BLOCK  test.rb:3
c:0002 p:---- s:0003 b:0003 l:000002 d:000002 FINISH
c:0001 p:---- s:0001 b:-001 l:000000 d:000000 ------

-- Ruby level backtrace information ----------------------------------------
test.rb:3:in `block in <main>'
test.rb:3:in `yield'

-- C level backtrace information -------------------------------------------

   See Crash Report log file under ~/Library/Logs/CrashReporter or
   /Library/Logs/CrashReporter, for the more detail of.

-- Other runtime information -----------------------------------------------

* Loaded script: test.rb

* Loaded features:

    1 /Users/aaron/.local/lib/ruby/1.9.1/x86_64-darwin11.2.0/enc/encdb.bundle
    2 /Users/aaron/.local/lib/ruby/1.9.1/x86_64-darwin11.2.0/enc/trans/transdb.bundle
    3 /Users/aaron/.local/lib/ruby/1.9.1/rubygems/defaults.rb
    4 /Users/aaron/.local/lib/ruby/1.9.1/x86_64-darwin11.2.0/rbconfig.rb
    5 /Users/aaron/.local/lib/ruby/1.9.1/rubygems/deprecate.rb
    6 /Users/aaron/.local/lib/ruby/1.9.1/rubygems/exceptions.rb
    7 /Users/aaron/.local/lib/ruby/1.9.1/rubygems/custom_require.rb
    8 /Users/aaron/.local/lib/ruby/1.9.1/rubygems.rb
    9 /Users/aaron/.local/lib/ruby/1.9.1/x86_64-darwin11.2.0/fiber.bundle

You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details:

Abort trap: 6


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment