Project

General

Profile

Bug #3190

Segmentation fault gzip/tar

Added by brettkd (Brett Dawkins) over 9 years ago. Updated about 8 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
ruby -v:
ruby 1.9.1p376
[ruby-core:29739]

Description

=begin
running bundle install rails3.0.0.beta2 ubuntu 9.10 - similar to the previous post I made a few minutes ago this is the second fault. running bundle install I get alternating bugs (as per prev post).

Copying .gem files into vendor/cache
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_header.rb:182: [BUG] Segmentation fault
ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux]

-- control frame ----------
c:0059 p:---- s:0267 b:0267 l:000266 d:000266 CFUNC :to_s
c:0058 p:0009 s:0265 b:0263 l:000254 d:000262 BLOCK /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_header.rb:182
c:0057 p:---- s:0260 b:0260 l:000259 d:000259 FINISH
c:0056 p:---- s:0258 b:0258 l:000257 d:000257 CFUNC :each
c:0055 p:0352 s:0255 b:0255 l:000254 d:000254 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_header.rb:181
c:0054 p:---- s:0251 b:0251 l:000250 d:000250 FINISH
c:0053 p:---- s:0249 b:0249 l:000248 d:000248 CFUNC :new
c:0052 p:0375 s:0245 b:0245 l:000244 d:000244 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_header.rb:138
c:0051 p:0037 s:0222 b:0222 l:000208 d:000221 BLOCK /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_reader.rb:57
c:0050 p:---- s:0214 b:0214 l:000213 d:000213 FINISH
c:0049 p:---- s:0212 b:0212 l:000211 d:000211 CFUNC :loop
c:0048 p:0011 s:0209 b:0209 l:000208 d:000208 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_reader.rb:54
c:0047 p:0014 s:0206 b:0206 l:000177 d:000205 BLOCK /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_input.rb:126
c:0046 p:0041 s:0203 b:0203 l:000202 d:000202 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_reader.rb:27
c:0045 p:0061 s:0198 b:0198 l:000177 d:000197 BLOCK /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_input.rb:125
c:0044 p:0114 s:0194 b:0194 l:000180 d:000193 BLOCK /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_reader.rb:63
c:0043 p:---- s:0186 b:0186 l:000185 d:000185 FINISH
c:0042 p:---- s:0184 b:0184 l:000183 d:000183 CFUNC :loop
c:0041 p:0011 s:0181 b:0181 l:000180 d:000180 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_reader.rb:54
c:0040 p:0012 s:0178 b:0178 l:000177 d:000177 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_input.rb:120
c:0039 p:0046 s:0174 b:0174 l:001c34 d:001210 BLOCK /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/format.rb:67
c:0038 p:0027 s:0171 b:0171 l:000170 d:000170 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_input.rb:19
c:0037 p:0095 s:0164 b:0164 l:000163 d:000163 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package.rb:55
c:0036 p:0045 s:0156 b:0156 l:001c34 d:001c34 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/format.rb:63
c:0035 p:0018 s:0149 b:0149 l:000138 d:000148 BLOCK /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/format.rb:51
c:0034 p:---- s:0146 b:0146 l:000145 d:000145 FINISH
c:0033 p:---- s:0144 b:0144 l:000143 d:000143 CFUNC :open
c:0032 p:0186 s:0139 b:0139 l:000138 d:000138 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/format.rb:50
c:0031 p:0020 s:0132 b:0132 l:000122 d:000131 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/source.rb:139
c:0030 p:---- s:0128 b:0128 l:000127 d:000127 FINISH
c:0029 p:---- s:0126 b:0126 l:000125 d:000125 CFUNC :each
c:0028 p:0059 s:0123 b:0123 l:000122 d:000122 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/source.rb:138
c:0027 p:0031 s:0119 b:0119 l:000118 d:000118 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/index.rb:43
c:0026 p:0056 s:0115 b:0115 l:000114 d:000114 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/index.rb:34
c:0025 p:0012 s:0111 b:0110 l:000102 d:000109 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/index.rb:26
c:0024 p:0020 s:0107 b:0107 l:000106 d:000106 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/index.rb:5
c:0023 p:0011 s:0103 b:0103 l:000102 d:000102 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/index.rb:25
c:0022 p:0037 s:0100 b:0099 l:000091 d:000098 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/environment.rb:15
c:0021 p:0020 s:0096 b:0096 l:000095 d:000095 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/index.rb:5
c:0020 p:0030 s:0092 b:0092 l:000091 d:000091 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/environment.rb:13
c:0019 p:0014 s:0089 b:0087 l:000086 d:000086 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/environment.rb:59
c:0018 p:0024 s:0084 b:0084 l:000083 d:000083 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/environment.rb:28
c:0017 p:0071 s:0081 b:0081 l:000080 d:000080 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/runtime.rb:85
c:0016 p:0023 s:0077 b:0077 l:000076 d:000076 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/cli.rb:138
c:0015 p:0315 s:0073 b:0073 l:000072 d:000072 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/cli.rb:91
c:0014 p:0036 s:0067 b:0067 l:000066 d:000066 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/vendor/thor/task.rb:33
c:0013 p:0058 s:0061 b:0061 l:001a88 d:000060 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/vendor/thor/invocation.rb:109
c:0012 p:---- s:0056 b:0056 l:000055 d:000055 FINISH
c:0011 p:---- s:0054 b:0054 l:000053 d:000053 CFUNC :call
c:0010 p:0227 s:0049 b:0049 l:001a88 d:001a88 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/vendor/thor/invocation.rb:116
c:0009 p:0224 s:0035 b:0035 l:000020 d:000034 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/vendor/thor.rb:137
c:0008 p:0093 s:0027 b:0027 l:000026 d:000026 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/vendor/thor/base.rb:378
c:0007 p:0027 s:0021 b:0021 l:000020 d:000020 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/vendor/thor.rb:124
c:0006 p:0054 s:0016 b:0016 l:000015 d:000015 TOP /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/bin/bundle:13
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:000d7c d:0026e0 EVAL /usr/local/bin/bundle:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000d7c d:000d7c TOP


Segmentation fault
=end

History

#1

Updated by brettkd (Brett Dawkins) over 9 years ago

=begin
Deleting all gems from vendor/cache directory and the fault goes away when running bundle install. Run the bundle install again once there are gems in the vendor/cache directory and the faults re-appear.
=end

#2

Updated by tenderlovemaking (Aaron Patterson) over 9 years ago

=begin
Is this a new rails app? Can you provide us with the contents of your bundler Gemfile?
=end

Also available in: Atom PDF