Bug #3766: SEGFAULT
http://redmine.ruby-lang.org/issues/show/3766

Author: Ashley Streb
Status: Open, Priority: Normal
ruby -v: ruby 1.9.3dev (2010-08-30 trunk 29147) [x86_64-darwin10.4.0]

After upgrading to a newer version of bundler I'm now getting a segfault error coming out of ruby.  Filing a bug here in case it is of use.  Full stack trace below......


/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/spec_set.rb:12: [BUG] Segmentation fault
ruby 1.9.3dev (2010-08-30 trunk 29147) [x86_64-darwin10.4.0]

-- control frame ----------
c:0043 p:0017 s:0138 b:0138 l:000d58 d:000d58 METHOD /Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/spec_set.rb:12
c:0042 p:---- s:0135 b:0135 l:000134 d:000134 FINISH
c:0041 p:---- s:0133 b:0133 l:000132 d:000132 CFUNC  :find
c:0040 p:0166 s:0130 b:0130 l:000b68 d:0000a0 LAMBDA /Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/shared_helpers.rb:94
c:0039 p:---- s:0123 b:0123 l:000122 d:000122 FINISH
c:0038 p:0027 s:0121 b:0121 l:001db8 d:001db8 TOP    /Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano/ssh.rb:3
c:0037 p:---- s:0119 b:0119 l:000118 d:000118 FINISH
c:0036 p:---- s:0117 b:0117 l:000116 d:000116 CFUNC  :require
c:0035 p:0035 s:0113 b:0113 l:001d38 d:001d38 TOP    /Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:3
c:0034 p:---- s:0111 b:0111 l:000110 d:000110 FINISH
c:0033 p:---- s:0109 b:0109 l:000108 d:000108 CFUNC  :require
c:0032 p:0035 s:0105 b:0105 l:001e38 d:001e38 TOP    /Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano/configuration.rb:4
c:0031 p:---- s:0103 b:0103 l:000102 d:000102 FINISH
c:0030 p:---- s:0101 b:0101 l:000100 d:000100 CFUNC  :require
c:0029 p:0011 s:0097 b:0097 l:0013e8 d:0013e8 TOP    /Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano.rb:1
c:0028 p:---- s:0095 b:0095 l:000094 d:000094 FINISH
c:0027 p:---- s:0093 b:0093 l:000092 d:000092 CFUNC  :require
c:0026 p:0026 s:0089 b:0089 l:0020e0 d:000990 BLOCK  /Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/runtime.rb:64
c:0025 p:---- s:0086 b:0086 l:000085 d:000085 FINISH
c:0024 p:---- s:0084 b:0084 l:000083 d:000083 CFUNC  :each
c:0023 p:0091 s:0081 b:0081 l:0020e0 d:000540 BLOCK  /Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/runtime.rb:62
c:0022 p:---- s:0076 b:0076 l:000075 d:000075 FINISH
c:0021 p:---- s:0074 b:0074 l:000073 d:000073 CFUNC  :each
c:0020 p:0046 s:0071 b:0071 l:0020e0 d:0020e0 METHOD /Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/runtime.rb:51
c:0019 p:0021 s:0067 b:0067 l:001b80 d:001b80 METHOD /Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler.rb:112
c:0018 p:0115 s:0063 b:0063 l:0015c8 d:0015c8 TOP    /work/katama/server/config/application.rb:10
c:0017 p:---- s:0061 b:0061 l:000060 d:000060 FINISH
c:0016 p:---- s:0059 b:0059 l:000058 d:000058 CFUNC  :require
c:0015 p:0026 s:0055 b:0055 l:000108 d:000108 TOP    /work/katama/server/config/environment.rb:1
c:0014 p:---- s:0053 b:0053 l:000052 d:000052 FINISH
c:0013 p:---- s:0051 b:0051 l:000050 d:000050 CFUNC  :require
c:0012 p:0070 s:0047 b:0047 l:001798 d:001798 TOP    /work/katama/server/spec/spec_helper.rb:4
c:0011 p:---- s:0045 b:0045 l:000044 d:000044 FINISH
c:0010 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC  :require
c:0009 p:0011 s:0039 b:0039 l:002408 d:002408 TOP    spec/controllers/apps/panels_controller_spec.rb:1
c:0008 p:---- s:0037 b:0037 l:000036 d:000036 FINISH
c:0007 p:---- s:0035 b:0035 l:000034 d:000034 CFUNC  :load
c:0006 p:1499 s:0031 b:0031 l:000b88 d:000b88 TOP    /Users/astreb/.rvm/gems/ruby-head/gems/rcov-0.9.8/bin/rcov:511
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC  :load
c:0003 p:0127 s:0007 b:0007 l:001bc8 d:001ad0 EVAL   /Users/astreb/.rvm/gems/ruby-head/bin/rcov:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001bc8 d:001bc8 TOP   
---------------------------
-- Ruby level backtrace information ----------------------------------------
/Users/astreb/.rvm/gems/ruby-head/bin/rcov:19:in `<main>'
/Users/astreb/.rvm/gems/ruby-head/bin/rcov:19:in `load'
/Users/astreb/.rvm/gems/ruby-head/gems/rcov-0.9.8/bin/rcov:511:in `<top (required)>'
/Users/astreb/.rvm/gems/ruby-head/gems/rcov-0.9.8/bin/rcov:511:in `load'
spec/controllers/apps/panels_controller_spec.rb:1:in `<top (required)>'
spec/controllers/apps/panels_controller_spec.rb:1:in `require'
/work/katama/server/spec/spec_helper.rb:4:in `<top (required)>'
/work/katama/server/spec/spec_helper.rb:4:in `require'
/work/katama/server/config/environment.rb:1:in `<top (required)>'
/work/katama/server/config/environment.rb:1:in `require'
/work/katama/server/config/application.rb:10:in `<top (required)>'
/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler.rb:112:in `require'
/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/runtime.rb:51:in `require'
/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/runtime.rb:51:in `each'
/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/runtime.rb:62:in `block in require'
/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/runtime.rb:62:in `each'
/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/runtime.rb:64:in `block (2 levels) in require'
/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/runtime.rb:64:in `require'
/Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano.rb:1:in `<top (required)>'
/Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano.rb:1:in `require'
/Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano/configuration.rb:4:in `<top (required)>'
/Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano/configuration.rb:4:in `require'
/Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:3:in `<top (required)>'
/Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano/configuration/connections.rb:3:in `require'
/Users/astreb/.rvm/gems/ruby-head/gems/capistrano-2.5.19/lib/capistrano/ssh.rb:3:in `<top (required)>'
/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/shared_helpers.rb:94:in `block in cripple_rubygems'
/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/shared_helpers.rb:94:in `find'
/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0.0/lib/bundler/spec_set.rb:12:in `each'

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


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