lifo/cramp — Issue #35: Segfault
Author: GBH
Created: 2011-10-20 19:47:46+00:00
State: open

/Users/oleg/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -I"lib:test" -I"/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib" "/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/rake_test_loader.rb" "test/**/*_test.rb"
Loaded suite /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/rake_test_loader
Started

BaseTest:
PASS test_body (0.09s)
PASS test_headers (0.00s)

CallbackTest:
PASS test_before_start_halt (0.00s)
PASS test_on_finish_callback (0.00s)
PASS test_on_start_callback (0.00s)

ChunkedTransportTest:
PASS test_body (0.00s)
PASS test_headers (0.00s)

CustomHeadersTest:
PASS test_headers (0.00s)

ExceptionHandlerTest:
PASS test_bad_respond_with (0.02s)
PASS test_exception_in_before_start (0.00s)
PASS test_exception_in_on_start (0.01s)
PASS test_exception_in_timer (0.00s)

FiberPoolTest:
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:941: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin11.2.0]

-- control frame ----------
c:0023 p:---- s:0107 b:0107 l:000106 d:000106 CFUNC :each
c:0022 p:0094 s:0104 b:0104 l:000103 d:000103 METHOD /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:941
c:0021 p:---- s:0099 b:0099 l:000098 d:000098 FINISH
c:0020 p:---- s:0097 b:0097 l:000096 d:000096 CFUNC :run_machine
c:0019 p:0248 s:0094 b:0094 l:000093 d:000093 METHOD /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:199
c:0018 p:0074 s:0087 b:0087 l:001348 d:001348 METHOD /Users/oleg/Sites/git_forks/cramp-blah/lib/cramp/test_case.rb:27
c:0017 p:0077 s:0078 b:0078 l:001268 d:001268 METHOD /Users/oleg/Sites/git_forks/cramp-blah/lib/cramp/test_case.rb:39
c:0016 p:0019 s:0067 b:0067 l:001358 d:001358 METHOD /Users/oleg/Sites/git_forks/cramp-blah/test/controller/fiber_pool_test.rb:50
c:0015 p:0042 s:0064 b:0064 l:000063 d:000063 METHOD /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:157
c:0014 p:0010 s:0058 b:0058 l:001020 d:000057 BLOCK /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.9/lib/active_support/testing/setup_and_teardown.rb:35
c:0013 p:0173 s:0056 b:0056 l:000055 d:000055 METHOD /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.9/lib/active_support/callbacks.rb:419
c:0012 p:0019 s:0047 b:0047 l:001020 d:001020 METHOD /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.9/lib/active_support/testing/setup_and_teardown.rb:34
c:0011 p:0069 s:0041 b:0040 l:0012f8 d:000039 BLOCK /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:77
c:0010 p:---- s:0033 b:0033 l:000032 d:000032 FINISH
c:0009 p:---- s:0031 b:0031 l:000030 d:000030 CFUNC :each
c:0008 p:0068 s:0028 b:0028 l:0012f8 d:000027 BLOCK /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:69
c:0007 p:---- s:0024 b:0024 l:000023 d:000023 FINISH
c:0006 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC :each
c:0005 p:0082 s:0019 b:0019 l:0012f8 d:0012f8 METHOD /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:63
c:0004 p:0213 s:0014 b:0014 l:000013 d:000013 METHOD /Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:42
c:0003 p:0057 s:0007 b:0007 l:000678 d:000c20 BLOCK /Users/oleg/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/minitest/unit.rb:508
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:002128 d:002128 TOP
---------------------------
-- Ruby level backtrace information ----------------------------------------
/Users/oleg/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/minitest/unit.rb:508:in `block in autorun'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:42:in `run'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:63:in `run_test_suites'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:63:in `each'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:69:in `block in run_test_suites'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:69:in `each'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:77:in `block (2 levels) in run_test_suites'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.9/lib/active_support/testing/setup_and_teardown.rb:34:in `run'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.9/lib/active_support/callbacks.rb:419:in `_run_setup_callbacks'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.9/lib/active_support/testing/setup_and_teardown.rb:35:in `block in run'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/turn-0.8.2/lib/turn/autorun/minitest.rb:157:in `run'
/Users/oleg/Sites/git_forks/cramp-blah/test/controller/fiber_pool_test.rb:50:in `test_body'
/Users/oleg/Sites/git_forks/cramp-blah/lib/cramp/test_case.rb:39:in `get_body_chunks'
/Users/oleg/Sites/git_forks/cramp-blah/lib/cramp/test_case.rb:27:in `get_body'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:199:in `run'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:199:in `run_machine'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:941:in `run_deferred_callbacks'
/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-1.0.0.beta.3/lib/eventmachine.rb:941:in `each'

-- 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

rake aborted!
Command failed with status (): [/Users/oleg/.rvm/rubies/ruby-1.9.2-p180/bi...]

Tasks: TOP => default => test
(See full trace by running task with --trace)

Any idea what might be causing this?