Issue #4821 has been updated by Yui NARUSE.


It seems in garbage collection; marking or freeing some invalid objet causes segv.
But the murderer is not clear.
----------------------------------------
Bug #4821: Random Segfaults (in start_thread?)  
http://redmine.ruby-lang.org/issues/4821

Author: Ivan Bortko
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 1.9.2
ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]


Rails application regularly encounters segfaults in random places (with or without mongomapper or zeromq, which are used in app).

Here output:

Started POST "/config/change_object_options" for 127.0.0.1 at 2011-06-03 12:13:41 +0400
  Processing by ConfigController#change_object_options as
  Parameters: {"opts"=>{"host"=>"10.40.21.71", "path"=>"/", "system_user"=>"g", "port"=>"23093", "hosts"=>"127.0.0.1", "revision"=>"develop", "face_port"=>"8080", "face_host"=>"0.0.0.0", "db_host"=>"127.0.0.1", "db_port"=>"27017"}, "service_id"=>"4de8977979db734abf000003"}
Completed 200 OK in 24ms (Views: 6.6ms | ActiveRecord: 0.0ms)
SESSSION : {"session_id"=>"111ef3a8da3494b2d24ec971697fc40f", "_csrf_token"=>"483lQ1IO/KbO8SgWfihQuLwEKC1ceTsmy26TVKkrziE=", "user_id"=>BSON::ObjectId('4de8977879db734abf000002')}
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/whiny_nil.rb:46: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]

