Segfault on install #20

Closed
bf4 opened this Issue Jul 24, 2014 · 3 comments

Comments

Projects
None yet
3 participants
Owner

bf4 commented Jul 24, 2014

Issue by jackkinsella
Saturday Oct 08, 2011 at 00:15 GMT
Originally opened as #34


Just installed RMagick on OSX 10.6 Ruby-1.9.2-p180 and came across this:

/Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rmagick-2.13.1/lib/rmagick.rb:1635: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]

-- control frame ----------
c:0080 p:---- s:0438 b:0438 l:000437 d:000437 CFUNC  :read
c:0079 p:0023 s:0434 b:0434 l:0013d8 d:001990 BLOCK  /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rmagick-2.13.1/lib/rmagick.rb:1635
c:0078 p:---- s:0431 b:0431 l:000430 d:000430 FINISH
c:0077 p:---- s:0429 b:0429 l:000428 d:000428 CFUNC  :each
c:0076 p:0025 s:0426 b:0426 l:0013d8 d:0013d8 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rmagick-2.13.1/lib/rmagick.rb:1634
c:0075 p:---- s:0421 b:0421 l:000420 d:000420 FINISH
c:0074 p:---- s:0419 b:0419 l:000418 d:000418 CFUNC  :new
c:0073 p:0026 s:0415 b:0415 l:000414 d:000414 METHOD /Users/jack/Code/identified/analyse-me/app/models/infographic.rb:37
c:0072 p:0033 s:0412 b:0409 l:002270 d:001c50 BLOCK  /Users/jack/Code/identified/analyse-me/app/models/infographic.rb:27
c:0071 p:---- s:0406 b:0406 l:000405 d:000405 FINISH
c:0070 p:---- s:0404 b:0404 l:000403 d:000403 CFUNC  :map
c:0069 p:0068 s:0401 b:0401 l:002270 d:002270 METHOD /Users/jack/Code/identified/analyse-me/app/models/infographic.rb:26
c:0068 p:0111 s:0397 b:0397 l:000396 d:000396 METHOD /Users/jack/Code/identified/analyse-me/app/models/infographic.rb:19
c:0067 p:0043 s:0392 b:0392 l:000391 d:000391 METHOD /Users/jack/Code/identified/analyse-me/app/controllers/pages_controller.rb:12
c:0066 p:0014 s:0389 b:0389 l:000388 d:000388 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_controller/metal/implicit_render.rb:4
c:0065 p:0015 s:0383 b:0383 l:000382 d:000382 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/abstract_controller/base.rb:167
c:0064 p:0041 s:0378 b:0378 l:001ec0 d:001ec0 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_controller/metal/rendering.rb:10
c:0063 p:0010 s:0374 b:0374 l:0016b0 d:000373 BLOCK  /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/abstract_controller/callbacks.rb:18
c:0062 p:0132 s:0372 b:0372 l:000371 d:000371 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:434
c:0061 p:0113 s:0366 b:0366 l:000365 d:000365 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:386
c:0060 p:0024 s:0357 b:0357 l:000356 d:000356 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:81
c:0059 p:0020 s:0351 b:0351 l:0016b0 d:0016b0 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/abstract_controller/callbacks.rb:17
c:0058 p:0012 s:0347 b:0347 l:000346 d:000346 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_controller/metal/rescue.rb:17
c:0057 p:0010 s:0342 b:0342 l:000323 d:000341 BLOCK  /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_controller/metal/instrumentation.rb:30
c:0056 p:0017 s:0338 b:0338 l:000328 d:000337 BLOCK  /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activesupport-3.1.0/lib/active_support/notifications.rb:53
c:0055 p:0032 s:0336 b:0336 l:000335 d:000335 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activesupport-3.1.0/lib/active_support/notifications/instrumenter.rb:21
c:0054 p:0036 s:0329 b:0329 l:000328 d:000328 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activesupport-3.1.0/lib/active_support/notifications.rb:53
c:0053 p:0152 s:0324 b:0324 l:000323 d:000323 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_controller/metal/instrumentation.rb:29
c:0052 p:0143 s:0319 b:0319 l:000318 d:000318 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_controller/metal/params_wrapper.rb:201
c:0051 p:0032 s:0313 b:0313 l:000312 d:000312 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activerecord-3.1.0/lib/active_record/railties/controller_runtime.rb:18
c:0050 p:0093 s:0308 b:0308 l:000307 d:000307 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/abstract_controller/base.rb:121
c:0049 p:0084 s:0302 b:0302 l:000301 d:000301 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/abstract_controller/rendering.rb:45
c:0048 p:0048 s:0297 b:0297 l:000296 d:000296 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_controller/metal.rb:193
c:0047 p:0086 s:0292 b:0292 l:000291 d:000291 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_controller/metal/rack_delegation.rb:14
c:0046 p:0030 s:0286 b:0286 l:000568 d:000285 BLOCK  /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_controller/metal.rb:236
c:0045 p:---- s:0283 b:0283 l:000282 d:000282 FINISH
c:0044 p:---- s:0281 b:0281 l:000280 d:000280 CFUNC  :call
c:0043 p:0022 s:0277 b:0277 l:000276 d:000276 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:65
c:0042 p:0094 s:0271 b:0271 l:000270 d:000270 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:29
c:0041 p:0127 s:0265 b:0265 l:0016f0 d:001780 BLOCK  /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152
c:0040 p:0014 s:0258 b:0258 l:000242 d:000257 BLOCK  /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96
c:0039 p:0266 s:0253 b:0253 l:000252 d:000252 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:75
c:0038 p:0125 s:0243 b:0243 l:000242 d:000242 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95
c:0037 p:0092 s:0237 b:0237 l:0016f0 d:0016f0 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141
c:0036 p:0025 s:0231 b:0231 l:000230 d:000230 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:531
c:0035 p:0015 s:0227 b:0227 l:000226 d:000226 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/best_standards_support.rb
c:0034 p:0015 s:0220 b:0220 l:000219 d:000219 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-1.3.4/lib/rack/etag.rb:23
c:0033 p:0068 s:0212 b:0212 l:000211 d:000211 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-1.3.4/lib/rack/conditionalget.rb:25
c:0032 p:0093 s:0205 b:0205 l:000204 d:000204 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/head.rb:14
c:0031 p:0046 s:0198 b:0198 l:000197 d:000197 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/params_parser.rb:21
c:0030 p:0054 s:0193 b:0193 l:000192 d:000192 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/flash.rb:243
c:0029 p:0031 s:0185 b:0185 l:000184 d:000184 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-1.3.4/lib/rack/session/abstract/id.rb:195
c:0028 p:0013 s:0177 b:0177 l:000176 d:000176 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-1.3.4/lib/rack/session/abstract/id.rb:190
c:0027 p:0020 s:0173 b:0173 l:000172 d:000172 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/cookies.rb:326
c:0026 p:0064 s:0165 b:0165 l:000164 d:000164 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activerecord-3.1.0/lib/active_record/query_cache.rb:62
c:0025 p:0029 s:0156 b:0156 l:000155 d:000155 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activerecord-3.1.0/lib/active_record/connection_adapters/abstract/connect
c:0024 p:0014 s:0148 b:0148 l:001c70 d:000147 BLOCK  /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/callbacks.rb:29
c:0023 p:0155 s:0146 b:0146 l:000145 d:000145 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:392
c:0022 p:0024 s:0136 b:0136 l:000135 d:000135 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:81
c:0021 p:0013 s:0130 b:0130 l:001c70 d:001c70 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/callbacks.rb:28
c:0020 p:0027 s:0126 b:0126 l:000125 d:000125 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/reloader.rb:68
c:0019 p:0015 s:0121 b:0121 l:000120 d:000120 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-1.3.4/lib/rack/sendfile.rb:101
c:0018 p:0049 s:0111 b:0111 l:000110 d:000110 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/remote_ip.rb:48
c:0017 p:0017 s:0107 b:0107 l:000106 d:000106 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/show_exceptions.rb:47
c:0016 p:0027 s:0099 b:0099 l:000098 d:000098 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/railties-3.1.0/lib/rails/rack/logger.rb:13
c:0015 p:0155 s:0095 b:0095 l:000094 d:000094 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-1.3.4/lib/rack/methodoverride.rb:24
c:0014 p:0032 s:0089 b:0089 l:000088 d:000088 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-1.3.4/lib/rack/runtime.rb:17
c:0013 p:0057 s:0080 b:0080 l:000079 d:000079 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/activesupport-3.1.0/lib/active_support/cache/strategy/local_cache.rb:72
c:0012 p:0068 s:0076 b:0076 l:000075 d:000075 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-1.3.4/lib/rack/lock.rb:15
c:0011 p:0124 s:0070 b:0070 l:000069 d:000069 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/actionpack-3.1.0/lib/action_dispatch/middleware/static.rb:53
c:0010 p:0032 s:0064 b:0064 l:000063 d:000063 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/railties-3.1.0/lib/rails/engine.rb:455
c:0009 p:0015 s:0060 b:0060 l:000059 d:000059 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/railties-3.1.0/lib/rails/rack/content_length.rb:16
c:0008 p:0015 s:0051 b:0051 l:000050 d:000050 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/railties-3.1.0/lib/rails/rack/debugger.rb:21
c:0007 p:0015 s:0047 b:0047 l:000046 d:000046 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/railties-3.1.0/lib/rails/rack/log_tailer.rb:14
c:0006 p:0356 s:0042 b:0042 l:0011c0 d:0011c0 METHOD /Users/jack/.rvm/gems/ruby-1.9.2-p180@analyse-me/gems/rack-1.3.4/lib/rack/handler/webrick.rb:59
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /Users/jack/.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/jack/.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:000cc8 d:000008 BLOCK  /Users/jack/.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  
Owner

bf4 commented Jul 24, 2014

Comment by kreek
Wednesday Nov 16, 2011 at 18:26 GMT


I get the same issue with OS X 10.7.2 rubies 1.9.2-p290 and 1.9.3-p0. I did a fresh OS install a couple of days ago and previously did not have an issue with 1.9.2 (don't remember which build that was).

Owner

bf4 commented Jul 24, 2014

Comment by jygeer
Tuesday Nov 22, 2011 at 15:52 GMT


It's a multithreaded build issue with the default brew ImageMagick. The following solution works for now:

http://nepalonrails.tumblr.com/post/9290788255/segmentation-fault-when-installing-imagemagick

ioquatix added this to the documentation milestone Sep 7, 2014

linduxed commented Dec 6, 2015

This is from 2011. If this is still a problem then we'll open a new issue.

linduxed closed this Dec 6, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment