Created
September 23, 2011 20:25
-
-
Save bradgessler/1238368 to your computer and use it in GitHub Desktop.
Fiber seg fault
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'eventmachine' | |
require 'fiber' | |
EM.run{ Fiber.new{}.resume } | |
__END__ | |
/Users/bgessler/Desktop/crash.rb:6: [BUG] Segmentation fault | |
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.1.0] | |
-- control frame ---------- | |
c:0009 p:---- s:0025 b:0025 l:000024 d:000024 CFUNC :resume | |
c:0008 p:0021 s:0022 b:0022 l:001ec8 d:002478 BLOCK /Users/bgessler/Desktop/crash.rb:6 | |
c:0007 p:---- s:0020 b:0020 l:000019 d:000019 FINISH | |
c:0006 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :call | |
c:0005 p:---- s:0016 b:0016 l:000015 d:000015 CFUNC :run_machine | |
c:0004 p:0248 s:0013 b:0013 l:000012 d:000012 METHOD /Users/bgessler/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/lib/eventmachine.rb:179 | |
c:0003 p:0051 s:0006 b:0006 l:001ec8 d:001ac8 EVAL /Users/bgessler/Desktop/crash.rb:5 | |
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH | |
c:0001 p:0000 s:0002 b:0002 l:001ec8 d:001ec8 TOP | |
--------------------------- | |
-- Ruby level backtrace information ---------------------------------------- | |
/Users/bgessler/Desktop/crash.rb:5:in `<main>' | |
/Users/bgessler/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/lib/eventmachine.rb:179:in `run' | |
/Users/bgessler/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/lib/eventmachine.rb:179:in `run_machine' | |
/Users/bgessler/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/lib/eventmachine.rb:179:in `call' | |
/Users/bgessler/Desktop/crash.rb:6:in `block in <main>' | |
/Users/bgessler/Desktop/crash.rb:6:in `resume' | |
-- C level backtrace information ------------------------------------------- | |
[NOTE] | |
You may have encountered a bug in the Ruby interpreter or extension libraries. | |
Bug reports are welcome. | |
For details: http://www.ruby-lang.org/bugreport.html | |
Abort trap: 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment