Bug #4373: http.rb:677: [BUG] Segmentation fault http://redmine.ruby-lang.org/issues/show/4373 Author: Christian Fazzini Status: Open, Priority: High ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0] Where is this error coming from? The following happens after I start the rails server via "rails s": rails s => Booting WEBrick => Rails 3.0.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2011-02-05 18:27:34] INFO WEBrick 1.3.1 [2011-02-05 18:27:34] INFO ruby 1.9.2 (2010-12-25) [x86_64-darwin10.6.0] [2011-02-05 18:27:34] INFO WEBrick::HTTPServer#start: pid=770 port=3000 After I reload the page on a browser, the following error displays: /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677: [BUG] Segmentation fault ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0] -- control frame ---------- c:0098 p:---- s:0522 b:0522 l:000521 d:000521 CFUNC :connect c:0097 p:0440 s:0519 b:0519 l:001108 d:001108 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677 c:0096 p:0011 s:0512 b:0512 l:000511 d:000511 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:637 c:0095 p:0048 s:0509 b:0509 l:000508 d:000508 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:626 c:0094 p:0025 s:0506 b:0506 l:000505 d:000505 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1160 c:0093 p:0504 s:0499 b:0499 l:000498 d:000498 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.3/lib/faraday/adapter/net_http.rb:45 c:0092 p:0053 s:0487 b:0487 l:000486 d:000486 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/twitter-1.0.0/lib/faraday/multipart.rb:16 c:0091 p:0041 s:0483 b:0483 l:000482 d:000482 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.3/lib/faraday/request.rb:84 c:0090 p:0044 s:0476 b:0476 l:000475 d:000475 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.3/lib/faraday/request.rb:26 c:0089 p:0065 s:0470 b:0470 l:000469 d:000469 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.3/lib/faraday/connection.rb:169 c:0088 p:0026 s:0463 b:0463 l:000462 d:000462 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.3/lib/faraday/connection.rb:64 c:0087 p:0021 s:0457 b:0457 l:002550 d:002550 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/twitter-1.0.0/lib/twitter/request.rb:28 c:0086 p:0027 s:0449 b:0449 l:000448 d:000448 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/twitter-1.0.0/lib/twitter/request.rb:6 c:0085 p:0084 s:0443 b:0443 l:000442 d:000442 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/twitter-1.0.0/lib/twitter/client/user.rb:90 c:0084 p:0013 s:0435 b:0435 l:000413 d:000434 BLOCK /Users/Chris/Sites/site_name/app/controllers/pages_controller.rb:63 c:0083 p:0005 s:0433 b:0433 l:000422 d:000432 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/cache.rb:297 c:0082 p:0114 s:0430 b:0430 l:000429 d:000429 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/cache.rb:519 c:0081 p:0268 s:0423 b:0423 l:000422 d:000422 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/cache.rb:296 c:0080 p:0291 s:0414 b:0414 l:000413 d:000413 METHOD /Users/Chris/Sites/site_name/app/controllers/pages_controller.rb:63 c:0079 p:0012 s:0407 b:0407 l:000406 d:000406 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:4 c:0078 p:0015 s:0402 b:0402 l:000401 d:000401 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:151 c:0077 p:0041 s:0397 b:0397 l:000396 d:000396 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:11 c:0076 p:0010 s:0393 b:0393 l:001970 d:000392 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:18 c:0075 p:0153 s:0391 b:0391 l:000390 d:000390 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:450 c:0074 p:0113 s:0385 b:0385 l:000384 d:000384 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:409 c:0073 p:0024 s:0376 b:0376 l:000375 d:000375 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:93 c:0072 p:0015 s:0370 b:0370 l:001970 d:001970 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:17 c:0071 p:0012 s:0366 b:0366 l:000347 d:000365 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:30 c:0070 p:0017 s:0362 b:0362 l:000352 d:000361 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52 c:0069 p:0032 s:0360 b:0360 l:000359 d:000359 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21 c:0068 p:0036 s:0353 b:0353 l:000352 d:000352 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52 c:0067 p:0152 s:0348 b:0348 l:000347 d:000347 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:29 c:0066 p:0012 s:0342 b:0342 l:000341 d:000341 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/rescue.rb:17 c:0065 p:0093 s:0337 b:0337 l:000336 d:000336 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:120 c:0064 p:0084 s:0331 b:0331 l:000330 d:000330 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:40 c:0063 p:0048 s:0326 b:0326 l:000325 d:000325 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal.rb:138 c:0062 p:0086 s:0321 b:0321 l:000320 d:000320 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/rack_delegation.rb:14 c:0061 p:0030 s:0315 b:0315 l:0020a8 d:000314 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal.rb:178 c:0060 p:---- s:0312 b:0312 l:000311 d:000311 FINISH c:0059 p:---- s:0310 b:0310 l:000309 d:000309 CFUNC :call c:0058 p:0022 s:0306 b:0306 l:000305 d:000305 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:62 c:0057 p:0094 s:0300 b:0300 l:000299 d:000299 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:27 c:0056 p:0097 s:0294 b:0294 l:000266 d:000293 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:148 c:0055 p:0014 s:0288 b:0288 l:000272 d:000287 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:93 c:0054 p:0142 s:0283 b:0283 l:000282 d:000282 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:68 c:0053 p:0198 s:0273 b:0273 l:000272 d:000272 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:92 c:0052 p:0092 s:0267 b:0267 l:000266 d:000266 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:139 c:0051 p:0025 s:0261 b:0261 l:000260 d:000260 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:492 c:0050 p:0100 s:0257 b:0257 l:000256 d:000256 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:50 c:0049 p:0168 s:0254 b:0254 l:000253 d:000253 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:32 c:0048 p:0019 s:0250 b:0250 l:000249 d:000249 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:19 c:0047 p:0100 s:0246 b:0246 l:000245 d:000245 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:50 c:0046 p:0168 s:0243 b:0243 l:000242 d:000242 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:32 c:0045 p:0019 s:0239 b:0239 l:000238 d:000238 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:19 c:0044 p:0100 s:0235 b:0235 l:000234 d:000234 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:50 c:0043 p:0168 s:0232 b:0232 l:000231 d:000231 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:32 c:0042 p:0019 s:0228 b:0228 l:000227 d:000227 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:19 c:0041 p:0044 s:0224 b:0224 l:000223 d:000223 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/builder.rb:30 c:0040 p:0014 s:0220 b:0220 l:000211 d:000219 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/warden-1.0.3/lib/warden/manager.rb:35 c:0039 p:---- s:0218 b:0218 l:000217 d:000217 FINISH c:0038 p:---- s:0216 b:0216 l:000215 d:000215 CFUNC :catch c:0037 p:0086 s:0212 b:0212 l:000211 d:000211 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/warden-1.0.3/lib/warden/manager.rb:34 c:0036 p:0015 s:0207 b:0207 l:000206 d:000206 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/best_standards_support.rb:17 c:0035 p:0093 s:0200 b:0200 l:000199 d:000199 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/head.rb:14 c:0034 p:0155 s:0193 b:0193 l:000192 d:000192 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/methodoverride.rb:24 c:0033 p:0046 s:0187 b:0187 l:000186 d:000186 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/params_parser.rb:21 c:0032 p:0054 s:0182 b:0182 l:000181 d:000181 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/flash.rb:182 c:0031 p:0027 s:0175 b:0175 l:000174 d:000174 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/session/abstract_store.rb:149 c:0030 p:0015 s:0164 b:0164 l:000163 d:000163 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/cookies.rb:295 c:0029 p:0014 s:0156 b:0156 l:0023d0 d:000155 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:32 c:0028 p:0019 s:0154 b:0154 l:000153 d:000153 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:28 c:0027 p:0051 s:0150 b:0150 l:000149 d:000149 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:12 c:0026 p:0019 s:0146 b:0146 l:0023d0 d:0023d0 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:31 c:0025 p:0015 s:0142 b:0142 l:000141 d:000141 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.r c:0024 p:0029 s:0138 b:0138 l:0008f0 d:000137 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:46 c:0023 p:0155 s:0136 b:0136 l:000135 d:000135 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:415 c:0022 p:0011 s:0126 b:0126 l:0008f0 d:0008f0 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:44 c:0021 p:0015 s:0122 b:0122 l:000121 d:000121 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/sendfile.rb:107 c:0020 p:0049 s:0112 b:0112 l:000111 d:000111 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/remote_ip.rb:48 c:0019 p:0015 s:0108 b:0108 l:000107 d:000107 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/show_exceptions.rb:46 c:0018 p:0027 s:0100 b:0100 l:000099 d:000099 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/rack/logger.rb:13 c:0017 p:0032 s:0096 b:0096 l:000095 d:000095 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/runtime.rb:17 c:0016 p:0052 s:0087 b:0087 l:000086 d:000086 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/cache/strategy/local_cache.rb:72 c:0015 p:0014 s:0083 b:0083 l:000077 d:000082 BLOCK /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/lock.rb:11 c:0014 p:0019 s:0081 b:0081 l:000080 d:000080 METHOD <internal:prelude>:10 c:0013 p:0054 s:0078 b:0078 l:000077 d:000077 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/lock.rb:11 c:0012 p:0193 s:0073 b:0073 l:000072 d:000072 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/static.rb:30 c:0011 p:0032 s:0066 b:0066 l:000065 d:000065 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/application.rb:168 c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/application.rb:77 c:0009 p:---- s:0057 b:0057 l:000056 d:000056 FINISH c:0008 p:0015 s:0055 b:0055 l:000054 d:000054 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/rack/log_tailer.rb:14 c:0007 p:0015 s:0050 b:0050 l:000049 d:000049 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/content_length.rb:13 c:0006 p:0338 s:0042 b:0042 l:000041 d:000041 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52 c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111 c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:70 c:0003 p:0126 s:0009 b:0009 l:001398 d:000008 BLOCK /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/server.rb:183 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP --------------------------- -- Ruby level backtrace information ---------------------------------------- /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:in `service' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/content_length.rb:13:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/rack/log_tailer.rb:14:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/application.rb:77:in `method_missing' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/application.rb:168:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/static.rb:30:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/lock.rb:11:in `call' <internal:prelude>:10:in `synchronize' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/lock.rb:11:in `block in call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/runtime.rb:17:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/rack/logger.rb:13:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/show_exceptions.rb:46:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/sendfile.rb:107:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:44:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:415:in `_run_call_callbacks' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:353:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:31:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:12:in `cache' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:32:in `block in call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/cookies.rb:295:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/flash.rb:182:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/head.rb:14:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/warden-1.0.3/lib/warden/manager.rb:34:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/warden-1.0.3/lib/warden/manager.rb:34:in `catch' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/warden-1.0.3/lib/warden/manager.rb:35:in `block in call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/builder.rb:30:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:19:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:32:in `call!' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:50:in `call_app!' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:19:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:32:in `call!' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:50:in `call_app!' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:19:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:32:in `call!' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:50:in `call_app!' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:492:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:139:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:92:in `recognize' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:68:in `optimized_each' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:93:in `block in recognize' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:148:in `block in call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:27:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:62:in `dispatch' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:62:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal.rb:178:in `block in action' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal.rb:138:in `dispatch' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:40:in `process' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:120:in `process' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/rescue.rb:17:in `process_action' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:17:in `process_action' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:93:in `run_callbacks' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:450:in `_run__2267956389060468203__process_action__4235457985283276613__callbacks' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:11:in `process_action' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:151:in `process_action' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /Users/Chris/Sites/site_name/app/controllers/pages_controller.rb:63:in `home' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/cache.rb:296:in `fetch' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/cache.rb:519:in `instrument' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/cache.rb:297:in `block in fetch' /Users/Chris/Sites/site_name/app/controllers/pages_controller.rb:63:in `block in home' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/twitter-1.0.0/lib/twitter/client/user.rb:90:in `suggestions' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/twitter-1.0.0/lib/twitter/request.rb:6:in `get' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/twitter-1.0.0/lib/twitter/request.rb:28:in `request' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.3/lib/faraday/connection.rb:64:in `get' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.3/lib/faraday/connection.rb:169:in `run_request' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.3/lib/faraday/request.rb:26:in `run' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.3/lib/faraday/request.rb:84:in `run' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/twitter-1.0.0/lib/faraday/multipart.rb:16:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.3/lib/faraday/adapter/net_http.rb:45:in `call' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1160:in `request' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:626:in `start' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:637:in `do_start' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677:in `connect' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677:in `connect' -- 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
on 2011-02-06 09:48
on 2011-02-06 10:25
Issue #4373 has been updated by Shota Fukumori. Status changed from Open to Feedback Hi, On darwin/osx, you should have crash logs under ~/Library/Logs/CrashReporter/. Could you show crash log file? --sora_h
on 2011-02-06 10:36
Issue #4373 has been updated by Christian Fazzini.
The latest crash log file:
ruby_2011-02-05-181943_Christian-Fazzinis-MacBook-Pro.crash
Process: ruby [490]
Path: /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
Identifier: ruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [355]
Date/Time: 2011-02-05 18:19:42.392 +0800
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 2
Application Specific Information:
abort() called
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff86fa0e92
select$DARWIN_EXTSN + 10
1 libruby.1.9.1.dylib 0x000000010018662d do_select + 605
(thread.c:2501)
2 libruby.1.9.1.dylib 0x0000000100066bdc select_call +
1308 (io.c:7228)
3 libruby.1.9.1.dylib 0x000000010003f38f rb_ensure + 127
(eval.c:743)
4 libruby.1.9.1.dylib 0x000000010005fcfe rb_f_select + 158
(io.c:7352)
5 libruby.1.9.1.dylib 0x000000010017bcb3 vm_call_method +
931 (vm_insnhelper.c:402)
6 libruby.1.9.1.dylib 0x0000000100167e64 vm_exec_core +
8260 (insns.def:1006)
7 libruby.1.9.1.dylib 0x000000010016fb03 vm_exec + 1507
(vm.c:1147)
8 libruby.1.9.1.dylib 0x000000010017cfb0 rb_yield + 640
(vm.c:558)
9 libruby.1.9.1.dylib 0x000000010008eb61 rb_obj_tap + 17
(object.c:536)
10 libruby.1.9.1.dylib 0x000000010017bcb3 vm_call_method +
931 (vm_insnhelper.c:402)
11 libruby.1.9.1.dylib 0x0000000100167e64 vm_exec_core +
8260 (insns.def:1006)
12 libruby.1.9.1.dylib 0x000000010016fb03 vm_exec + 1507
(vm.c:1147)
13 libruby.1.9.1.dylib 0x000000010016ffa0 rb_iseq_eval +
368 (vm.c:1375)
14 libruby.1.9.1.dylib 0x00000001000427bc rb_load_internal
+ 300 (load.c:304)
15 libruby.1.9.1.dylib 0x0000000100043afc rb_require_safe +
1052 (load.c:595)
16 libruby.1.9.1.dylib 0x000000010017bcb3 vm_call_method +
931 (vm_insnhelper.c:402)
17 libruby.1.9.1.dylib 0x0000000100167e64 vm_exec_core +
8260 (insns.def:1006)
18 libruby.1.9.1.dylib 0x000000010016fb03 vm_exec + 1507
(vm.c:1147)
19 libruby.1.9.1.dylib 0x000000010016fe0b rb_iseq_eval_main
+ 507 (vm.c:1389)
20 libruby.1.9.1.dylib 0x000000010003fa12
ruby_exec_internal + 178 (eval.c:214)
21 libruby.1.9.1.dylib 0x000000010004239c ruby_run_node +
60 (eval.c:261)
22 ruby 0x0000000100000ecf main + 79
(main.c:37)
23 ruby 0x0000000100000e74 start + 52
Thread 1:
0 libSystem.B.dylib 0x00007fff86f97fca __semwait_signal
+ 10
1 libSystem.B.dylib 0x00007fff86f9bde1
_pthread_cond_wait + 1286
2 libruby.1.9.1.dylib 0x0000000100188666 thread_timer +
182 (thread_pthread.c:137)
3 libSystem.B.dylib 0x00007fff86f96536 _pthread_start +
331
4 libSystem.B.dylib 0x00007fff86f963e9 thread_start + 13
Thread 2 Crashed:
0 libSystem.B.dylib 0x00007fff86fab616 __kill + 10
1 libSystem.B.dylib 0x00007fff8704bcca abort + 83
2 libruby.1.9.1.dylib 0x000000010003a7fd rb_bug + 205
(error.c:253)
3 libruby.1.9.1.dylib 0x00000001000fff44 sigsegv + 132
(signal.c:613)
4 libSystem.B.dylib 0x00007fff86fbd67a _sigtramp + 26
5 ??? 0x0000000102ef7090 0 + 4344213648
6 openssl.bundle 0x000000010171faca
ossl_ssl_verify_callback + 42 (ossl_ssl.c:299)
7 libcrypto.1.0.0.dylib 0x00000001024ac7bd X509_verify_cert
+ 557
8 libssl.1.0.0.dylib 0x000000010074fb60
ssl_verify_cert_chain + 336
9 libssl.1.0.0.dylib 0x0000000100730591
ssl3_get_server_certificate + 705
10 libssl.1.0.0.dylib 0x000000010073318a ssl3_connect +
2938
11 libssl.1.0.0.dylib 0x000000010073ba52 ssl23_connect +
3058
12 openssl.bundle 0x0000000101720337 ossl_start_ssl +
119 (ossl_ssl.c:1059)
13 libruby.1.9.1.dylib 0x000000010017bcb3 vm_call_method +
931 (vm_insnhelper.c:402)
14 libruby.1.9.1.dylib 0x0000000100167e64 vm_exec_core +
8260 (insns.def:1006)
15 libruby.1.9.1.dylib 0x000000010016fb03 vm_exec + 1507
(vm.c:1147)
16 libruby.1.9.1.dylib 0x0000000100170e7d rb_vm_invoke_proc
+ 877 (vm.c:558)
17 libruby.1.9.1.dylib 0x000000010017bcb3 vm_call_method +
931 (vm_insnhelper.c:402)
18 libruby.1.9.1.dylib 0x0000000100167e64 vm_exec_core +
8260 (insns.def:1006)
19 libruby.1.9.1.dylib 0x000000010016fb03 vm_exec + 1507
(vm.c:1147)
20 libruby.1.9.1.dylib 0x000000010017dcc4 catch_i + 596
(vm_eval.c:1458)
21 libruby.1.9.1.dylib 0x0000000100161f55 rb_catch_obj +
325 (vm_eval.c:1532)
22 libruby.1.9.1.dylib 0x0000000100162c20 rb_f_catch + 48
(vm_eval.c:1509)
23 libruby.1.9.1.dylib 0x000000010017bcb3 vm_call_method +
931 (vm_insnhelper.c:402)
24 libruby.1.9.1.dylib 0x0000000100167e64 vm_exec_core +
8260 (insns.def:1006)
25 libruby.1.9.1.dylib 0x000000010016fb03 vm_exec + 1507
(vm.c:1147)
26 libruby.1.9.1.dylib 0x000000010017156a vm_call0 + 1290
(vm_eval.c:66)
27 libruby.1.9.1.dylib 0x000000010017b4d1 vm_method_missing
+ 481 (vm_insnhelper.c:449)
28 libruby.1.9.1.dylib 0x000000010017be48 vm_call_method +
1336 (vm_insnhelper.c:666)
29 libruby.1.9.1.dylib 0x0000000100167e64 vm_exec_core +
8260 (insns.def:1006)
30 libruby.1.9.1.dylib 0x000000010016fb03 vm_exec + 1507
(vm.c:1147)
31 libruby.1.9.1.dylib 0x0000000100170e7d rb_vm_invoke_proc
+ 877 (vm.c:558)
32 libruby.1.9.1.dylib 0x0000000100188329
thread_start_func_2 + 1705 (thread.c:441)
33 libruby.1.9.1.dylib 0x00000001001884cd
thread_start_func_1 + 29 (thread_pthread.c:397)
34 libSystem.B.dylib 0x00007fff86f96536 _pthread_start +
331
35 libSystem.B.dylib 0x00007fff86f963e9 thread_start + 13
Thread 3:
0 libSystem.B.dylib 0x00007fff86f97fca __semwait_signal
+ 10
1 libSystem.B.dylib 0x00007fff86f9bde1
_pthread_cond_wait + 1286
2 libruby.1.9.1.dylib 0x0000000100185304 native_sleep +
388 (thread_pthread.c:662)
3 libruby.1.9.1.dylib 0x00000001001853fa sleep_timeval +
170 (thread.c:879)
4 libruby.1.9.1.dylib 0x00000001000bc9f0 rb_f_sleep + 80
(process.c:3283)
5 libruby.1.9.1.dylib 0x000000010017bcb3 vm_call_method +
931 (vm_insnhelper.c:402)
6 libruby.1.9.1.dylib 0x0000000100167e64 vm_exec_core +
8260 (insns.def:1006)
7 libruby.1.9.1.dylib 0x000000010016fb03 vm_exec + 1507
(vm.c:1147)
8 libruby.1.9.1.dylib 0x0000000100170e7d rb_vm_invoke_proc
+ 877 (vm.c:558)
9 libruby.1.9.1.dylib 0x0000000100188329
thread_start_func_2 + 1705 (thread.c:441)
10 libruby.1.9.1.dylib 0x00000001001884cd
thread_start_func_1 + 29 (thread_pthread.c:397)
11 libSystem.B.dylib 0x00007fff86f96536 _pthread_start +
331
12 libSystem.B.dylib 0x00007fff86f963e9 thread_start + 13
Thread 2 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00000000000002a5 rcx:
0x00000001017c8aa8 rdx: 0x0000000000000000
rdi: 0x00000000000001ea rsi: 0x0000000000000006 rbp:
0x00000001017c8ac0 rsp: 0x00000001017c8aa8
r8: 0x00007fff70c32a40 r9: 0x00000001058597a0 r10:
0x00007fff86fa7656 r11: 0x0000000000000202
r12: 0x00000001017c8ad0 r13: 0x000000010019d967 r14:
0x0000000102ef7118 r15: 0x0000000000000001
rip: 0x00007fff86fab616 rfl: 0x0000000000000202 cr2:
0x0000000102efa880
Binary Images:
0x100000000 - 0x100000fff +ruby ??? (???)
<2887C440-4C36-F589-CBCE-92A5493021CF>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
0x100003000 - 0x100211fff +libruby.1.9.1.dylib 1.9.1
(compatibility 1.9.1) <4AE16C5B-C292-522A-0FBB-8ED1AC426BA8>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.1.9.1.dylib
0x1002f2000 - 0x1002f3fff +encdb.bundle ??? (???)
<9886EAA3-F3AF-6160-5F48-626AC3593993>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/encdb.bundle
0x1002f6000 - 0x1002f7fff +transdb.bundle ??? (???)
<F893142A-C1FE-F863-D64F-83282C723D4C>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/trans/transdb.bundle
0x10056e000 - 0x10056fff7 +etc.bundle ??? (???)
<461C35AB-1E3A-BF59-CF6F-1C1640436B58>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/etc.bundle
0x100573000 - 0x100578fff +stringio.bundle ??? (???)
<2F5824D6-85C8-2614-87A3-00E635ACFF52>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/stringio.bundle
0x10057d000 - 0x100597fe7 +syck.bundle ??? (???)
<C1D0BED4-37DE-5095-1756-11216FC384D9>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/syck.bundle
0x1005a6000 - 0x1005a6ff7 +sha1.bundle ??? (???)
<18802AD9-9061-3F19-4AC6-FDEDBB001327>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/digest/sha1.bundle
0x1005a9000 - 0x1005abff7 +digest.bundle ??? (???)
<D2319905-D9A0-A027-3CB0-28F584C47C5C>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/digest.bundle
0x1005af000 - 0x1005affef +iso_8859_1.bundle ??? (???)
<9E1AC472-9CFF-D883-9A9D-CF732762D126>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/iso_8859_1.bundle
0x1005b2000 - 0x1005bdff7 +zlib.bundle ??? (???)
<4FA537A6-9685-D113-313C-98F78CA96B82>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/zlib.bundle
0x1005c5000 - 0x1005c8ff7 +strscan.bundle ??? (???)
<4824D9FB-69E1-B33C-9857-627364B9AAB4>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/strscan.bundle
0x1005cd000 - 0x1005d8fff +bigdecimal.bundle ??? (???)
<39ED2F87-6D68-65F4-226C-DBF5329CE6E8>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/bigdecimal.bundle
0x1005de000 - 0x1005e9fff +pg_ext.bundle ??? (???)
<6D5AF997-BFFA-97CC-E1E7-AF19FD1FA391>
/Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/pg-0.10.0/lib/pg_ext.bundle
0x1005f3000 - 0x1005f6fe7 +parser.bundle ??? (???)
<F9F07E70-3751-6AA5-E838-9AECD8A071D2>
/Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/json-1.5.1/ext/json/ext/json/ext/parser.bundle
0x1005fb000 - 0x1005fbfff +utf_16be.bundle ??? (???)
<379040EF-5D32-4914-555C-EDD15EEB9170>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/utf_16be.bundle
0x100700000 - 0x10071aff7 +libpq.5.dylib 5.1.0
(compatibility 5.0.0) <FDAEBB5D-7C6D-2DE4-CE31-14EBBF68D372>
/opt/local/lib/postgresql83/libpq.5.dylib
0x100723000 - 0x10076eff7 +libssl.1.0.0.dylib ??? (???)
<6D2CF187-2483-25A5-3011-849504680359> /opt/local/lib/libssl.1.0.0.dylib
0x100785000 - 0x100799ff7 +libz.1.dylib 1.2.5
(compatibility 1.0.0) <FB18AF9B-1774-E88C-E17D-91B597B02F00>
/opt/local/lib/libz.1.dylib
0x10079d000 - 0x10079dfff +utf_16le.bundle ??? (???)
<BE218864-2FF7-E6AE-21B1-4C549458BF50>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/utf_16le.bundle
0x1007a0000 - 0x1007a0fff +utf_32be.bundle ??? (???)
<8D94C6B6-24C0-41D6-F2CB-CB207F6EF220>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/utf_32be.bundle
0x1007a3000 - 0x1007a3fff +utf_32le.bundle ??? (???)
<0108131E-41E6-277A-B9B6-DDC2E02C2F91>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/utf_32le.bundle
0x1007a6000 - 0x1007acff7 +generator.bundle ??? (???)
<8DF0E25D-78EF-D0D8-2A56-317D160CECF2>
/Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/json-1.5.1/ext/json/ext/json/ext/generator.bundle
0x1007b2000 - 0x1007d1ff7 +socket.bundle ??? (???)
<45AD3C52-49F9-AE72-0AAF-B3DD647BC03D>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/socket.bundle
0x1007e1000 - 0x1007e1fff +fcntl.bundle ??? (???)
<5EEB5E01-B712-E567-B386-B6CBBE7B9023>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/fcntl.bundle
0x1007e4000 - 0x1007e4ff7 +md5.bundle ??? (???)
<A4280FE6-C8CA-39DB-CF9B-AE8ED3063644>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/digest/md5.bundle
0x1007e7000 - 0x1007f4fe7 libexslt.0.dylib 9.13.0
(compatibility 9.0.0) <D9944F04-1F01-B9D1-A46F-96229CD19437>
/usr/lib/libexslt.0.dylib
0x1007fa000 - 0x1007fcfff +cparse.bundle ??? (???)
<FC89ABEF-99D6-9AB8-9EDA-F4E579A3DA25>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/racc/cparse.bundle
0x101700000 - 0x10173afff +openssl.bundle ??? (???)
<3B71BD01-A1C3-B3A6-2810-577041DF1DB3>
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/openssl.bundle
0x1017ca000 - 0x1017dcfff +nokogiri.bundle ??? (???)
<87AB109B-E993-EA95-748B-6C04576F360B>
/Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/nokogiri-1.4.4/lib/nokogiri/nokogiri.bundle
0x102400000 - 0x10254eff7 +libcrypto.1.0.0.dylib ??? (???)
<0EDDA00D-0154-F902-FB7C-E332895F87EA>
/opt/local/lib/libcrypto.1.0.0.dylib
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???)
<486E6C61-1197-CC7C-2197-82CE505102D7> /usr/lib/dyld
0x7fff800ba000 - 0x7fff801dbfe7 libcrypto.0.9.8.dylib 0.9.8
(compatibility 0.9.8) <48AEAFE1-21F4-B3C8-4199-35AD5E8D0613>
/usr/lib/libcrypto.0.9.8.dylib
0x7fff807e2000 - 0x7fff808daff7 libiconv.2.dylib 7.0.0
(compatibility 7.0.0) <44AADE50-15BC-BC6B-BEF0-5029A30766AC>
/usr/lib/libiconv.2.dylib
0x7fff80cd4000 - 0x7fff80d51fef libstdc++.6.dylib 7.9.0
(compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C>
/usr/lib/libstdc++.6.dylib
0x7fff83059000 - 0x7fff8310ffff libobjc.A.dylib 227.0.0
(compatibility 1.0.0) <99CB3A0F-64CF-1D16-70CD-8AED2EF06C30>
/usr/lib/libobjc.A.dylib
0x7fff849eb000 - 0x7fff849efff7 libmathCommon.A.dylib 315.0.0
(compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5>
/usr/lib/system/libmathCommon.A.dylib
0x7fff84f57000 - 0x7fff8506efef libxml2.2.dylib 10.3.0
(compatibility 10.0.0) <B2FB9DA8-6EC9-FFBC-C919-C022B9CBEB73>
/usr/lib/libxml2.2.dylib
0x7fff850f9000 - 0x7fff85145fff libauto.dylib ??? (???)
<F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
0x7fff85f44000 - 0x7fff85f45ff7 com.apple.TrustEvaluationAgent
1.1 (1) <5952A9FA-BC2B-16EF-91A7-43902A5C07B6>
/System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x7fff86f5c000 - 0x7fff8711dfff libSystem.B.dylib 125.2.1
(compatibility 1.0.0) <F00A8B2F-84A0-0868-1047-3A13F9114864>
/usr/lib/libSystem.B.dylib
0x7fff8711e000 - 0x7fff87158fff libssl.0.9.8.dylib 0.9.8
(compatibility 0.9.8) <C7153747-50E3-32DA-426F-CC4C505D1D6C>
/usr/lib/libssl.0.9.8.dylib
0x7fff87ac3000 - 0x7fff87c81fff libicucore.A.dylib 40.0.0
(compatibility 1.0.0) <781E7B63-2AD0-E9BA-927C-4521DB616D02>
/usr/lib/libicucore.A.dylib
0x7fff87cb5000 - 0x7fff87cc6ff7 libz.1.dylib 1.2.3
(compatibility 1.0.0) <97019C74-161A-3488-41EC-A6CA8738418C>
/usr/lib/libz.1.dylib
0x7fff87d09000 - 0x7fff87d34ff7 libxslt.1.dylib 3.24.0
(compatibility 3.0.0) <87A0B228-B24A-C426-C3FB-B40D7258DD49>
/usr/lib/libxslt.1.dylib
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???)
<F00A8B2F-84A0-0868-1047-3A13F9114864> /usr/lib/libSystem.B.dylib
on 2011-02-06 10:54
Issue #4373 has been updated by Shota Fukumori. Status changed from Feedback to Open thanks.
on 2011-02-06 11:28
Issue #4373 has been updated by Shota Fukumori. Status changed from Open to Feedback Does your application access to web via HTTP using net/http(s)? I think need the following things for fix: * Is OpenSSL installed from homebrew? rvm? macports? * Could you produce the reproducing code? (net/http code)
on 2011-02-06 18:47
Issue #4373 has been updated by Christian Fazzini.
Openssl is already installed via macports. Actually, the replication is
quite simple. I have come up with a narrowed step-by-step procedure:
1) Install rails
2) Create a new rails project
3) Open gem file and include the following gems: gem 'twitter', :git =>
'http://github.com/jnunemaker/twitter.git'
4) Bundle install
5) Start rails server (rails s)
6) Start rails console (rails c)
7) In rails console, type: Twitter.user("sferik").location (or any
Twitter gem related commands at: http://twitter.rubyforge.org/)
That's when the error comes up. As I am aware, the Twitter gem uses the
Faraday gem which somewhat uses /net/http.rb
on 2011-02-07 03:02
Issue #4373 has been updated by Shota Fukumori. Could you build again the ruby without OpenSSL of macports? you can disable macports OpenSSL by this command: sudo port deactivate openssl reenable by this command: sudo port activate openssl
on 2011-02-07 09:21
Issue #4373 has been updated by Christian Fazzini. How do you suggest I build ruby again? I am currently using ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0], installed via rvm. Also, sudo port deactivate openssl depends on postgresql83 @8.3.13_0. Should I deactivate this as well?
on 2011-02-07 10:06
Issue #4373 has been updated by Shota Fukumori. >How do you suggest I build ruby again? I am currently using ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0], installed via rvm. I heard macport's openssl makes problem at another chatroom. he resolved this problem after deactivate the openssl and rebuild ruby. >Also, sudo port deactivate openssl depends on postgresql83 @8.3.13_0. Should I deactivate this as well? hm, i suggest use configure option "--with-openssl-dir" like "--with-openssl-dir=/usr". --with-openssl-dir=/usr makes ruby uses OSX default openssl instead macports. (I remembered that rvm can specify configure option, but i don't know how. please google it.)
on 2011-02-07 10:42
Issue #4373 has been updated by Christian Fazzini. Should postgresql83 install with OSX default openssl too? Or just ruby?
on 2011-02-07 12:07
Issue #4373 has been updated by Christian Fazzini. Shota, this is what I did: Removed packages from macports via: sudo port uninstall postgresql83-server sudo port uninstall postgresql83 sudo port uninstall openssl As per instructions at: http://rvm.beginrescueend.com/packages/openssl/ $ rvm remove 1.9.2 # This ensures that you will not have any leftovers from the last run $ rvm install 1.9.2 --with-openssl-dir=/usr/local sudo port install postgresql83 postgresql83-server Above also install openssl with posgresql from macports. Note, I did as you suggested (build ruby with OSX default openssl). The problem is now fixed! Is it ok that I have openssl installed from macports because of a postgresql dependency?
on 2011-02-07 13:38
Issue #4373 has been updated by Shota Fukumori. Status changed from Feedback to Rejected you can install postgresql + openssl with macport because ruby won't use macport's openssl.
on 2011-02-08 10:54
Issue #4373 has been updated by Christian Fazzini. Thanks for the assistance Shota
on 2011-02-10 09:01
Issue #4373 has been updated by Christian Fazzini. Shota, I've restarted the laptop and the issue is back.... With more or less the same error. It was working before. Restarting must have triggered something.... /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677: [BUG] Segmentation fault ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0] -- control frame ---------- c:0044 p:---- s:0194 b:0194 l:000193 d:000193 CFUNC :connect c:0043 p:0440 s:0191 b:0191 l:001788 d:001788 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677 c:0042 p:0011 s:0184 b:0184 l:000183 d:000183 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:637 c:0041 p:0048 s:0181 b:0181 l:000180 d:000180 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:626 c:0040 p:0025 s:0178 b:0178 l:000177 d:000177 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1160 c:0039 p:0504 s:0171 b:0171 l:000170 d:000170 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.4/lib/faraday/adapter/net_http.rb:45 c:0038 p:0053 s:0159 b:0159 l:000158 d:000158 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/bundler/gems/twitter-896d365f9726/lib/faraday/multipart.rb:16 c:0037 p:0041 s:0155 b:0155 l:000154 d:000154 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.4/lib/faraday/request.rb:84 c:0036 p:0044 s:0148 b:0148 l:000147 d:000147 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.4/lib/faraday/request.rb:26 c:0035 p:0065 s:0142 b:0142 l:000141 d:000141 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.4/lib/faraday/connection.rb:171 c:0034 p:0026 s:0135 b:0135 l:000134 d:000134 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.4/lib/faraday/connection.rb:64 c:0033 p:0025 s:0129 b:0129 l:0005f0 d:0005f0 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/bundler/gems/twitter-896d365f9726/lib/twitter/request.rb:28 c:0032 p:0027 s:0121 b:0121 l:000120 d:000120 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/bundler/gems/twitter-896d365f9726/lib/twitter/request.rb:6 c:0031 p:0091 s:0115 b:0115 l:000114 d:000114 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/bundler/gems/twitter-896d365f9726/lib/twitter/client/user.rb:23 c:0030 p:0057 s:0108 b:0108 l:000107 d:000107 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/bundler/gems/twitter-896d365f9726/lib/twitter.rb:21 c:0029 p:---- s:0102 b:0102 l:000101 d:000101 FINISH c:0028 p:0017 s:0100 b:0100 l:002268 d:000099 EVAL (irb):3 c:0027 p:---- s:0098 b:0098 l:000097 d:000097 FINISH c:0026 p:---- s:0096 b:0096 l:000095 d:000095 CFUNC :eval c:0025 p:0028 s:0089 b:0089 l:000088 d:000088 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/workspace.rb:80 c:0024 p:0033 s:0082 b:0081 l:000080 d:000080 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/context.rb:254 c:0023 p:0031 s:0076 b:0076 l:000c38 d:000075 BLOCK /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:159 c:0022 p:0042 s:0068 b:0068 l:000067 d:000067 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:273 c:0021 p:0011 s:0063 b:0063 l:000c38 d:000062 BLOCK /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:156 c:0020 p:0144 s:0059 b:0059 l:000042 d:000058 BLOCK /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/ruby-lex.rb:243 c:0019 p:---- s:0056 b:0056 l:000055 d:000055 FINISH c:0018 p:---- s:0054 b:0054 l:000053 d:000053 CFUNC :loop c:0017 p:0009 s:0051 b:0051 l:000042 d:000050 BLOCK /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/ruby-lex.rb:229 c:0016 p:---- s:0049 b:0049 l:000048 d:000048 FINISH c:0015 p:---- s:0047 b:0047 l:000046 d:000046 CFUNC :catch c:0014 p:0023 s:0043 b:0043 l:000042 d:000042 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/ruby-lex.rb:228 c:0013 p:0046 s:0040 b:0040 l:000c38 d:000c38 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:155 c:0012 p:0011 s:0037 b:0037 l:0006e8 d:000036 BLOCK /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:70 c:0011 p:---- s:0035 b:0035 l:000034 d:000034 FINISH c:0010 p:---- s:0033 b:0033 l:000032 d:000032 CFUNC :catch c:0009 p:0183 s:0029 b:0029 l:0006e8 d:0006e8 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:69 c:0008 p:0210 s:0024 b:0024 l:001160 d:001160 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands/console.rb:44 c:0007 p:0019 s:0020 b:0020 l:000019 d:000019 METHOD /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands/console.rb:8 c:0006 p:0430 s:0016 b:0016 l:000015 d:000015 TOP /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands.rb:23 c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require c:0003 p:0061 s:0006 b:0006 l:0014e8 d:0023e8 EVAL script/rails:6 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:0014e8 d:0014e8 TOP --------------------------- -- Ruby level backtrace information ---------------------------------------- script/rails:6:in `<main>' script/rails:6:in `require' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands.rb:23:in `<top (required)>' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands/console.rb:8:in `start' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/commands/console.rb:44:in `start' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:69:in `start' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:69:in `catch' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:70:in `block in start' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:155:in `eval_input' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in `block (2 levels) in each_top_level_statement' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:156:in `block in eval_input' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:273:in `signal_status' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb.rb:159:in `block (2 levels) in eval_input' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/context.rb:254:in `evaluate' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval' (irb):3:in `irb_binding' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/bundler/gems/twitter-896d365f9726/lib/twitter.rb:21:in `method_missing' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/bundler/gems/twitter-896d365f9726/lib/twitter/client/user.rb:23:in `user' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/bundler/gems/twitter-896d365f9726/lib/twitter/request.rb:6:in `get' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/bundler/gems/twitter-896d365f9726/lib/twitter/request.rb:28:in `request' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.4/lib/faraday/connection.rb:64:in `get' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.4/lib/faraday/connection.rb:171:in `run_request' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.4/lib/faraday/request.rb:26:in `run' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.4/lib/faraday/request.rb:84:in `run' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/bundler/gems/twitter-896d365f9726/lib/faraday/multipart.rb:16:in `call' /Users/Chris/.rvm/gems/ruby-1.9.2-p136/gems/faraday-0.5.4/lib/faraday/adapter/net_http.rb:45:in `call' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1160:in `request' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:626:in `start' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:637:in `do_start' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677:in `connect' /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677:in `connect' -- 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
on 2011-02-10 09:05
Issue #4373 has been updated by Shota Fukumori. Status changed from Rejected to Feedback don't use rvm and compile ruby with OSX default openssl
on 2011-02-10 09:12
Issue #4373 has been updated by Christian Fazzini. Shota, compile ruby = using macports with OSx default openssl you mean?
on 2011-02-10 09:21
Issue #4373 has been updated by Shota Fukumori. No, no. Compile ruby on yourself. Don't use any package managers. just download ruby192-p136 tarball and extract it and configure with --with-openssl-dir=/usr and `make install` it.
on 2011-02-10 10:14
Issue #4373 has been updated by Christian Fazzini. I am not very familiar with sys admin stuff... could you run down a brief step-by-step procedure on this please
on 2011-02-10 10:51
Issue #4373 has been updated by Shota Fukumori. 1) Download ruby192-p136 tarball (you can get url from http://www.ruby-lang.org/ ) 2) Extract and `cd` to the dir 3) ./configure --prefix=(Where you wanna install ruby) --with-openssl-dir=/usr 4) make 5) make install I recommend `pwd`/local to testing install. You can run ruby by `./local/bin/ruby`.
on 2011-02-10 13:05
Issue #4373 has been updated by Christian Fazzini. Btw, I don't see openssl in /usr or /usr/local/bin Which openssl, returns /opt/local/bin/openssl (isn't this the openssl that postgresql installed via macport as a dependency?) Where is the OSX default openssl located? locate openssl, returns /usr/bin/openssl Is this the one I should be using?
on 2011-02-10 13:25
On 10 February 2011 13:04, Christian Fazzini <redmine@ruby-lang.org> wrote: > /usr/bin/openssl > > Is this the one I should be using? Yes. The configure option is indeed --with-openssl-dir=/usr, because it specify by this way binaries are in /usr/bin, headers in /usr/include and libraries in /usr/lib. Btw, the README explains how to install.
on 2011-02-10 22:11
Issue #4373 has been updated by Christian Fazzini. ./configure --prefix=($HOME/Sites/ruby) --with-openssl-dir=/usr At the end of the configuration, it says: configure: WARNING: unrecognized options: --with-openssl-dir Can I still proceed with make and make install? The README doesn't say anything about --with-openssl-dir
on 2011-02-11 02:50
Issue #4373 has been updated by Shota Fukumori. You can continue with this warning.
on 2011-02-11 09:34
Issue #4373 has been updated by Christian Fazzini.
Ok Ive gotten it installed in ~/Sites/ruby
How can I test this against Twitter.user("sferik").location in rails
console?
ruby -v returns ruby 1.8.7 (2009-06-12 patchlevel 174)
[universal-darwin10.0]
which ruby returns /usr/bin/ruby
On a side note, if I wanted to uninstall/remove this compilation, I
would just have to delete the contents of ~/Site/ruby right?
on 2011-02-11 09:58
Issue #4373 has been updated by Shota Fukumori.
run
export PATH=$HOME/Sites/ruby/bin:$PATH
on your shell and try again
And I think you don't have to run at `rails console`.
Install twitter gem(?) and run
ruby -rtwitter -e'Twitter.user("sferik").location'
on 2011-02-11 11:53
Issue #4373 has been updated by Christian Fazzini.
Christian-Fazzinis-MacBook-Pro:~ Chris$ export
PATH=$HOME/Sites/ruby/bin:$PATH
Christian-Fazzinis-MacBook-Pro:~ Chris$ ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]
Christian-Fazzinis-MacBook-Pro:site_name Chris$ ruby -r twitter -e
'Twitter.user("sferik").location'
<internal:lib/rubygems/custom_require>:29:in `require': no such file to
load -- twitter (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
Christian-Fazzinis-MacBook-Pro:site_name Chris$ gem install twitter
********************************************************************************
Follow @gem on Twitter for announcements, updates, and news.
https://twitter.com/gem
Join the mailing list!
https://groups.google.com/group/ruby-twitter-gem
Add your project or organization to the apps wiki!
https://github.com/jnunemaker/twitter/wiki/apps
********************************************************************************
Successfully installed hashie-1.0.0
Successfully installed addressable-2.2.4
Successfully installed multipart-post-1.1.0
Successfully installed rack-1.2.1
Successfully installed faraday-0.5.5
Successfully installed faraday_middleware-0.3.2
Successfully installed multi_json-0.0.5
Successfully installed multi_xml-0.2.1
Successfully installed simple_oauth-0.1.4
Successfully installed twitter-1.1.2
10 gems installed
Installing ri documentation for hashie-1.0.0...
Installing ri documentation for addressable-2.2.4...
Installing ri documentation for multipart-post-1.1.0...
Installing ri documentation for rack-1.2.1...
Installing ri documentation for faraday-0.5.5...
Installing ri documentation for faraday_middleware-0.3.2...
Installing ri documentation for multi_json-0.0.5...
Installing ri documentation for multi_xml-0.2.1...
Installing ri documentation for simple_oauth-0.1.4...
Installing ri documentation for twitter-1.1.2...
Installing RDoc documentation for hashie-1.0.0...
Installing RDoc documentation for addressable-2.2.4...
Installing RDoc documentation for multipart-post-1.1.0...
Installing RDoc documentation for rack-1.2.1...
Installing RDoc documentation for faraday-0.5.5...
Installing RDoc documentation for faraday_middleware-0.3.2...
Installing RDoc documentation for multi_json-0.0.5...
Installing RDoc documentation for multi_xml-0.2.1...
Installing RDoc documentation for simple_oauth-0.1.4...
Installing RDoc documentation for twitter-1.1.2...
Christian-Fazzinis-MacBook-Pro:site_name Chris$ ruby -r twitter -e
'Twitter.user("sferik").location'
Christian-Fazzinis-MacBook-Pro:site_name Chris$
As you can see above, I've installed the twitter gem for this ruby
version. Then I've executed the twitter gem, but get nothing... Is this
supposed to happen? Am I missing anything else?
Normally, on ruby 1.8.7, rails console. Twitter.user("sferik").location
should return "San Francisco"
on 2011-02-11 11:58
On Fri, Feb 11, 2011 at 7:45 PM, Christian Fazzini <redmine@ruby-lang.org> wrote: > Christian-Fazzinis-MacBook-Pro:site_name Chris$ ruby -r twitter -e 'Twitter.user("sferik").location' (snip) > Normally, on ruby 1.8.7, rails console. Twitter.user("sferik").location should return "San Francisco" ` ruby -r twitter -e 'Twitter.user("sferik").location'` doesn't include output action. Please look the code. run `ruby -rtwitter -e 'p Twitter.user("sferik").location'` to show the result.
on 2011-02-11 12:24
Issue #4373 has been updated by Christian Fazzini.
Ok, ruby -r twitter -e 'puts Twitter.user("sferik").location' returns
"San Francisco". No errors. Does this confirm that the bug/issue is with
openssl?
Where do I proceed from here?
Do I need to install/compile this version of ruby on a
different/permanent path? and update my PATH settings as well?
What about the ruby version that OSX is currently using? Would have been
nice if I could just let RVM take care of this directly, than me having
to fiddle around with the system files.
on 2011-02-11 12:43
Issue #4373 has been updated by Shota Fukumori. Status changed from Feedback to Rejected I think rvm can build ruby with configure option --with-openssl-dir=/usr. I don't know how, please google it. Rejecting.
on 2011-02-11 13:17
Issue #4373 has been updated by Christian Fazzini.
I don't think you understand the issue.
Christian-Fazzinis-MacBook-Pro:~ Chris$ rvm install 1.9.2
--with-openssl-dir=/usr/local
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136, this may take a while
depending on your cpu(s)...
ruby-1.9.2-p136 - #fetching
ruby-1.9.2-p136 - #extracted to /Users/Chris/.rvm/src/ruby-1.9.2-p136
(already extracted)
ruby-1.9.2-p136 - #configuring
ruby-1.9.2-p136 - #compiling
ruby-1.9.2-p136 - #installing
ruby-1.9.2-p136 - Updating #rubygems to the latest.
Removing old Rubygems files...
Installing rubygems dedicated to ruby-1.9.2-p136...
Installing rubygems for
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
Installation of rubygems completed successfully.
ruby-1.9.2-p136 - Updating #rubygems to the latest.
Removing old Rubygems files...
Installing rubygems dedicated to ruby-1.9.2-p136...
Installing rubygems for
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
Installation of rubygems completed successfully.
ruby-1.9.2-p136 - adjusting #shebangs for (gem).
ruby-1.9.2-p136 - #importing default gemsets
(/Users/Chris/.rvm/gemsets/)
Install of ruby-1.9.2-p136 - #complete
Christian-Fazzinis-MacBook-Pro:~ Chris$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
Christian-Fazzinis-MacBook-Pro:~ Chris$ rvm use 1.9.2
Using /Users/Chris/.rvm/gems/ruby-1.9.2-p136
Christian-Fazzinis-MacBook-Pro:~ Chris$ ruby -r twitter -e 'puts
Twitter.user("sferik").location'
San Francisco
As you can see above. Rvm is also fine with openssl. However, if I try
to access rails console:
Christian-Fazzinis-MacBook-Pro:~ Chris$ cd Sites/site_name/
Loading development environment (Rails 3.0.3)
ruby-1.9.2-p136 :001 > Twitter.user("sferik").location
I get the same error as above:
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677:
[BUG] Segmentation fault
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]
-- control frame ----------
c:0044 p:---- s:0194 b:0194 l:000193 d:000193 CFUNC :connect
c:0043 p:0440 s:0191 b:0191 l:001128 d:001128 METHOD
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677
......
So the issue is not OpenSSL or RVM. Its lib/ruby/1.9.1/net/http.rb:677
on 2011-02-11 15:09
Issue #4373 has been updated by Shota Fukumori. No! You are missing my instruction You ran: >rvm install 1.9.2 --with-openssl-dir=/usr/local I posted: >I think rvm can build ruby with configure option --with-openssl-dir=/usr. you using /usr/local, but I posted that use /usr.
on 2011-02-11 15:25
Issue #4373 has been updated by Shota Fukumori. Additional. I think your first crashreport, it just crashed at openssl library: >thread 2 crashed: (snip) >6 openssl.bundle 0x000000010171faca ossl_ssl_verify_callback + 42 (ossl_ssl.c:299) >7 libcrypto.1.0.0.dylib 0x00000001024ac7bd x509_verify_cert + 557 >8 libssl.1.0.0.dylib 0x000000010074fb60 ssl_verify_cert_chain + 336 >9 libssl.1.0.0.dylib 0x0000000100730591 ssl3_get_server_certificate + 705 >10 libssl.1.0.0.dylib 0x000000010073318a ssl3_connect + 2938 >11 libssl.1.0.0.dylib 0x000000010073ba52 ssl23_connect + 3058 >12 openssl.bundle 0x0000000101720337 ossl_start_ssl + 119 (ossl_ssl.c:1059) >So the issue is not OpenSSL or RVM. Its lib/ruby/1.9.1/net/http.rb:677 so this is not true. it's openssl problem. Use OSX default openssl. I don't know which is wrong, but I think macport's openssl has something wrong.
on 2011-02-11 23:11
Issue #4373 has been updated by Christian Fazzini.
I am still confused. If it is an openssl problem, then shouldn't rvm
install 1.9.2 --with-openssl-dir=/usr/local
fix it since I am using OSX default openssl?
Second when I am using RVM's ruby version. I can do ruby -r twitter -e
'puts Twitter.user("sferik").location', without any problems.
But when I go into Rails console, Twitter.user("sferik").location,
returns the error.
What is the difference? Isn't Rails console using RVM's ruby version? If
so, why is it returning the error?
on 2011-02-12 03:44
At 7:04 AM +0900 2/12/11, Christian Fazzini wrote: >Issue #4373 has been updated by Christian Fazzini. > > >I am still confused. If it is an openssl problem, then shouldn't rvm install 1.9.2 --with-openssl-dir=/usr/local > fix it since I am using OSX default openssl? The default OSX openssl is NOT in /usr/local Only code you have installed goes in /usr/local.
on 2011-02-12 04:08
Issue #4373 has been updated by Shota Fukumori.
>I am still confused. If it is an openssl problem, then shouldn't rvm install
1.9.2 --with-openssl-dir=/usr/local
You typed wrong my instruction 2 times, please look my instruction
I said "--with-openssl-dir=/usr", but you typed
"--with-openssl-dir=/usr/local" 2 times.
on 2011-02-12 10:27
Issue #4373 has been updated by Christian Fazzini.
I followed: http://rvm.beginrescueend.com/packages/openssl/. I have
tried installing ruby via rvm with numerous attempts. Making sure I
remove the previous version before installing a new one:
rvm install 1.9.2 --with-openssl-dir=/usr
rvm install 1.9.2 --with-openssl-dir=/usr/local
In a terminal window: ruby -r twitter -e 'puts
Twitter.user("sferik").location' works fine.
In Rails console, it still returns the error!
on 2011-02-12 10:42
Issue #4373 has been updated by Christian Fazzini. File crash_report.rtf added Here is the latest crash report log
on 2011-02-12 13:26
On 12 February 2011 10:26, Christian Fazzini <redmine@ruby-lang.org> wrote: > Issue #4373 has been updated by Christian Fazzini. > > > I followed: http://rvm.beginrescueend.com/packages/openssl/. I have tried installing ruby via rvm with numerous attempts. Making sure I remove the previous version before installing a new one: > > rvm install 1.9.2 --with-openssl-dir=/usr > rvm install 1.9.2 --with-openssl-dir=/usr/local > > In a terminal window: ruby -r twitter -e 'puts Twitter.user("sferik").location' works fine. > In Rails console, it still returns the error! Maybe the command line is incorrect. The RVM documentation specify configure options should be passed with -C (http://rvm.beginrescueend.com/rvm/cli/) But the RVM doc about openssl (http://rvm.beginrescueend.com/rvm/cli/) show you can pass it directly. You could try: rvm install 1.9.2 -C --with-openssl-dir=/usr Or maybe, to allow both rvm and ruby configure script to know what you want: rvm install 1.9.2 --with-openssl-dir=/usr -C --with-openssl-dir=/usr
on 2011-02-14 19:55
Issue #4373 has been updated by Christian Fazzini.
Hi Benoit, I tried both rvm install 1.9.2 -C --with-openssl-dir=/usr and
rvm install 1.9.2 --with-openssl-dir=/usr -C --with-openssl-dir=/usr.
Still get the problem in Rails console.
ruby -r twitter -e 'puts Twitter.user("sferik").location' works. Rails
console: 'Twitter.user("sferik").location', returns the error still...
on 2011-02-14 23:06
Issue #4373 has been updated by Shota Fukumori. I think you don't using `rvm install 1.9.2 -C --with-openssl-dir=/usr`'s ruby at rails
on 2011-02-15 01:29
Issue #4373 has been updated by Sakuro OZAWA.
Try this in both console to see which openssl is used.
require 'openssl'
system "otool -L #{$LOADED_FEATURES.grep(/openssl.bundle/).join (' ')}"
on 2011-02-15 09:06
Issue #4373 has been updated by Christian Fazzini.
Hi Sakuro, this is what I get in Rails console:
ruby-1.9.2-p136 :001 > require 'openssl'
=> nil
ruby-1.9.2-p136 :002 > system "otool -L
#{$LOADED_FEATURES.grep(/openssl.bundle/).join (' ')}"
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/openssl.bundle:
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.1.9.1.dylib
(compatibility version 1.9.1, current version 1.9.1)
/usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current
version 0.9.8)
/usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current
version 0.9.8)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.1)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version
227.0.0)
=> true
on 2011-02-15 09:20
Issue #4373 has been updated by Shota Fukumori.
Status changed from Rejected to Feedback
Could you try at irb
$ irb -rtwitter
>> Twitter.user("sferik").location
?
on 2011-02-15 09:41
Issue #4373 has been updated by Christian Fazzini.
Hi Shota, yea that seems to work. Why is this?
$ irb -rtwitter
ruby-1.9.2-p136 :001 > Twitter.user("sferik").location
=> "San Francisco"
on 2011-02-15 12:38
Issue #4373 has been updated by Shota Fukumori. I wanna check that it isn't issue of irb. Hmm... could you try the following line in `rails console`? $ rails console
on 2011-02-16 13:07
Hi all.
Last night I started getting a very similar error.
Completed 200 OK in 69ms (Views: 5.0ms | ActiveRecord: 0.0ms)
/Users/lnelson/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:677:
[BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
-- control frame ----------
c:0049 p:---- s:0283 b:0283 l:000282 d:000282 CFUNC :connect
c:0048 p:0440 s:0280 b:0280 l:0018e8 d:0018e8 METHOD
/Users/lnelson/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:677
<SNIP>
---------------------------
-- Ruby level backtrace information
----------------------------------------
/Users/lnelson/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:183:in
`block in start_thread'
<SNIP>
/Users/lnelson/.rvm/gems/ruby-1.9.2-p0/gems/oa-core-0.1.6/lib/omniauth/builder.rb:30:in
`call'
/Users/lnelson/.rvm/gems/ruby-1.9.2-p0/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:19:in
`call'
/Users/lnelson/.rvm/gems/ruby-1.9.2-p0/gems/oa-core-0.1.6/lib/omniauth/strategy.rb:25:in
`call!'
/Users/lnelson/.rvm/gems/ruby-1.9.2-p0/gems/oa-oauth-0.1.6/lib/omniauth/strategies/oauth.rb:16:in
`request_phase'
/Users/lnelson/.rvm/gems/ruby-1.9.2-p0/gems/oauth-0.4.4/lib/oauth/consumer.rb:139:in
`get_request_token'
/Users/lnelson/.rvm/gems/ruby-1.9.2-p0/gems/oauth-0.4.4/lib/oauth/consumer.rb:197:in
`token_request'
/Users/lnelson/.rvm/gems/ruby-1.9.2-p0/gems/oauth-0.4.4/lib/oauth/consumer.rb:164:in
`request'
/Users/lnelson/.rvm/gems/ruby-1.9.2-p0/gems/rest-client-1.6.1/lib/restclient/net_http_ext.rb:17:in
`request'
/Users/lnelson/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:1160:in
`request'
/Users/lnelson/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:626:in
`start'
/Users/lnelson/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:637:in
`do_start'
/Users/lnelson/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:677:in
`connect'
/Users/lnelson/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:677:in
`connect'
-- C level backtrace information
-------------------------------------------
I tried to remove the extra stuff in the backtrace above, though I'm
happy to send it all if anyone thinks it will help. As far as I can tell
I didn't change anything in oath. I was adding cucumber tests to stuff,
maybe fakeweb or capybara gem installations did something? (I doubt it,
but what do I know.)
lnelson-MacBookPro:Bloodhound lnelson$ rails c
Loading development environment (Rails 3.0.3)
ruby-1.9.2-p0 > require 'openssl'
=> nil
ruby-1.9.2-p0 > system "otool -L
#{$LOADED_FEATURES.grep(/openssl.bundle/).join (' ')}"
/Users/lnelson/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/x86_64-darwin10.4.0/openssl.bundle:
/Users/lnelson/.rvm/rubies/ruby-1.9.2-p0/lib/libruby.1.9.1.dylib
(compatibility version 1.9.1, current version 1.9.1)
/usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current
version 0.9.8)
/usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current
version 0.9.8)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version
227.0.0)
=> true
I'd love to know why my dev environment just blew up.
Best,
Lucas.-
on 2011-02-17 08:36
Issue #4373 has been updated by Christian Fazzini. Shota, what is related issue?
on 2011-02-17 08:39
Issue #4373 has been updated by Shota Fukumori. Related to your issue (this thread's issue)
on 2011-02-17 08:43
Issue #4373 has been updated by Christian Fazzini. Yea it is. Earlier you told me to do $LOADED_FEATURES. I was just checking if its normal for the output of $LOADED_FEATURES to return: "/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/openssl.bundle"
on 2011-02-17 09:30
Issue #4373 has been updated by Shota Fukumori. 1.9.2's ruby_lib_version is 1.9.1, so library directory is 1.9.1. (See 1.9.2's NEWS) And I can't decide "ruby's issue" or "openssl's issue" or "rails issue." Anyone can decide a factor for this problem?
on 2011-02-17 09:57
Issue #4373 has been updated by Christian Fazzini. Shota, what approach can I take to overcome this issue? What do you suggest? Perhaps, I can remove RVM completely? Or uninstall OpenSSL via MacPorts? I could also do a reformat of the entire system, but that would take far too long and much effort to backup and restore. Let me know if I should provide any other files, logs, etc to better diagnose this problem.
on 2011-02-17 10:37
Issue #4373 has been updated by Shota Fukumori. Sorry, I can't suggest any ways. Anyone can suggest a way to he?
on 2011-02-17 15:30
Hi, Since it works fine in IRB doesn't that suggest that it is a rails issue? Best, Lucas.-
on 2011-02-17 21:02
So, I switched from 1.9.2-p0 to 1.9.2-head. This seems to have fixed my issues. Why it stopped working all of a sudden I still don't know. Lucas.-
on 2011-02-18 22:39
On 6 February 2011 18:43, Christian Fazzini <redmine@ruby-lang.org> wrote: > 6) Start rails console (rails c) > 7) In rails console, type: Twitter.user("sferik").location (or any Twitter gem related commands at: http://twitter.rubyforge.org/) > > That's when the error comes up. As I am aware, the Twitter gem uses the Faraday gem which somewhat uses /net/http.rb > ---------------------------------------- > http://redmine.ruby-lang.org/issues/show/4373 > > ---------------------------------------- > http://redmine.ruby-lang.org > > I can not reproduce using these steps with trunk (ruby 1.9.3dev (2011-02-18 trunk 30894) [x86_64-darwin10.6.0]). > Shota, what approach can I take to overcome this issue? What do you suggest? > Perhaps, I can remove RVM completely? Or uninstall OpenSSL via MacPorts? > I could also do a reformat of the entire system, but that would take far too long and much effort to backup and restore. I'd probably try first to uninstall OpenSSL from MacPorts (or maybe move /opt to be sure Ruby won't look there). Then reinstalling rvm (I once had some really weird issue, and reinstalling rvm solved it). You can of course just `mv ~/.rvm ~/.rvm_old` to not lose your old installation. And it would be interesting to see if it also happens with trunk (rvm install ruby-head).
on 2011-02-19 03:08
Issue #4373 has been updated by Christian Fazzini. Benoit, I'll go through those steps you suggested. By the way, is 1.9.3 safe to use in production? Any reason, why you didnt try reproducing in 1.9.2?
on 2011-02-19 13:35
On 19 February 2011 03:08, Christian Fazzini <redmine@ruby-lang.org> wrote: > Issue #4373 has been updated by Christian Fazzini. > > Benoit, I'll go through those steps you suggested. > > By the way, is 1.9.3 safe to use in production? Any reason, why you didnt try reproducing in 1.9.2? Probably not, it's always better to use a release, but I can't judge. I just tested with ruby 1.9.2p136 (2010-12-25 revision 30363) [x86_64-darwin10.5.0], and I can't reproduce either.
on 2011-02-19 14:58
Issue #4373 has been updated by Christian Fazzini.
File Gemfile added
Ok, I have pinpointed the problem. I do not need to move /opt. To
diagnose this, I created a new rails app. I have included the gem file.
In there you will see that it includes the twitter gem. HOWEVER, I've
commented line 9: gem 'pg'. Which I will explain why, later on.
The following now works, through these steps:
sudo mv /opt /opt_old
< <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
rvm install 1.9.2
Installing Ruby from source to:
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136, this may take a while
depending on your cpu(s)...
ruby-1.9.2-p136 - #fetching
ruby-1.9.2-p136 - #downloading ruby-1.9.2-p136, this may take a while
depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 8612k 100 8612k 0 0 36861 0 0:03:59 0:03:59 --:--:--
26126
ruby-1.9.2-p136 - #extracting ruby-1.9.2-p136 to
/Users/Chris/.rvm/src/ruby-1.9.2-p136
ruby-1.9.2-p136 - #extracted to /Users/Chris/.rvm/src/ruby-1.9.2-p136
ruby-1.9.2-p136 - #configuring
ruby-1.9.2-p136 - #compiling
ruby-1.9.2-p136 - #installing
ruby-1.9.2-p136 - Updating #rubygems to the latest.
Removing old Rubygems files...
Installing rubygems dedicated to ruby-1.9.2-p136...
Retrieving rubygems-1.5.2
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 286k 100 286k 0 0 34987 0 0:00:08 0:00:08 --:--:--
60846
Extracting rubygems-1.5.2 ...
Installing rubygems for
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
Installation of rubygems completed successfully.
ruby-1.9.2-p136 - Updating #rubygems to the latest.
Removing old Rubygems files...
Installing rubygems dedicated to ruby-1.9.2-p136...
Installing rubygems for
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
Installation of rubygems completed successfully.
ruby-1.9.2-p136 - adjusting #shebangs for (gem irb erb ri rdoc testrb
rake).
ruby-1.9.2-p136 - #importing default gemsets
(/Users/Chris/.rvm/gemsets/)
Install of ruby-1.9.2-p136 - #complete
rvm use 1.9.2
Using /Users/Chris/.rvm/gems/ruby-1.9.2-p136
ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]
cd Sites/blog
bundle install
/Library/Ruby/Site/1.8/rubygems.rb:861:in `report_activate_error': Could
not find RubyGem bundler (>= 0) (Gem::LoadError)
from /Library/Ruby/Site/1.8/rubygems.rb:255:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:1204:in `gem'
from /usr/bin/bundle:18
gem install bundler
Fetching: bundler-1.0.10.gem (100%)
Successfully installed bundler-1.0.10
1 gem installed
Installing ri documentation for bundler-1.0.10...
Installing RDoc documentation for bundler-1.0.10...
bundle install
Fetching http://github.com/jnunemaker/twitter.git
remote: Counting objects: 5780, done.
remote: Compressing objects: 100% (2157/2157), done.
remote: Total 5780 (delta 3834), reused 5267 (delta 3469)
Receiving objects: 100% (5780/5780), 1.68 MiB | 185 KiB/s, done.
Resolving deltas: 100% (3834/3834), done.
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Installing abstract (1.0.0)
Installing activesupport (3.0.3)
Installing builder (2.1.2)
Installing i18n (0.5.0)
Installing activemodel (3.0.3)
Installing erubis (2.6.6)
Installing rack (1.2.1)
Installing rack-mount (0.6.13)
Installing rack-test (0.5.7)
Installing tzinfo (0.3.24)
Installing actionpack (3.0.3)
Installing mime-types (1.16)
Installing polyglot (0.3.1)
Installing treetop (1.4.9)
Installing mail (2.2.15)
Installing actionmailer (3.0.3)
Installing arel (2.0.7)
Installing activerecord (3.0.3)
Installing activeresource (3.0.3)
Installing addressable (2.2.4)
Using bundler (1.0.10)
Installing multipart-post (1.1.0)
Installing faraday (0.5.4)
Installing faraday_middleware (0.3.2)
Installing hashie (1.0.0)
Installing multi_json (0.0.5)
Installing multi_xml (0.2.1)
Installing thor (0.14.6)
Installing railties (3.0.3)
Installing rails (3.0.3)
Installing simple_oauth (0.1.4)
Using twitter (1.1.2) from http://github.com/jnunemaker/twitter.git (at
master)
Your bundle is complete! Use `bundle show [gemname]` to see where a
bundled gem is installed.
ruby -r twitter -e 'puts Twitter.user("sferik").location'
<internal:lib/rubygems/custom_require>:29:in `require': no such file to
load -- twitter (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
gem install twitter
Fetching: twitter-1.1.2.gem (100%)
Successfully installed twitter-1.1.2
1 gem installed
Installing ri documentation for twitter-1.1.2...
Installing RDoc documentation for twitter-1.1.2...
ruby -r twitter -e 'puts Twitter.user("sferik").location'
San Francisco
rails c
ruby-1.9.2-p136 :001 > Twitter.user("sferik").location
=> "San Francisco"
---------------
In the gem file, if I uncomment line 9: gem 'twitter' and then do bundle
install. In console, running ruby -r twitter -e 'puts
Twitter.user("sferik").location' still works.
However when I go into rails console, Twitter.user("sferik").location
returns the segfault error.
I suspect that it has something to do with the way I installed
PostgreSql, via macports. You will notice, when I do: sudo port
uninstall openssl, it says:
Warning: port definitions are more than two weeks old, consider using
selfupdate
---> Unable to uninstall/deactivate openssl @1.0.0c_0, the following
ports depend on it:
---> postgresql83 @8.3.13_0
---> python27 @2.7.1_1
Error: Target org.macports.uninstall returned: Please uninstall the
ports that depend on openssl first.
Log for openssl is at:
/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_openssl_1.0.0c_0/main.log
Warning: Failed to execute portfile from registry for openssl @1.0.0c_0
---> Unable to uninstall/deactivate openssl @1.0.0c_0, the following
ports depend on it:
---> postgresql83 @8.3.13_0
---> python27 @2.7.1_1
Error: port uninstall failed: Please uninstall the ports that depend on
openssl first.
I believe that the problem occurs because:
- Rails includes the pg gem, which is using the openssl version of
macports and not the OSX default openssl.
The next approach I will take, is to uninstall postgresql and openssl
through macports and reinstall postgresql to be configured to use OSX
default openssl. I don't know if I can install postgresql to use OSX
default openssl, but I will give it a shot and report my findings here.
on 2011-02-19 17:27
Issue #4373 has been updated by Christian Fazzini. Just an update. I uninstalled any variation of macport postgresql and openssl, via: sudo port uninstall --follow-dependents portname openssl ---> Deactivating postgresql83-server @8.3.13_0 ---> Cleaning postgresql83-server ---> Uninstalling postgresql83-server @8.3.13_0 ---> Cleaning postgresql83-server ---> Deactivating postgresql83 @8.3.13_0 ---> Cleaning postgresql83 ---> Uninstalling postgresql83 @8.3.13_0 ---> Cleaning postgresql83 ---> Deactivating ffmpeg @0.6.1_0 ---> Cleaning ffmpeg ---> Uninstalling ffmpeg @0.6.1_0 ---> Cleaning ffmpeg ---> Deactivating libsdl @1.2.14_9 ---> Cleaning libsdl ---> Uninstalling libsdl @1.2.14_9 ---> Cleaning libsdl ---> Deactivating xorg-libXrandr @1.3.1_0 ---> Cleaning xorg-libXrandr ---> Uninstalling xorg-libXrandr @1.3.1_0 ---> Cleaning xorg-libXrandr ---> Deactivating xorg-libXext @1.2.0_0 ---> Cleaning xorg-libXext ---> Uninstalling xorg-libXext @1.2.0_0 ---> Cleaning xorg-libXext ---> Deactivating xrender @0.9.6_0 ---> Cleaning xrender ---> Uninstalling xrender @0.9.6_0 ---> Cleaning xrender ---> Deactivating xorg-libX11 @1.4.1_0 ---> Cleaning xorg-libX11 ---> Uninstalling xorg-libX11 @1.4.1_0 ---> Cleaning xorg-libX11 ---> Deactivating xorg-libxcb @1.7_0+python27 ---> Cleaning xorg-libxcb ---> Uninstalling xorg-libxcb @1.7_0+python27 ---> Cleaning xorg-libxcb ---> Deactivating xorg-xcb-proto @1.6_0+python27 ---> Cleaning xorg-xcb-proto ---> Uninstalling xorg-xcb-proto @1.6_0+python27 ---> Cleaning xorg-xcb-proto ---> Deactivating python27 @2.7.1_1 ---> Cleaning python27 ---> Uninstalling python27 @2.7.1_1 ---> Cleaning python27 ---> Deactivating openssl @1.0.0c_0 ---> Cleaning openssl ---> Uninstalling openssl @1.0.0c_0 ---> Cleaning openssl Then I installed homebrew packaging manager. Then: brew install postgres The segfault error does not show anymore. Still have to test a few things out. But looking good so far. Appreciate the help. Thanks.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.