This project is archived and is in readonly mode.
Segfault with Ruby 1.9.1 and Rails 3.0.0.beta2
Reported by Gabriel Sobrinho | April 2nd, 2010 @ 07:01 PM
I having a issue with Ruby 1.9.1 p378 and Rails 3.0.0.beta2. I don't know if this issue is with Ruby or Rails.
When I start the server and access http://localhost:3000/ this segfault occurr:
=> Booting WEBrick => Rails 3.0.0.beta2 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-04-02 14:43:12] INFO WEBrick 1.3.1 [2010-04-02 14:43:12] INFO ruby 1.9.1 (2010-01-10) [i386-darwin9.7.0] [2010-04-02 14:43:12] INFO WEBrick::HTTPServer#start: pid=1396 port=3000 /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/core_ext/module/remove_method.rb:3: [BUG] Segmentation fault ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin9.7.0] -- control frame ---------- c:0088 p:---- s:0433 b:0433 l:000432 d:000432 CFUNC :remove_method c:0087 p:0013 s:0429 b:0429 l:000428 d:000428 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/core_ext/module/remove_method.rb:3 c:0086 p:0018 s:0425 b:0425 l:002270 d:000424 LAMBDA /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/core_ext/class/attribute.rb:49 c:0085 p:---- s:0422 b:0422 l:000421 d:000421 FINISH c:0084 p:0095 s:0420 b:0419 l:000408 d:000418 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/rendering.rb:58 c:0083 p:---- s:0417 b:0417 l:000416 d:000416 FINISH c:0082 p:---- s:0415 b:0415 l:000414 d:000414 CFUNC :initialize c:0081 p:---- s:0413 b:0413 l:000412 d:000412 CFUNC :new c:0080 p:0046 s:0409 b:0409 l:000408 d:000408 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/rendering.rb:49 c:0079 p:0023 s:0405 b:0405 l:000404 d:000404 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/rendering.rb:68 c:0078 p:0011 s:0402 b:0402 l:000401 d:000401 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/rendering.rb:86 c:0077 p:0011 s:0399 b:0399 l:000398 d:000398 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/rendering.rb:115 c:0076 p:0029 s:0395 b:0395 l:000394 d:000394 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/rendering.rb:101 c:0075 p:0025 s:0391 b:0391 l:000390 d:000390 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/renderers.rb:47 c:0074 p:0042 s:0387 b:0387 l:000386 d:000386 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/compatibility.rb:57 c:0073 p:0042 s:0383 b:0381 l:000380 d:000380 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/rendering.rb:94 c:0072 p:0043 s:0375 b:0375 l:000374 d:000374 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/rendering.rb:17 c:0071 p:0010 s:0371 b:0371 l:00064c d:000370 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/instrumentation.rb:39 c:0070 p:0005 s:0369 b:0369 l:0009c4 d:000368 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/core_ext/benchmark.rb:17 c:0069 p:0024 s:0367 b:0367 l:000366 d:000366 METHOD /Users/sobrinho/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/benchmark.rb:309 c:0068 p:0013 s:0361 b:0360 l:0009c4 d:0009c4 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/core_ext/benchmark.rb:17 c:0067 p:0015 s:0357 b:0357 l:00064c d:001e34 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/instrumentation.rb:39 c:0066 p:0007 s:0355 b:0355 l:000354 d:000354 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/instrumentation.rb:77 c:0065 p:0054 s:0352 b:0352 l:000351 d:000351 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta2/lib/active_record/railties/controller_runtime.rb:15 c:0064 p:0017 s:0346 b:0345 l:00064c d:00064c METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/instrumentation.rb:38 c:0063 p:0011 s:0340 b:0340 l:000339 d:000339 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/implicit_render.rb:10 c:0062 p:0032 s:0337 b:0337 l:000336 d:000336 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/implicit_render.rb:5 c:0061 p:0015 s:0332 b:0332 l:000331 d:000331 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/base.rb:153 c:0060 p:0041 s:0327 b:0327 l:000326 d:000326 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/rendering.rb:11 c:0059 p:0010 s:0323 b:0323 l:001818 d:000322 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/callbacks.rb:18 c:0058 p:0063 s:0321 b:0321 l:000320 d:000320 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/callbacks.rb:433 c:0057 p:0168 s:0315 b:0315 l:000314 d:000314 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/callbacks.rb:423 c:0056 p:0024 s:0306 b:0306 l:000305 d:000305 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/callbacks.rb:88 c:0055 p:0015 s:0300 b:0300 l:001818 d:001818 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/callbacks.rb:17 c:0054 p:0012 s:0296 b:0296 l:000ce0 d:000295 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/instrumentation.rb:29 c:0053 p:0039 s:0292 b:0292 l:000291 d:000291 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/notifications/instrumenter.rb:18 c:0052 p:0023 s:0285 b:0285 l:000284 d:000284 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/notifications.rb:53 c:0051 p:0152 s:0280 b:0280 l:000ce0 d:000ce0 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/instrumentation.rb:28 c:0050 p:0012 s:0274 b:0274 l:000273 d:000273 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/rescue.rb:8 c:0049 p:0077 s:0269 b:0269 l:000268 d:000268 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/base.rb:123 c:0048 p:0084 s:0263 b:0263 l:000262 d:000262 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/abstract_controller/rendering.rb:40 c:0047 p:0045 s:0258 b:0258 l:000257 d:000257 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal.rb:84 c:0046 p:0046 s:0253 b:0253 l:000252 d:000252 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal/rack_delegation.rb:14 c:0045 p:0030 s:0248 b:0248 l:000b9c d:000247 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_controller/metal.rb:124 c:0044 p:---- s:0245 b:0245 l:000244 d:000244 FINISH c:0043 p:---- s:0243 b:0243 l:000242 d:000242 CFUNC :call c:0042 p:0096 s:0239 b:0239 l:000238 d:000238 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/routing/route_set.rb:29 c:0041 p:0095 s:0233 b:0233 l:000207 d:000232 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-mount-0.6.1/lib/rack/mount/recognition/route_set.rb:75 c:0040 p:0014 s:0227 b:0227 l:000213 d:000226 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-mount-0.6.1/lib/rack/mount/recognition/code_generation.rb:99 c:0039 p:0099 s:0222 b:0222 l:000221 d:000221 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-mount-0.6.1/lib/rack/mount/recognition/code_generation.rb:76 c:0038 p:0185 s:0214 b:0214 l:000213 d:000213 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-mount-0.6.1/lib/rack/mount/recognition/code_generation.rb:98 c:0037 p:0089 s:0208 b:0208 l:000207 d:000207 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-mount-0.6.1/lib/rack/mount/recognition/route_set.rb:66 c:0036 p:0024 s:0202 b:0202 l:000201 d:000201 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/routing/route_set.rb:454 c:0035 p:0013 s:0198 b:0198 l:0022a8 d:000197 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta2/lib/active_record/query_cache.rb:31 c:0034 p:0038 s:0196 b:0196 l:000195 d:000195 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta2/lib/active_record/connection_adapters/abstract/query_ca c:0033 p:0051 s:0192 b:0192 l:000191 d:000191 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta2/lib/active_record/query_cache.rb:11 c:0032 p:0019 s:0188 b:0188 l:0022a8 d:0022a8 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta2/lib/active_record/query_cache.rb:30 c:0031 p:0014 s:0184 b:0184 l:000183 d:000183 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activerecord-3.0.0.beta2/lib/active_record/connection_adapters/abstract/connecti c:0030 p:0090 s:0180 b:0180 l:000179 d:000179 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/head.rb:14 c:0029 p:0150 s:0173 b:0173 l:000172 d:000172 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/methodoverride.rb:24 c:0028 p:0045 s:0167 b:0167 l:000166 d:000166 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/params_parser.rb:19 c:0027 p:0051 s:0162 b:0162 l:000161 d:000161 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/flash.rb:167 c:0026 p:0086 s:0156 b:0156 l:000155 d:000155 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/session/cookie_store.rb:10 c:0025 p:0014 s:0146 b:0146 l:000145 d:000145 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/cookies.rb:206 c:0024 p:0029 s:0137 b:0137 l:002648 d:000136 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/callbacks.rb:46 c:0023 p:0210 s:0135 b:0135 l:000134 d:000134 METHOD (null):429 c:0022 p:0024 s:0125 b:0125 l:000124 d:000124 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-3.0.0.beta2/lib/active_support/callbacks.rb:88 c:0021 p:0013 s:0119 b:0119 l:002648 d:002648 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/callbacks.rb:44 c:0020 p:0014 s:0115 b:0115 l:000114 d:000114 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/sendfile.rb:105 c:0019 p:0046 s:0105 b:0105 l:000104 d:000104 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/remote_ip.rb:48 c:0018 p:0014 s:0101 b:0101 l:000100 d:000100 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/show_exceptions.rb:48 c:0017 p:0026 s:0096 b:0096 l:000095 d:000095 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta2/lib/rails/rack/logger.rb:13 c:0016 p:0031 s:0092 b:0092 l:000091 d:000091 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/runtime.rb:17 c:0015 p:0013 s:0083 b:0083 l:000077 d:000082 BLOCK /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/lock.rb:11 c:0014 p:0019 s:0081 b:0081 l:000080 d:000080 METHOD :8 c:0013 p:0052 s:0078 b:0078 l:000077 d:000077 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/lock.rb:11 c:0012 p:0189 s:0073 b:0073 l:000072 d:000072 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/static.rb:30 c:0011 p:0045 s:0066 b:0066 l:000065 d:000065 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta2/lib/rails/application.rb:132 c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta2/lib/rails/application.rb:80 c:0009 p:---- s:0057 b:0057 l:000056 d:000056 FINISH c:0008 p:0014 s:0055 b:0055 l:000054 d:000054 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta2/lib/rails/rack/log_tailer.rb:15 c:0007 p:0014 s:0050 b:0050 l:000049 d:000049 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/content_length.rb:13 c:0006 p:0320 s:0042 b:0042 l:000041 d:000041 METHOD /Users/sobrinho/.rvm/gems/ruby-1.9.1-p378/gems/rack-1.1.0/lib/rack/handler/webrick.rb:48 c:0005 p:0256 s:0030 b:0030 l:000029 d:000029 METHOD /Users/sobrinho/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111 c:0004 p:0382 s:0020 b:0020 l:000019 d:000019 METHOD /Users/sobrinho/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:70 c:0003 p:0123 s:0009 b:0009 l:0007ec d:000008 BLOCK /Users/sobrinho/.rvm/rubies/ruby-1.9.1-p378/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 ---------------------------
The same occur with Rails 3.0.0.beta. I already removed Ruby and all gems and installed again with same issue.
My application is here: http://github.com/sobrinho/sparta3
Note all dependencies are disabled, well, this is not a third gem issue.
Comments and changes to this ticket
-
Jeremy Kemper April 2nd, 2010 @ 07:58 PM
- State changed from new to wontfix
Upstream issue in Ruby 1.9.1, fixed in svn but not in a released version yet.
See the Rails 3.0.0 beta 2 release notes. Ruby 1.9.1 outright crashes.
-
Matija Folnovic April 3rd, 2010 @ 03:18 PM
I'm using older version ( 1.9.1-p243 ), and I tried to update to 1.9.1-p376 by compiling code ( since ubuntu doesn't have it in repository ), and now I'm getting
/usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:150:in `parse': Illformed requirement ["3.0.0.beta2"] (ArgumentError) from /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:75:in `block in initialize' from /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:74:in `map' from /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:74:in `initialize' from /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:48:in `new' from /usr/local/lib/ruby/1.9.1/rubygems/requirement.rb:48:in `create' from /usr/local/lib/ruby/1.9.1/rubygems/dependency.rb:59:in `initialize' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/dependency.rb:9:in `initialize' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/dsl.rb:28:in `new' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/dsl.rb:28:in `gem' from /home/mfolnovic/Projects/pokemon/Gemfile:4:in `evaluate' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/dsl.rb:7:in `instance_eval' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/dsl.rb:7:in `evaluate' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/definition.rb:12:in `from_gemfile' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler.rb:96:in `definition' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler.rb:87:in `runtime' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler.rb:82:in `load' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler.rb:69:in `setup' from /usr/lib/ruby1.9.1/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/setup.rb:13:in `<top (required)>' from /usr/bin/ruby1.9.1:0:in `require' ~/Projects/*****[master]% ruby1.9.1 -v ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux]
Also, I installed ruby1.9.1p176 in /usr/local/ so I made symlink to /usr/bin/ruby1.9.1
-
Matija Folnovic April 3rd, 2010 @ 03:41 PM
Now I'm getting segfault, but on different file ( Don't know does it matter ? )
~/Projects/*****[master]% rails s => Booting WEBrick => Rails 3.0.0.beta2 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-04-03 16:39:00] INFO WEBrick 1.3.1 [2010-04-03 16:39:00] INFO ruby 1.9.1 (2009-12-07) [i686-linux] [2010-04-03 16:39:05] INFO WEBrick::HTTPServer#start: pid=13460 port=3000 /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:445: [BUG] Segmentation fault ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux] -- control frame ---------- c:0067 p:---- s:0363 b:0363 l:000362 d:000362 CFUNC :caller c:0066 p:0172 s:0360 b:0360 l:000359 d:000359 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:445 c:0065 p:0029 s:0347 b:0347 l:000337 d:000346 BLOCK /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:153 c:0064 p:---- s:0343 b:0343 l:000342 d:000342 FINISH c:0063 p:---- s:0341 b:0341 l:000340 d:000340 CFUNC :each c:0062 p:0076 s:0338 b:0338 l:000337 d:000337 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:151 c:0061 p:---- s:0331 b:0331 l:000330 d:000330 FINISH c:0060 p:0019 s:0329 b:0328 l:000327 d:000327 TOP /home/mfolnovic/Projects/pokemon/app/controllers/maps_controller.rb:7 c:0059 p:---- s:0326 b:0326 l:000325 d:000325 FINISH c:0058 p:---- s:0324 b:0324 l:000323 d:000323 CFUNC :load c:0057 p:0018 s:0320 b:0320 l:000310 d:000319 BLOCK /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:415 c:0056 p:0046 s:0318 b:0318 l:000317 d:000317 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:523 c:0055 p:0086 s:0311 b:0311 l:000310 d:000310 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:414 c:0054 p:0194 s:0303 b:0303 l:000302 d:000302 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:310 c:0053 p:0279 s:0295 b:0295 l:000294 d:000294 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:452 c:0052 p:0029 s:0282 b:0282 l:000272 d:000281 BLOCK /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:153 c:0051 p:---- s:0278 b:0278 l:000277 d:000277 FINISH c:0050 p:---- s:0276 b:0276 l:000275 d:000275 CFUNC :each c:0049 p:0076 s:0273 b:0273 l:000272 d:000272 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/dependencies.rb:151 c:0048 p:0044 s:0266 b:0266 l:000257 d:000265 BLOCK /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/inflector/methods.rb:112 c:0047 p:---- s:0263 b:0263 l:000262 d:000262 FINISH c:0046 p:---- s:0261 b:0261 l:000260 d:000260 CFUNC :each c:0045 p:0074 s:0258 b:0258 l:000257 d:000257 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activesupport-3.0.0.beta2/lib/active_support/inflector/methods.rb:111 c:0044 p:0067 s:0252 b:0252 l:000251 d:000251 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/routing/route_set.rb:47 c:0043 p:0049 s:0245 b:0245 l:000244 d:000244 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/routing/route_set.rb:25 c:0042 p:0095 s:0239 b:0239 l:000211 d:000238 BLOCK /home/mfolnovic/.bundle/ruby/1.9.1/gems/rack-mount-0.6.1/lib/rack/mount/recognition/route_set.rb:75 c:0041 p:0014 s:0233 b:0233 l:000217 d:000232 BLOCK /home/mfolnovic/.bundle/ruby/1.9.1/gems/rack-mount-0.6.1/lib/rack/mount/recognition/code_generation.rb:99 c:0040 p:0099 s:0228 b:0228 l:000227 d:000227 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/rack-mount-0.6.1/lib/rack/mount/recognition/code_generation.rb:76 c:0039 p:0185 s:0218 b:0218 l:000217 d:000217 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/rack-mount-0.6.1/lib/rack/mount/recognition/code_generation.rb:98 c:0038 p:0089 s:0212 b:0212 l:000211 d:000211 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/rack-mount-0.6.1/lib/rack/mount/recognition/route_set.rb:66 c:0037 p:0024 s:0206 b:0206 l:000205 d:000205 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/routing/route_set.rb:454 c:0036 p:0013 s:0202 b:0202 l:002198 d:000201 BLOCK /home/mfolnovic/.bundle/ruby/1.9.1/gems/activerecord-3.0.0.beta2/lib/active_record/query_cache.rb:31 c:0035 p:0038 s:0200 b:0200 l:000199 d:000199 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activerecord-3.0.0.beta2/lib/active_record/connection_adapters/abstract/query_cache.rb: c:0034 p:0051 s:0196 b:0196 l:000195 d:000195 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activerecord-3.0.0.beta2/lib/active_record/query_cache.rb:11 c:0033 p:0019 s:0192 b:0192 l:002198 d:002198 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activerecord-3.0.0.beta2/lib/active_record/query_cache.rb:30 c:0032 p:0014 s:0188 b:0188 l:000187 d:000187 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/activerecord-3.0.0.beta2/lib/active_record/connection_adapters/abstract/connection_pool c:0031 p:0090 s:0184 b:0184 l:000183 d:000183 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/head.rb:14 c:0030 p:0150 s:0177 b:0177 l:000176 d:000176 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/rack-1.1.0/lib/rack/methodoverride.rb:24 c:0029 p:0045 s:0171 b:0171 l:000170 d:000170 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/params_parser.rb:19 c:0028 p:0051 s:0166 b:0166 l:000165 d:000165 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/flash.rb:167 c:0027 p:0086 s:0160 b:0160 l:000159 d:000159 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/session/cookie_store.rb:107 c:0026 p:0014 s:0150 b:0150 l:000149 d:000149 METHOD /home/mfolnovic/.bundle/ruby/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/cookies.rb:206 c:0025 p:0029 s:0141 b:0141 l:001c30 d:000140 BLOCK /home/mfolnovic/.bundle/ruby/1.9.1/gems/actionpack-3.0.0.beta2/lib/action_dispatch/middleware/callbacks.rb:46 zsh: segmentation fault rails s
-
Katherine G Pe April 3rd, 2010 @ 04:52 PM
I get a similar result.
Some info:
Rails 3 Beta 2, RVM, Ruby 1.9.1
I tried deploying a simple Rails 3 Beta 2 app on a VPS (new setup).
The issue I get is "no such file to load -- rack" -
Matija Folnovic April 3rd, 2010 @ 04:59 PM
@Jeremy Kemper:
~% ruby -v ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux] ~% gem -v 1.3.6 ~% rails -v Rails 3.0.0.beta2
Any other ideas? Now I'm back where I started ( segfault, remove_method.rb )
-
Matija Folnovic April 3rd, 2010 @ 07:00 PM
Ok, I fixed my problem by uninstalling everything ( including ruby, gem etc. ), and installing again...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>