Skip to content

Instantly share code, notes, and snippets.

/gist:1000515
Created May 31, 2011

Embed
What would you like to do?
Segfault with OmniAuth
cLast login: Tue May 31 09:13:53 on ttys004
Peter-Bells-MacBook-Pro:skinnio-web peterbell$ rails server
=> Booting WEBrick
=> Rails 3.1.0.rc1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-05-31 09:32:43] INFO WEBrick 1.3.1
[2011-05-31 09:32:43] INFO ruby 1.9.2 (2011-02-18) [x86_64-darwin10.7.0]
[2011-05-31 09:32:43] INFO WEBrick::HTTPServer#start: pid=41552 port=3000
Started GET "/auth/facebook" for 127.0.0.1 at 2011-05-31 09:32:48 -0400
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
-- control frame ----------
c:0056 p:---- s:0341 b:0341 l:000340 d:000340 CFUNC :connect
c:0055 p:0011 s:0338 b:0338 l:000f90 d:000337 BLOCK /Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678
c:0054 p:0031 s:0336 b:0336 l:000335 d:000335 METHOD /Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:44
c:0053 p:0026 s:0324 b:0324 l:000323 d:000323 METHOD /Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:87
c:0052 p:0444 s:0318 b:0318 l:000f90 d:000f90 METHOD /Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678
c:0051 p:0011 s:0310 b:0310 l:000309 d:000309 METHOD /Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:637
c:0050 p:0048 s:0307 b:0307 l:000306 d:000306 METHOD /Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:626
c:0049 p:0025 s:0304 b:0304 l:000303 d:000303 METHOD /Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1168
c:0048 p:0549 s:0297 b:0297 l:000296 d:000296 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/faraday-0.6.1/lib/faraday/adapter/net_http.rb:51
c:0047 p:0027 s:0287 b:0287 l:000286 d:000286 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/faraday-0.6.1/lib/faraday/request/url_encoded.rb:14
c:0046 p:0054 s:0283 b:0283 l:000938 d:000938 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/faraday-0.6.1/lib/faraday/request.rb:88
c:0045 p:0044 s:0276 b:0276 l:000275 d:000275 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/faraday-0.6.1/lib/faraday/request.rb:28
c:0044 p:0065 s:0270 b:0270 l:000269 d:000269 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/faraday-0.6.1/lib/faraday/connection.rb:170
c:0043 p:0081 s:0263 b:0263 l:000262 d:000262 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oauth2-0.4.1/lib/oauth2/client.rb:63
c:0042 p:0046 s:0254 b:0254 l:000253 d:000253 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oauth2-0.4.1/lib/oauth2/strategy/web_server.rb:15
c:0041 p:0070 s:0248 b:0248 l:000247 d:000247 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-oauth-0.2.6/lib/omniauth/strategies/oauth2.rb:80
c:0040 p:0042 s:0244 b:0244 l:000243 d:000243 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-oauth-0.2.6/lib/omniauth/strategies/facebook.rb:31
c:0039 p:0146 s:0241 b:0241 l:000240 d:000240 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-oauth-0.2.6/lib/omniauth/strategies/oauth2.rb:66
c:0038 p:0082 s:0237 b:0237 l:000236 d:000236 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:68
c:0037 p:0200 s:0234 b:0234 l:000233 d:000233 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:42
c:0036 p:0019 s:0230 b:0230 l:000229 d:000229 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:30
c:0035 p:0044 s:0226 b:0226 l:000225 d:000225 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-core-0.2.6/lib/omniauth/builder.rb:30
c:0034 p:0015 s:0222 b:0222 l:000221 d:000221 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/best_standards_
c:0033 p:0015 s:0215 b:0215 l:000214 d:000214 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/etag.rb:23
c:0032 p:0068 s:0207 b:0207 l:000206 d:000206 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/conditionalget.rb:25
c:0031 p:0093 s:0200 b:0200 l:000199 d:000199 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/head.rb:14
c:0030 p:0046 s:0193 b:0193 l:000192 d:000192 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/params_parser.r
c:0029 p:0054 s:0188 b:0188 l:000187 d:000187 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/flash.rb:243
c:0028 p:0031 s:0180 b:0180 l:000179 d:000179 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/session/abstract/id.rb:195
c:0027 p:0013 s:0172 b:0172 l:000171 d:000171 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/session/abstract/id.rb:190
c:0026 p:0020 s:0168 b:0168 l:000167 d:000167 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/cookies.rb:321
c:0025 p:0064 s:0160 b:0160 l:000159 d:000159 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/activerecord-3.1.0.rc1/lib/active_record/query_cache.rb:54
c:0024 p:0029 s:0152 b:0152 l:000151 d:000151 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/activerecord-3.1.0.rc1/lib/active_record/connection_adapters/abstra
c:0023 p:0014 s:0144 b:0144 l:000740 d:000143 BLOCK /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/callbacks.rb:29
c:0022 p:0155 s:0142 b:0142 l:000141 d:000141 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/activesupport-3.1.0.rc1/lib/active_support/callbacks.rb:392
c:0021 p:0024 s:0132 b:0132 l:000131 d:000131 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/activesupport-3.1.0.rc1/lib/active_support/callbacks.rb:81
c:0020 p:0013 s:0126 b:0126 l:000740 d:000740 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/callbacks.rb:28
c:0019 p:0027 s:0122 b:0122 l:000121 d:000121 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/reloader.rb:68
c:0018 p:0015 s:0117 b:0117 l:000116 d:000116 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/sendfile.rb:102
c:0017 p:0049 s:0107 b:0107 l:000106 d:000106 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/remote_ip.rb:48
c:0016 p:0017 s:0103 b:0103 l:000102 d:000102 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/show_exceptions
c:0015 p:0027 s:0095 b:0095 l:000094 d:000094 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/railties-3.1.0.rc1/lib/rails/rack/logger.rb:13
c:0014 p:0155 s:0091 b:0091 l:000090 d:000090 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/methodoverride.rb:24
c:0013 p:0032 s:0085 b:0085 l:000084 d:000084 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/runtime.rb:17
c:0012 p:0057 s:0076 b:0076 l:000075 d:000075 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/activesupport-3.1.0.rc1/lib/active_support/cache/strategy/local_cac
c:0011 p:0068 s:0072 b:0072 l:000071 d:000071 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/lock.rb:34
c:0010 p:0124 s:0066 b:0066 l:000065 d:000065 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/static.rb:53
c:0009 p:0015 s:0060 b:0060 l:000059 d:000059 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/railties-3.1.0.rc1/lib/rails/rack/content_length.rb:16
c:0008 p:0032 s:0051 b:0051 l:000050 d:000050 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/railties-3.1.0.rc1/lib/rails/engine.rb:438
c:0007 p:0015 s:0047 b:0047 l:000046 d:000046 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/railties-3.1.0.rc1/lib/rails/rack/log_tailer.rb:14
c:0006 p:0356 s:0042 b:0042 l:000041 d:000041 METHOD /Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/handler/webrick.rb:59
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111
c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD /Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70
c:0003 p:0126 s:0009 b:0009 l:001578 d:000008 BLOCK /Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/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/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/handler/webrick.rb:59:in `service'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/railties-3.1.0.rc1/lib/rails/rack/log_tailer.rb:14:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/railties-3.1.0.rc1/lib/rails/engine.rb:438:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/railties-3.1.0.rc1/lib/rails/rack/content_length.rb:16:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/static.rb:53:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/lock.rb:34:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/activesupport-3.1.0.rc1/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/runtime.rb:17:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/methodoverride.rb:24:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/railties-3.1.0.rc1/lib/rails/rack/logger.rb:13:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/sendfile.rb:102:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/reloader.rb:68:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/activesupport-3.1.0.rc1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/activesupport-3.1.0.rc1/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/activerecord-3.1.0.rc1/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/activerecord-3.1.0.rc1/lib/active_record/query_cache.rb:54:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/cookies.rb:321:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/session/abstract/id.rb:190:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/session/abstract/id.rb:195:in `context'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/flash.rb:243:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/head.rb:14:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/conditionalget.rb:25:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/rack-1.3.0/lib/rack/etag.rb:23:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/actionpack-3.1.0.rc1/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-core-0.2.6/lib/omniauth/builder.rb:30:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:30:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:42:in `call!'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-core-0.2.6/lib/omniauth/strategy.rb:68:in `callback_call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-oauth-0.2.6/lib/omniauth/strategies/oauth2.rb:66:in `callback_phase'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-oauth-0.2.6/lib/omniauth/strategies/facebook.rb:31:in `build_access_token'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oa-oauth-0.2.6/lib/omniauth/strategies/oauth2.rb:80:in `build_access_token'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oauth2-0.4.1/lib/oauth2/strategy/web_server.rb:15:in `get_access_token'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/oauth2-0.4.1/lib/oauth2/client.rb:63:in `request'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/faraday-0.6.1/lib/faraday/connection.rb:170:in `run_request'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/faraday-0.6.1/lib/faraday/request.rb:28:in `run'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/faraday-0.6.1/lib/faraday/request.rb:88:in `run'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/faraday-0.6.1/lib/faraday/request/url_encoded.rb:14:in `call'
/Users/peterbell/.rvm/gems/ruby-1.9.2-p180@skinnio-web/gems/faraday-0.6.1/lib/faraday/adapter/net_http.rb:51:in `call'
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1168:in `request'
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:626:in `start'
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678:in `connect'
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:87:in `timeout'
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678:in `block in connect'
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678: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
Peter-Bells-MacBook-Pro:skinnio-web peterbell$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.