rmagick-temp / rmagick

An interface to the ImageMagick and GraphicsMagick image processing libraries.
http://rmagick.rubyforge.org/
MIT License
790 stars 102 forks source link

RMagick, Rails 3 and Ruby 1.9.2-p0. CRASH #13

Closed tsenart closed 14 years ago

tsenart commented 14 years ago

Running a Rails 3 application. It crashed on a ImageMagick from_blob method. Here's the backtrace: /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/r_magick_utils.rb:7: [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10]

-- control frame ----------
c:0109 p:---- s:0539 b:0539 l:000538 d:000538 CFUNC  :from_blob
c:0108 p:0027 s:0535 b:0535 l:000534 d:000534 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/r_magick_utils.rb:7
c:0107 p:0013 s:0526 b:0526 l:001770 d:001770 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/analysis/r_magick_analyser.rb:11
c:0106 p:---- s:0522 b:0522 l:000521 d:000521 FINISH
c:0105 p:---- s:0520 b:0520 l:000519 d:000519 CFUNC  :call
c:0104 p:0014 s:0516 b:0516 l:000499 d:000515 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/function_manager.rb:37
c:0103 p:---- s:0514 b:0514 l:000513 d:000513 FINISH
c:0102 p:---- s:0512 b:0512 l:000511 d:000511 CFUNC  :catch
c:0101 p:0011 s:0508 b:0508 l:000499 d:000507 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/function_manager.rb:36
c:0100 p:---- s:0505 b:0505 l:000504 d:000504 FINISH
c:0099 p:---- s:0503 b:0503 l:000502 d:000502 CFUNC  :each
c:0098 p:0054 s:0500 b:0500 l:000499 d:000499 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/function_manager.rb:35
c:0097 p:0065 s:0495 b:0492 l:000491 d:000491 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/analyser.rb:26
c:0096 p:0107 s:0484 b:0484 l:000483 d:000483 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/job.rb:196
c:0095 p:0015 s:0479 b:0479 l:000478 d:000478 METHOD (eval):3
c:0094 p:0067 s:0475 b:0473 l:000463 d:000472 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/active_model_extensions/attachment.rb:138
c:0093 p:---- s:0469 b:0469 l:000468 d:000468 FINISH
c:0092 p:---- s:0467 b:0467 l:000466 d:000466 CFUNC  :each
c:0091 p:0017 s:0464 b:0464 l:000463 d:000463 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/active_model_extensions/attachment.rb:136
c:0090 p:0142 s:0461 b:0461 l:000460 d:000460 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/active_model_extensions/attachment.rb:32
c:0089 p:0023 s:0457 b:0457 l:002138 d:000456 LAMBDA /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/active_model_extensions/class_methods.rb:22
c:0088 p:---- s:0454 b:0454 l:000453 d:000453 FINISH
c:0087 p:0081 s:0452 b:0452 l:000442 d:000451 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/base.rb:1548
c:0086 p:---- s:0448 b:0448 l:000447 d:000447 FINISH
c:0085 p:---- s:0446 b:0446 l:000445 d:000445 CFUNC  :each
c:0084 p:0076 s:0443 b:0443 l:000442 d:000442 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/base.rb:1544
c:0083 p:0146 s:0436 b:0436 l:000435 d:000435 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/base.rb:1411
c:0082 p:---- s:0429 b:0429 l:000428 d:000428 FINISH
c:0081 p:---- s:0427 b:0427 l:000426 d:000426 CFUNC  :new
c:0080 p:0049 s:0423 b:0423 l:000422 d:000422 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/base.rb:496
c:0079 p:0030 s:0417 b:0417 l:000416 d:000416 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/refinerycms-0.9.8/vendor/refinerycms/images/app/controllers/admin/images_controller.r
c:0078 p:0012 s:0414 b:0414 l:000413 d:000413 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/implicit_render.rb:4
c:0077 p:0015 s:0409 b:0409 l:000408 d:000408 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/abstract_controller/base.rb:150
c:0076 p:0041 s:0404 b:0404 l:000403 d:000403 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/rendering.rb:11
c:0075 p:0010 s:0400 b:0400 l:000a10 d:000399 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/abstract_controller/callbacks.rb:18
c:0074 p:0363 s:0398 b:0398 l:000397 d:000397 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:485
c:0073 p:0113 s:0392 b:0392 l:000391 d:000391 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:409
c:0072 p:0024 s:0383 b:0383 l:000382 d:000382 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:93
c:0071 p:0015 s:0377 b:0377 l:000a10 d:000a10 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/abstract_controller/callbacks.rb:17
c:0070 p:0012 s:0373 b:0373 l:000354 d:000372 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/instrumentation.rb:30
c:0069 p:0017 s:0369 b:0369 l:000359 d:000368 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/notifications.rb:52
c:0068 p:0032 s:0367 b:0367 l:000366 d:000366 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/notifications/instrumenter.rb:21
c:0067 p:0036 s:0360 b:0360 l:000359 d:000359 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/notifications.rb:52
c:0066 p:0152 s:0355 b:0355 l:000354 d:000354 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/instrumentation.rb:29
c:0065 p:0012 s:0349 b:0349 l:000348 d:000348 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/rescue.rb:17
c:0064 p:0093 s:0344 b:0344 l:000343 d:000343 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/abstract_controller/base.rb:119
c:0063 p:0084 s:0338 b:0338 l:000337 d:000337 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/abstract_controller/rendering.rb:40
c:0062 p:0048 s:0333 b:0333 l:000332 d:000332 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal.rb:133
c:0061 p:0086 s:0328 b:0328 l:000327 d:000327 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/rack_delegation.rb:14
c:0060 p:0030 s:0322 b:0322 l:000568 d:000321 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal.rb:173
c:0059 p:---- s:0319 b:0319 l:000318 d:000318 FINISH
c:0058 p:---- s:0317 b:0317 l:000316 d:000316 CFUNC  :call
c:0057 p:0022 s:0313 b:0313 l:000312 d:000312 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:62
c:0056 p:0094 s:0307 b:0307 l:000306 d:000306 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:27
c:0055 p:0097 s:0301 b:0301 l:0018e0 d:000300 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:148
c:0054 p:---- s:0295 b:0295 l:000294 d:000294 FINISH
c:0053 p:---- s:0293 b:0293 l:000292 d:000292 CFUNC  :call
c:0052 p:0077 s:0287 b:0287 l:001578 d:001578 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/routing-filter-0.1.6/lib/routing_filter/adapters/rails_3.rb:64
c:0051 p:0092 s:0278 b:0278 l:0018e0 d:0018e0 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:139
c:0050 p:0025 s:0272 b:0272 l:000271 d:000271 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:492
c:0049 p:0015 s:0268 b:0268 l:000267 d:000267 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/best_standards_support.rb:17
c:0048 p:0093 s:0261 b:0261 l:000260 d:000260 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/head.rb:14
c:0047 p:0155 s:0254 b:0254 l:000253 d:000253 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/methodoverride.rb:24
c:0046 p:0046 s:0248 b:0248 l:000247 d:000247 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/params_parser.rb:21
c:0045 p:0054 s:0243 b:0243 l:000242 d:000242 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/flash.rb:182
c:0044 p:0027 s:0236 b:0236 l:000235 d:000235 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/session/abstract_store.rb:149
c:0043 p:0015 s:0225 b:0225 l:000224 d:000224 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/cookies.rb:287
c:0042 p:0014 s:0217 b:0217 l:002430 d:000216 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:32
c:0041 p:0019 s:0215 b:0215 l:000214 d:000214 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/query_cache.rb:28
c:0040 p:0051 s:0211 b:0211 l:000210 d:000210 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:12
c:0039 p:0019 s:0207 b:0207 l:002430 d:002430 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:31
c:0038 p:0015 s:0203 b:0203 l:000202 d:000202 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:
c:0037 p:0029 s:0199 b:0199 l:001840 d:000198 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:46
c:0036 p:0155 s:0197 b:0197 l:000196 d:000196 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:415
c:0035 p:0011 s:0187 b:0187 l:001840 d:001840 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:44
c:0034 p:0015 s:0183 b:0183 l:000182 d:000182 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/sendfile.rb:107
c:0033 p:0049 s:0173 b:0173 l:000172 d:000172 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/remote_ip.rb:48
c:0032 p:0015 s:0169 b:0169 l:000168 d:000168 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/show_exceptions.rb:46
c:0031 p:0027 s:0161 b:0161 l:000160 d:000160 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/lib/rails/rack/logger.rb:13
c:0030 p:0032 s:0157 b:0157 l:000156 d:000156 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/runtime.rb:17
c:0029 p:0052 s:0148 b:0148 l:000147 d:000147 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/cache/strategy/local_cache.rb:72
c:0028 p:0043 s:0144 b:0144 l:000143 d:000143 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/middleware.rb:16
c:0027 p:0027 s:0139 b:0138 l:000137 d:000137 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:123
c:0026 p:0023 s:0135 b:0135 l:000134 d:000134 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:130
c:0025 p:0049 s:0132 b:0132 l:000131 d:000131 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:142
c:0024 p:0126 s:0128 b:0128 l:000127 d:000127 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:69
c:0023 p:0042 s:0121 b:0121 l:000120 d:000120 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:50
c:0022 p:0043 s:0117 b:0117 l:000116 d:000116 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/middleware.rb:16
c:0021 p:0027 s:0112 b:0111 l:000110 d:000110 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:123
c:0020 p:0023 s:0108 b:0108 l:000107 d:000107 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:130
c:0019 p:0049 s:0105 b:0105 l:000104 d:000104 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:142
c:0018 p:0126 s:0101 b:0101 l:000100 d:000100 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:69
c:0017 p:0042 s:0094 b:0094 l:000093 d:000093 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:50
c:0016 p:0014 s:0090 b:0090 l:000084 d:000089 BLOCK  /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/lock.rb:11
c:0015 p:0019 s:0088 b:0088 l:000087 d:000087 METHOD <internal:prelude>:10
c:0014 p:0054 s:0085 b:0085 l:000084 d:000084 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/lock.rb:11
c:0013 p:0193 s:0080 b:0080 l:000079 d:000079 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/static.rb:30
c:0012 p:0193 s:0073 b:0073 l:000072 d:000072 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/static.rb:30
c:0011 p:0032 s:0066 b:0066 l:000065 d:000065 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/lib/rails/application.rb:168
c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/lib/rails/application.rb:77
c:0009 p:---- s:0057 b:0057 l:000056 d:000056 FINISH
c:0008 p:0015 s:0055 b:0055 l:000054 d:000054 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/lib/rails/rack/log_tailer.rb:14
c:0007 p:0015 s:0050 b:0050 l:000049 d:000049 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/content_length.rb:13
c:0006 p:0338 s:0042 b:0042 l:000041 d:000041 METHOD /Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /Users/tomas/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:111
c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD /Users/tomas/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:70
c:0003 p:0126 s:0009 b:0009 l:002308 d:000008 BLOCK  /Users/tomas/.rvm/rubies/ruby-1.9.2-p0/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/tomas/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
/Users/tomas/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/tomas/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:in `service'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/content_length.rb:13:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/lib/rails/rack/log_tailer.rb:14:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/lib/rails/application.rb:77:in `method_missing'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/lib/rails/application.rb:168:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/static.rb:30:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/static.rb:30:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/lock.rb:11:in `call'
<internal:prelude>:10:in `synchronize'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/lock.rb:11:in `block in call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:50:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:69:in `call!'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:142:in `invalidate'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:130:in `pass'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:123:in `forward'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/middleware.rb:16:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:50:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:69:in `call!'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:142:in `invalidate'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:130:in `pass'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:123:in `forward'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/middleware.rb:16:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/runtime.rb:17:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/lib/rails/rack/logger.rb:13:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/show_exceptions.rb:46:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/sendfile.rb:107:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:415:in `_run_call_callbacks'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:31:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:12:in `cache'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:32:in `block in call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/cookies.rb:287:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/flash.rb:182:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/head.rb:14:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:492:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:139:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/routing-filter-0.1.6/lib/routing_filter/adapters/rails_3.rb:64:in `recognize_with_filtering'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/routing-filter-0.1.6/lib/routing_filter/adapters/rails_3.rb:64:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:148:in `block in call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:27:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:62:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal.rb:173:in `block in action'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal.rb:133:in `dispatch'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/abstract_controller/rendering.rb:40:in `process'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/abstract_controller/base.rb:119:in `process'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/rescue.rb:17:in `process_action'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/notifications.rb:52:in `instrument'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/notifications.rb:52:in `block in instrument'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/abstract_controller/callbacks.rb:17:in `process_action'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:93:in `run_callbacks'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:485:in `_run__774490128991872858__process_action__1582057511063075870__callbacks'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/rendering.rb:11:in `process_action'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/abstract_controller/base.rb:150:in `process_action'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/refinerycms-0.9.8/vendor/refinerycms/images/app/controllers/admin/images_controller.rb:66:in `create'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/base.rb:496:in `create'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/base.rb:496:in `new'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/base.rb:1411:in `initialize'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/base.rb:1544:in `attributes='
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/base.rb:1544:in `each'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0/lib/active_record/base.rb:1548:in `block in attributes='
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/active_model_extensions/class_methods.rb:22:in `block (3 levels) in register_dragonfly_app'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/active_model_extensions/attachment.rb:32:in `assign'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/active_model_extensions/attachment.rb:136:in `set_magic_attributes'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/active_model_extensions/attachment.rb:136:in `each'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/active_model_extensions/attachment.rb:138:in `block in set_magic_attributes'
(eval):3:in `width'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/job.rb:196:in `analyse'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/analyser.rb:26:in `analyse'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/function_manager.rb:35:in `call_last'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/function_manager.rb:35:in `each'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/function_manager.rb:36:in `block in call_last'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/function_manager.rb:36:in `catch'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/function_manager.rb:37:in `block (2 levels) in call_last'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/function_manager.rb:37:in `call'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/analysis/r_magick_analyser.rb:11:in `width'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/r_magick_utils.rb:7:in `rmagick_image'
/Users/tomas/.rvm/gems/ruby-1.9.2-p0/gems/dragonfly-0.7.4/lib/dragonfly/r_magick_utils.rb:7:in `from_blob'

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

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap
kovalevsky commented 14 years ago

Similar problem on Snow Leopard / Ruby1.9.2-p0 / Rails 3 My full trace:

/opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/r_magick_utils.rb:28: [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10]

-- control frame ---------- c:0109 p:---- s:0539 b:0539 l:000538 d:000538 CFUNC :ping c:0108 p:0036 s:0535 b:0535 l:000534 d:000534 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/r_magick_utils.rb:28 c:0107 p:0013 s:0526 b:0526 l:001b50 d:001b50 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/analysis/r_magick_analyser.rb:14 c:0106 p:---- s:0522 b:0522 l:000521 d:000521 FINISH c:0105 p:---- s:0520 b:0520 l:000519 d:000519 CFUNC :call c:0104 p:0014 s:0516 b:0516 l:000499 d:000515 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/function_manager.rb:37 c:0103 p:---- s:0514 b:0514 l:000513 d:000513 FINISH c:0102 p:---- s:0512 b:0512 l:000511 d:000511 CFUNC :catch c:0101 p:0011 s:0508 b:0508 l:000499 d:000507 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/function_manager.rb:36 c:0100 p:---- s:0505 b:0505 l:000504 d:000504 FINISH c:0099 p:---- s:0503 b:0503 l:000502 d:000502 CFUNC :each c:0098 p:0054 s:0500 b:0500 l:000499 d:000499 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/function_manager.rb:35 c:0097 p:0065 s:0495 b:0492 l:000491 d:000491 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/analyser.rb:26 c:0096 p:0107 s:0484 b:0484 l:000483 d:000483 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/job.rb:196 c:0095 p:0015 s:0479 b:0479 l:000478 d:000478 METHOD (eval):3 c:0094 p:0067 s:0475 b:0473 l:000463 d:000472 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/active_model_extensions/attachment.rb:138 c:0093 p:---- s:0469 b:0469 l:000468 d:000468 FINISH c:0092 p:---- s:0467 b:0467 l:000466 d:000466 CFUNC :each c:0091 p:0017 s:0464 b:0464 l:000463 d:000463 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/active_model_extensions/attachment.rb:136 c:0090 p:0142 s:0461 b:0461 l:000460 d:000460 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/active_model_extensions/attachment.rb:32 c:0089 p:0023 s:0457 b:0457 l:001cf8 d:000456 LAMBDA /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/active_model_extensions/class_methods.rb:22 c:0088 p:---- s:0454 b:0454 l:000453 d:000453 FINISH c:0087 p:0081 s:0452 b:0452 l:000442 d:000451 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/base.rb:1548 c:0086 p:---- s:0448 b:0448 l:000447 d:000447 FINISH c:0085 p:---- s:0446 b:0446 l:000445 d:000445 CFUNC :each c:0084 p:0076 s:0443 b:0443 l:000442 d:000442 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/base.rb:1544 c:0083 p:0146 s:0436 b:0436 l:000435 d:000435 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/base.rb:1411 c:0082 p:---- s:0429 b:0429 l:000428 d:000428 FINISH c:0081 p:---- s:0427 b:0427 l:000426 d:000426 CFUNC :new c:0080 p:0049 s:0423 b:0423 l:000422 d:000422 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/base.rb:496 c:0079 p:0030 s:0417 b:0417 l:000416 d:000416 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/refinerycms-0.9.8/vendor/refinerycms/images/app/controllers/admin/images_controller.rb:6 c:0078 p:0012 s:0414 b:0414 l:000413 d:000413 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/implicit_render.rb:4 c:0077 p:0015 s:0409 b:0409 l:000408 d:000408 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/abstract_controller/base.rb:150 c:0076 p:0041 s:0404 b:0404 l:000403 d:000403 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/rendering.rb:11 c:0075 p:0010 s:0400 b:0400 l:001e70 d:000399 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/abstract_controller/callbacks.rb:18 c:0074 p:0363 s:0398 b:0398 l:000397 d:000397 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:485 c:0073 p:0113 s:0392 b:0392 l:000391 d:000391 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:409 c:0072 p:0024 s:0383 b:0383 l:000382 d:000382 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:93 c:0071 p:0015 s:0377 b:0377 l:001e70 d:001e70 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/abstract_controller/callbacks.rb:17 c:0070 p:0012 s:0373 b:0373 l:000354 d:000372 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/instrumentation.rb:30 c:0069 p:0017 s:0369 b:0369 l:000359 d:000368 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications.rb:52 c:0068 p:0032 s:0367 b:0367 l:000366 d:000366 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications/instrumenter.rb:21 c:0067 p:0036 s:0360 b:0360 l:000359 d:000359 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications.rb:52 c:0066 p:0152 s:0355 b:0355 l:000354 d:000354 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/instrumentation.rb:29 c:0065 p:0012 s:0349 b:0349 l:000348 d:000348 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/rescue.rb:17 c:0064 p:0093 s:0344 b:0344 l:000343 d:000343 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/abstract_controller/base.rb:119 c:0063 p:0084 s:0338 b:0338 l:000337 d:000337 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/abstract_controller/rendering.rb:40 c:0062 p:0048 s:0333 b:0333 l:000332 d:000332 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal.rb:133 c:0061 p:0086 s:0328 b:0328 l:000327 d:000327 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/rack_delegation.rb:14 c:0060 p:0030 s:0322 b:0322 l:001768 d:000321 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal.rb:173 c:0059 p:---- s:0319 b:0319 l:000318 d:000318 FINISH c:0058 p:---- s:0317 b:0317 l:000316 d:000316 CFUNC :call c:0057 p:0022 s:0313 b:0313 l:000312 d:000312 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:62 c:0056 p:0094 s:0307 b:0307 l:000306 d:000306 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:27 c:0055 p:0097 s:0301 b:0301 l:001c90 d:000300 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:148 c:0054 p:---- s:0295 b:0295 l:000294 d:000294 FINISH c:0053 p:---- s:0293 b:0293 l:000292 d:000292 CFUNC :call c:0052 p:0077 s:0287 b:0287 l:001d78 d:001d78 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/routing-filter-0.1.6/lib/routing_filter/adapters/rails_3.rb:64 c:0051 p:0092 s:0278 b:0278 l:001c90 d:001c90 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:139 c:0050 p:0025 s:0272 b:0272 l:000271 d:000271 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:492 c:0049 p:0015 s:0268 b:0268 l:000267 d:000267 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/best_standards_support.rb:17 c:0048 p:0093 s:0261 b:0261 l:000260 d:000260 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/head.rb:14 c:0047 p:0155 s:0254 b:0254 l:000253 d:000253 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/methodoverride.rb:24 c:0046 p:0046 s:0248 b:0248 l:000247 d:000247 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/params_parser.rb:21 c:0045 p:0054 s:0243 b:0243 l:000242 d:000242 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/flash.rb:182 c:0044 p:0027 s:0236 b:0236 l:000235 d:000235 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/session/abstract_store.rb:149 c:0043 p:0015 s:0225 b:0225 l:000224 d:000224 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/cookies.rb:287 c:0042 p:0014 s:0217 b:0217 l:000330 d:000216 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:32 c:0041 p:0019 s:0215 b:0215 l:000214 d:000214 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/query_cache.rb:28 c:0040 p:0051 s:0211 b:0211 l:000210 d:000210 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:12 c:0039 p:0019 s:0207 b:0207 l:000330 d:000330 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:31 c:0038 p:0015 s:0203 b:0203 l:000202 d:000202 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:355 c:0037 p:0029 s:0199 b:0199 l:0015b0 d:000198 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:46 c:0036 p:0155 s:0197 b:0197 l:000196 d:000196 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:415 c:0035 p:0011 s:0187 b:0187 l:0015b0 d:0015b0 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:44 c:0034 p:0015 s:0183 b:0183 l:000182 d:000182 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/sendfile.rb:107 c:0033 p:0049 s:0173 b:0173 l:000172 d:000172 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/remote_ip.rb:48 c:0032 p:0015 s:0169 b:0169 l:000168 d:000168 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/show_exceptions.rb:46 c:0031 p:0027 s:0161 b:0161 l:000160 d:000160 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0/lib/rails/rack/logger.rb:13 c:0030 p:0032 s:0157 b:0157 l:000156 d:000156 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/runtime.rb:17 c:0029 p:0052 s:0148 b:0148 l:000147 d:000147 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/strategy/local_cache.rb:72 c:0028 p:0043 s:0144 b:0144 l:000143 d:000143 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/middleware.rb:16 c:0027 p:0027 s:0139 b:0138 l:000137 d:000137 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:123 c:0026 p:0023 s:0135 b:0135 l:000134 d:000134 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:130 c:0025 p:0049 s:0132 b:0132 l:000131 d:000131 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:142 c:0024 p:0126 s:0128 b:0128 l:000127 d:000127 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:69 c:0023 p:0042 s:0121 b:0121 l:000120 d:000120 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:50 c:0022 p:0043 s:0117 b:0117 l:000116 d:000116 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/middleware.rb:16 c:0021 p:0027 s:0112 b:0111 l:000110 d:000110 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:123 c:0020 p:0023 s:0108 b:0108 l:000107 d:000107 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:130 c:0019 p:0049 s:0105 b:0105 l:000104 d:000104 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:142 c:0018 p:0126 s:0101 b:0101 l:000100 d:000100 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:69 c:0017 p:0042 s:0094 b:0094 l:000093 d:000093 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:50 c:0016 p:0014 s:0090 b:0090 l:000084 d:000089 BLOCK /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/lock.rb:11 c:0015 p:0019 s:0088 b:0088 l:000087 d:000087 METHOD internal:prelude:10 c:0014 p:0054 s:0085 b:0085 l:000084 d:000084 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/lock.rb:11 c:0013 p:0193 s:0080 b:0080 l:000079 d:000079 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/static.rb:30 c:0012 p:0193 s:0073 b:0073 l:000072 d:000072 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/static.rb:30 c:0011 p:0032 s:0066 b:0066 l:000065 d:000065 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0/lib/rails/application.rb:168 c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0/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 /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0/lib/rails/rack/log_tailer.rb:14 c:0007 p:0015 s:0050 b:0050 l:000049 d:000049 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/content_length.rb:13 c:0006 p:0338 s:0042 b:0042 l:000041 d:000041 METHOD /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52 c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /opt/local/lib/ruby1.9/1.9.1/webrick/httpserver.rb:111 c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD /opt/local/lib/ruby1.9/1.9.1/webrick/httpserver.rb:70 c:0003 p:0126 s:0009 b:0009 l:000ab8 d:000008 BLOCK /opt/local/lib/ruby1.9/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 ---------------------------------------- /opt/local/lib/ruby1.9/1.9.1/webrick/server.rb:183:in block in start_thread' /opt/local/lib/ruby1.9/1.9.1/webrick/httpserver.rb:70:inrun' /opt/local/lib/ruby1.9/1.9.1/webrick/httpserver.rb:111:in service' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:inservice' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/content_length.rb:13:in call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0/lib/rails/rack/log_tailer.rb:14:incall' /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0/lib/rails/application.rb:77:in method_missing' /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0/lib/rails/application.rb:168:incall' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/static.rb:30:in call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/static.rb:30:incall' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/lock.rb:11:in `call'