-- control frame ----------
c:0092 p:---- s:0491 b:0491 l:000490 d:000490 CFUNC  :caller
c:0091 p:0034 s:0488 b:0485 l:000484 d:000484 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/whiny_nil.rb:46
c:0090 p:---- s:0478 b:0478 l:000477 d:000477 FINISH
c:0089 p:---- s:0476 b:0476 l:000475 d:000475 CFUNC  :flatten
c:0088 p:0012 s:0473 b:0473 l:000472 d:000472 METHOD /prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/associations/base.rb:81
c:0087 p:0066 s:0469 b:0467 l:000466 d:000466 METHOD /prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/associations/base.rb:14
c:0086 p:---- s:0461 b:0461 l:000460 d:000460 FINISH
c:0085 p:---- s:0459 b:0459 l:000458 d:000458 CFUNC  :new
c:0084 p:0028 s:0454 b:0453 l:000452 d:000452 METHOD /prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/associations.rb:22
c:0083 p:0044 s:0447 b:0447 l:000446 d:000446 CLASS  /prj/app/models/user.rb:6
c:0082 p:0015 s:0445 b:0445 l:000444 d:000444 TOP    /prj/app/models/user.rb:1
c:0081 p:---- s:0443 b:0443 l:000442 d:000442 FINISH
c:0080 p:---- s:0441 b:0441 l:000440 d:000440 CFUNC  :load
c:0079 p:0018 s:0437 b:0437 l:000428 d:000436 BLOCK  /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:454
c:0078 p:0045 s:0435 b:0435 l:000434 d:000434 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596
c:0077 p:0086 s:0429 b:0429 l:000428 d:000428 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:453
c:0076 p:0194 s:0421 b:0421 l:000420 d:000420 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:340
c:0075 p:0277 s:0413 b:0413 l:000412 d:000412 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:491
c:0074 p:0036 s:0400 b:0400 l:000390 d:000399 BLOCK  /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:183
c:0073 p:---- s:0396 b:0396 l:000395 d:000395 FINISH
c:0072 p:---- s:0394 b:0394 l:000393 d:000393 CFUNC  :each
c:0071 p:0076 s:0391 b:0391 l:000390 d:000390 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:181
c:0070 p:0420 s:0384 b:0384 l:000383 d:000383 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:503
c:0069 p:0036 s:0371 b:0371 l:000361 d:000370 BLOCK  /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:183
c:0068 p:---- s:0367 b:0367 l:000366 d:000366 FINISH
c:0067 p:---- s:0365 b:0365 l:000364 d:000364 CFUNC  :each
c:0066 p:0076 s:0362 b:0362 l:000361 d:000361 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:181
c:0065 p:---- s:0355 b:0355 l:000354 d:000354 FINISH
c:0064 p:0038 s:0353 b:0353 l:000352 d:000352 METHOD /prj/app/controllers/application_controller.rb:15
c:0063 p:0059 s:0350 b:0349 l:000348 d:000348 METHOD /prj/app/controllers/config_controller.rb:162
c:0062 p:0058 s:0346 b:0346 l:000345 d:000345 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:437
c:0061 p:0113 s:0340 b:0340 l:000339 d:000339 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:410
c:0060 p:0024 s:0331 b:0331 l:000330 d:000330 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:94
c:0059 p:0015 s:0325 b:0325 l:001078 d:001078 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/abstract_controller/callbacks.rb:17
c:0058 p:0012 s:0320 b:0320 l:000301 d:000319 BLOCK  /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:30
c:0057 p:0017 s:0316 b:0316 l:000306 d:000315 BLOCK  /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52
c:0056 p:0032 s:0314 b:0314 l:000313 d:000313 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/notifications/instrumenter.rb:21
c:0055 p:0036 s:0307 b:0307 l:000306 d:000306 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52
c:0054 p:0152 s:0302 b:0302 l:000301 d:000301 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:29
c:0053 p:0012 s:0296 b:0296 l:000295 d:000295 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal/rescue.rb:17
c:0052 p:0093 s:0291 b:0291 l:000290 d:000290 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:119
c:0051 p:0084 s:0285 b:0285 l:000284 d:000284 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:41
c:0050 p:0048 s:0280 b:0280 l:000279 d:000279 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal.rb:138
c:0049 p:0086 s:0275 b:0275 l:000274 d:000274 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal/rack_delegation.rb:14
c:0048 p:0030 s:0269 b:0269 l:0019b8 d:000268 BLOCK  /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal.rb:178
c:0047 p:---- s:0266 b:0266 l:000265 d:000265 FINISH
c:0046 p:---- s:0264 b:0264 l:000263 d:000263 CFUNC  :call
c:0045 p:0022 s:0260 b:0260 l:000259 d:000259 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:62
c:0044 p:0094 s:0254 b:0254 l:000253 d:000253 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:27
c:0043 p:0097 s:0248 b:0248 l:000220 d:000247 BLOCK  /prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148
c:0042 p:0014 s:0242 b:0242 l:000226 d:000241 BLOCK  /prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93
c:0041 p:0361 s:0237 b:0237 l:000236 d:000236 METHOD /prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:75
c:0040 p:0137 s:0227 b:0227 l:000226 d:000226 METHOD /prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92
c:0039 p:0092 s:0221 b:0221 l:000220 d:000220 METHOD /prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139
c:0038 p:0025 s:0215 b:0215 l:000214 d:000214 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:493
c:0037 p:0035 s:0211 b:0211 l:000210 d:000210 METHOD /prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/middleware/identity_map.rb:10
c:0036 p:0015 s:0207 b:0207 l:000206 d:000206 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/best_standards_support.rb:17
c:0035 p:0093 s:0200 b:0200 l:000199 d:000199 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/head.rb:14
c:0034 p:0155 s:0193 b:0193 l:000192 d:000192 METHOD /prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/methodoverride.rb:24
c:0033 p:0046 s:0187 b:0187 l:000186 d:000186 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/params_parser.rb:21
c:0032 p:0054 s:0182 b:0182 l:000181 d:000181 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/flash.rb:182
c:0031 p:0027 s:0175 b:0175 l:000174 d:000174 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/session/abstract_store.rb:149
c:0030 p:0015 s:0164 b:0164 l:000163 d:000163 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/cookies.rb:302
c:0029 p:0014 s:0156 b:0156 l:002330 d:000155 BLOCK  /prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:32
c:0028 p:0019 s:0154 b:0154 l:000153 d:000153 METHOD /prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/query_cache.rb:28
c:0027 p:0051 s:0150 b:0150 l:000149 d:000149 METHOD /prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:12
c:0026 p:0019 s:0146 b:0146 l:002330 d:002330 METHOD /prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:31
c:0025 p:0015 s:0142 b:0142 l:000141 d:000141 METHOD /prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/connection_pool.rb
c:0024 p:0029 s:0138 b:0138 l:000030 d:000137 BLOCK  /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:46
c:0023 p:0155 s:0136 b:0136 l:000135 d:000135 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:416
c:0022 p:0011 s:0126 b:0126 l:000030 d:000030 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:44
c:0021 p:0015 s:0122 b:0122 l:000121 d:000121 METHOD /prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/sendfile.rb:107
c:0020 p:0049 s:0112 b:0112 l:000111 d:000111 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/remote_ip.rb:48
c:0019 p:0017 s:0108 b:0108 l:000107 d:000107 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:47
c:0018 p:0027 s:0100 b:0100 l:000099 d:000099 METHOD /prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/rack/logger.rb:13
c:0017 p:0032 s:0096 b:0096 l:000095 d:000095 METHOD /prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/runtime.rb:17
c:0016 p:0052 s:0087 b:0087 l:000086 d:000086 METHOD /prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/cache/strategy/local_cache.rb:72
c:0015 p:0014 s:0083 b:0083 l:000077 d:000082 BLOCK  /prj/test/ruby/1.9.1/gems/rack-1.2.3/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 /prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/lock.rb:11
c:0012 p:0193 s:0073 b:0073 l:000072 d:000072 METHOD /prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/static.rb:30
c:0011 p:0032 s:0066 b:0066 l:000065 d:000065 METHOD /prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:168
c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD /prj/test/ruby/1.9.1/gems/railties-3.0.7/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 /prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/rack/log_tailer.rb:14
c:0007 p:0015 s:0050 b:0050 l:000049 d:000049 METHOD /prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/content_length.rb:13
c:0006 p:0338 s:0042 b:0042 l:000041 d:000041 METHOD /prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/handler/webrick.rb:52
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /Users/roma/.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/roma/.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:000978 d:000008 BLOCK  /Users/roma/.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/roma/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
/Users/roma/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/roma/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/handler/webrick.rb:52:in `service'
/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/content_length.rb:13:in `call'
/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/rack/log_tailer.rb:14:in `call'
/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'
/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:168:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/static.rb:30:in `call'
/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/lock.rb:11:in `call'
<internal:prelude>:10:in `synchronize'
/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/lock.rb:11:in `block in call'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/runtime.rb:17:in `call'
/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/rack/logger.rb:13:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/sendfile.rb:107:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:31:in `call'
/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:12:in `cache'
/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:32:in `block in call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/cookies.rb:302:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/flash.rb:182:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/methodoverride.rb:24:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/head.rb:14:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/middleware/identity_map.rb:10:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:493:in `call'
/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139:in `call'
/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92:in `recognize'
/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:75:in `optimized_each'
/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93:in `block in recognize'
/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148:in `block in call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:27:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:62:in `call'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal.rb:178:in `block in action'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal.rb:138:in `dispatch'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:41:in `process'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:119:in `process'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal/rescue.rb:17:in `process_action'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:in `instrument'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:in `block in instrument'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/abstract_controller/callbacks.rb:17:in `process_action'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:94:in `run_callbacks'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:437:in `_run__4460000177441777005__process_action__561900033028814358__callbacks'
/prj/app/controllers/config_controller.rb:162:in `get_client_and_grida_name'
/prj/app/controllers/application_controller.rb:15:in `current_user'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:181:in `const_missing'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:181:in `each'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:183:in `block in const_missing'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:503:in `load_missing_constant'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:181:in `const_missing'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:181:in `each'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:183:in `block in const_missing'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:491:in `load_missing_constant'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:340:in `require_or_load'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:453:in `load_file'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in `new_constants_in'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:454:in `block in load_file'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:454:in `load'
/prj/app/models/user.rb:1:in `<top (required)>'
/prj/app/models/user.rb:6:in `<class:User>'
/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/associations.rb:22:in `one'
/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/associations.rb:22:in `new'
/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/associations/base.rb:14:in `initialize'
/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/associations/base.rb:81:in `modularized_extensions'
/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/associations/base.rb:81:in `flatten'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/whiny_nil.rb:46:in `method_missing'
/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/whiny_nil.rb:46:in `caller'

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


Output with ruby -w:

Started POST "/config/update_xy" for 127.0.0.1 at 2011-06-03 12:47:56 +0400
  Processing by ConfigController#update_xy as
  Parameters: {"service_id"=>"4de89fa479db735426000006", "x"=>"99", "y"=>"217"}
Completed 200 OK in 24ms (Views: 6.6ms | ActiveRecord: 0.0ms)
~/prj/app/controllers/config_controller.rb:87: warning: mismatched indentations at 'end' with 'def' at 76
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/core_ext/class/inheritable_attributes.rb:192: warning: method redefined; discarding old _validation_callbacks
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/core_ext/class/inheritable_attributes.rb:192: warning: previous definition of _validation_callbacks was here
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/core_ext/class/inheritable_attributes.rb:201: warning: method redefined; discarding old _validation_callbacks
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/core_ext/class/inheritable_attributes.rb:201: warning: previous definition of _validation_callbacks was here
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/safe.rb:18: warning: instance variable @safe not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/persistence.rb:25: warning: instance variable @database_name not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @_id not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @_type not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @ident not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @pipes not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @options not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @removed not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @user_id not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/persistence.rb:25: warning: instance variable @database_name not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @_id not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @_type not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @ident not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @pipes not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @options not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @removed not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/keys.rb:300: warning: instance variable @user_id not initialized
hp50
0
sdi
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/document.rb:19: warning: instance variable @_destroyed not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/safe.rb:18: warning: instance variable @safe not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/persistence.rb:25: warning: instance variable @database_name not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/associations.rb:76: warning: instance variable @_user not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/document.rb:19: warning: instance variable @_destroyed not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/safe.rb:18: warning: instance variable @safe not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/persistence.rb:25: warning: instance variable @database_name not initialized
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/plugins/associations.rb:76: warning: instance variable @_user not initialized
saved
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/http/response.rb:143: warning: instance variable @_etag not initialized


Started POST "/config/add_connection" for 127.0.0.1 at 2011-06-03 12:47:57 +0400
  Processing by ConfigController#add_connection as
  Parameters: {"inp_obj_id"=>"4de89fa479db735426000006", "inp_pipe_name"=>"default", "inp_conn_name"=>"default", "out_obj_id"=>"4de89fa479db735426000005", "out_pipe_name"=>"default", "out_conn_name"=>"default", "type"=>"decklink::raw::", "options"=>"{\"mode\":\"hp50\",\"card-index\":\"0\",\"video-connection\":\"sdi\"}"}
Completed 200 OK in 24ms (Views: 6.7ms | ActiveRecord: 0.0ms)
~/prj/app/controllers/config_controller.rb:87: warning: mismatched indentations at 'end' with 'def' at 76
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:454: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]

-- control frame ----------
c:0065 p:---- s:0354 b:0354 l:000353 d:000353 CFUNC  :load
c:0064 p:0018 s:0350 b:0350 l:000341 d:000349 BLOCK  ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:454
c:0063 p:0045 s:0348 b:0348 l:000347 d:000347 METHOD ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596
c:0062 p:0086 s:0342 b:0342 l:000341 d:000341 METHOD ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:453
c:0061 p:0194 s:0334 b:0334 l:000333 d:000333 METHOD ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:340
c:0060 p:0277 s:0326 b:0326 l:000325 d:000325 METHOD ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:491
c:0059 p:0036 s:0313 b:0313 l:000303 d:000312 BLOCK  ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:183
c:0058 p:---- s:0309 b:0309 l:000308 d:000308 FINISH
c:0057 p:---- s:0307 b:0307 l:000306 d:000306 CFUNC  :each
c:0056 p:0076 s:0304 b:0304 l:000303 d:000303 METHOD ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:181
c:0055 p:0044 s:0297 b:0297 l:000288 d:000296 BLOCK  ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/inflector/methods.rb:124
c:0054 p:---- s:0294 b:0294 l:000293 d:000293 FINISH
c:0053 p:---- s:0292 b:0292 l:000291 d:000291 CFUNC  :each
c:0052 p:0074 s:0289 b:0289 l:000288 d:000288 METHOD ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/inflector/methods.rb:123
c:0051 p:0025 s:0283 b:0280 l:001298 d:000279 BLOCK  ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:528
c:0050 p:---- s:0276 b:0276 l:000275 d:000275 FINISH
c:0049 p:---- s:0274 b:0274 l:000273 d:000273 CFUNC  :yield
c:0048 p:---- s:0272 b:0272 l:000271 d:000271 CFUNC  :default
c:0047 p:0011 s:0270 b:0270 l:000269 d:000269 METHOD ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:538
c:0046 p:0079 s:0267 b:0267 l:000266 d:000266 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:58
c:0045 p:0047 s:0261 b:0261 l:000260 d:000260 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:44
c:0044 p:0051 s:0254 b:0254 l:000253 d:000253 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:23
c:0043 p:0097 s:0248 b:0248 l:000220 d:000247 BLOCK  ~/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148
c:0042 p:0014 s:0242 b:0242 l:000226 d:000241 BLOCK  ~/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93
c:0041 p:0361 s:0237 b:0237 l:000236 d:000236 METHOD ~/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:75
c:0040 p:0137 s:0227 b:0227 l:000226 d:000226 METHOD ~/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92
c:0039 p:0092 s:0221 b:0221 l:000220 d:000220 METHOD ~/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139
c:0038 p:0025 s:0215 b:0215 l:000214 d:000214 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:493
c:0037 p:0035 s:0211 b:0211 l:000210 d:000210 METHOD ~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/middleware/identity_map.rb:10
c:0036 p:0015 s:0207 b:0207 l:000206 d:000206 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/best_standards_support.rb:17
c:0035 p:0093 s:0200 b:0200 l:000199 d:000199 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/head.rb:14
c:0034 p:0155 s:0193 b:0193 l:000192 d:000192 METHOD ~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/methodoverride.rb:24
c:0033 p:0046 s:0187 b:0187 l:000186 d:000186 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/params_parser.rb:21
c:0032 p:0054 s:0182 b:0182 l:000181 d:000181 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/flash.rb:182
c:0031 p:0027 s:0175 b:0175 l:000174 d:000174 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/session/abstract_store.rb:149
c:0030 p:0015 s:0164 b:0164 l:000163 d:000163 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/cookies.rb:302
c:0029 p:0014 s:0156 b:0156 l:000f20 d:000155 BLOCK  ~/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:32
c:0028 p:0019 s:0154 b:0154 l:000153 d:000153 METHOD ~/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/query_cache.rb:28
c:0027 p:0051 s:0150 b:0150 l:000149 d:000149 METHOD ~/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:12
c:0026 p:0019 s:0146 b:0146 l:000f20 d:000f20 METHOD ~/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:31
c:0025 p:0015 s:0142 b:0142 l:000141 d:000141 METHOD ~/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/connection_pool.rb
c:0024 p:0029 s:0138 b:0138 l:0008a0 d:000137 BLOCK  ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:46
c:0023 p:0155 s:0136 b:0136 l:000135 d:000135 METHOD ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:416
c:0022 p:0011 s:0126 b:0126 l:0008a0 d:0008a0 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:44
c:0021 p:0015 s:0122 b:0122 l:000121 d:000121 METHOD ~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/sendfile.rb:107
c:0020 p:0049 s:0112 b:0112 l:000111 d:000111 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/remote_ip.rb:48
c:0019 p:0017 s:0108 b:0108 l:000107 d:000107 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:47
c:0018 p:0027 s:0100 b:0100 l:000099 d:000099 METHOD ~/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/rack/logger.rb:13
c:0017 p:0032 s:0096 b:0096 l:000095 d:000095 METHOD ~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/runtime.rb:17
c:0016 p:0052 s:0087 b:0087 l:000086 d:000086 METHOD ~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/cache/strategy/local_cache.rb:72
c:0015 p:0014 s:0083 b:0083 l:000077 d:000082 BLOCK  ~/prj/test/ruby/1.9.1/gems/rack-1.2.3/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 ~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/lock.rb:11
c:0012 p:0193 s:0073 b:0073 l:000072 d:000072 METHOD ~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/static.rb:30
c:0011 p:0032 s:0066 b:0066 l:000065 d:000065 METHOD ~/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:168
c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD ~/prj/test/ruby/1.9.1/gems/railties-3.0.7/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 ~/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/rack/log_tailer.rb:14
c:0007 p:0015 s:0050 b:0050 l:000049 d:000049 METHOD ~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/content_length.rb:13
c:0006 p:0338 s:0042 b:0042 l:000041 d:000041 METHOD ~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/handler/webrick.rb:52
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD ~/.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 ~/.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:0011c8 d:000008 BLOCK  ~/.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 ----------------------------------------
~/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
~/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
~/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/handler/webrick.rb:52:in `service'
~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/content_length.rb:13:in `call'
~/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/rack/log_tailer.rb:14:in `call'
~/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'
~/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:168:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/static.rb:30:in `call'
~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/lock.rb:11:in `call'
<internal:prelude>:10:in `synchronize'
~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/lock.rb:11:in `block in call'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/runtime.rb:17:in `call'
~/prj/test/ruby/1.9.1/gems/railties-3.0.7/lib/rails/rack/logger.rb:13:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/sendfile.rb:107:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
~/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
~/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:31:in `call'
~/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:12:in `cache'
~/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
~/prj/test/ruby/1.9.1/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:32:in `block in call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/cookies.rb:302:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/flash.rb:182:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
~/prj/test/ruby/1.9.1/gems/rack-1.2.3/lib/rack/methodoverride.rb:24:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/head.rb:14:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
~/prj/test/ruby/1.9.1/gems/mongo_mapper-0.9.0/lib/mongo_mapper/middleware/identity_map.rb:10:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:493:in `call'
~/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139:in `call'
~/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92:in `recognize'
~/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:75:in `optimized_each'
~/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93:in `block in recognize'
~/prj/test/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148:in `block in call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:23:in `call'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:44:in `controller'
~/prj/test/ruby/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:58:in `controller_reference'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:538:in `get'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:538:in `default'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:538:in `yield'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:528:in `block in <class:Reference>'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/inflector/methods.rb:123:in `constantize'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/inflector/methods.rb:123:in `each'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/inflector/methods.rb:124:in `block in constantize'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:181:in `const_missing'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:181:in `each'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:183:in `block in const_missing'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:491:in `load_missing_constant'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:340:in `require_or_load'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:453:in `load_file'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in `new_constants_in'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:454:in `block in load_file'
~/prj/test/ruby/1.9.1/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:454:in `load'

-- 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

zsh: abort      ruby -v script/rails s
ruby -v script/rails s  22.77s user 2.60s system 4% cpu 8:44.24 total


OSX Crash report:

Process:         ruby [21542]
Path:            /.rvm/rubies/ruby-1.9.2-p180/bin/ruby
Identifier:      ruby
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  zsh [345]

Date/Time:       2011-06-03 12:48:05.403 +0400
OS Version:      Mac OS X 10.6.7 (10J869)
Report Version:  6

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  3

Application Specific Information:
abort() called

Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib                   0x00007fff8773ae52 select$DARWIN_EXTSN + 10
1   libruby.1.9.1.dylib                 0x000000010018657d do_select + 605 (thread.c:2501)
2   libruby.1.9.1.dylib                 0x000000010006633c select_call + 1308 (io.c:7236)
3   libruby.1.9.1.dylib                 0x000000010003ee6f rb_ensure + 127 (eval.c:743)
4   libruby.1.9.1.dylib                 0x000000010005f58e rb_f_select + 158 (io.c:7360)
5   libruby.1.9.1.dylib                 0x000000010017bc03 vm_call_method + 931 (vm_insnhelper.c:402)
6   libruby.1.9.1.dylib                 0x0000000100167da4 vm_exec_core + 8260 (insns.def:1006)
7   libruby.1.9.1.dylib                 0x000000010016fa53 vm_exec + 1507 (vm.c:1147)
8   libruby.1.9.1.dylib                 0x000000010017cf00 rb_yield + 640 (vm.c:558)
9   libruby.1.9.1.dylib                 0x000000010008e9e1 rb_obj_tap + 17 (object.c:536)
10  libruby.1.9.1.dylib                 0x000000010017bc03 vm_call_method + 931 (vm_insnhelper.c:402)
11  libruby.1.9.1.dylib                 0x0000000100167da4 vm_exec_core + 8260 (insns.def:1006)
12  libruby.1.9.1.dylib                 0x000000010016fa53 vm_exec + 1507 (vm.c:1147)
13  libruby.1.9.1.dylib                 0x000000010016fef0 rb_iseq_eval + 368 (vm.c:1375)
14  libruby.1.9.1.dylib                 0x000000010004229c rb_load_internal + 300 (load.c:304)
15  libruby.1.9.1.dylib                 0x00000001000435dc rb_require_safe + 1052 (load.c:595)
16  libruby.1.9.1.dylib                 0x000000010017bc03 vm_call_method + 931 (vm_insnhelper.c:402)
17  libruby.1.9.1.dylib                 0x000000010016a7f1 vm_exec_core + 19089 (insns.def:1040)
18  libruby.1.9.1.dylib                 0x000000010016fa53 vm_exec + 1507 (vm.c:1147)
19  libruby.1.9.1.dylib                 0x000000010016fd5b rb_iseq_eval_main + 507 (vm.c:1389)
20  libruby.1.9.1.dylib                 0x000000010003f4f2 ruby_exec_internal + 178 (eval.c:214)
21  libruby.1.9.1.dylib                 0x0000000100041e7c ruby_run_node + 60 (eval.c:261)
22  ruby                                0x0000000100000ecf main + 79 (main.c:37)
23  ruby                                0x0000000100000e74 start + 52

Thread 1:
0   libSystem.B.dylib                   0x00007fff87731f8a __semwait_signal + 10
1   libSystem.B.dylib                   0x00007fff87735da1 _pthread_cond_wait + 1286
2   libruby.1.9.1.dylib                 0x00000001001885b6 thread_timer + 182 (thread_pthread.c:137)
3   libSystem.B.dylib                   0x00007fff877304f6 _pthread_start + 331
4   libSystem.B.dylib                   0x00007fff877303a9 thread_start + 13

Thread 2:
0   libSystem.B.dylib                   0x00007fff87731f8a __semwait_signal + 10
1   libSystem.B.dylib                   0x00007fff87735da1 _pthread_cond_wait + 1286
2   libruby.1.9.1.dylib                 0x0000000100185254 native_sleep + 388 (thread_pthread.c:662)
3   libruby.1.9.1.dylib                 0x000000010018534a sleep_timeval + 170 (thread.c:879)
4   libruby.1.9.1.dylib                 0x00000001000bc870 rb_f_sleep + 80 (process.c:3283)
5   libruby.1.9.1.dylib                 0x000000010017bc03 vm_call_method + 931 (vm_insnhelper.c:402)
6   libruby.1.9.1.dylib                 0x0000000100167da4 vm_exec_core + 8260 (insns.def:1006)
7   libruby.1.9.1.dylib                 0x000000010016fa53 vm_exec + 1507 (vm.c:1147)
8   libruby.1.9.1.dylib                 0x0000000100170dcd rb_vm_invoke_proc + 877 (vm.c:558)
9   libruby.1.9.1.dylib                 0x0000000100188279 thread_start_func_2 + 1705 (thread.c:441)
10  libruby.1.9.1.dylib                 0x000000010018841d thread_start_func_1 + 29 (thread_pthread.c:397)
11  libSystem.B.dylib                   0x00007fff877304f6 _pthread_start + 331
12  libSystem.B.dylib                   0x00007fff877303a9 thread_start + 13

Thread 3 Crashed:
0   libSystem.B.dylib                   0x00007fff87769e4e __semwait_signal_nocancel + 10
1   libSystem.B.dylib                   0x00007fff87769d50 nanosleep$NOCANCEL + 129
2   libSystem.B.dylib                   0x00007fff877c66ae usleep$NOCANCEL + 57
3   libSystem.B.dylib                   0x00007fff877e5ce0 abort + 93
4   libruby.1.9.1.dylib                 0x000000010003a2bd 0x100003000 + 225981
5   libruby.1.9.1.dylib                 0x00000001000ffe24 0x100003000 + 1035812
6   libSystem.B.dylib                   0x00007fff8775766a _sigtramp + 26
7   libruby.1.9.1.dylib                 0x0000000100055dcd garbage_collect + 317 (gc.c:2185)
8   libruby.1.9.1.dylib                 0x0000000100057406 vm_xmalloc + 150 (gc.c:656)
9   libruby.1.9.1.dylib                 0x00000001001092a1 st_insert2 + 609 (st.c:503)
10  libruby.1.9.1.dylib                 0x000000010005bcc6 rb_hash_aset + 150 (hash.c:1118)
11  libruby.1.9.1.dylib                 0x000000010004d2e2 realpath_rec + 498 (file.c:3299)
12  libruby.1.9.1.dylib                 0x000000010004d6fe rb_realpath_internal + 446 (file.c:3375)
13  libruby.1.9.1.dylib                 0x000000010015d4a7 prepare_iseq_build + 119 (iseq.c:231)
14  libruby.1.9.1.dylib                 0x000000010015ee2f rb_iseq_new_with_opt + 127 (iseq.c:410)
15  libruby.1.9.1.dylib                 0x000000010014ec3d iseq_compile_each + 11421 (compile.c:923)
16  libruby.1.9.1.dylib                 0x0000000100151edc iseq_compile_each + 24380 (compile.c:393)
17  libruby.1.9.1.dylib                 0x0000000100159e5e rb_iseq_compile_node + 1950 (compile.c:462)
18  libruby.1.9.1.dylib                 0x000000010015ee3b rb_iseq_new_with_opt + 139 (iseq.c:411)
19  libruby.1.9.1.dylib                 0x000000010014d72e iseq_compile_each + 6030 (compile.c:923)
20  libruby.1.9.1.dylib                 0x000000010014c312 iseq_compile_each + 882 (compile.c:2980)
21  libruby.1.9.1.dylib                 0x0000000100159ebe rb_iseq_compile_node + 2046 (compile.c:456)
22  libruby.1.9.1.dylib                 0x000000010015ee3b rb_iseq_new_with_opt + 139 (iseq.c:411)
23  libruby.1.9.1.dylib                 0x000000010014dcb3 iseq_compile_each + 7443 (compile.c:923)
24  libruby.1.9.1.dylib                 0x000000010014c312 iseq_compile_each + 882 (compile.c:2980)
25  libruby.1.9.1.dylib                 0x0000000100159e25 rb_iseq_compile_node + 1893 (compile.c:466)
26  libruby.1.9.1.dylib                 0x0000000100160fbc rb_iseq_new_top + 140 (iseq.c:411)
27  libruby.1.9.1.dylib                 0x0000000100042287 rb_load_internal + 279 (load.c:300)
28  libruby.1.9.1.dylib                 0x0000000100043a4d rb_f_load + 109 (load.c:377)
29  libruby.1.9.1.dylib                 0x000000010017bc03 vm_call_method + 931 (vm_insnhelper.c:402)
30  libruby.1.9.1.dylib                 0x0000000100167da4 vm_exec_core + 8260 (insns.def:1006)
31  libruby.1.9.1.dylib                 0x000000010016fa53 vm_exec + 1507 (vm.c:1147)
32  libruby.1.9.1.dylib                 0x000000010017cf00 rb_yield + 640 (vm.c:558)
33  libruby.1.9.1.dylib                 0x0000000100009672 rb_ary_each + 82 (array.c:1426)
34  libruby.1.9.1.dylib                 0x000000010017bc03 vm_call_method + 931 (vm_insnhelper.c:402)
35  libruby.1.9.1.dylib                 0x0000000100167da4 vm_exec_core + 8260 (insns.def:1006)
36  libruby.1.9.1.dylib                 0x000000010016fa53 vm_exec + 1507 (vm.c:1147)
37  libruby.1.9.1.dylib                 0x000000010017cf00 rb_yield + 640 (vm.c:558)
38  libruby.1.9.1.dylib                 0x0000000100009672 rb_ary_each + 82 (array.c:1426)
39  libruby.1.9.1.dylib                 0x000000010017bc03 vm_call_method + 931 (vm_insnhelper.c:402)
40  libruby.1.9.1.dylib                 0x0000000100167da4 vm_exec_core + 8260 (insns.def:1006)
41  libruby.1.9.1.dylib                 0x000000010016fa53 vm_exec + 1507 (vm.c:1147)
42  libruby.1.9.1.dylib                 0x0000000100170dcd rb_vm_invoke_proc + 877 (vm.c:558)
43  libruby.1.9.1.dylib                 0x0000000100046aee proc_call + 94 (proc.c:558)
44  libruby.1.9.1.dylib                 0x0000000100171214 vm_call0 + 612 (vm_eval.c:79)
45  libruby.1.9.1.dylib                 0x000000010017757e rb_funcall + 590 (vm_eval.c:639)
46  libruby.1.9.1.dylib                 0x000000010005934a rb_hash_default + 138 (hash.c:620)
47  libruby.1.9.1.dylib                 0x0000000100171214 vm_call0 + 612 (vm_eval.c:79)
48  libruby.1.9.1.dylib                 0x000000010017757e rb_funcall + 590 (vm_eval.c:639)
49  libruby.1.9.1.dylib                 0x00000001000593a5 rb_hash_aref + 69 (hash.c:509)
50  libruby.1.9.1.dylib                 0x000000010016ca42 vm_exec_core + 27874 (insns.def:1892)
51  libruby.1.9.1.dylib                 0x000000010016fa53 vm_exec + 1507 (vm.c:1147)
52  libruby.1.9.1.dylib                 0x00000001001714ba vm_call0 + 1290 (vm_eval.c:66)
53  libruby.1.9.1.dylib                 0x000000010017b421 vm_method_missing + 481 (vm_insnhelper.c:449)
54  libruby.1.9.1.dylib                 0x000000010017bd98 vm_call_method + 1336 (vm_insnhelper.c:666)
55  libruby.1.9.1.dylib                 0x0000000100167da4 vm_exec_core + 8260 (insns.def:1006)
56  libruby.1.9.1.dylib                 0x000000010016fa53 vm_exec + 1507 (vm.c:1147)
57  libruby.1.9.1.dylib                 0x0000000100170dcd rb_vm_invoke_proc + 877 (vm.c:558)
58  libruby.1.9.1.dylib                 0x0000000100188279 thread_start_func_2 + 1705 (thread.c:441)
59  libruby.1.9.1.dylib                 0x000000010018841d thread_start_func_1 + 29 (thread_pthread.c:397)
60  libSystem.B.dylib                   0x00007fff877304f6 _pthread_start + 331
61  libSystem.B.dylib                   0x00007fff877303a9 thread_start + 13

