Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Segmentation fault #1667

Closed
pksunkara opened this Issue · 7 comments

6 participants

@pksunkara

I am getting the following error while requesting some urls

Running:
rails 3.1.0.rc4
ruby 1.9.2-p180

The url is localhost:3000/flag

Route is

scope "(:locale)", :locale => /en/ do
match 'flag/:id' => 'countries#flag'
end

/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/core_ext/module/introspection.rb:86: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]

-- control frame ----------
c:0086 p:0011 s:0468 b:0468 l:000bdc d:002420 BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/core_ext/module/introspection.rb:86
c:0085 p:---- s:0465 b:0465 l:000464 d:000464 FINISH
c:0084 p:---- s:0463 b:0463 l:000462 d:000462 CFUNC  :map
c:0083 p:0017 s:0460 b:0460 l:000bdc d:000bdc METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/core_ext/module/introspection.rb:86
c:0082 p:0063 s:0457 b:0457 l:000c5c d:000ca8 BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:126
c:0081 p:---- s:0452 b:0452 l:000451 d:000451 FINISH
c:0080 p:---- s:0450 b:0450 l:000449 d:000449 CFUNC  :map
c:0079 p:0018 s:0447 b:0447 l:000c5c d:000c5c METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:123
c:0078 p:0031 s:0442 b:0442 l:000441 d:000441 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:635
c:0077 p:0086 s:0436 b:0436 l:000bc8 d:000bc8 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:451
c:0076 p:0194 s:0428 b:0428 l:000427 d:000427 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:338
c:0075 p:0277 s:0420 b:0420 l:0007b4 d:0007b4 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:489
c:0074 p:0036 s:0407 b:0407 l:001b3c d:001c4c BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:181
c:0073 p:---- s:0403 b:0403 l:000402 d:000402 FINISH
c:0072 p:---- s:0401 b:0401 l:000400 d:000400 CFUNC  :each
c:0071 p:0074 s:0398 b:0398 l:001b3c d:001b3c METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:179
c:0070 p:---- s:0391 b:0391 l:000390 d:000390 FINISH
c:0069 p:0009 s:0389 b:0388 l:000387 d:000387 TOP    /home/pkumar/Coding/mysportcm-3.1/app/controllers/pages_controller.rb:1
c:0068 p:---- s:0386 b:0386 l:000385 d:000385 FINISH
c:0067 p:---- s:0384 b:0384 l:000383 d:000383 CFUNC  :load
c:0066 p:0018 s:0380 b:0380 l:000c38 d:000379 BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:452
c:0065 p:0045 s:0378 b:0378 l:000377 d:000377 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:639
c:0064 p:0086 s:0372 b:0372 l:000c38 d:000c38 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:451
c:0063 p:0194 s:0364 b:0364 l:000363 d:000363 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:338
c:0062 p:0277 s:0356 b:0356 l:002534 d:002534 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:489
c:0061 p:0036 s:0343 b:0343 l:001054 d:001c9c BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:181
c:0060 p:---- s:0339 b:0339 l:000338 d:000338 FINISH
c:0059 p:---- s:0337 b:0337 l:000336 d:000336 CFUNC  :each
c:0058 p:0074 s:0334 b:0334 l:001054 d:001054 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:179
c:0057 p:0044 s:0327 b:0327 l:001d58 d:001908 BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/inflector/methods.rb:124
c:0056 p:---- s:0324 b:0324 l:000323 d:000323 FINISH
c:0055 p:---- s:0322 b:0322 l:000321 d:000321 CFUNC  :each
c:0054 p:0074 s:0319 b:0319 l:001d58 d:001d58 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/inflector/methods.rb:123
c:0053 p:0025 s:0313 b:0310 l:0017b4 d:000309 BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:527
c:0052 p:---- s:0306 b:0306 l:000305 d:000305 FINISH
c:0051 p:---- s:0304 b:0304 l:000303 d:000303 CFUNC  :yield
c:0050 p:---- s:0302 b:0302 l:000301 d:000301 CFUNC  :default
c:0049 p:0035 s:0300 b:0300 l:000299 d:000299 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:549
c:0048 p:0081 s:0296 b:0296 l:000295 d:000295 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/routing/route_set.rb:61
c:0047 p:0047 s:0290 b:0290 l:000289 d:000289 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/routing/route_set.rb:46
c:0046 p:0051 s:0283 b:0283 l:000282 d:000282 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/routing/route_set.rb:25
c:0045 p:0127 s:0277 b:0277 l:001278 d:0012c8 BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.1/lib/rack/mount/route_set.rb:152
c:0044 p:0014 s:0270 b:0270 l:000254 d:000269 BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.1/lib/rack/mount/code_generation.rb:93
c:0043 p:6565 s:0265 b:0265 l:000264 d:000264 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.1/lib/rack/mount/code_generation.rb:285
c:0042 p:0072 s:0255 b:0255 l:000254 d:000254 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.1/lib/rack/mount/code_generation.rb:92
c:0041 p:0092 s:0249 b:0249 l:001278 d:001278 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.1/lib/rack/mount/route_set.rb:141
c:0040 p:0025 s:0243 b:0243 l:000242 d:000242 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/routing/route_set.rb:531
c:0039 p:0014 s:0239 b:0239 l:00226c d:00210c BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/warden-1.0.4/lib/warden/manager.rb:35
c:0038 p:---- s:0237 b:0237 l:000236 d:000236 FINISH
c:0037 p:---- s:0235 b:0235 l:000234 d:000234 CFUNC  :catch
c:0036 p:0086 s:0231 b:0231 l:00226c d:00226c METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/warden-1.0.4/lib/warden/manager.rb:34
c:0035 p:0015 s:0226 b:0226 l:000225 d:000225 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/best_standards_support.rb:17
c:0034 p:0015 s:0219 b:0219 l:000218 d:000218 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/etag.rb:23
c:0033 p:0068 s:0211 b:0211 l:000210 d:000210 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/conditionalget.rb:25
c:0032 p:0093 s:0204 b:0204 l:000203 d:000203 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/head.rb:14
c:0031 p:0046 s:0197 b:0197 l:000196 d:000196 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/params_parser.rb:21
c:0030 p:0054 s:0192 b:0192 l:000191 d:000191 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/flash.rb:243
c:0029 p:0031 s:0184 b:0184 l:000183 d:000183 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/session/abstract/id.rb:195
c:0028 p:0013 s:0176 b:0176 l:000175 d:000175 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/session/abstract/id.rb:190
c:0027 p:0020 s:0172 b:0172 l:000171 d:000171 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/cookies.rb:321
c:0026 p:0064 s:0164 b:0164 l:000163 d:000163 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activerecord-3.1.0.rc4/lib/active_record/query_cache.rb:54
c:0025 p:0029 s:0156 b:0156 l:000155 d:000155 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activerecord-3.1.0.rc4/lib/active_record/connection_adapters/abstract/connection_pool
c:0024 p:0014 s:0148 b:0148 l:000478 d:000147 BLOCK  /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/callbacks.rb:29
c:0023 p:0155 s:0146 b:0146 l:000145 d:000145 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/callbacks.rb:392
c:0022 p:0024 s:0136 b:0136 l:000135 d:000135 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/callbacks.rb:81
c:0021 p:0013 s:0130 b:0130 l:000478 d:000478 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/callbacks.rb:28
c:0020 p:0027 s:0126 b:0126 l:000125 d:000125 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/reloader.rb:68
c:0019 p:0015 s:0121 b:0121 l:000120 d:000120 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/sendfile.rb:102
c:0018 p:0049 s:0111 b:0111 l:000110 d:000110 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/remote_ip.rb:48
c:0017 p:0017 s:0107 b:0107 l:000106 d:000106 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/show_exceptions.rb:47
c:0016 p:0027 s:0099 b:0099 l:000098 d:000098 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/railties-3.1.0.rc4/lib/rails/rack/logger.rb:13
c:0015 p:0155 s:0095 b:0095 l:000094 d:000094 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/methodoverride.rb:24
c:0014 p:0032 s:0089 b:0089 l:000088 d:000088 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/runtime.rb:17
c:0013 p:0057 s:0080 b:0080 l:000079 d:000079 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/cache/strategy/local_cache.rb:72
c:0012 p:0068 s:0076 b:0076 l:000075 d:000075 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/lock.rb:34
c:0011 p:0124 s:0070 b:0070 l:000069 d:000069 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/static.rb:53
c:0010 p:0032 s:0064 b:0064 l:000063 d:000063 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/railties-3.1.0.rc4/lib/rails/engine.rb:438
c:0009 p:0015 s:0060 b:0060 l:000059 d:000059 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/railties-3.1.0.rc4/lib/rails/rack/content_length.rb:16
c:0008 p:0015 s:0051 b:0051 l:000050 d:000050 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/railties-3.1.0.rc4/lib/rails/rack/debugger.rb:21
c:0007 p:0015 s:0047 b:0047 l:000046 d:000046 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/railties-3.1.0.rc4/lib/rails/rack/log_tailer.rb:14
c:0006 p:0356 s:0042 b:0042 l:001c60 d:001c60 METHOD /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/handler/webrick.rb:59
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /home/pkumar/usr/lib/ruby/1.9.1/webrick/httpserver.rb:111
c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD /home/pkumar/usr/lib/ruby/1.9.1/webrick/httpserver.rb:70
c:0003 p:0126 s:0009 b:0009 l:000bfc d:000008 BLOCK  /home/pkumar/usr/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 ----------------------------------------
/home/pkumar/usr/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
/home/pkumar/usr/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/pkumar/usr/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/handler/webrick.rb:59:in `service'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/railties-3.1.0.rc4/lib/rails/rack/log_tailer.rb:14:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/railties-3.1.0.rc4/lib/rails/rack/debugger.rb:21:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/railties-3.1.0.rc4/lib/rails/rack/content_length.rb:16:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/railties-3.1.0.rc4/lib/rails/engine.rb:438:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/static.rb:53:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/lock.rb:34:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/runtime.rb:17:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/methodoverride.rb:24:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/railties-3.1.0.rc4/lib/rails/rack/logger.rb:13:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/sendfile.rb:102:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/reloader.rb:68:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activerecord-3.1.0.rc4/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activerecord-3.1.0.rc4/lib/active_record/query_cache.rb:54:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/cookies.rb:321:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/session/abstract/id.rb:190:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/session/abstract/id.rb:195:in `context'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/flash.rb:243:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/head.rb:14:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/conditionalget.rb:25:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-1.3.0/lib/rack/etag.rb:23:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/warden-1.0.4/lib/warden/manager.rb:34:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/warden-1.0.4/lib/warden/manager.rb:34:in `catch'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/warden-1.0.4/lib/warden/manager.rb:35:in `block in call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/routing/route_set.rb:531:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.1/lib/rack/mount/route_set.rb:141:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.1/lib/rack/mount/code_generation.rb:92:in `recognize'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.1/lib/rack/mount/code_generation.rb:285:in `optimized_each'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.1/lib/rack/mount/code_generation.rb:93:in `block in recognize'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.1/lib/rack/mount/route_set.rb:152:in `block in call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/routing/route_set.rb:25:in `call'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/routing/route_set.rb:46:in `controller'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0.rc4/lib/action_dispatch/routing/route_set.rb:61:in `controller_reference'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:549:in `[]'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:549:in `default'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:549:in `yield'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:527:in `block in initialize'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/inflector/methods.rb:123:in `constantize'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/inflector/methods.rb:123:in `each'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/inflector/methods.rb:124:in `block in constantize'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:179:in `const_missing'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:179:in `each'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:181:in `block in const_missing'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:489:in `load_missing_constant'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:338:in `require_or_load'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:451:in `load_file'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:639:in `new_constants_in'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:452:in `block in load_file'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:452:in `load'
/home/pkumar/Coding/mysportcm-3.1/app/controllers/pages_controller.rb:1:in `<top (required)>'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:179:in `const_missing'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:179:in `each'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:181:in `block in const_missing'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:489:in `load_missing_constant'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:338:in `require_or_load'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:451:in `load_file'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:635:in `new_constants_in'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:123:in `watch_namespaces'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:123:in `map'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:126:in `block in watch_namespaces'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/core_ext/module/introspection.rb:86:in `local_constant_names'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/core_ext/module/introspection.rb:86:in `map'
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.1.0.rc4/lib/active_support/core_ext/module/introspection.rb:86:in `block in local_constant_names'

*** glibc detected *** /home/pkumar/usr/bin/ruby: corrupted double-linked list: 0x0c340a70 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6c501)[0xc94501]
/lib/libc.so.6(+0x6c95a)[0xc9495a]
/lib/libc.so.6(+0x6ea85)[0xc96a85]
/lib/libc.so.6(__libc_malloc+0x63)[0xc98f33]
/lib/libc.so.6(__backtrace_symbols+0x102)[0xd0dd82]
/home/pkumar/usr/bin/ruby(rb_vm_bugreport+0xb7)[0x815dc07]
/home/pkumar/usr/bin/ruby[0x819cb99]
/home/pkumar/usr/bin/ruby(rb_bug+0x28)[0x819cc48]
/home/pkumar/usr/bin/ruby[0x80f09f8]
[0x78940c]
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/therubyracer-0.9.0/ext/v8/v8.so(+0x55ea5)[0x1051ea5]
/home/pkumar/usr/bin/ruby[0x806463e]
/home/pkumar/usr/bin/ruby(rb_gc_finalize_deferred+0x29)[0x8064b99]
/home/pkumar/usr/bin/ruby[0x8161b95]
/home/pkumar/usr/bin/ruby[0x814e4f9]
/home/pkumar/usr/bin/ruby[0x815066d]
/home/pkumar/usr/bin/ruby[0x81542fe]
/home/pkumar/usr/bin/ruby(rb_yield+0x50)[0x815bfc0]
/home/pkumar/usr/bin/ruby[0x81739ea]
/home/pkumar/usr/bin/ruby[0x814e331]
/home/pkumar/usr/bin/ruby[0x815066d]
/home/pkumar/usr/bin/ruby[0x81542fe]
/home/pkumar/usr/bin/ruby(rb_yield+0x50)[0x815bfc0]
/home/pkumar/usr/bin/ruby[0x81739ea]
/home/pkumar/usr/bin/ruby[0x814e331]
/home/pkumar/usr/bin/ruby[0x815066d]
/home/pkumar/usr/bin/ruby[0x81542fe]
/home/pkumar/usr/bin/ruby(rb_yield+0x50)[0x815bfc0]
/home/pkumar/usr/bin/ruby(rb_ary_each+0x41)[0x816ceb1]
/home/pkumar/usr/bin/ruby[0x814e331]
/home/pkumar/usr/bin/ruby[0x815066d]
/home/pkumar/usr/bin/ruby[0x81542fe]
/home/pkumar/usr/bin/ruby[0x8155622]
/home/pkumar/usr/bin/ruby(rb_funcall+0x9a)[0x8155f7a]
/home/pkumar/usr/bin/ruby[0x8134c1e]
/home/pkumar/usr/bin/ruby[0x814d1d4]
/home/pkumar/usr/bin/ruby[0x814eadb]
/home/pkumar/usr/bin/ruby[0x81542fe]
/home/pkumar/usr/bin/ruby(rb_iseq_eval+0x135)[0x8154835]
/home/pkumar/usr/bin/ruby[0x819f1aa]
/home/pkumar/usr/bin/ruby[0x819f308]
/home/pkumar/usr/bin/ruby[0x81493f5]
/home/pkumar/usr/bin/ruby[0x814e331]
/home/pkumar/usr/bin/ruby[0x815066d]
/home/pkumar/usr/bin/ruby[0x81542fe]
/home/pkumar/usr/bin/ruby(rb_yield+0x50)[0x815bfc0]
/home/pkumar/usr/bin/ruby(rb_ary_each+0x41)[0x816ceb1]
/home/pkumar/usr/bin/ruby[0x814e331]
/home/pkumar/usr/bin/ruby[0x815066d]
/home/pkumar/usr/bin/ruby[0x81542fe]
/home/pkumar/usr/bin/ruby(rb_yield+0x50)[0x815bfc0]
/home/pkumar/usr/bin/ruby(rb_ary_each+0x41)[0x816ceb1]
/home/pkumar/usr/bin/ruby[0x814e331]
/home/pkumar/usr/bin/ruby[0x815066d]
/home/pkumar/usr/bin/ruby[0x81542fe]
/home/pkumar/usr/bin/ruby(rb_vm_invoke_proc+0x76)[0x8156ad6]
/home/pkumar/usr/bin/ruby[0x8061944]
/home/pkumar/usr/bin/ruby[0x81493f5]
/home/pkumar/usr/bin/ruby[0x8155691]
/home/pkumar/usr/bin/ruby(rb_funcall+0x9a)[0x8155f7a]
/home/pkumar/usr/bin/ruby[0x8069fb5]
/home/pkumar/usr/bin/ruby[0x81493f5]
/home/pkumar/usr/bin/ruby[0x8155691]
======= Memory map: ========
00110000-00112000 r-xp 00000000 00:16 56152341   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/etc.so
00112000-00113000 r--p 00001000 00:16 56152341   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/etc.so
00113000-00114000 rw-p 00002000 00:16 56152341   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/etc.so
00114000-00127000 r-xp 00000000 08:08 2883788    /lib/libz.so.1.2.3.4
00127000-00128000 r--p 00012000 08:08 2883788    /lib/libz.so.1.2.3.4
00128000-00129000 rw-p 00013000 08:08 2883788    /lib/libz.so.1.2.3.4
00129000-0012c000 r-xp 00000000 00:16 56152282   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/digest.so
0012c000-0012d000 r--p 00002000 00:16 56152282   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/digest.so
0012d000-0012e000 rw-p 00003000 00:16 56152282   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/digest.so
0012e000-0012f000 rwxp 00000000 00:00 0 
0012f000-00144000 r-xp 00000000 08:08 2883745    /lib/libpthread-2.12.1.so
00144000-00145000 ---p 00015000 08:08 2883745    /lib/libpthread-2.12.1.so
00145000-00146000 r--p 00015000 08:08 2883745    /lib/libpthread-2.12.1.so
00146000-00147000 rw-p 00016000 08:08 2883745    /lib/libpthread-2.12.1.so
00147000-00149000 rw-p 00000000 00:00 0 
00149000-0016d000 r-xp 00000000 08:08 2883684    /lib/libm-2.12.1.so
0016d000-0016e000 r--p 00023000 08:08 2883684    /lib/libm-2.12.1.so
0016e000-0016f000 rw-p 00024000 08:08 2883684    /lib/libm-2.12.1.so
0016f000-00189000 r-xp 00000000 00:16 56152357   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/syck.so
00189000-0018a000 r--p 0001a000 00:16 56152357   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/syck.so
0018a000-0018b000 rw-p 0001b000 00:16 56152357   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/syck.so
0018b000-00197000 r-xp 00000000 00:16 56152361   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/zlib.so
00197000-00198000 r--p 0000c000 00:16 56152361   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/zlib.so
00198000-00199000 rw-p 0000d000 00:16 56152361   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/zlib.so
00199000-001dc000 r-xp 00000000 00:16 56152345   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/openssl.so
001dc000-001dd000 r--p 00042000 00:16 56152345   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/openssl.so
001dd000-001de000 rw-p 00043000 00:16 56152345   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/openssl.so
001de000-001df000 rw-p 00000000 00:00 0 
001df000-001e6000 r-xp 00000000 00:16 57444089   /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3/sqlite3_native.so
001e6000-001e7000 r--p 00006000 00:16 57444089   /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3/sqlite3_native.so
001e7000-001e8000 rw-p 00007000 00:16 57444089   /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3/sqlite3_native.so
001e8000-001e9000 r-xp 00000000 00:16 56152292   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/enc/utf_16be.so
001e9000-001ea000 r--p 00000000 00:16 56152292   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/enc/utf_16be.so
001ea000-001eb000 rw-p 00001000 00:16 56152292   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/enc/utf_16be.so
001eb000-001f1000 r-xp 00000000 00:16 56152370   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/stringio.so
001f1000-001f2000 r--p 00005000 00:16 56152370   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/stringio.so
001f2000-001f3000 rw-p 00006000 00:16 56152370   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/stringio.so
001f3000-001f7000 r-xp 00000000 00:16 57412348   /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/bcrypt-ruby-2.1.4/lib/bcrypt_ext.so
001f7000-001f8000 r--p 00003000 00:16 57412348   /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/bcrypt-ruby-2.1.4/lib/bcrypt_ext.so
001f8000-001f9000 rw-p 00004000 00:16 57412348   /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/bcrypt-ruby-2.1.4/lib/bcrypt_ext.so
001f9000-001fa000 r-xp 00000000 00:16 56152309   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/enc/utf_16le.so
001fa000-001fb000 r--p 00000000 00:16 56152309   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/enc/utf_16le.so
001fb000-001fc000 rw-p 00001000 00:16 56152309   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/enc/utf_16le.so
001fc000-001fe000 r-xp 00000000 00:16 57442796   /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/linecache19-0.5.12/lib/trace_nums19.so
001fe000-001ff000 r--p 00001000 00:16 57442796   /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/linecache19-0.5.12/lib/trace_nums19.so
001ff000-00200000 rw-p 00002000 00:16 57442796   /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/linecache19-0.5.12/lib/trace_nums19.so
00202000-00207000 r-xp 00000000 00:16 56152358   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/strscan.so
00207000-00208000 r--p 00004000 00:16 56152358   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/strscan.so
00208000-00209000 rw-p 00005000 00:16 56152358   /home/pkumar/usr/lib/ruby/1.9.1/i686-linux/strscan.so
00209000-0024d000 r-xp 00000000 08:08 2883761    /lib/libssl.so.0.9.8
0024d000-0024e000 ---p 00044000 08:08 2883761    /lib/libssl.so.0.9.8
0024e000-0024f000 r--p 00044000 08:08 2883761    /lib/libssl.so.0.9.8
0024f000-00252000 rw-p 00045000 08:08 2883761    /lib/libssl.so.0.9.8
00252000-00331000 r-xp 00000000 08:08 1193133    /usr/lib/libstdc++.so.6.0.14
00331000-00335000 r--p 000de000 08:08 1193133    /usr/lib/libstdc++.so.6.0.14
00335000-00336000 rw-p 000e2000 08:08 1193133    /usr/lib/libstdc++.so.6.0.14
00336000-0033d000 rw-p 00000000 00:00 0 
0033d000-003bd000 r-xp 00000000 00:16 55920967   /home/pkumar/usr/lib/libsqlite3.so.0.8.6
003bd000-003be000 r--p 0007f000 00:16 55920967   /home/pkumar/usr/lib/libsqlite3.so.0.8.6
003be000-003bf000 rw-p 00080000 00:16 55920967   /home/pkumar/usr/lib/libsqlite3.so.0.8.6
003bf000-003c0000 rw-p 00000000 00:00 0 
003c0000-003c8000 r-xp 00000000 00:16 57428829   /home/pkumar/usr/lib/ruby/gems/1.9.1/gems/json-1.5.1/ext/json/ext/json/ext/generator.soAborted
@trevorhiley

I'm having the same issue. It happens randomly as I browse my app. Same ruby and rails versions.

@feroult

I'm getting this too, right after I had updated to rc4.

@spastorino
Owner

Can you try using nodejs?

Seems like an issue in therubyracer gem
/home/pkumar/usr/lib/ruby/gems/1.9.1/gems/therubyracer-0.9.0/ext/v8/v8.so(+0x55ea5)[0x1051ea5]

@guilleiguaran

Try using old version of therubyracer:

gem 'therubyracer', '0.8.2'

@cowboyd can you check this?

@cowboyd

This looks like /cowboyd/therubyracer/issues/79 the problem crops up when using a multithreaded webserver, and the sporadic crashes occur when a GC runs that frees V8 object in a thread that doesn't have the v8 lock.

At the moment, I am working on making therubyracer's GC routines play nice with multiple threads.

It may help to downgrade to 0.8.2 but this probably because we fixed several memory leaks with 0.9 that now run afoul of multithreading because it's actually freeing more objects. In any case, we'll get a fix out as soon as we can.

@spastorino spastorino closed this
@trevorhiley

Thanks! I switched to 0.8.2 and my issues disappeared.

@cowboyd

For those curious, I've done a write up of the issue here:
http://blog.thefrontside.net/2011/06/13/therubyracer-isnt-threadsafe-yet/

@jake3030 jake3030 referenced this issue from a commit in jake3030/rails
@ffmike ffmike Fix named scope tests for sqlite3 [#1667 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
a29369a
@jake3030 jake3030 referenced this issue from a commit in jake3030/rails
@ffmike ffmike Fix named scope tests for sqlite3 [#1667 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
feb807d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.