Bug #4611

[BUG] Segementation fault reported

Added by Deryl Doucette almost 3 years ago. Updated about 1 year ago.

[ruby-core:35883]
Status:Feedback
Priority:Normal
Assignee:Hiroshi Nakamura
Category:-
Target version:next minor
ruby -v:- Backport:

Description

I currently have an application using devise and rpx_now gem. When I attempt any login using devise+rpx I get segmentation fault errors. The reported error is as follows: Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678: [BUG] Segmentation fault

This is right after rpx comes BACK from verification using any of the selected accounts for login. Here is the backtrace that ruby reports.

Started POST "/users/signin?authenticitytoken=EPlyulCZi8j8xWbEFNiAi4h6YFMS5l0sPdR55Y9OM30%3d" for 127.0.0.1 at 2011-04-25 12:54:57 -0400
Processing by Devise::SessionsController#create as HTML
Parameters: {"token"=>"531c5a58efe2267155dad5655b10d8760cb588f3", "authenticitytoken"=>"EPlyulCZi8j8xWbEFNiAi4h6YFMS5l0sPdR55Y9OM30="}
/Users/pgpkeys/.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.3]

-- control frame ----------
c:0089 p:---- s:0481 b:0481 l:000480 d:000480 CFUNC :connect
c:0088 p:0011 s:0478 b:0478 l:0001d0 d:000477 BLOCK /Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678
c:0087 p:0031 s:0476 b:0476 l:000475 d:000475 METHOD /Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:44
c:0086 p:0026 s:0464 b:0464 l:000463 d:000463 METHOD /Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:87
c:0085 p:0444 s:0458 b:0458 l:0001d0 d:0001d0 METHOD /Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678
c:0084 p:0011 s:0450 b:0450 l:000449 d:000449 METHOD /Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:637
c:0083 p:0048 s:0447 b:0447 l:000446 d:000446 METHOD /Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:626
c:0082 p:0025 s:0444 b:0444 l:000443 d:000443 METHOD /Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1168
c:0081 p:0028 s:0437 b:0437 l:000436 d:000436 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rpxnow-0.6.24/lib/rpxnow/api.rb:34
c:0080 p:0098 s:0432 b:0432 l:000431 d:000431 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rpxnow-0.6.24/lib/rpxnow/api.rb:19
c:0079 p:0037 s:0424 b:0424 l:000423 d:000423 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rpxnow-0.6.24/lib/rpxnow.rb:38
c:0078 p:0047 s:0418 b:0418 l:000417 d:000417 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rpxnow-0.6.24/lib/rpxnow.rb:26
c:0077 p:0111 s:0410 b:0410 l:000409 d:000409 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/deviserpxconnectable-0.2.2/lib/deviserpxconnectable/strategy.rb:22
c:0076 p:0018 s:0404 b:0404 l:000403 d:000403 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/strategies/base.rb:53
c:0075 p:0094 s:0401 b:0401 l:000391 d:000400 BLOCK /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/proxy.rb:303
c:0074 p:---- s:0397 b:0397 l:000396 d:000396 FINISH
c:0073 p:---- s:0395 b:0395 l:000394 d:000394 CFUNC :each
c:0072 p:0112 s:0392 b:0392 l:000391 d:000391 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/proxy.rb:298
c:0071 p:0065 s:0385 b:0385 l:000384 d:000384 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/proxy.rb:271
c:0070 p:0013 s:0378 b:0378 l:000377 d:000377 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/proxy.rb:90
c:0069 p:0037 s:0372 b:0372 l:000371 d:000371 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/devise-1.1.7/lib/devise/controllers/helpers.rb:226
c:0068 p:0019 s:0369 b:0367 l:000366 d:000366 METHOD /Users/pgpkeys/Projects/cca/app/controllers/applicationcontroller.rb:9
c:0067 p:0118 s:0364 b:0364 l:000363 d:000363 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/active
support/callbacks.rb:446
c:0066 p:0113 s:0358 b:0358 l:000357 d:000357 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/activesupport/callbacks.rb:409
c:0065 p:0024 s:0349 b:0349 l:000348 d:000348 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/active
support/callbacks.rb:93
c:0064 p:0015 s:0343 b:0343 l:002098 d:002098 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/abstractcontroller/callbacks.rb:17
c:0063 p:0012 s:0338 b:0338 l:000319 d:000337 BLOCK /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
controller/metal/instrumentation.rb:30
c:0062 p:0017 s:0334 b:0334 l:000324 d:000333 BLOCK /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/activesupport/notifications.rb:52
c:0061 p:0032 s:0332 b:0332 l:000331 d:000331 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/active
support/notifications/instrumenter.rb:21
c:0060 p:0036 s:0325 b:0325 l:000324 d:000324 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/activesupport/notifications.rb:52
c:0059 p:0152 s:0320 b:0320 l:000319 d:000319 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
controller/metal/instrumentation.rb:29
c:0058 p:0012 s:0314 b:0314 l:000313 d:000313 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actioncontroller/metal/rescue.rb:17
c:0057 p:0093 s:0309 b:0309 l:000308 d:000308 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/abstract
controller/base.rb:119
c:0056 p:0084 s:0303 b:0303 l:000302 d:000302 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/abstractcontroller/rendering.rb:41
c:0055 p:0048 s:0298 b:0298 l:000297 d:000297 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
controller/metal.rb:138
c:0054 p:0086 s:0293 b:0293 l:000292 d:000292 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actioncontroller/metal/rackdelegation.rb:14
c:0053 p:0030 s:0287 b:0287 l:000ae8 d:000286 BLOCK /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actioncontroller/metal.rb:178
c:0052 p:---- s:0284 b:0284 l:000283 d:000283 FINISH
c:0051 p:---- s:0282 b:0282 l:000281 d:000281 CFUNC :call
c:0050 p:0022 s:0278 b:0278 l:000277 d:000277 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/routing/routeset.rb:62
c:0049 p:0094 s:0272 b:0272 l:000271 d:000271 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/routing/routeset.rb:27
c:0048 p:0042 s:0266 b:0266 l:000265 d:000265 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/routing/mapper.rb:35
c:0047 p:0097 s:0261 b:0261 l:000233 d:000260 BLOCK /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-mount-0.6.13/lib/rack/mount/routeset.rb:148
c:0046 p:0014 s:0255 b:0255 l:000239 d:000254 BLOCK /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-mount-0.6.13/lib/rack/mount/code
generation.rb:93
c:0045 p:0189 s:0250 b:0250 l:000249 d:000249 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-mount-0.6.13/lib/rack/mount/codegeneration.rb:68
c:0044 p:0198 s:0240 b:0240 l:000239 d:000239 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-mount-0.6.13/lib/rack/mount/code
generation.rb:92
c:0043 p:0092 s:0234 b:0234 l:000233 d:000233 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-mount-0.6.13/lib/rack/mount/routeset.rb:139
c:0042 p:0025 s:0228 b:0228 l:000227 d:000227 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/routing/routeset.rb:492
c:0041 p:0033 s:0224 b:0224 l:000223 d:000223 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/haml-3.0.25/lib/sass/plugin/rack.rb:41
c:0040 p:0014 s:0220 b:0220 l:000211 d:000219 BLOCK /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/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/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/manager.rb:34
c:0036 p:0015 s:0207 b:0207 l:000206 d:000206 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/middleware/beststandardssupport.rb:17
c:0035 p:0093 s:0200 b:0200 l:000199 d:000199 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/middleware/head.rb:14
c:0034 p:0155 s:0193 b:0193 l:000192 d:000192 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/methodoverride.rb:24
c:0033 p:0046 s:0187 b:0187 l:000186 d:000186 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/middleware/paramsparser.rb:21
c:0032 p:0054 s:0182 b:0182 l:000181 d:000181 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/middleware/flash.rb:182
c:0031 p:0027 s:0175 b:0175 l:000174 d:000174 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/middleware/session/abstractstore.rb:149
c:0030 p:0015 s:0164 b:0164 l:000163 d:000163 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/middleware/cookies.rb:302
c:0029 p:0014 s:0156 b:0156 l:001120 d:000155 BLOCK /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activerecord-3.0.4/lib/active
record/querycache.rb:32
c:0028 p:0019 s:0154 b:0154 l:000153 d:000153 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activerecord-3.0.4/lib/active
record/connectionadapters/abstract/querycache
c:0027 p:0051 s:0150 b:0150 l:000149 d:000149 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activerecord-3.0.4/lib/activerecord/querycache.rb:12
c:0026 p:0019 s:0146 b:0146 l:001120 d:001120 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activerecord-3.0.4/lib/activerecord/querycache.rb:31
c:0025 p:0015 s:0142 b:0142 l:000141 d:000141 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activerecord-3.0.4/lib/activerecord/connectionadapters/abstract/connection_
c:0024 p:0029 s:0138 b:0138 l:0014f0 d:000137 BLOCK /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/middleware/callbacks.rb:46
c:0023 p:0155 s:0136 b:0136 l:000135 d:000135 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/active
support/callbacks.rb:415
c:0022 p:0011 s:0126 b:0126 l:0014f0 d:0014f0 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/middleware/callbacks.rb:44
c:0021 p:0015 s:0122 b:0122 l:000121 d:000121 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/sendfile.rb:107
c:0020 p:0049 s:0112 b:0112 l:000111 d:000111 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/middleware/remoteip.rb:48
c:0019 p:0017 s:0108 b:0108 l:000107 d:000107 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/middleware/showexceptions.rb:47
c:0018 p:0027 s:0100 b:0100 l:000099 d:000099 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/railties-3.0.4/lib/rails/rack/logger.rb:13
c:0017 p:0032 s:0096 b:0096 l:000095 d:000095 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/runtime.rb:17
c:0016 p:0052 s:0087 b:0087 l:000086 d:000086 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/active
support/cache/strategy/localcache.rb:72
c:0015 p:0014 s:0083 b:0083 l:000077 d:000082 BLOCK /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/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/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/lock.rb:11
c:0012 p:0193 s:0073 b:0073 l:000072 d:000072 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/middleware/static.rb:30
c:0011 p:0032 s:0066 b:0066 l:000065 d:000065 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/railties-3.0.4/lib/rails/application.rb:168
c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/railties-3.0.4/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/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/railties-3.0.4/lib/rails/rack/logtailer.rb:14
c:0007 p:0015 s:0050 b:0050 l:000049 d:000049 METHOD /Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/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/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/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/pgpkeys/.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/pgpkeys/.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:001d88 d:000008 BLOCK /Users/pgpkeys/.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/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in block in start_thread'
/Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in
run'
/Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:in
service'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/contentlength.rb:13:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/railties-3.0.4/lib/rails/rack/log_tailer.rb:14:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/railties-3.0.4/lib/rails/application.rb:77:in method_missing'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/railties-3.0.4/lib/rails/application.rb:168:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/middleware/static.rb:30:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/lock.rb:11:in
call'
internal:prelude:10:in synchronize'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/lock.rb:11:in
block in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/activesupport/cache/strategy/localcache.rb:72:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/runtime.rb:17:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/railties-3.0.4/lib/rails/rack/logger.rb:13:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_dispatch/middleware/show_exceptions.rb:47:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/middleware/remoteip.rb:48:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/sendfile.rb:107:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/middleware/callbacks.rb:44:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/active_support/callbacks.rb:415:in
runcallcallbacks'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/middleware/callbacks.rb:46:in block in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activerecord-3.0.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activerecord-3.0.4/lib/active
record/querycache.rb:31:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activerecord-3.0.4/lib/active_record/query_cache.rb:12:in
cache'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activerecord-3.0.4/lib/active
record/connectionadapters/abstract/querycache.rb:28:in cache'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activerecord-3.0.4/lib/active_record/query_cache.rb:32:in
block in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/middleware/cookies.rb:302:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_dispatch/middleware/session/abstract_store.rb:149:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
dispatch/middleware/flash.rb:182:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_dispatch/middleware/params_parser.rb:21:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_dispatch/middleware/head.rb:14:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/middleware/beststandardssupport.rb:17:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/manager.rb:34:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/manager.rb:34:in catch'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/manager.rb:35:in
block in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/haml-3.0.25/lib/sass/plugin/rack.rb:41:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_dispatch/routing/route_set.rb:492:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-mount-0.6.13/lib/rack/mount/route
set.rb:139:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:92:in
recognize'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-mount-0.6.13/lib/rack/mount/codegeneration.rb:68:in optimized_each'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:93:in
block in recognize'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rack-mount-0.6.13/lib/rack/mount/route
set.rb:148:in block in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_dispatch/routing/mapper.rb:35:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/routing/routeset.rb:27:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_dispatch/routing/route_set.rb:62:in
dispatch'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actiondispatch/routing/routeset.rb:62:in call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_controller/metal.rb:178:in
block in action'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/actioncontroller/metal/rackdelegation.rb:14:in dispatch'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_controller/metal.rb:138:in
dispatch'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/abstractcontroller/rendering.rb:41:in process'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/abstract_controller/base.rb:119:in
process'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action
controller/metal/rescue.rb:17:in process_action'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_controller/metal/instrumentation.rb:29:in
processaction'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/active
support/notifications.rb:52:in instrument'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/active_support/notifications/instrumenter.rb:21:in
instrument'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/activesupport/notifications.rb:52:in block in instrument'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/action_controller/metal/instrumentation.rb:30:in
block in process
action'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/actionpack-3.0.4/lib/abstractcontroller/callbacks.rb:17:in process_action'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/active_support/callbacks.rb:93:in
run
callbacks'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/activesupport/callbacks.rb:409:in _run_process_action_callbacks'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/activesupport-3.0.4/lib/active_support/callbacks.rb:446:in
run130069896162790148processaction3195822296267531215callbacks'
/Users/pgpkeys/Projects/cca/app/controllers/application
controller.rb:9:in set_current_user'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/devise-1.1.7/lib/devise/controllers/helpers.rb:226:in
currentuser'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/proxy.rb:90:in authenticate'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/proxy.rb:271:in
performauthentication'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/proxy.rb:298:in _run_strategies_for'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/proxy.rb:298:in
each'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/proxy.rb:303:in block in _run_strategies_for'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/warden-1.0.3/lib/warden/strategies/base.rb:53:in
run!'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/deviserpxconnectable-0.2.2/lib/deviserpxconnectable/strategy.rb:22:in authenticate!'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rpx_now-0.6.24/lib/rpx_now.rb:26:in
userdata'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rpx
now-0.6.24/lib/rpxnow.rb:38:in auth_info'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rpx_now-0.6.24/lib/rpx_now/api.rb:19:in
call'
/Users/pgpkeys/.rvm/gems/ruby-1.9.2-p180@cca/gems/rpx
now-0.6.24/lib/rpxnow/api.rb:34:in request'
/Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1168:in
request'
/Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:626:in start'
/Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:637:in
do
start'
/Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678:in connect'
/Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:87:in
timeout'
/Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:44:in timeout'
/Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678:in
block in connect'
/Users/pgpkeys/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:678:in `connect'

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

ruby_2011-04-25-125500_pgpmbp.crash - Ruby OS X crashlog (Sorry forgot to add it earlier) (18.5 KB) Deryl Doucette, 04/26/2011 02:19 AM


Related issues

Related to ruby-trunk - Bug #4844: RVM crash while running resque worker pool Closed 06/07/2011
Duplicated by ruby-trunk - Bug #4875: Segmentation fault in http.rb Closed 06/12/2011
Duplicated by ruby-trunk - Bug #4639: net http segmentation fault in ruby 1.9.2-head/1.9.2-p180 Rejected 05/02/2011

History

#1 Updated by Deryl Doucette almost 3 years ago

=begin
This is the Ruby crashlog on Mac OS X 10.6.7 (on a 2011 Macbook Pro with quad core CPU and 8GB 1333MHz RAM in case you need that detail)

=end

#2 Updated by Shota Fukumori almost 3 years ago

  • Status changed from Open to Feedback

=begin
could you attach a crash log in ~/Library/Logs/CrashReporter ?

P.S.: I don't recommend paste in textbox because it makes difficult to read. so I recommend add log as attachment.
=end

#3 Updated by Shota Fukumori almost 3 years ago

  • Status changed from Feedback to Open

=begin
oops, I missed your crashlog post. sorry.
=end

#4 Updated by Deryl Doucette almost 3 years ago

=begin
Shota Fukumori wrote:

could you attach a crash log in ~/Library/Logs/CrashReporter ?

P.S.: I don't recommend paste in textbox because it makes difficult to read. so I recommend add log as attachment.

I have added ruby-debug19 to the mix. would you like me to rerun and repost the output from that?
=end

#5 Updated by Deryl Doucette almost 3 years ago

=begin
Shota Fukumori wrote:

could you attach a crash log in ~/Library/Logs/CrashReporter ?

P.S.: I don't recommend paste in textbox because it makes difficult to read. so I recommend add log as attachment.

Yeha I don't exactly like that either. I will start using gist.github.com and just post the link. Selecting Shell as the tet type makes it look fine.
=end

#6 Updated by Peter Bell almost 3 years ago

Just some additional info. I have a very similar issue.

I've got a very simple OmniAuth install. I've registered the app with
facebook and the login works fine. When Facebook runs it's callback
and tries to pull up localhost:3000/auth/facebook/callback, I get a
"page can't be displayed" in my browser and in the terminal window
where I'm running "rails server" it crashes with a Ruby SegFault.

Here's the gist: https://gist.github.com/1000515

Bottom line:
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]

FWIW, this thread appears to be a related issue with a number of people
posting that they're having a similar problem:
https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f

And I can replicate that if I pull the postgres gem and
replace it with SQLite, change the dev database setting to use SQLite
and re-run bundle install, the segfault goes away.

Hope the additional information is of some help.

#7 Updated by Ruan Carlos almost 3 years ago

I have the same error here with rails 3.1-rc4.
This bug is in WEBrick server, i have installed the Thin server and it works.

gem install thin

Att

#8 Updated by Yui NARUSE almost 3 years ago

  • Status changed from Open to Assigned
  • Assignee set to Hiroshi Nakamura

#9 Updated by Hiroshi Nakamura almost 3 years ago

  • Target version set to 1.9.3

#10 Updated by Hiroshi Nakamura almost 3 years ago

  • ruby -v changed from ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.3] to -

Hi,

On Tue, Apr 26, 2011 at 02:40, Shota Fukumori sorah@tubusu.net wrote:

Issue #4611 has been updated by Shota Fukumori.

could you attach a crash log in ~/Library/Logs/CrashReporter ?

Shota, do you mind helping us to add above notification to crash log
reporter of CRuby if it runs on OS X? Lack of C level backtrace
information makes us hard to find the culprit.

Regards,
// NaHi

#11 Updated by Hiroshi Nakamura almost 3 years ago

On Mon, Jun 27, 2011 at 11:32, Hiroshi Nakamura nakahiro@gmail.com wrote:

could you attach a crash log in ~/Library/Logs/CrashReporter ?

Shota, do you mind helping us to add above notification to crash log
reporter of CRuby if it runs on OS X? Lack of C level backtrace
information makes us hard to find the culprit.

My bad. We already have it. (r29949)

Regards,
// NaHi

#12 Updated by Hiroshi Nakamura almost 3 years ago

  • Status changed from Assigned to Feedback

Deryl, Peter, I think it's related OpenSSL version conflict. Please see #4875 and https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f#gistcomment-36686

Would you please make sure you're using same OpenSSL libraries for every gem you're using?

#13 Updated by Piotr Panasewicz almost 3 years ago

Hiroshi Nakamura wrote:

Deryl, Peter, I think it's related OpenSSL version conflict. Please see #4875 and https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f#gistcomment-36686

Would you please make sure you're using same OpenSSL libraries for every gem you're using?

And how can I do that? Having similar issue:

Fallens-MacBook-Pro:trunk Fallen$ stalk config/jobs.rb
Working 3 jobs: [ email.process email.send.answer user.fetch ]
Working email.process (file=/Users/Fallen/Sites/support-app/trunk/tmp/mailqueue/E432812B-6294-4DAC-9491-74DB6983F4DD@me.com.eml)
Finished email.process in 4520ms
Working user.fetch (email
address=**.*@me.com ticket_id=1 delay=10)
Looking for user by email: *
.******@me.com
/usr/local/lib/ruby/1.9.1/net/http.rb:678: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.8.0]

-- control frame ----------
c:0033 p:---- s:0182 b:0182 l:000181 d:000181 CFUNC :connect
c:0032 p:0011 s:0179 b:0179 l:002640 d:000178 BLOCK /usr/local/lib/ruby/1.9.1/net/http.rb:678
c:0031 p:0031 s:0177 b:0177 l:000176 d:000176 METHOD /usr/local/lib/ruby/1.9.1/timeout.rb:44
c:0030 p:0026 s:0165 b:0165 l:000164 d:000164 METHOD /usr/local/lib/ruby/1.9.1/timeout.rb:87
c:0029 p:0444 s:0159 b:0159 l:002640 d:002640 METHOD /usr/local/lib/ruby/1.9.1/net/http.rb:678
c:0028 p:0011 s:0151 b:0151 l:000150 d:000150 METHOD /usr/local/lib/ruby/1.9.1/net/http.rb:637
c:0027 p:0048 s:0148 b:0148 l:000147 d:000147 METHOD /usr/local/lib/ruby/1.9.1/net/http.rb:626
c:0026 p:0646 s:0145 b:0145 l:000144 d:000144 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:306
c:0025 p:0024 s:0125 b:0125 l:000124 d:000124 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:769
c:0024 p:0047 s:0119 b:0119 l:001ef0 d:000118 BLOCK /usr/local/lib/ruby/1.9.1/open-uri.rb:203
c:0023 p:---- s:0117 b:0117 l:000116 d:000116 FINISH
c:0022 p:---- s:0115 b:0115 l:000114 d:000114 CFUNC :catch
c:0021 p:0491 s:0111 b:0111 l:001ef0 d:001ef0 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:201
c:0020 p:0328 s:0097 b:0097 l:000096 d:000096 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:146
c:0019 p:0022 s:0086 b:0086 l:000085 d:000085 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:671
c:0018 p:0096 s:0081 b:0081 l:000080 d:000080 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:33
c:0017 p:0151 s:0074 b:0074 l:000073 d:000073 METHOD /Users/Fallen/Sites/support-app/trunk/app/models/user.rb:45
c:0016 p:0024 s:0062 b:0062 l:0010d8 d:000061 BLOCK /Users/Fallen/Sites/support-app/trunk/config/jobs.rb:37
c:0015 p:---- s:0057 b:0057 l:000056 d:000056 FINISH
c:0014 p:---- s:0055 b:0055 l:000054 d:000054 CFUNC :call
c:0013 p:0049 s:0051 b:0051 l:001ec0 d:000050 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:83
c:0012 p:0109 s:0049 b:0049 l:000390 d:000390 METHOD /usr/local/lib/ruby/1.9.1/timeout.rb:57
c:0011 p:0125 s:0037 b:0037 l:001ec0 d:001ec0 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:77
c:0010 p:0009 s:0029 b:0029 l:000021 d:000028 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:64
c:0009 p:---- s:0027 b:0027 l:000026 d:000026 FINISH
c:0008 p:---- s:0025 b:0025 l:000024 d:000024 CFUNC :loop
c:0007 p:0026 s:0022 b:0022 l:000021 d:000021 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:64
c:0006 p:0205 s:0018 b:0018 l:000370 d:000370 TOP /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/bin/stalk:21
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :load
c:0003 p:0127 s:0007 b:0007 l:0017a8 d:000e00 EVAL /opt/local/bin/stalk:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH

c:0001 p:0000 s:0002 b:0002 l:0017a8 d:0017a8 TOP

-- Ruby level backtrace information ----------------------------------------
/opt/local/bin/stalk:19:in <main>'
/opt/local/bin/stalk:19:in
load'
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/bin/stalk:21:in <top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:64:in
work'
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:64:in loop'
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:64:in
block in work'
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:77:in work_one_job'
/usr/local/lib/ruby/1.9.1/timeout.rb:57:in
timeout'
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:83:in block in work_one_job'
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:83:in
call'
/Users/Fallen/Sites/support-app/trunk/config/jobs.rb:37:in block in <top (required)>'
/Users/Fallen/Sites/support-app/trunk/app/models/user.rb:45:in
fetch'
/usr/local/lib/ruby/1.9.1/open-uri.rb:33:in open'
/usr/local/lib/ruby/1.9.1/open-uri.rb:671:in
open'
/usr/local/lib/ruby/1.9.1/open-uri.rb:146:in open_uri'
/usr/local/lib/ruby/1.9.1/open-uri.rb:201:in
openloop'
/usr/local/lib/ruby/1.9.1/open-uri.rb:201:in catch'
/usr/local/lib/ruby/1.9.1/open-uri.rb:203:in
block in open
loop'
/usr/local/lib/ruby/1.9.1/open-uri.rb:769:in buffer_open'
/usr/local/lib/ruby/1.9.1/open-uri.rb:306:in
openhttp'
/usr/local/lib/ruby/1.9.1/net/http.rb:626:in start'
/usr/local/lib/ruby/1.9.1/net/http.rb:637:in
do
start'
/usr/local/lib/ruby/1.9.1/net/http.rb:678:in connect'
/usr/local/lib/ruby/1.9.1/timeout.rb:87:in
timeout'
/usr/local/lib/ruby/1.9.1/timeout.rb:44:in timeout'
/usr/local/lib/ruby/1.9.1/net/http.rb:678:in
block in connect'
/usr/local/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

Fallens-MacBook-Pro:mysql2 Fallen$ otool -L /opt/local/lib/ruby1.9/gems/1.9.1/gems/mysql2-0.2.11/lib/mysql2/mysql2.bundle
/opt/local/lib/ruby1.9/gems/1.9.1/gems/mysql2-0.2.11/lib/mysql2/mysql2.bundle:
/opt/local/lib/libruby.1.9.1.dylib (compatibility version 1.9.1, current version 1.9.1)
/opt/local/lib/mysql5/mysql/libmysqlclientr.16.dylib (compatibility version 17.0.0, current version 17.0.0)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
/opt/local/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
Fallens-MacBook-Pro:mysql2 Fallen$ otool -L /usr/local/lib/ruby/1.9.1/x86
64-darwin10.8.0/openssl.bundle
/usr/local/lib/ruby/1.9.1/x86_64-darwin10.8.0/openssl.bundle:
/usr/local/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.11)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)

#14 Updated by Hiroshi Nakamura almost 3 years ago

Piotr, thanks for feedback. Nice, it includes both OpenSSL 0.9.8 (from ruby) and 1.0.0 (from mysql).

Please try to compile your ruby (/usr/local/bin/ruby) with OpenSSL 1.0.0. I don't know much about Mac OS X but giving '--with-openssl-include=/path/to/ssl/include --with-openssl-lib=/path/to/ssl/lib' to configure works normally.

It could be '--with-openssl-include=/path/to/ssl/include --with-openssl-lib=/path/to/ssl/lib64' for 64bit box but anyway it depends on the system you're using.

#15 Updated by Yui NARUSE about 1 year ago

  • Target version changed from 1.9.3 to next minor

Also available in: Atom PDF