:10:in`synchronize' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/lock.rb:11:in `block in call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:50:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:69:in `call!' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:142:in`invalidate' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:130:in `pass' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:123:in`forward' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/middleware.rb:16:in `call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:50:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:69:in `call!' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:142:in`invalidate' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:130:in `pass' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-cache-0.5.2/lib/rack/cache/context.rb:123:in`forward' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/middleware.rb:16:in `call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/strategy/local_cache.rb:72:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/runtime.rb:17:in `call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0/lib/rails/rack/logger.rb:13:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/show_exceptions.rb:46:in `call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/remote_ip.rb:48:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/sendfile.rb:107:in `call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:44:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:415:in `_run_call_callbacks' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/callbacks.rb:46:in`block in call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:31:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:12:in `cache' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in`cache' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/query_cache.rb:32:in `block in call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/cookies.rb:287:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/flash.rb:182:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/head.rb:14:in `call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/middleware/best_standards_support.rb:17:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:492:in `call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:139:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/routing-filter-0.1.6/lib/routing_filter/adapters/rails_3.rb:64:in `recognize_with_filtering' /opt/local/lib/ruby1.9/gems/1.9.1/gems/routing-filter-0.1.6/lib/routing_filter/adapters/rails_3.rb:64:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:148:in `block in call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:27:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:62:in `dispatch' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_dispatch/routing/route_set.rb:62:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal.rb:173:in `block in action' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/rack_delegation.rb:14:in`dispatch' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal.rb:133:in `dispatch' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/abstract_controller/rendering.rb:40:in`process' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/abstract_controller/base.rb:119:in `process' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/rescue.rb:17:in`process_action' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications.rb:52:in`instrument' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/notifications.rb:52:in`block in instrument' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/abstract_controller/callbacks.rb:17:in`process_action' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:93:in `run_callbacks' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:409:in`_run_process_action_callbacks' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/callbacks.rb:485:in `_run__2421790777311374803__process_action__2872665469604494748__callbacks' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/abstract_controller/callbacks.rb:18:in`block in process_action' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/rendering.rb:11:in `process_action' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/abstract_controller/base.rb:150:in`process_action' /opt/local/lib/ruby1.9/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /opt/local/lib/ruby1.9/gems/1.9.1/gems/refinerycms-0.9.8/vendor/refinerycms/images/app/controllers/admin/images_controller.rb:66:in`create' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/base.rb:496:in `create' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/base.rb:496:in`new' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/base.rb:1411:in `initialize' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/base.rb:1544:in`attributes=' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/base.rb:1544:in `each' /opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/base.rb:1548:in`block in attributes=' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/active_model_extensions/class_methods.rb:22:in `block (3 levels) in register_dragonfly_app' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/active_model_extensions/attachment.rb:32:in`assign' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/active_model_extensions/attachment.rb:136:in `set_magic_attributes' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/active_model_extensions/attachment.rb:136:in`each' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/active_model_extensions/attachment.rb:138:in `block in set_magic_attributes' (eval):3:in`width' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/job.rb:196:in `analyse' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/analyser.rb:26:in`analyse' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/function_manager.rb:35:in `call_last' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/function_manager.rb:35:in`each' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/function_manager.rb:36:in `block in call_last' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/function_manager.rb:36:in`catch' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/function_manager.rb:37:in `block (2 levels) in call_last' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/function_manager.rb:37:in`call' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/analysis/r_magick_analyser.rb:14:in `width' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/r_magick_utils.rb:28:in`ping_rmagick_image' /opt/local/lib/ruby1.9/gems/1.9.1/gems/dragonfly-0.7.5/lib/dragonfly/r_magick_utils.rb:28:in `ping' -- C level backtrace information ------------------------------------------- [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html Abort trap
ksamc commented 14 years ago

Im guessing both of you are using ImageMagick through mac ports? If so, you need to install ImageMagick without 'openmp'.

This is done by first uninstalling ImageMagic by 'sudo port uninstall ImageMagick'. Then finding the port file by 'port file ImageMagick'. Mine was located under '/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/ImageMagick/Portfile'.

Edit the file and add the line '--disable-openmp' under 'configure.args'. Here is copy of my configure.args:

configure.args --enable-shared \ --enable-static \ --disable-ltdl-install \ --with-frozenpaths \ --without-openexr \ --disable-hdri \ --with-dps \ --with-bzlib \ --with-fontconfig \ --with-jpeg \ --with-lcms \ --with-png \ --with-tiff \ --with-zlib \ --with-modules \ --with-xml \ --with-x \ --without-perl \ --without-fpx \ --without-gslib \ --without-jbig \ --without-jp2 \ --without-wmf \ --without-gvc \ --without-rsvg \ --without-lqr \ --disable-openmp

Just add the last line including the slash on the line above.

Now just install ImageMagick again by 'sudo port install ImageMagick'. This should solve your crashes.

Hope this helps.

tsenart commented 14 years ago

Actually I'm using brew. http://github.com/mxcl/homebrew

tsenart commented 14 years ago

Yep. =) Installing Imagemagick without openmp support solved the issue. This is a Mac-only problem.

f0086 commented 14 years ago

I installed it with macports, and got the same problems. I follow the steps to compile it without openmp and now I get no warning, just:

Trace/BPT trap

and the rails applications died. No warning, no stacktrace, nothing.

To solve this, DONT require 'rmagick' or include 'Magick' in your controller, just leave it out. See here for more details (its a threads problem): http://stackoverflow.com/questions/1628916/trace-bpt-trap-when-calling-urllib-urlopen