Thread 3 crashed with X86 Thread State (64-bit):
  rax: 0x000000000000003c  rbx: 0x0000000102fdea90  rcx: 0x0000000102fdea48  rdx: 0x0000000000000001
  rdi: 0x0000000000000c03  rsi: 0x0000000000000000  rbp: 0x0000000102fdea80  rsp: 0x0000000102fdea48
   r8: 0x0000000000000000   r9: 0x0000000000989680  r10: 0x0000000000000001  r11: 0x0000000000000246
  r12: 0x0000000000000000  r13: 0x000000010019ace7  r14: 0x0000000100838000  r15: 0x0000000106080820
  rip: 0x00007fff87769e4e  rfl: 0x0000000000000247  cr2: 0x00000001005ad000

Binary Images:
       0x100000000 -        0x100000fff +ruby ??? (???) <73ED1733-824F-55A5-093C-9F0341DA7005> /.rvm/rubies/ruby-1.9.2-p180/bin/ruby
       0x100003000 -        0x100211ff7 +libruby.1.9.1.dylib 1.9.1 (compatibility 1.9.1) <AB5252C0-CB51-5C32-F04C-05B67A9F74BA> /.rvm/rubies/ruby-1.9.2-p180/lib/libruby.1.9.1.dylib
       0x1002f2000 -        0x1002f3fff +encdb.bundle ??? (???) <4DC731A6-07DE-F336-29BE-A1ADA29D1B15> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/encdb.bundle
       0x1002f6000 -        0x1002f7fff +transdb.bundle ??? (???) <6DC29CE0-19C8-112C-5D42-B9B029BFF5C9> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/trans/transdb.bundle
       0x10056e000 -        0x10056fff7 +etc.bundle ??? (???) <C4996DF0-E9FB-3D0B-65AB-0720AE7AC06D> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/etc.bundle
       0x100573000 -        0x100578fff +stringio.bundle ??? (???) <A3EA98DD-7085-D005-9FB8-D71BE34D1779> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/stringio.bundle
       0x10057d000 -        0x100597ff7 +syck.bundle ??? (???) <21B8A41F-B66C-EA49-8B61-F7D89684FAF9> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/syck.bundle
       0x1005a6000 -        0x1005a6ff7 +sha1.bundle ??? (???) <779B4B9C-9BC8-FCAD-1162-D76A9F8804CC> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/digest/sha1.bundle
       0x1005a9000 -        0x1005abff7 +digest.bundle ??? (???) <AEB40EE0-8258-55CA-CC0C-A8A10F89C746> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/digest.bundle
       0x1005af000 -        0x1005affff +iso_8859_1.bundle ??? (???) <7D9290F1-7D39-3C67-A600-92B3DA976A00> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/iso_8859_1.bundle
       0x1005b2000 -        0x1005bdff7 +zlib.bundle ??? (???) <67B17642-D3E2-7C8B-963A-D271161E30FB> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/zlib.bundle
       0x1005c5000 -        0x1005c8ff7 +strscan.bundle ??? (???) <83F777FE-2857-76A2-C2DC-B7FB7E08B3D9> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/strscan.bundle
       0x1005cd000 -        0x1005d8fff +bigdecimal.bundle ??? (???) <EC5502C3-F1D4-0748-D1DC-D3B6992CF0FF> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/bigdecimal.bundle
       0x1005de000 -        0x1005e2fe7 +cbson.bundle ??? (???) <8F15B076-FDB8-3FDE-B1B5-80671B43CAEE> /prj/grida/test/ruby/1.9.1/gems/bson_ext-1.2.4/ext/bson_ext/cbson.bundle
       0x1005e7000 -        0x1005e7ff7 +md5.bundle ??? (???) <745BF340-58FB-24BC-83ED-A81B41EA48B9> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/digest/md5.bundle
       0x1005ea000 -        0x1005eefff +iconv.bundle ??? (???) <86B85C04-ACC3-9DE4-6C03-5EB5723EE68C> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/iconv.bundle
       0x1005f3000 -        0x1005f6ff7 +parser.bundle ??? (???) <97152E98-2599-8F1B-DECE-34CE634E9D2E> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/json/ext/parser.bundle
       0x1005fa000 -        0x1005fafff +utf_16be.bundle ??? (???) <52D20966-9C0B-DB03-C611-BEE686B07E17> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/utf_16be.bundle
       0x1005fd000 -        0x1005fdfff +utf_16le.bundle ??? (???) <AB50A2EA-6DAE-65A5-8B4C-49962823F56A> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/utf_16le.bundle
       0x100700000 -        0x10071fff7 +socket.bundle ??? (???) <EA1F74B3-51BB-65A1-A669-26F65D6C129B> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/socket.bundle
       0x10072f000 -        0x10072ffff +utf_32be.bundle ??? (???) <74E2E0D7-5D1F-03F4-1D85-867054ADCC85> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/utf_32be.bundle
       0x100732000 -        0x100732fff +utf_32le.bundle ??? (???) <94644B80-C490-D175-B489-F7561FD35D7B> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/utf_32le.bundle
       0x100735000 -        0x10073afe7 +generator.bundle ??? (???) <58EF2FF2-1CE6-E10C-06A7-7F60752E7154> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/json/ext/generator.bundle
       0x100740000 -        0x10077afff +openssl.bundle ??? (???) <A2DC9B0A-D4BD-AB51-BBA5-D5F3855160A9> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/openssl.bundle
       0x1007a8000 -        0x1007a8fff +fcntl.bundle ??? (???) <19D6AB13-1597-D292-0279-7CCFCBD12BEF> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/fcntl.bundle
       0x1007ab000 -        0x1007cefff +rubyeventmachine.bundle ??? (???) <8A121C7D-5016-327E-8EA4-70B1F07934D9> /prj/grida/test/ruby/1.9.1/gems/eventmachine-0.12.10/lib/rubyeventmachine.bundle
       0x1007f5000 -        0x1007f8fff +thin_parser.bundle ??? (???) <14035FD6-73FA-3809-98B4-CE4A7681610E> /prj/grida/test/ruby/1.9.1/gems/thin-1.2.11/lib/thin_parser.bundle
       0x102f00000 -        0x102f4bfe7 +libssl.1.0.0.dylib ??? (???) <F70F9CFB-D067-33BD-977D-0DBFEBAEE63E> /opt/local/lib/libssl.1.0.0.dylib
       0x102f62000 -        0x102f76ff7 +libz.1.dylib 1.2.5 (compatibility 1.0.0) <98F6FFCC-D1E4-BEF1-0563-4BC7A5E770FC> /opt/local/lib/libz.1.dylib
       0x102f7a000 -        0x102f7bff7 +posix_spawn_ext.bundle ??? (???) <8C397A9E-0242-3DE0-8B06-0F1AA9B1F672> /prj/grida/test/ruby/1.9.1/gems/posix-spawn-0.3.6/lib/posix_spawn_ext.bundle
       0x102f7f000 -        0x102f91fff +single_byte.bundle ??? (???) <BD895C1F-F654-C4E4-2C6D-AB7494F31D0D> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/enc/trans/single_byte.bundle
       0x102f99000 -        0x102f9bfff +cparse.bundle ??? (???) <A47ED99E-3B3C-5BE2-2569-241EDF90311A> /.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.6.0/racc/cparse.bundle
       0x102fdf000 -        0x102fe4fff +sqlite3_native.bundle ??? (???) <E0AF8F2B-CF2D-3CA7-814D-3E7B93CBBF51> /prj/grida/test/ruby/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3/sqlite3_native.bundle
       0x102feb000 -        0x102ff5fe7 +yajl.bundle ??? (???) <B90675F6-357A-3738-BCAC-85C6B694E812> /prj/grida/test/ruby/1.9.1/gems/yajl-ruby-0.8.2/ext/yajl/yajl.bundle
       0x103900000 -        0x103a4eff7 +libcrypto.1.0.0.dylib ??? (???) <0957BACE-59CC-3F0E-A973-D873985F72A5> /opt/local/lib/libcrypto.1.0.0.dylib
       0x104606000 -        0x104699fe7 +libsqlite3.0.dylib 9.6.0 (compatibility 9.0.0) <29289611-069B-3CC7-A21A-A77C3AE661FA> /opt/local/lib/libsqlite3.0.dylib
       0x104f00000 -        0x104f1dff7 +ffi_c.bundle ??? (???) <1D53A25B-718F-3584-80C0-02887528B683> /prj/grida/test/ruby/1.9.1/gems/ffi-1.0.9/lib/ffi_c.bundle
       0x104f32000 -        0x104fbfff7 +libzmq.dylib 2.0.0 (compatibility 2.0.0) <5564CCB1-55D0-3B8E-90D5-9DF71302F02D> /usr/local/lib/libzmq.dylib
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <69130DA3-7CB3-54C8-ABC5-423DECDD2AF7> /usr/lib/dyld
    0x7fff824d0000 -     0x7fff824d1ff7  com.apple.TrustEvaluationAgent 1.1 (1) <5952A9FA-BC2B-16EF-91A7-43902A5C07B6> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff82992000 -     0x7fff82ab3fe7  libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <48AEAFE1-21F4-B3C8-4199-35AD5E8D0613> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff82aca000 -     0x7fff82b80fff  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <99CB3A0F-64CF-1D16-70CD-8AED2EF06C30> /usr/lib/libobjc.A.dylib
    0x7fff84a81000 -     0x7fff84abbfff  libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <C7153747-50E3-32DA-426F-CC4C505D1D6C> /usr/lib/libssl.0.9.8.dylib
    0x7fff84abc000 -     0x7fff84b39fef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
    0x7fff8750f000 -     0x7fff87607ff7  libiconv.2.dylib 7.0.0 (compatibility 7.0.0) <44AADE50-15BC-BC6B-BEF0-5029A30766AC> /usr/lib/libiconv.2.dylib
    0x7fff87608000 -     0x7fff87654fff  libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
    0x7fff87655000 -     0x7fff87666ff7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <97019C74-161A-3488-41EC-A6CA8738418C> /usr/lib/libz.1.dylib
    0x7fff876f6000 -     0x7fff878b7fff  libSystem.B.dylib 125.2.10 (compatibility 1.0.0) <9BAEB2F2-B485-6349-E1AB-637FE12EE770> /usr/lib/libSystem.B.dylib
    0x7fff890ed000 -     0x7fff890f1ff7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
    0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) <9BAEB2F2-B485-6349-E1AB-637FE12EE770> /usr/lib/libSystem.B.dylib

I can't reproduce segfault, but i can make several requests and it happens (without any regularity or law).


-- 
http://redmine.ruby-lang.org